Improve strcpy performance.
[glibc.git] / ChangeLog
blob5e45a587791144cd08e903e965c43bd48d8d90f9
1 2014-09-23  Wilco Dijkstra  <wdijkstr@arm.com>
3         * string/strcpy.c (strcpy):
4         Improve performance by using strlen and memcpy.
6 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8         * string/strcoll_l.c (get_next_seq): __always_inline.
9         * string/strcoll_l.c (do_compare): __always_inline.
11 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
14         defined.
15         * include/mqueue.h: Likewise.
16         * include/stdlib.h: Likewise.
18         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19         (get_null_defines): Adjust.
20         * sunrpc/Makefile: Adjust comment.
21         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23         (CFLAGS-interp.c): Likewise.
24         (CFLAGS-ldconfig.c): Likewise.
25         (CPPFLAGS-.os): Likewise.
26         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28         * extra-modules.mk (extra-modules.mk): Likewise.
29         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
33         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37         * iconvdata/Makefile (CPPFLAGS): Likewise.
38         (cpp-srcs-left): Add libof for all iconvdata routines.
39         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40         * include/assert.h: Likewise.
41         * include/ctype.h: Likewise.
42         * include/errno.h: Likewise.
43         * include/libc-symbols.h: Likewise.
44         * include/math.h: Likewise.
45         * include/netdb.h: Likewise.
46         * include/resolv.h: Likewise.
47         * include/stdio.h: Likewise.
48         * include/stdlib.h: Likewise.
49         * include/string.h: Likewise.
50         * include/sys/stat.h: Likewise.
51         * include/wctype.h: Likewise.
52         * intl/l10nflist.c: Likewise.
53         * libidn/idn-stub.c: Likewise.
54         * libio/libioP.h: Likewise.
55         * nptl/libc_multiple_threads.c: Likewise.
56         * nptl/pthreadP.h: Likewise.
57         * posix/regex_internal.h: Likewise.
58         * resolv/res_hconf.c: Likewise.
59         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
60         * sysdeps/arm/memmove.S: Likewise.
61         * sysdeps/arm/sysdep.h: Likewise.
62         * sysdeps/generic/_itoa.h: Likewise.
63         * sysdeps/generic/symbol-hacks.h: Likewise.
64         * sysdeps/gnu/errlist.awk: Likewise.
65         * sysdeps/gnu/errlist.c: Likewise.
66         * sysdeps/i386/i586/memcpy.S: Likewise.
67         * sysdeps/i386/i586/memset.S: Likewise.
68         * sysdeps/i386/i686/memcpy.S: Likewise.
69         * sysdeps/i386/i686/memmove.S: Likewise.
70         * sysdeps/i386/i686/mempcpy.S: Likewise.
71         * sysdeps/i386/i686/memset.S: Likewise.
72         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
75         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
76         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
79         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
89         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
90         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
91         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
92         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
93         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
94         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
95         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
96         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
97         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
98         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
99         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
100         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
101         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
102         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
103         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
105         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
106         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
107         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
108         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
109         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
110         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
111         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
112         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
113         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
114         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
115         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
116         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
117         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
118         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
119         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
120         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
121         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
122         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
123         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
124         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
125         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
126         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
127         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
128         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
129         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
130         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
131         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
132         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
133         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
134         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
135         * sysdeps/nptl/bits/libc-lock.h: Likewise.
136         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
137         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
138         * sysdeps/posix/closedir.c: Likewise.
139         * sysdeps/posix/opendir.c: Likewise.
140         * sysdeps/posix/readdir.c: Likewise.
141         * sysdeps/posix/rewinddir.c: Likewise.
142         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
143         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
144         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
145         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
146         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
147         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
148         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
149         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
153         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
154         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
155         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
156         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
157         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
158         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
159         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
160         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
161         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
162         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
163         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
164         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
165         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
167         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
168         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
170         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
177         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
178         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
179         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
180         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
181         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
182         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
183         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
184         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
185         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
186         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
187         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
188         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
189         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
190         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
191         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
192         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
193         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
194         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
196         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
197         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
198         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
199         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
200         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
202         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
203         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
204         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
205         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
206         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
207         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
208         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
209         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
210         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
211         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
212         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
213         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
214         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
215         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
216         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
217         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
218         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
219         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
220         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
221         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
222         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
224         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
225         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
226         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
227         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
228         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
229         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
230         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
231         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
232         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
233         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
234         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
235         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
236         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
238         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
240         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
241         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
243         * sysdeps/unix/alpha/sysdep.S: Likewise.
244         * sysdeps/unix/alpha/sysdep.h: Likewise.
245         * sysdeps/unix/make-syscalls.sh: Likewise.
246         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
248         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
249         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
250         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
251         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
252         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
253         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
254         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
255         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
257         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
259         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
260         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
261         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
262         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
263         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
264         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
265         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
266         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
267         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
268         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
269         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
270         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
271         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
272         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
275         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
276         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
277         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
280         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
284         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
285         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
286         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
287         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
288         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
289         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
290         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
293         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
296         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
297         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
298         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
299         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
300         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
301         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
302         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
304         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
305         * sysdeps/x86_64/memcpy.S: Likewise.
306         * sysdeps/x86_64/memmove.c: Likewise.
307         * sysdeps/x86_64/memset.S: Likewise.
308         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
309         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
310         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
311         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
312         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
314         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
315         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
316         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
317         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
318         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
319         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
320         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
321         * sysdeps/x86_64/multiarch/memset.S: Likewise.
322         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
323         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
324         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
325         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
326         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
327         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
328         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
329         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
330         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
331         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
332         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
333         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
334         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
335         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
336         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
337         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
338         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
339         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
340         * sysdeps/x86_64/strcmp.S: Likewise.
342         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
344         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
345         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
346         * elf/rtld-Rules: Likewise.
347         * elf/setup-vdso.h: Likewise.
348         * include/assert.h: Likewise.
349         * include/bits/stdlib-float.h: Likewise.
350         * include/errno.h: Likewise.
351         * include/sys/stat.h: Likewise.
352         * include/unistd.h: Likewise.
353         * sysdeps/aarch64/setjmp.S: Likewise.
354         * sysdeps/alpha/setjmp.S: Likewise.
355         * sysdeps/arm/__longjmp.S: Likewise.
356         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
357         * sysdeps/arm/setjmp.S: Likewise.
358         * sysdeps/arm/sysdep.h: Likewise.
359         * sysdeps/generic/_itoa.h: Likewise.
360         * sysdeps/generic/dl-sysdep.h: Likewise.
361         * sysdeps/generic/ldsodefs.h: Likewise.
362         * sysdeps/i386/dl-tls.h: Likewise.
363         * sysdeps/i386/setjmp.S: Likewise.
364         * sysdeps/m68k/setjmp.c: Likewise.
365         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
366         * sysdeps/mach/hurd/opendir.c: Likewise.
367         * sysdeps/posix/getcwd.c: Likewise.
368         * sysdeps/posix/opendir.c: Likewise.
369         * sysdeps/posix/profil.c: Likewise.
370         * sysdeps/powerpc/dl-procinfo.h: Likewise.
371         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
372         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
373         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
374         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
375         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
376         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
377         * sysdeps/s390/dl-tls.h: Likewise.
378         * sysdeps/s390/s390-32/setjmp.S: Likewise.
379         * sysdeps/s390/s390-64/setjmp.S: Likewise.
380         * sysdeps/sh/sh3/setjmp.S: Likewise.
381         * sysdeps/sh/sh4/setjmp.S: Likewise.
382         * sysdeps/unix/alpha/sysdep.h: Likewise.
383         * sysdeps/unix/arm/sysdep.S: Likewise.
384         * sysdeps/unix/i386/sysdep.S: Likewise.
385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
386         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
387         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
388         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
391         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
392         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
393         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
394         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
395         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
396         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
400         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
401         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
403         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
404         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
405         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
408         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
409         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
410         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
412         * sysdeps/unix/x86_64/sysdep.S: Likewise.
413         * sysdeps/x86_64/setjmp.S: Likewise.
415         * include/math.h: Use IS_IN instead of IS_IN_libm.
416         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
417         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
418         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
419         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
421         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
422         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
423         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
424         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
425         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
426         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
427         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
428         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
429         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
430         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
431         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
432         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
433         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
434         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
435         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
436         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
437         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
438         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
439         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
440         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
441         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
442         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
443         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
444         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
445         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
446         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
447         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
448         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
450         Likewise.
451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
452         Likewise.
453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
454         Likewise.
455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
456         Likewise.
457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
458         Likewise.
459         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
460         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
461         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
463         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
464         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
470         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
471         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
472         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
473         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
475         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
476         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
477         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
478         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
479         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
480         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
482         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
483         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
485         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
487         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
488         * nptl/pthreadP.h: Likewise.
489         * nptl_db/structs.def: Likewise.
490         * sysdeps/arm/sysdep.h: Likewise.
491         * sysdeps/nptl/bits/libc-lock.h: Likewise.
492         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
493         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
494         * sysdeps/unix/alpha/sysdep.h: Likewise.
495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
497         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
498         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
499         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
500         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
501         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
502         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
503         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
504         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
505         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
506         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
507         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
508         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
513         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
516         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
517         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
518         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
519         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
520         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
522         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
523         * nptl/pthreadP.h: Likewise.
524         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
525         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
526         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
527         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
528         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
529         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
530         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
531         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
532         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
533         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
534         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
535         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
537         Likewise.
538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
539         Likewise.
540         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
541         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
542         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
545         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
546         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
547         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
549         * dlfcn/dladdr.c: Use IS_IN.
550         * dlfcn/dladdr1.c: Likewise.
551         * dlfcn/dlclose.c: Likewise.
552         * dlfcn/dlerror.c: Likewise.
553         * dlfcn/dlinfo.c: Likewise.
554         * dlfcn/dlmopen.c: Likewise.
555         * dlfcn/dlopen.c: Likewise.
556         * dlfcn/dlsym.c: Likewise.
557         * dlfcn/dlvsym.c: Likewise.
559         * include/ifaddrs.h: Use IS_IN.
560         * inet/check_pf.c: Likewise.
561         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
562         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
564         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
565         IS_IN_ldconfig.
566         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
567         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
569         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
570         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
571         IS_IN (libc).
573         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
575         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
576         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
577         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
578         * include/libc-symbols.h (IS_IN_LIB): New macro.
579         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
580         * include/netdb.h: Likewise.
581         * include/stap-probe.h: Remove all uses of IN_LIB.
583         * Makeconfig (module-cppflags-real): Define MODULE_NAME
584         instead of IN_MODULE.
585         * include/libc-symbols.h (IN_MODULE): Define using
586         MODULE_NAME.
587         (PASTE_NAME, PASTE_NAME1): New macros.
588         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
589         of IN_LIB.
590         (STAP_PROBE_ASM): Likewise.
592 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
594         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
595         __mach_init in dlopened libc.
597 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
599         * sysdeps/arm/preconfigure.ac: Delete EABI check.
600         * sysdeps/arm/preconfigure: Regenerate.
602 2014-11-21  Roland McGrath  <roland@hack.frob.com>
604         * nptl/pthread_create.c (__pthread_create_2_1): Set
605         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
606         when copying values from IATTR into PD.
608 2014-11-21  Will Newton  <will.newton@linaro.org>
609             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
611         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
612         Refactor inline-asm.  Also add comment.
614         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
615         ElfW macro instead of hardcoded Elf64 types.
616         (la_aarch64_gnu_pltenter): Likewise.
617         * sysdeps/aarch64/dl-machine.h
618         (elf_machine_runtime_setup): Use ElfW(Addr).
620         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
621         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
622         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
623         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
624         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
625         (R_AARCH64_TLS_DTPMOD64): Rename to ..
626         (R_AARCH64_TLS_DTPMOD): This.
627         (R_AARCH64_TLS_DTPREL64): Rename to ...
628         (R_AARCH64_TLS_DTPREL): This.
629         (R_AARCH64_TLS_TPREL64): Rename to ...
630         (R_AARCH64_TLS_TPREL): This.
631         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
632         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
633         R_AARCH64_TLS_TPREL64.
634         (elf_machine_rela): Likewise.
636 2014-11-21  Torvald Riegel  <triegel@redhat.com>
638         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
639         by setting it to 0.  64b atomics are not supported currently.
641 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
643         [BZ #16469]
644         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
645         search domain names.
647 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
649         [BZ #16469]
650         * NEWS: Update.
651         * resolv/res_query.c (__libc_res_nquerydomain): Retain
652         trailing dot.
653         * posix/tst-getaddrinfo5.c: New.
654         * posix/Makefile (tests): Add it.
656 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
658         [BZ #14498]
659         * NEWS: Fixed.
660         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
661         after parsing line but before break_if_match.
662         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
663         if there is a protocol mismatch.
665 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
667         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
668         because the potential race is on the user-supplied stream.
670 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
672         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
673         string literal if not passed a buffer.
674         * manual/job.texi (ctermid): Update reasoning, note deviation
675         from posix, suggest mtasurace when not passed a buffer, for
676         future non-preliminary safety notes.
678 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
680         * manual/users.texi (cuserid): Fix MT-Safety note for the case
681         of not passing it a buffer.
682         Reported by Peng Haitao.
684 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
686         * manual/Makefile ($(objpfx)stamp-summary): Require
687         check-safety.sh to pass.
688         * manual/check-safety.sh: Wish for verification that every
689         @deftypefn and @deftypefun is followed by a @safety remark.
691 2014-11-20  Roland McGrath  <roland@hack.frob.com>
693         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
695         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
696         PTHREAD_CANCEL_ASYNCHRONOUS.
697         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
698         send SIGCANCEL.
700         * nptl/default-sched.h: New file.
701         * sysdeps/unix/sysv/linux/default-sched.h: New file.
702         * nptl/pthread_create.c: Include it.
703         (__pthread_create_2_1): Use collect_default_sched instead of making
704         Linux syscalls here directly.
706 2014-11-20  Torvald Riegel  <triegel@redhat.com>
708         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
709         __pthread_once): Use C11 atomics.
711 2014-11-20  Torvald Riegel  <triegel@redhat.com>
713         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
715 2014-11-20  Torvald Riegel  <triegel@redhat.com>
717         * include/atomic.h (__atomic_link_error, __atomic_check_size,
718         atomic_thread_fence_acquire, atomic_thread_fence_release,
719         atomic_thread_fence_seq_cst, atomic_load_relaxed,
720         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
721         atomic_compare_exchange_weak_relaxed,
722         atomic_compare_exchange_weak_acquire,
723         atomic_compare_exchange_weak_release,
724         atomic_exchange_acquire, atomic_exchange_release,
725         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
726         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
727         atomic_fetch_and_acquire,
728         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
730 2014-11-20  Torvald Riegel  <triegel@redhat.com>
732         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
733         USE_ATOMIC_COMPILER_BUILTINS): Define.
734         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
736         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
738         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
740         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
742         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
744         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
746         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
748         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
750         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
752         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
754         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
756         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
758         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
760         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
762         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
764         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
766         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
768         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
769         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
770         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
772         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
775 2014-11-19  Roland McGrath  <roland@hack.frob.com>
777         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
778         the sched_priority value here.  It was already checked when the user
779         called pthread_attr_setschedparam.
781         * nptl/tst-bad-schedattr.c: New file.
782         * nptl/Makefile (tests): Add it.
784 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
785             Florian Weimer  <fweimer@redhat.com>
786             Joseph Myers  <joseph@codesourcery.com>
787             Adam Conrad  <adconrad@0c3.net>
788             Andreas Schwab  <schwab@suse.de>
789             Brooks  <bmoses@google.com>
791         [BZ #17625]
792         * wordexp-test.c (__dso_handle): Add prototype.
793         (__register_atfork): Likewise.
794         (__app_register_atfork): New function.
795         (registered_forks): New global.
796         (register_fork): New function.
797         (test_case): Add 3 new tests for WRDE_CMDSUB.
798         (main): Call __app_register_atfork.
799         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
800         fork count is non-zero fail the test.
801         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
802         is set.
803         (parse_dollars): Remove check for WRDE_NOCMD.
804         (parse_dquote): Likewise.
806 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
808         * Makeconfig (built-modules): List non-library modules to be
809         built.
810         (module-cppflags): Include libc-modules.h for
811         everything except shlib-versions.v.i.
812         (CPPFLAGS): Use it.
813         (before-compile): Add libc-modules.h.
814         ($(common-objpfx)libc-modules.h,
815         $(common-objpfx)libc-modules.stmp): New targets.
816         (common-generated): Add libc-modules.h and libc-modules.stmp.
817         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
818         * include/libc-symbols.h: Don't include libc-modules.h.
819         * include/libc-modules.h: Remove file.
820         * scripts/gen-libc-modules.awk: New script to generate
821         libc-modules.h.
822         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
823         Depend on libc-modules.stmp.
825         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
827         * Makeconfig (in-module): Get value of libof set for the
828         translation unit.
829         (CPPFLAGS): Use $(in-module).
830         * Makerules: Don't suffix routine names for nonlib.
831         * include/libc-modules.h: New file.
832         * include/libc-symbols.h: Include libc-modules.h
833         (IS_IN): New macro to replace IS_IN_* macros.
834         * elf/Makefile: Set libof-* for each routine.
835         * elf/rtld-Rules: Likewise.
836         * extra-modules.mk: Likewise.
837         * iconv/Makefile: Likewise.
838         * iconvdata/Makefile: Likewise.
839         * locale/Makefile: Likewise.
840         * malloc/Makefile: Likewise.
841         * nss/Makefile: Likewise.
842         * sysdeps/gnu/Makefile: Likewise.
843         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
844         * sysdeps/unix/sysv/linux/Makefile: Likewise.
845         * sysdeps/s390/s390-64/Makefile: Likewise.
846         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
847         CPPFLAGS for nscd instead of nonlib.
849 2014-11-18  Roland McGrath  <roland@hack.frob.com>
851         * nptl/createthread.c: New file.
853         * nptl/createthread.c: Moved ...
854         * sysdeps/unix/sysv/linux/createthread.c: ... here.
856         * nptl/createthread.c: Add proper top-line comment.
857         (do_clone): Folded into ...
858         (create_thread): ... here.  Take new arguments STOPPED_START and
859         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
860         increment __nptl_threads, do event-reporting logic, do
861         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
862         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
863         resource cleanup if sched_setaffinity or sched_setscheduler fails,
864         just send SIGCANCEL.
865         * nptl/pthread_create.c: Forward-declare create_thread before
866         including createthread.c.
867         (start_thread): Use new macro START_THREAD_DEFN to replace defining
868         declaration, and new macro START_THREAD_SELF to replace argument.
869         Remove return statement.
870         (report_thread_creation): New function.
871         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
872         synchronization logic, and __nptl_nthreads increment here, around
873         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
874         PD->parent_cancelhandling here, before create_thread.  When
875         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
876         __deallocate_stack, and ENOMEM translation here.
878 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
880         [BZ #17616]
881         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
882         (mptwo): Rename to __mptwo.
883         (__inv): Use __mptwo instead of mptwo.
884         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
885         (mptwo): Rename to __mptwo.
886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
887         of mpone and __mptwo instead of mptwo.
888         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
889         instead of mpone.
890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
891         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
892         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
893         of mpone and __mptwo instead of mptwo.
894         (__mpranred): Use __mpone instead of mpone.
895         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
896         variable.
897         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
898         (test-xfail-ISO99/math.h/linknamespace): Likewise.
899         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
900         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
901         (test-xfail-ISO11/math.h/linknamespace): Likewise.
902         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
903         (test-xfail-XPG3/math.h/linknamespace): Likewise.
904         (test-xfail-XPG4/math.h/linknamespace): Likewise.
905         (test-xfail-POSIX/math.h/linknamespace): Likewise.
906         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
907         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
908         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
909         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
910         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
911         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
912         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
913         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
914         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
915         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
917 2014-11-18  Tom de Vries  <tom@codesoucery.com>
919         * manual/signal.texi (Primitives Interrupted by Signals): In section,
920         replace BSD Handler xref with BSD Signal Handling.
922 2014-11-17  Richard Henderson  <rth@redhat.com>
924         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
925         (_FP_PACK_RAW_2): Remove.
926         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
927         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
928         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
929         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
930         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
931         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
932         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
933         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
934         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
935         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
936         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
937         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
938         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
939         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
940         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
941         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
943 2014-11-14  Roland McGrath  <roland@hack.frob.com>
945         * signal/signal.h [__USE_MISC]
946         (struct sigvec): Remove type.
947         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
948         (sigvec): Remove declaration.
949         * sysdeps/posix/sigvec.c: Moved ...
950         * signal/sigvec.c: ... here, replacing old file.
951         (struct sigvec): New type, copied from old signal.h definition.
952         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
953         (__sigvec): Convert definition to prototype.
954         (sigvec): Replace weak_alias with compat_symbol.
955         * signal/Versions (libc: GLIBC_2.21): New version set.
956         * include/signal.h: Remove __sigvec declaration.
957         * sysdeps/unix/bsd/sigvec.c: Remove file.
958         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
959         * manual/signal.texi (BSD Handler): Remove subsection.
960         Move siginterrupt up to ...
961         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
962         (Blocking in BSD): Fold subsection into its parent.
963         * NEWS: Mention sigvec removal.
965 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
967         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
968         (DLA_FMS): Make definition conditional only on [__FMA4__].
969         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
970         definition.
972         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
973         Make definition conditional only on [PROF].
974         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
975         definition.
976         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
977         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
979         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
980         !__GNUC__].
981         * include/signal.h (__sigpause): Move declaration above call to
982         libc_hidden_proto.
983         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
984         variable.
985         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
986         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
988 2014-11-14  David S. Miller  <davem@davemloft.net>
990         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
991         Define before including <string/memcpy.c> and <string/mempcpy.c>.
993 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
995         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
996         * configure: Regenerated.
997         * manual/install.texi (Tools for Compilation): Document a
998         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
999         compiler verified to work.
1000         * INSTALL: Regenerated.
1002         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1003         redeclare with asm name.
1004         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1005         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1006         including <string.h>.
1007         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1008         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1009         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1010         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1011         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1013         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1015 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1017         * stdlib/strtol.c (__strtol): Use prototype definition.
1019         [BZ #17594]
1020         * stdlib/strtol.c (SYM__): New macro.
1021         (SYM__1): Likewise.
1022         (__strtol): Likewise.
1023         (strtol): Rename to __strtol and define as weak alias of
1024         __strtol.  Use libc_hidden_weak.
1026 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1028         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1029         Use numbered labels in inline assembly.
1031 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1033         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1034         Add setjmp LIBC_PROBE.
1035         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1036         Likewise.
1037         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1038         Add longjmp, longjmp_target LIBC_PROBE.
1039         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1040         Likewise.
1042 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1044         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1045         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1046         to get rid of unused variable warning.
1048 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1050         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1051         Check for unwind_backtrace ==  NULL only in SHARED case.
1052         (__backchain_backtrace): Compile only in SHARED case.
1053         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1054         Likewise.
1055         (__backchain_backtrace): Declare as static.
1057 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1059         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1060         (__libc_multiple_threads_ptr): Variable moved ...
1061         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1063 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1065         * conform/GlibcConform.pm: New file.
1066         * conform/conformtest.pl: Use GlibcConform module.
1067         * conform/linknamespace.pl: New file.
1068         * conform/list-header-symbols.pl: Likewise.
1069         * conform/Makefile (linknamespace-symlists-base): New variable.
1070         (linknamespace-symlists-tests): Likewise.
1071         (linknamespace-header-base): Likewise.
1072         (linknamespace-header-tests): Likewise.
1073         (tests-special): Add new tests.
1074         ($(linknamespace-symlists-tests)): New rule.
1075         (linknamespace-libs): New variable.
1076         ($(objpfx)symlist-stdlibs): New rule.
1077         ($(linknamespace-header-tests)): Likewise.
1078         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1079         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1080         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1081         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1082         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1083         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1084         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1085         (test-xfail-ISO/math.h/linknamespace): Likewise.
1086         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1087         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1088         (test-xfail-ISO/time.h/linknamespace): Likewise.
1089         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1090         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1091         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1092         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1093         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1094         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1095         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1096         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1097         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1098         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1099         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1100         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1101         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1102         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1103         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1104         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1105         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1106         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1107         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1108         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1109         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1110         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1111         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1112         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1113         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1114         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1115         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1116         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1117         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1118         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1119         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1120         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1121         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1122         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1123         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1124         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1125         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1126         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1127         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1128         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1129         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1130         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1131         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1132         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1133         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1134         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1135         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1136         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1137         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1138         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1139         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1140         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1141         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1142         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1143         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1144         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1145         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1146         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1147         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1148         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1149         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1150         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1151         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1152         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1153         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1154         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1155         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1156         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1157         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1158         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1159         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1160         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1161         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1162         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1163         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1164         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1165         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1166         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1167         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1168         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1169         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1170         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1171         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1172         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1173         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1174         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1175         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1176         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1177         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1178         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1179         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1180         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1181         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1182         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1183         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1184         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1185         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1186         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1187         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1188         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1189         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1190         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1191         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1192         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1193         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1194         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1195         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1196         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1197         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1198         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1199         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1200         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1201         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1202         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1203         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1204         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1205         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1206         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1207         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1208         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1209         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1210         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1211         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1212         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1213         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1214         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1215         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1216         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1217         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1218         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1219         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1220         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1221         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1222         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1223         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1224         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1225         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1226         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1227         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1228         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1229         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1230         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1231         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1232         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1233         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1234         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1235         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1236         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1237         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1238         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1240         [BZ #17589]
1241         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1242         of fgets_unlocked.
1244         [BZ #17585]
1245         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1246         (memmem): Rename to __memmem and define as weak alias of
1247         __memmem.  Use libc_hidden_weak.
1248         (__memmem): Use libc_hidden_def.
1249         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1250         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1251         memmem.
1253         [BZ #17582]
1254         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1255         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1256         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1257         and define as weak alias of __fgets_unlocked.  Use
1258         libc_hidden_weak.
1259         (__fgets_unlocked): Use libc_hidden_def.
1260         * include/stdio.h (__fgets_unlocked): Declare.  Use
1261         libc_hidden_proto.
1262         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1263         __fgets_unlocked instead of fgets_unlocked.
1264         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1265         (GET_NPROCS_CONF_PARSER): Likewise.
1266         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1267         (GET_NPROCS_CONF_PARSER): Likewise.
1269         [BZ #17574]
1270         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1271         weak alias of __wmemset.  Use libc_hidden_weak.
1272         (__wmemset): Use libc_hidden_def.
1273         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1274         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1275         of wmemset.
1277         [BZ #17573]
1278         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1279         with asm name __mempcpy.
1280         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1282         [BZ #17572]
1283         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1284         and define as weak alias of __rawmemchr.
1285         (__rawmemchr): Do not define as strong alias of rawmemchr.
1287         [BZ #17571]
1288         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1289         alias of __qsort_r.
1290         (qsort): Call __qsort_r instead of qsort_r.
1291         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1292         (__qsort_r): Declare.  Call libc_hidden_proto.
1293         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1294         instead of qsort_r.
1295         * nscd/gai.c (__qsort_r): Define to qsort_r.
1296         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1297         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1298         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1300         [BZ #17570]
1301         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1302         define as weak alias of __malloc_info.
1304         [BZ #17584]
1305         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1306         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1307         (__rewinddir): Use libc_hidden_def.
1308         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1309         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1310         (__rewinddir): Use libc_hidden_def.
1311         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1312         weak alias of __rewinddir.  Don't use libc_hidden_def.
1313         (__rewinddir): Use libc_hidden_def.
1314         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1315         (__rewinddir): Use libc_hidden_proto.
1316         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1317         rewinddir.
1318         (__getcwd): Use __rewinddir instead of rewinddir.
1320         [BZ #17583]
1321         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1322         alias of __fileno.  Use libc_hidden_weak.
1323         (__fileno): Use libc_hidden_def.
1324         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1325         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1326         alias of __ftello.
1327         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1328         __ftello.
1329         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1330         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1331         libc_hidden_def.
1332         (fread_unlocked): Don't use libc_hidden_ver.
1333         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1334         and define as weak alias of __fread_unlocked.  Don't use
1335         libc_hidden_def.
1336         (__fread_unlocked): Use libc_hidden_def.
1337         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1338         (ftello): Don't use libc_hidden_proto.
1339         (__ftello): Declare.  Use libc_hidden_proto.
1340         (fread_unlocked): Don't use libc_hidden_proto.
1341         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1342         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1343         and __ftello instead of fileno, fread_unlocked and ftello.
1345 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1347         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1348         GOT12.
1349         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1350         Likewise.
1351         (_dl_start_user): Likewise.
1352         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1354 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1355             Siddhesh Poyarekar  <siddhesh@redhat.com>
1357         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1358         Move argv and envp down instead of moving argc up.
1359         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1361 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1363         [BZ #17506]
1364         * test-skeleton.c (main): Return successful if one of
1365         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1366         * string/tst-strcoll-overflow.c: Define expected status.
1368 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1370         [BZ #17475]
1371         * locale/iso-639.def: Define Bhili and Tulu language codes.
1373 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1375         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1377 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1379         [BZ #17555]
1380         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1382 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1384         * configure.ac: Updated check of minimal required version to
1385         2.22.
1386         * manual/install.texi (Tools for Compilation): Updated version
1387         number.
1388         * configure: Regenerated.
1389         * INSTALL: Likewise.
1391 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1393         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1394         __tls_get_addr.
1396 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1398         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1399         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1400         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1401         libc_hidden_weak.
1402         (waitpid): Define as alias of __waitpid.
1403         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1404         __waitpid.
1405         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1406         libc_hidden_weak.
1407         (waitpid): Define as alias of __waitpid.
1408         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1409         __libc_waitpid alias.
1410         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1411         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1412         Likewise.
1413         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1414         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1415         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1416         alias.
1417         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1418         __waitpid.
1419         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1420         libc_hidden_weak.
1421         (waitpid): Define as alias of __waitpid.
1423 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1425         * manual/llio.texi: Add comment that write safety has been
1426         fixed in Linux.
1428         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1429         (localplt-build-dso): Add elf/ld.so.
1430         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1431         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1432         and free for ld.so.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1434         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1440         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1441         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1442         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1443         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1444         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1445         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1446         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1447         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1448         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1449         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1451 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1453         [BZ #14132]
1454         * include/libc-symbols.h (INTUSE): Remove macro.
1455         (INTDEF): Likewise.
1456         (INTVARDEF): Likewise.
1457         (_INTVARDEF): Likewise.
1458         (INTDEF2): Likewise.
1459         (INTVARDEF2): Likewise.
1460         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1461         rtld_hidden_def instead of INTVARDEF.
1462         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1463         (_dl_starting_up_internal): Remove declaration.
1464         (_dl_starting_up): Use rtld_hidden_proto.
1465         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1466         declaration.
1467         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1468         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1469         _dl_starting_up.
1470         * elf/dl-writev.h (_dl_writev): Likewise.
1471         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1472         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1473         _dl_starting_up_internal.
1475 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1477         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1478         test-skeleton.c.
1480 2014-11-05  Will Newton  <will.newton@linaro.org>
1482         * benchtests/Makefile: (bench-malloc): Add malloc thread
1483         scalability benchmark.
1484         * benchtests/bench-malloc-threads.c: New file.
1486 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1488         * sysdeps/aarch64/strchrnul.S: New file.
1490 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1492         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1493         definition.
1494         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1495         Likwise.
1496         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1497         Likewise.
1498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1499         Likewise.
1500         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1501         Likewise.
1502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1503         Likewise.
1505 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1507         * catgets/test-gencat.c: Use test-skeleton.c.
1508         * catgets/tst-catgets.c: Likewise.
1509         * csu/tst-empty.c: Likewise.
1510         * elf/tst-audit2.c: Likewise.
1511         * elf/tst-global1.c: Likewise.
1512         * elf/tst-pathopt.c: Likewise.
1513         * elf/tst-piemod1.c: Likewise.
1514         * elf/tst-tls10.c: Likewise.
1515         * elf/tst-tls11.c: Likewise.
1516         * elf/tst-tls12.c: Likewise.
1517         * gnulib/tst-gcc.c: Likewise.
1518         * iconvdata/tst-e2big.c: Likewise.
1519         * iconvdata/tst-loading.c: Likewise.
1520         * iconv/tst-iconv1.c: Likewise.
1521         * iconv/tst-iconv2.c: Likewise.
1522         * inet/test-inet6_opt.c: Likewise.
1523         * inet/tst-gethnm.c: Likewise.
1524         * inet/tst-network.c: Likewise.
1525         * inet/tst-ntoa.c: Likewise.
1526         * intl/tst-codeset.c: Likewise.
1527         * intl/tst-gettext2.c: Likewise.
1528         * intl/tst-gettext3.c: Likewise.
1529         * intl/tst-ngettext.c: Likewise.
1530         * intl/tst-translit.c: Likewise.
1531         * io/test-stat.c: Likewise.
1532         * libio/test-fmemopen.c: Likewise.
1533         * libio/tst-freopen.c: Likewise.
1534         * libio/tst-sscanf.c: Likewise.
1535         * libio/tst-ungetwc1.c: Likewise.
1536         * libio/tst-ungetwc2.c: Likewise.
1537         * libio/tst-widetext.c: Likewise.
1538         * localedata/tst-ctype.c: Likewise.
1539         * localedata/tst-digits.c: Likewise.
1540         * localedata/tst-leaks.c: Likewise.
1541         * localedata/tst-mbswcs1.c: Likewise.
1542         * localedata/tst-mbswcs2.c: Likewise.
1543         * localedata/tst-mbswcs3.c: Likewise.
1544         * localedata/tst-mbswcs4.c: Likewise.
1545         * localedata/tst-mbswcs5.c: Likewise.
1546         * localedata/tst-setlocale.c: Likewise.
1547         * localedata/tst-trans.c: Likewise.
1548         * localedata/tst-wctype.c: Likewise.
1549         * localedata/tst-xlocale1.c: Likewise.
1550         * login/tst-grantpt.c: Likewise.
1551         * malloc/tst-calloc.c: Likewise.
1552         * malloc/tst-malloc.c: Likewise.
1553         * malloc/tst-mallocstate.c: Likewise.
1554         * malloc/tst-mcheck.c: Likewise.
1555         * malloc/tst-mtrace.c: Likewise.
1556         * malloc/tst-obstack.c: Likewise.
1557         * math/atest-exp2.c: Likewise.
1558         * math/atest-exp.c: Likewise.
1559         * math/atest-sincos.c: Likewise.
1560         * math/test-matherr.c: Likewise.
1561         * math/test-misc.c: Likewise.
1562         * math/test-powl.c: Likewise.
1563         * math/tst-definitions.c: Likewise.
1564         * misc/tst-dirname.c: Likewise.
1565         * misc/tst-efgcvt.c: Likewise.
1566         * misc/tst-fdset.c: Likewise.
1567         * misc/tst-hsearch.c: Likewise.
1568         * misc/tst-mntent2.c: Likewise.
1569         * nptl/tst-sem7.c: Likewise.
1570         * nptl/tst-sem8.c: Likewise.
1571         * nptl/tst-sem9.c: Likewise.
1572         * nss/test-netdb.c: Likewise.
1573         * posix/tst-fnmatch.c: Likewise.
1574         * posix/tst-getlogin.c: Likewise.
1575         * posix/tst-gnuglob.c: Likewise.
1576         * posix/tst-mmap.c: Likewise.
1577         * pwd/tst-getpw.c: Likewise.
1578         * resolv/tst-inet_ntop.c: Likewise.
1579         * rt/tst-timer.c: Likewise.
1580         * stdio-common/test-fseek.c: Likewise.
1581         * stdio-common/test-popen.c: Likewise.
1582         * stdio-common/test-vfprintf.c: Likewise.
1583         * stdio-common/tst-cookie.c: Likewise.
1584         * stdio-common/tst-fileno.c: Likewise.
1585         * stdio-common/tst-gets.c: Likewise.
1586         * stdio-common/tst-obprintf.c: Likewise.
1587         * stdio-common/tst-perror.c: Likewise.
1588         * stdio-common/tst-sprintf2.c: Likewise.
1589         * stdio-common/tst-sprintf3.c: Likewise.
1590         * stdio-common/tst-sprintf.c: Likewise.
1591         * stdio-common/tst-swprintf.c: Likewise.
1592         * stdio-common/tst-tmpnam.c: Likewise.
1593         * stdio-common/tst-unbputc.c: Likewise.
1594         * stdio-common/tst-wc-printf.c: Likewise.
1595         * stdlib/tst-environ.c: Likewise.
1596         * stdlib/tst-fmtmsg.c: Likewise.
1597         * stdlib/tst-limits.c: Likewise.
1598         * stdlib/tst-rand48-2.c: Likewise.
1599         * stdlib/tst-rand48.c: Likewise.
1600         * stdlib/tst-random2.c: Likewise.
1601         * stdlib/tst-random.c: Likewise.
1602         * stdlib/tst-strtol.c: Likewise.
1603         * stdlib/tst-strtoll.c: Likewise.
1604         * stdlib/tst-tls-atexit.c: Likewise.
1605         * stdlib/tst-xpg-basename.c: Likewise.
1606         * string/test-ffs.c: Likewise.
1607         * string/tst-bswap.c: Likewise.
1608         * string/tst-inlcall.c: Likewise.
1609         * string/tst-strtok.c: Likewise.
1610         * string/tst-strxfrm.c: Likewise.
1611         * sysdeps/x86_64/tst-audit10.c: Likewise.
1612         * sysdeps/x86_64/tst-audit3.c: Likewise.
1613         * sysdeps/x86_64/tst-audit4.c: Likewise.
1614         * sysdeps/x86_64/tst-audit5.c: Likewise.
1615         * time/tst-ftime_l.c: Likewise.
1616         * time/tst-getdate.c: Likewise.
1617         * time/tst-mktime3.c: Likewise.
1618         * time/tst-mktime.c: Likewise.
1619         * time/tst-posixtz.c: Likewise.
1620         * time/tst-strptime2.c: Likewise.
1621         * time/tst-strptime3.c: Likewise.
1622         * wcsmbs/tst-btowc.c: Likewise.
1623         * wcsmbs/tst-mbrtowc.c: Likewise.
1624         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1625         * wcsmbs/tst-wchar-h.c: Likewise.
1626         * wcsmbs/tst-wcpncpy.c: Likewise.
1627         * wcsmbs/tst-wcrtomb.c: Likewise.
1628         * wcsmbs/tst-wcsnlen.c: Likewise.
1629         * wcsmbs/tst-wcstof.c: Likewise.
1631 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1633         [BZ #14132]
1634         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1635         INTDEF.
1636         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1637         declaration.
1638         (_dl_mcount): Use rtld_hidden_proto.
1639         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1640         _dl_mcount.
1641         * elf/rtld.c (_rtld_global_ro): Likewise.
1643         [BZ #14132]
1644         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1645         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1646         of _dl_init_internal.
1647         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1648         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1649         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1650         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1651         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1652         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1653         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1654         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1655         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1656         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1657         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1658         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1659         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1660         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1661         * sysdeps/tile/dl-start.S (_start): Likewise.
1662         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1663         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1665         [BZ #14132]
1666         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1667         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1668         (rtld_progname): Make macro definition unconditional.
1669         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1670         INTDEF.
1671         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1672         (dl_main): Likewise.
1673         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1674         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1675         instead of _dl_argv_internal.
1676         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1677         __GI__dl_argv instead of INTUSE(_dl_argv).
1678         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1679         __GI__dl_argv instead of _dl_argv_internal.
1681         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1682         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1683         macro.
1684         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1685         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1686         New macro.
1687         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1688         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1689         macro.
1690         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1691         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1693 2014-11-04  Andreas Schwab  <schwab@suse.de>
1695         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1697 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1699         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1700         mtvsrd instruction in binary form.
1702 2014-11-03  Andreas Schwab  <schwab@suse.de>
1704         [BZ #17522]
1705         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1706         for less than MB_LEN_MAX use a local buffer of that size.
1707         * libio/tst-fputws.c: New file.
1708         * libio/Makefile (tests): Add tst-fputws.
1710 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1712         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1713         the size of the fpu_fr.fpu_dregs[] array.
1715 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1717         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1718         (__nanosleep): Do not define as alias.
1719         (nanosleep): Define as alias of __nanosleep.
1720         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1721         __libc_nanosleep name.
1723 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1725         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1726         install.texi in comment.
1728 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1730         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1731         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1732         ... add here and use lwsync or sync ...
1733         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1734         ... and add here using lwsync.
1736 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1738         * elf/dl-machine-reject-phdr.h: New file.
1739         * elf/dl-load.c: #include that.
1740         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1741         if that returned true.
1743 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1745         [BZ #17496]
1746         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1747         gen-as-const-headers chunk.  Add a big scare comment after the last
1748         safe place to touch before-compile.
1750 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1752         * manual/install.texi (Tools for Compilation): Update autoconf
1753         version requirements.
1754         * INSTALL: Regenerated.
1756         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1757         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1758         (__libc_pselect): Likewise.
1760         [BZ #14138]
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1766 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1768         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1769         correct barrier instruction.
1770         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1771         Likewise.
1772         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1773         Likewise.
1775 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1777         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1778         after defining inlines.  Instead, just use parens to defeat macro
1779         expansion of __isctype in its declaration.
1781 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1783         * include/sys/uio.h (__libc_readv): Remove declaration.
1784         (__libc_writev): Likewise.
1785         * misc/readv.c (__libc_readv): Rename to __readv.
1786         (__readv): Do not define as alias.
1787         (readv): Define as alias of __readv.
1788         * misc/writev.c (__libc_writev): Rename to __writev.
1789         (__writev): Do not define as alias.
1790         (writev): Define as alias of __writev.
1791         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1792         (__readv): Do not define as alias.
1793         (readv): Define unconditionally as alias of __readv.
1794         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1795         (__writev): Do not define as alias.
1796         (writev): Define unconditionally as alias of __writev.
1797         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1798         name.
1799         (writev): Do not define __libc_writev name.
1801 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1803         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1804         (convert_charseq): New function, broken out of ...
1805         (use_from_charmap): ... here.  Call it.
1806         (use_to_charmap): Use convert_charseq and free instead of duplicating
1807         its code with a variable-length stack struct.
1809 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1811         * include/fcntl.h (__libc_creat): Remove declaration.
1812         * io/creat.c (__libc_creat): Rename to creat.
1813         (creat): Do not define as alias.
1814         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1815         of creat instead of __libc_creat.
1816         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1817         to creat.
1818         (creat): Do not define as alias.
1819         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1820         __libc_creat.
1821         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1822         __libc_creat name.
1823         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1824         Likewise.
1826 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1828         * manual/llio.texi: Add comments discussing why write() may be
1829         considered MT-unsafe on Linux.
1831 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1833         * dl-load.c (local_strdup): Remove.
1834         (expand_dynamic_string_token): Use __strdup.
1835         (decompose_rpath): Likewise.
1836         (_dl_map_object): Likewise.
1838 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1840         [BZ #14132]
1841         * sysdeps/generic/unwind-dw2-fde.c
1842         (__register_frame_info_bases_internal): Do not declare.
1843         (__register_frame_info_table_bases_internal): Likewise.
1844         (__deregister_frame_info_bases_internal): Likewise.
1845         (__register_frame_info_bases): Declare and use hidden_proto before
1846         definition.  Use hidden_def instead of INTDEF.
1847         (__register_frame_info_table_bases): Likewise.
1848         (__deregister_frame_info_bases): Likewise.
1849         (__register_frame_info): Do not use INTUSE.
1850         (__register_frame): Likewise.
1851         (__register_frame_info_table): Likewise.
1852         (__register_frame_table): Likewise.
1853         (__deregister_frame_info): Likewise.
1854         (__deregister_frame): Likewise.
1856 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1859         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1860         not undefine.
1861         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1862         Likewise.
1863         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1864         Likewise.
1866 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1868         [BZ #14138]
1869         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1870         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1871         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1872         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1873         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1874         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1875         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1876         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1877         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1878         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1879         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1880         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1881         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1882         syscall.
1883         (setfsuid): Likewise.
1884         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1885         (setfsuid): Likewise.
1886         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1887         (setfsuid): Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1889         Likewise.
1890         (setfsuid): Likewise.
1891         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1892         (setfsuid): Likewise.
1893         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1894         Likewise.
1895         (setfsuid): Likewise.
1897 2014-10-27  Andreas Schwab  <schwab@suse.de>
1899         [BZ #17501]
1900         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1901         check for Slow_SSE4_2 feature bit.
1902         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1903         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1904         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1905         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1907 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1909         * configure.ac: Validate compiler version with a empirical test of
1910         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1911         $CC -v output.
1912         * configure: Regenerated.
1914         * inet/htons.c (htons): Prototypify.
1915         * inet/htonl.c (htonl): Likewise.
1917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1919         * string/strncat.c (strncat): Improve performance by using strlen.
1921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1923         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1925 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1927         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1928         Call libc_fetestexcept_aarch64.
1930 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1932         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1933         Call libc_feholdexcept_aarch64.
1935 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1937         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1938         Call get_rounding_mode.
1940 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1942         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1943         Simplify logic.
1945 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1947         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1948         Simplify logic.
1950 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1952         [BZ #14138]
1953         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1954         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1955         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1956         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1957         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1958         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1959         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1960         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1961         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1962         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1963         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1964         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1965         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1966         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1967         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1968         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1969         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1970         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1971         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1972         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1973         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1974         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1975         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1976         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1977         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1978         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1979         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1980         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1981         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1982         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1983         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1984         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1985         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1986         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1987         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1988         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1989         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1990         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1991         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1992         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1993         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1994         syscall.
1995         (geteuid): Likewise.
1996         (getgid): Likewise.
1997         (getuid): Likewise.
1998         (getresgid): Likewise.
1999         (getresuid): Likewise.
2000         (getgroups): Likewise.
2001         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2002         (geteuid): Likewise.
2003         (getgid): Likewise.
2004         (getuid): Likewise.
2005         (getresgid): Likewise.
2006         (getresuid): Likewise.
2007         (getgroups): Likewise.
2008         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2009         (geteuid): Likewise.
2010         (getgid): Likewise.
2011         (getuid): Likewise.
2012         (getresgid): Likewise.
2013         (getresuid): Likewise.
2014         (getgroups): Likewise.
2015         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2016         Likewise.
2017         (geteuid): Likewise.
2018         (getgid): Likewise.
2019         (getuid): Likewise.
2020         (getresgid): Likewise.
2021         (getresuid): Likewise.
2022         (getgroups): Likewise.
2023         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2024         (geteuid): Likewise.
2025         (getgid): Likewise.
2026         (getuid): Likewise.
2027         (getresgid): Likewise.
2028         (getresuid): Likewise.
2029         (getgroups): Likewise.
2030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2031         Likewise.
2032         (geteuid): Likewise.
2033         (getgid): Likewise.
2034         (getuid): Likewise.
2035         (getgroups): Likewise.
2037         [BZ #14138]
2038         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2039         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2040         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2041         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2042         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2043         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2044         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2045         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2046         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2047         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2048         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2049         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2050         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2051         __chown.
2052         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2053         (lchown): Likewise.
2054         (fchown): Likewise.
2055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2056         Likewise.
2057         (lchown): Likewise.
2058         (fchown): Likewise.
2059         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2060         (lchown): Likewise.
2061         (fchown): Likewise.
2062         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2063         Likewise.
2064         (lchown): Likewise.
2065         (fchown): Likewise.
2067 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2069         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2070         Simplify logic.
2072 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2074         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2075         Cleanup logic.
2077 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2079         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2080         Remove unused include.
2082 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2084         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2085         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2086         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2087         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2089 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2090             Helge Deller <deller@gmx.de>
2092         [BZ #17508]
2093         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2094         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2095         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2097 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2099         [BZ #14132]
2100         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2101         Remove macro definition.
2102         (__ashrdi3_v_glibc20): Likewise.
2103         (__lshrdi3_v_glibc20): Likewise.
2104         (__cmpdi2_v_glibc20): Likewise.
2105         (__ucmpdi2_v_glibc20): Likewise.
2106         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2107         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2108         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2109         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2110         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2111         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2113 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2115         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2116         old GNU extension [0] syntax.
2117         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2118         alloca rather than an array member with variable length.
2119         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2120         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2121         (parse_opt): ... here.  Likewise use alloca there.
2122         Validate the -i argument before checking for rootness.
2123         (send_shutdown): New function, broken out of ...
2124         (parse_opt): ... here.
2126 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2128         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2129         macro to get at the _rt_local_ro field.
2130         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2131         ([PIC] case) or _dl_hwcap ([!PIC] case).
2132         * sysdeps/arm/setjmp.S: Likewise.
2134         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2135         * sysdeps/arm/configure.ac: New check to define it.
2136         * sysdeps/arm/configure: Regenerated.
2137         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2138         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2139         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2140         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2141         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2142         Use move/movt pair instead of a load.
2143         (LDST_GLOBAL): Macro removed.
2144         (LDR_GLOBAL): New macro replaces it.
2145         (LDR_HIDDEN): New macro.
2146         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2147         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2149         * setjmp/tst-setjmp-static.c: New file.
2150         * setjmp/Makefile (tests): Add it.
2151         (tests-static): New variable.
2153 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2155         [BZ #17485]
2156         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2158 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2160         [BZ #14132]
2161         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2163 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2165         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2167 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2169         * io/fts.c (dirent_not_directory): New function.
2170         (fts_build): Call it.
2172 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2174         * nptl/version.c (__nptl_main): Use normal __write rather than
2175         INTERNAL_SYSCALL.
2176         (banner): Update copyright years.
2178         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2179         gettimeofday.
2180         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2181         * nptl/pthread_cond_timedwait.c: Likewise.
2182         * nptl/pthread_mutex_timedlock.c: Likewise.
2183         * nptl/sem_timedwait.c: Likewise.
2185         * sysdeps/nptl/bits/libc-lock.h
2186         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2187         (__libc_lock_init_recursive): Return void, not 0.
2188         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2189         (__libc_rwlock_init): Likewise.
2190         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2192 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2194         [BZ #15215]
2195         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2196         (__pthread_once_slow): ... here.
2197         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2198         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2200 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2202         [BZ #15215]
2203         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2204         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2205         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2206         * nptl/pthread_once.c (__pthread_once): Likewise.
2207         Update comments.
2209 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2211         [BZ #14138]
2212         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2213         name.
2214         (writev): Use __libc_writev as strong name.
2215         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2216         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2218 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2220         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2222         * sysdeps/i386/nptl/tls.h
2223         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2224         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2225         New macros.
2226         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2227         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2228         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2229         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2230         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2231         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2233         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2234         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2235         on [__NR_futex].
2236         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2237         broken out of ...
2238         (__pthread_mutex_init): ... here.  Call it.
2239         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2240         Conditionalize PI cases on [__NR_futex].
2241         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2242         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2243         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2245         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2246         conditional on [SIGSETXID].
2247         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2248         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2249         is defined.  Likewise for SIGSETXID.
2250         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2251         Conditionalize definitions on [SIGSETXID].
2252         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2253         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2254         unblocking on [SIGCANCEL].
2256         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2257         [__NR_set_robust_list].
2259 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2261         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2262         (do_compare): Likewise.
2264 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2266         [BZ #15884]
2267         * string/strcoll_l.c: Don't include stdio.h.
2268         (coll_seq): Remove members idxarr and rulearr.
2269         (get_next_seq_cached): Remove function.
2270         (get_next_seq): Likewise.
2271         (get_next_seq_nocache): Rename to get_next_seq.
2272         (do_compare): Remove function.
2273         (do_compare_nocache): Rename to do_compare.
2274         (STRCOLL): Remove weight and rules cache.
2276 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2278         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2279         * sysdeps/arm/sfp-machine.h: ... to here.
2280         * sysdeps/arm/Implies: Remove arm/soft-fp.
2282 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2284         * conform/data/sys/utsname.h-data (*_t): Allow.
2285         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2286         [POSIX] (WEXITED): Do not expect constant.
2287         [POSIX] (WSTOPPED): Likewise.
2288         [POSIX] (WNOHANG): Likewise.
2289         [POSIX] (WNOWAIT): Likewise.
2290         [POSIX] (siginfo_t): Do not expect type or elements.
2291         [POSIX] (pid_t): Do not expect type.
2292         [POSIX] (signal.h): Do not allow header.
2293         [POSIX] (sys/resource.h): Likewise.
2294         [POSIX] (si_*): Do not allow pattern.
2295         [POSIX] (W*): Likewise.
2296         [POSIX] (P_*): Likewise.
2297         [POSIX] (BUS_*): Likewise.
2298         [POSIX] (CLD_*): Likewise.
2299         [POSIX] (FPE_*): Likewise.
2300         [POSIX] (ILL_*): Likewise.
2301         [POSIX] (POLL_*): Likewise.
2302         [POSIX] (SEGV_*): Likewise.
2303         [POSIX] (SI_*): Likewise.
2304         [POSIX] (TRAP_*): Likewise.
2305         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2306         variable.
2308 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2310         [BZ #12926]
2311         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2312         infinite loop when __recvmsg returns 0.
2314 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2316         * CANCEL-FCT-WAIVE: Remove file.
2317         * CANCEL-FILE-WAIVE: Likewise.
2319         [BZ #14132]
2320         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2321         instead of INTVARDEF.
2322         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2323         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2324         rtld_hidden_data_def instead of INTVARDEF.
2325         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2326         * elf/dl-deps.c (expand_dst): Likewise.
2327         * elf/dl-load.c (_dl_dst_count): Likewise.
2328         (_dl_dst_substitute): Likewise.
2329         (decompose_rpath): Likewise.
2330         (_dl_init_paths): Likewise.
2331         (open_path): Likewise.
2332         (_dl_map_object): Likewise.
2333         * elf/rtld.c (dl_main): Likewise.
2334         (process_dl_audit): Likewise.
2335         (process_envvars): Likewise.
2336         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2337         Remove declaration.
2338         (__libc_enable_secure): Use rtld_hidden_proto.
2340 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2342         * elf/dl-load.c
2343         (add_path): New function broken out of _dl_rtld_di_serinfo.
2344         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2346 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2348         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2349         parentheses around macro arguments.
2350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2351         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2352         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2353         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2354         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2361         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2362         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2365         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2366         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2369         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2370         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2379         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2383         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2384         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2385         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2386         Likewise.
2387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2394         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2398         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2399         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2401         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2405         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2408         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2409         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2410         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2412         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2413         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2414         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2415         (_FP_FRAC_SRS_1): Likewise.
2416         (_FP_FRAC_CLZ_1): Likewise.
2417         (_FP_MUL_MEAT_1_imm): Likewise.
2418         (_FP_MUL_MEAT_1_wide): Likewise.
2419         (_FP_MUL_MEAT_1_hard): Likewise.
2420         (_FP_SQRT_MEAT_1): Likewise.
2421         (_FP_FRAC_ASSEMBLE_1): Likewise.
2422         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2423         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2424         (__FP_CLZ_2): Likewise.
2425         (_FP_MUL_MEAT_2_wide): Likewise.
2426         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2427         (_FP_MUL_MEAT_2_gmp): Likewise.
2428         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2429         (_FP_SQRT_MEAT_2): Likewise.
2430         (_FP_FRAC_ASSEMBLE_2): Likewise.
2431         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2432         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2433         (_FP_FRAC_CLZ_4): Likewise.
2434         (_FP_MUL_MEAT_4_wide): Likewise.
2435         (_FP_MUL_MEAT_4_gmp): Likewise.
2436         (_FP_SQRT_MEAT_4): Likewise.
2437         (_FP_FRAC_ASSEMBLE_4): Likewise.
2438         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2439         * soft-fp/op-common.h (_FP_CMP): Likewise.
2440         (_FP_CMP_EQ): Likewise.
2441         (_FP_CMP_UNORD): Likewise.
2442         (_FP_TO_INT): Likewise.
2443         (_FP_FROM_INT): Likewise.
2444         [!__FP_CLZ] (__FP_CLZ): Likewise.
2445         (_FP_DIV_HELP_imm): Likewise.
2446         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2447         Likewise.
2448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2449         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2450         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2453         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2458         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2459         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2460         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2461         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2462         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2463         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2464         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2477         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2478         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2481         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2482         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2483         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2484         (FP_UNPACK_RAW_SP): Likewise.
2485         (FP_PACK_RAW_S): Likewise.
2486         (FP_PACK_RAW_SP): Likewise.
2487         (FP_UNPACK_S): Likewise.
2488         (FP_UNPACK_SP): Likewise.
2489         (FP_UNPACK_SEMIRAW_S): Likewise.
2490         (FP_UNPACK_SEMIRAW_SP): Likewise.
2491         (FP_PACK_S): Likewise.
2492         (FP_PACK_SP): Likewise.
2493         (FP_PACK_SEMIRAW_S): Likewise.
2494         (FP_PACK_SEMIRAW_SP): Likewise.
2495         (_FP_SQRT_MEAT_S): Likewise.
2496         (FP_CMP_S): Likewise.
2497         (FP_CMP_EQ_S): Likewise.
2498         (FP_CMP_UNORD_S): Likewise.
2499         (FP_TO_INT_S): Likewise.
2500         (FP_FROM_INT_S): Likewise.
2502         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2504         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2505         (FP_EX_INVALID_IMZ): Likewise.
2506         (FP_EX_INVALID_IMZ_FMA): Likewise.
2507         (FP_EX_INVALID_ISI): Likewise.
2508         (FP_EX_INVALID_ZDZ): Likewise.
2509         (FP_EX_INVALID_IDI): Likewise.
2510         (FP_EX_INVALID_SQRT): Likewise.
2511         (FP_EX_INVALID_CVI): Likewise.
2512         (FP_EX_INVALID_VC): Likewise.
2513         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2514         "invalid" exceptions.
2515         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2516         (_FP_ADD_INTERNAL): Likewise.
2517         (_FP_MUL): Likewise.
2518         (_FP_FMA): Likewise.
2519         (_FP_DIV): Likewise.
2520         (_FP_CMP_CHECK_NAN): Likewise.
2521         (_FP_SQRT): Likewise.
2522         (_FP_TO_INT): Likewise.
2523         (FP_EXTEND): Likewise.
2525 2014-10-09  Allan McRae  <allan@archlinux.org>
2527         * po/fr.po: Update French translation from translation project.
2529 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2531         [BZ #14132]
2532         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2533         of INTDEF.
2534         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2535         (__cxa_atexit): Use libc_hidden_proto.
2536         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2538         [BZ #14132]
2539         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2540         declaration.
2541         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2542         [!_ISOMAC] (__iswspace_l_internal): Likewise.
2543         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2544         [!_ISOMAC] (__iswctype_internal): Likewise.
2545         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2546         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2547         alias.
2548         (fcntl): Remove __fcntl_internal alias.
2549         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2550         __connect_internal alias.
2551         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2552         Likewise.
2554         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2555         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2556         FP_DENORM_ZERO.
2557         (_FP_CHECK_FLUSH_ZERO): New macro.
2558         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2559         (_FP_CMP): Likewise.
2560         (_FP_CMP_EQ): Likewise.
2561         (_FP_TO_INT): Do not set inexact for subnormal arguments if
2562         FP_DENORM_ZERO.
2563         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2564         (FP_TRUNC): Likewise.
2566         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2567         treated as invalid conversion, not as normal exponent.
2569         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2570         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
2571         (_FP_CMP_EQ): Likewise.
2572         (_FP_CMP_UNORD): Likewise.
2573         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2574         (FP_CMP_EQ_D): Likewise.
2575         (FP_CMP_UNORD_D): Likewise.
2576         * soft-fp/extended.h (FP_CMP_E): Likewise.
2577         (FP_CMP_EQ_E): Likewise.
2578         (FP_CMP_UNORD_E): Likewise.
2579         * soft-fp/quad.h (FP_CMP_Q): Likewise.
2580         (FP_CMP_EQ_Q): Likewise.
2581         (FP_CMP_UNORD_Q): Likewise.
2582         * soft-fp/single.h (FP_CMP_S): Likewise.
2583         (FP_CMP_EQ_S): Likewise.
2584         (FP_CMP_UNORD_S): Likewise.
2585         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2586         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2587         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2588         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2589         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2590         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2591         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2592         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2593         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2594         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2595         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2596         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2597         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2598         to FP_CMP_Q.
2599         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2600         FP_CMP_Q.
2601         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2602         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2603         FP_CMP_EQ_Q.
2604         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2605         FP_CMP_Q.
2606         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2607         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2608         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2609         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2610         FP_CMP_EQ_Q.
2611         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2612         FP_CMP_Q.
2613         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2614         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2615         FP_CMP_EQ_Q.
2616         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2617         FP_CMP_Q.
2618         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2619         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2620         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2621         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2622         FP_CMP_EQ_Q.
2624         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2625         a subnormal result, set the underflow exception if trapping on
2626         underflow is enabled.
2627         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2628         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2629         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2630         redefine to 0.
2631         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2632         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2633         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2634         * soft-fp/extendxftf2.c (__extendxftf2): Use
2635         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2637         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2638         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2639         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2640         FP_HANDLE_EXCEPTIONS.
2641         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2642         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2643         FP_HANDLE_EXCEPTIONS.
2644         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2645         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2646         FP_HANDLE_EXCEPTIONS.
2647         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2648         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2649         FP_HANDLE_EXCEPTIONS.
2651 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2653         [BZ #14132]
2654         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2655         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2656         use INTUSE.
2657         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2658         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2659         Remove alias.
2660         (__adjtimex): Define using libc_hidden_ver.
2661         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2662         Remove declaration.
2663         (ntp_gettime): Call __adjtimex directly.
2664         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2665         Remove declaration.
2666         (ntp_gettimex): Call __adjtimex directly.
2667         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2668         __adjtimex_internal alias.
2670 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2672         [BZ #17460]
2673         * nscd/nscd.c (more_help): Rewrite list of tables collection
2674         using xstrdup and asprintf.
2676         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2678 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2679             Roland McGrath  <roland@hack.frob.com>
2681         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2682         (do_lookup_unique): ... local function 'enter' here; update callers.
2684 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2686         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2687         compat_symbol calls on [SHARED].
2688         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2689         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2690         Remove.
2691         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2692         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2693         (oldsetrlimit): Remove.
2694         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2696         (lchown): New syscall entry.
2697         (oldsetrlimit): Remove.
2698         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2699         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2700         (oldsetrlimit): Remove.
2701         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2703         [BZ #14138]
2704         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2705         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2706         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2707         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2708         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2709         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2710         (fchown): Likewise.
2711         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2712         (fchown): Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2714         Likewise.
2716 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2719         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2720         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2721         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2722         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2723         Likewise.
2724         (__old_sem_post): Likewise.
2726 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2728         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2729         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2730         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2731         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2732         Use INLINE_VSYSCALL macro.
2733         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2734         __vdso_clock_gettime.
2735         * sysdeps/unix/sysv/linux/tile/init-first.c
2736         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2737         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2738         __vdso_clock_gettime.
2740         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2741         to set up frame more cleanly.
2743         * sysdeps/tile/memcmp.c: New file.
2745         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2747         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2748         * sysdeps/tile/tilegx/strcasestr.c: New file.
2749         * sysdeps/tile/tilegx/strnlen.c: New file.
2750         * sysdeps/tile/tilegx/strstr.c: New file.
2752         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2754 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2756         * nptl/tst-setuid3.c: Write errors to stdout.
2758 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2760         * elf/dl-deps.c
2761         (preload): New functions broken out of _dl_map_object_deps.
2762         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2764 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2766         [BZ #14138]
2767         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2768         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2770 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2772         * sysdeps/mips/strcmp.S: New.
2774 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2776         [BZ #14138]
2777         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2778         (linkat): Likewise.
2779         (mkdirat): Likewise.
2780         (readlinkat): Likewise.
2781         (renameat): Likewise.
2782         (symlinkat): Likewise.
2783         (unlinkat): Likewise.
2784         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2785         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2786         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2787         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2788         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2789         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2790         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2792 2014-09-30  Will Newton  <will.newton@linaro.org>
2794         * math/math.h: Define long double math functions if
2795         _LIBC_TEST is defined.
2796         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2798         * localedata/Makefile: Move assignment to tests-special
2799         into an ifdef testing run-built-tests.
2800         * timezone/Makefile: Likewise.
2802 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2804         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2805         with $(BASH) not $(SHELL).
2807 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2808             Matthew LeGendre  <legendre1@llnl.gov>
2810         [BZ #17411]
2811         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2812         l_reloc_result.
2814 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2816         * stdio-common/printf_fp.c
2817         (hack_digit): New function, broken out of ...
2818         (__printf_fp): ... local function here.  Update call sites.
2819         hack_digit now takes an additional parameter that is a pointer
2820         to a struct of the referenced locals.  Those locals moved inside
2821         the struct and references updated.
2823 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2825         * aclocal.m4: Require autoconf 2.69.
2826         * configure: Regenerated.
2827         * sysdeps/aarch64/configure: Likewise.
2828         * sysdeps/alpha/configure: Likewise.
2829         * sysdeps/arm/armv7/configure: Likewise.
2830         * sysdeps/arm/configure: Likewise.
2831         * sysdeps/ia64/configure: Likewise.
2832         * sysdeps/mach/configure: Likewise.
2833         * sysdeps/mips/configure: Likewise.
2834         * sysdeps/s390/configure: Likewise.
2835         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2838         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2839         file.
2840         * sysdeps/ia64/configure.ac: Likewise.
2842 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2845         specify symbol version for ld.so.  Do not include entry for
2846         libpthread.
2847         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2848         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2851         [BZ #14171]
2852         * Makeconfig [$(build-shared) = yes]
2853         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2854         makefiles.
2855         [$(build-shared) = yes && $(soversions.mk-done) = t]
2856         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2857         [$(build-shared) = yes && $(soversions.mk-done) = t]
2858         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2859         to Makerules.
2860         [$(build-shared) = yes && $(soversions.mk-done) = t]
2861         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2862         here.
2863         [$(build-shared) = yes && $(soversions.mk-done) = t]
2864         (common-generated): Don't append gnu/lib-names.h and
2865         gnu/lib-names.stmp here.
2866         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2867         (lib-names-h-abi): New variable.
2868         [$(build-shared) = yes && $(soversions.mk-done) = t]
2869         (lib-names-stmp-abi): Likewise.
2870         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2871         abi-variants] (before-compile): Append
2872         $(common-objpfx)$(lib-names-h-abi).
2873         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2874         abi-variants] (common-generated): Append gnu/lib-names.h.
2875         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2876         abi-variants] (install-others-nosubdir): Depend on
2877         $(inst_includedir)/$(lib-names-h-abi).
2878         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2879         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2880         [$(build-shared) = yes && $(soversions.mk-done) = t]
2881         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2882         [$(build-shared) = yes && $(soversions.mk-done) = t]
2883         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2884         [$(build-shared) = yes && $(soversions.mk-done) = t]
2885         (common-generated): Append $(lib-names-h-abi) and
2886         $(lib-names-stmp-abi).
2887         * scripts/lib-names.awk: Do not handle multi being set.
2888         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2889         Remove variable.
2890         (abi-lp64_be-ld-soname): Likewise.
2891         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2892         Likewise.
2893         (abi-hard-ld-soname): Likewise.
2894         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2895         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2896         Remove variable.
2897         (abi-o32_hard-ld-soname): Likewise.
2898         (abi-o32_soft_2008-ld-soname): Likewise.
2899         (abi-o32_hard_2008-ld-soname): Likewise.
2900         (abi-n32_soft-ld-soname): Likewise.
2901         (abi-n32_hard-ld-soname): Likewise.
2902         (abi-n32_soft_2008-ld-soname): Likewise.
2903         (abi-n32_hard_2008-ld-soname): Likewise.
2904         (abi-n64_soft-ld-soname): Likewise.
2905         (abi-n64_hard-ld-soname): Likewise.
2906         (abi-n64_soft_2008-ld-soname): Likewise.
2907         (abi-n64_hard_2008-ld-soname): Likewise.
2908         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2909         Likewise.
2910         (abi-64-v2-ld-soname): Likewise.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2912         ld.so entries.
2913         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2914         variable.
2915         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2916         entry.
2917         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2918         variable.
2919         (abi-64-ld-soname): Likewise.
2920         (abi-x32-ld-soname): Likewise.
2921         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2922         entry.
2923         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2925 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2927         [BZ #14138]
2928         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2929         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2930         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2931         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2932         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2933         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2934         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2935         syscall entry for GLIBC_2.2 symbol version.
2936         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2937         Likewise.
2938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2939         (setrlimit): Likewise.
2940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2941         Likewise.
2943 2014-09-23  Will Newton  <will.newton@linaro.org>
2945         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2946         _LINUX_ARM_SYSDEP_H include guard too.
2947         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2948         define.
2950 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2952         * sysdeps/unix/sysv/linux/eventfd.c:
2953         Make first argument unsigned.
2954         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2955         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2957 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2959         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2960         * socket/sys/socket.h: Likewise
2961         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2963 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2965         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2967 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2969         * time/tst-ftime.c: New test.
2970         * time/Makefile (tests): Add tst-ftime.
2972 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2974         * soft-fp/extended.h: Fix comment formatting.
2975         * soft-fp/op-1.h: Likewise.
2976         * soft-fp/op-2.h: Likewise.
2977         * soft-fp/op-4.h: Likewise.
2978         * soft-fp/op-8.h: Likewise.
2979         * soft-fp/op-common.h: Likewise.
2980         * soft-fp/soft-fp.h: Likewise.
2982         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2984 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2986         [BZ #6652]
2987         * Makeconfig (soversions-default-setname): Remove variable.
2988         ($(common-objpfx)soversions.i): Don't pass default_setname to
2989         soversions.awk.
2990         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2991         oldest_abi to abi-versions.awk.
2992         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2993         * config.make.in (oldest-abi): Remove variable.
2994         * configure.ac (--enable-oldest-abi): Remove configure option.
2995         * configure: Regenerated.
2996         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2997         text.
2998         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2999         * scripts/soversions.awk: Do not handle default_setname variable.
3000         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3001         variable.
3002         * sysdeps/mach/hurd/configure: Regenerated.
3003         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3004         variable.
3005         * sysdeps/unix/sysv/linux/configure: Regenerated.
3007 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3009         * elf/Makefile (CFLAGS-interp.c): Remove.
3010         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3011         path string.
3012         * elf/interp.c: Include generated runtime-linker.h
3014         * Makerules (lib%.so): Don't include $(+interp) in
3015         prerequisites.
3016         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3017         * dlfcn/eval.c: Remove file.
3019         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3020         macros.
3022         [BZ #17266]
3023         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3024         4.2 and newer.
3026         [BZ #17370]
3027         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3029 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3030             Jakub Jelinek  <jakub@redhat.com>
3032         [BZ #17266]
3033         * libio/stdio.h: Check definition of __fortify_function
3034         instead of __extern_always_inline to include bits/stdio2.h.
3035         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3036         check if __extern_always_inline is defined.
3037         [__USE_MISC || __USE_XOPEN]: Likewise.
3038         [__USE_ISOC99] Likewise.
3039         * misc/sys/cdefs.h (__fortify_function): Define only if
3040         __extern_always_inline is defined.
3041         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3042         __extern_always_inline and __extern_inline only for g++-4.3
3043         and newer or a compatible gcc.
3045 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3047         [BZ #17371]
3048         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3049         last change to handle zero prefix length.
3051 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3053         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3054         _SC_REGEX_VERSION.
3056         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3057         _POSIX_RAW_SOCKETS.
3059 2014-09-13  Allan McRae  <allan@archlinux.org>
3061         * po/ru.po: Update Russian translation from translation project.
3063 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3065         * locale/programs/locale.c (show_locale_vars): Inline local function
3066         into its sole call site.  Clean up some style nits.
3067         (print_item): New function, broken out of ...
3068         (show_info): ... local function here.  Clean up style nits.
3070         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3071         out of ...
3072         (set_class_defaults): ... local function set_default here.
3073         Define set_default as a macro locally to pass constant parameters.
3074         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3075         rather than a shared local.
3077         * stdlib/rpmatch.c (try): New function, broken out of ...
3078         (rpmatch): ... local function here.  Also, prototypify definition.
3080 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3082         * scripts/soversions.awk: Do not handle configuration names.
3083         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3084         vendor and os variables to soversions.awk.
3085         * configure.ac: Do not modify gnu-* host_os.
3086         * configure: Regenerated
3087         * shlib-versions: Remove first column with configuration names.
3088         * nptl/shlib-versions: Likewise.
3089         * nptl_db/shlib-versions: Likewise.
3090         * sysdeps/hppa/shlib-versions: Likewise.
3091         * sysdeps/m68k/shlib-versions: Likewise.
3092         * sysdeps/mach/hurd/shlib-versions: Likewise.
3093         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3094         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3095         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3096         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3097         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3098         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3099         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3100         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3102         Likewise.
3103         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3104         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3105         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3106         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3107         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3108         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3109         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3110         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3113         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3115         Regenerated.
3116         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3118         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3120         * shlib-versions: Remove OS-specific entries.  Moved to files in
3121         sysdeps.
3122         * sysdeps/mach/hurd/shlib-versions: New file.
3123         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3125         * nptl/shlib-versions: Remove architecture-specific entries.
3126         Moved to files in sysdeps.
3127         * shlib-versions: Likewise.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3129         file.
3130         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3131         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3132         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3133         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3135         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3136         (UDP_NO_CHECK6_RX): Likewise.
3138 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3140         * sysdeps/posix/sysconf.c (__sysconf): Spell
3141         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3143 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3145         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3146         loading.
3147         * iconv/Versions (__gconv_transliterate): Export for use from
3148         gconv modules.
3149         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3150         (struct __gconv_trans_data, __gconv_trans_fct,
3151         __gconv_trans_context_fct, __gconv_trans_query_fct,
3152         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3153         definitions.
3154         (struct __gconv_step_data): Remove __trans member.
3155         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3156         longer hidden.  Remove unused trans_data argument.
3157         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3158         (__gconv_translit_find): Remove declaration.
3159         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3160         prototype.
3161         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3162         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3163         trans_data argument.  Add hidden definition.
3164         (__gconv_translit_find): Remove.
3165         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3166         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3167         * iconv/skeleton.c: Remove transliteration initialization.
3168         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3169         __gconv_step_data initialization.
3170         * libio/iofwide.c (__libio_translit_): Remove.
3171         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3172         * wcsmbs/btowc.c (__btowc): Likewise.
3173         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3174         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3175         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3176         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3177         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3178         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3179         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3180         * wcsmbs/wctob.c (wctob): Likewise.
3182 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3184         [BZ #16194]
3185         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3186         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3187         register usage.
3188         * sysdeps/x86/Makefile: Adjust.
3190 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3191             Roland McGrath  <roland@hack.frob.com>
3193         * locale/weight.h: Add include guard.
3194         (findidx): Make static rather than auto; take new parameters
3195         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3196         * locale/weightwc.h: Likewise.
3197         * posix/fnmatch_loop.c
3198         (FCT): Change type of EXTRA from int32_t to wint_t.
3199         Don't include either header inside the function.
3200         Call FINDIDX rather than findidx, and pass new arguments.
3201         #undef FINDIDX at the end of the file.
3202         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3203         FINDIDX before including fnmatch_loop.c for the non-wide version.
3204         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3205         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3206         for the wide version.
3207         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3208         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3209         Pass new arguments to findidx.
3210         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3211         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3212         Don't #include it inside the function.  Pass new arguments to findidx.
3213         * posix/regex_internal.h
3214         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3215         (re_string_elem_size_at): Don't #include it inside the function.
3216         Pass new arguments to findidx.
3217         * string/strcoll_l.c: #include WEIGHT_H at top level.
3218         (get_next_seq): Don't #include it inside the function.
3219         Pass new arguments to findidx.
3220         (get_next_seq_nocache): Likewise.
3221         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3222         (STRXFRM): Don't #include it inside the function.
3223         Pass new arguments to findidx.
3225 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3227         [BZ #17344]
3228         * malloc/malloc.c (unlink): Turn asserts into a call to
3229         malloc_printerr.
3231 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3233         [BZ #17370]
3234         * libio/wfileops (do_ftell_wide): Free OUT.
3236 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3238         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3240 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3242         [BZ #17363]
3243         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3244         group if the current group is empty.
3246 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3248         * benchtests/bench-memset.c (test_main): Add more test from size
3249         from 32 to 512 bytes.
3250         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3251         Add POWER8 memset object.
3252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3253         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3254         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3255         implementation.
3256         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3257         Likewise.
3258         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3259         multiarch POWER8 memset optimization.
3260         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3261         POWER8 memset optimization.
3263         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3264         Remove bzero multiarch objects.
3265         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3266         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3267         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3268         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3269         Remove define.
3270         [__bzero]: Redefine to specific name.
3271         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3272         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3273         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3274         define.
3275         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3276         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3278 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3280         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3281         warnings into errors.
3283         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3284         __cxa_thread_atexit_impl prototype.
3286 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3288         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3289         Fix capitalization of error message.
3291 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3293         * sysdeps/mips/preconfigure: Modify ABI tests.
3295 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3297         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3299 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3300             Carlos O'Donell  <carlos@systemhalted.org>
3302         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3303         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3304         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3305         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3306         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3307         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3308         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3309         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3310         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3311         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3312         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3313         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3314         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3315         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3316         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3317         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3318         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3319         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3320         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3321         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3322         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3323         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3324         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3325         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3326         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3327         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3328         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3329         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3330         Deconditionalize the code that was previously under [RESET_PID].
3331         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3332         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3333         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3334         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3335         include sysdep.h.
3337 2014-09-08  Allan McRae  <allan@archlinux.org>
3339         * version.h (RELEASE): Set to "development".
3340         (VERSION): Set to "2.20.90"
3342 2014-09-07  Allan McRae  <allan@archlinux.org
3344         * version.h (RELEASE): Set to "stable".
3345         (VERSION): Set to "2.20"
3346         * include/features.h (__GLIBC_MINOR__): Set to 20.
3348         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3349         Liebler.
3351         * po/ko.po: Update Korean translation from translation project.
3353 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3355         [BZ #17354]
3356         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3357         macro for handling signed relocations.
3359 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3361         [BZ #17325]
3362         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3363         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3364         assert.
3365         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3366         * iconvdata/ibm935.c (BODY): Likewise.
3367         * iconvdata/ibm937.c (BODY): Likewise.
3368         * iconvdata/ibm939.c (BODY): Likewise.
3369         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3370         assert.
3371         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3372         script.
3373         * iconvdata/run-iconv-test.sh: New test loop for checking for
3374         decoder crashers.
3376 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3378         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3379         libm_hidden_ver.
3381 2014-09-01  Allan McRae  <allan@archlinux.org>
3383         * po/eo.po: Update Esperanto translation from translation project.
3385         * po/ca.po: Update Catalan translation from translation project.
3387 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3389         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3390         __proc_dostop call.
3392 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3394         [BZ #17319]
3395         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3396         to call set_thread_area instead of hand written asm.
3397         (__NR_set_thread_area): Removed define.
3398         (TLS_FLAG_WRITABLE): Likewise.
3399         (__ASSUME_SET_THREAD_AREA): Remove check.
3400         (TLS_EBX_ARG): Remove define.
3401         (TLS_LOAD_EBX): Likewise.
3403 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3405         Simplify atomicity of socket creation in bind.
3407         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3408         looking up the name after linking the file.
3410 2014-08-27  Allan McRae  <allan@archlinux.org>
3412         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3414 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3416         [BZ #17187]
3417         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3418         trans_compare, open_translit, __gconv_translit_find):
3419         Remove module loading code.
3421 2014-08-26  Allan McRae  <allan@archlinux.org>
3423         * po/vi.po: Update Vietnamese translation from translation project.
3425         * po/uk.po: Update Ukrainian translation from translation project.
3427         * po/fr.po: Update French translation from translation project.
3429         * po/ru.po: Update Russian translation from translation project.
3431         * po/pl.po: Update Polish translation from translation project.
3433         * po/cs.po: Update Czech translation from translation project.
3435         * po/de.po: Update German translation from translation project.
3437         * po/bg.po: Update Bulgarian translation from translation project.
3439         * po/sv.po: Update Sweedish translation from translation project.
3441         * po/nl.po: Update Dutch translation from translation project.
3443         * po/es.po: Update Spanish translation from translation project.
3445 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3447         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3449         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3450         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3451         (CPPFLAGS-iconvconfig): Likewise.
3452         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3454         * include/libc-symbols.h: Remove unnecessary check for
3455         NOT_IN_libc.
3456         * nptl/pthreadP.h: Likewise.
3457         * sysdeps/aarch64/setjmp.S: Likewise.
3458         * sysdeps/alpha/setjmp.S: Likewise.
3459         * sysdeps/arm/sysdep.h: Likewise.
3460         * sysdeps/i386/setjmp.S: Likewise.
3461         * sysdeps/m68k/setjmp.c: Likewise.
3462         * sysdeps/posix/getcwd.c: Likewise.
3463         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3464         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3465         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3466         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3467         * sysdeps/sh/sh3/setjmp.S: Likewise.
3468         * sysdeps/sh/sh4/setjmp.S: Likewise.
3469         * sysdeps/unix/alpha/sysdep.h: Likewise.
3470         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3471         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3472         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3473         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3476         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3477         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3478         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3481         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3483         * sysdeps/x86_64/setjmp.S: Likewise.
3485 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3487         [BZ #17263]
3488         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3489         <stdint.h>.
3490         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3491         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3493 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3495         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3497         [BZ #17262]
3498         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3499         and __x86_64__ when disabling x87 inline functions.
3501 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3503         [BZ #17259]
3504         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3505         asm statement with __cpuid_count.
3507 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3509         * configure.ac: Change __ehdr_start code to dereference the struct.
3510         Run readelf on the output to look for relocations.
3511         * configure: Regenerated.
3513 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3515         [BZ #17261]
3516         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3517         value to 0.
3518         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3520 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3522         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3524 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
3526         [BZ #16892]
3527         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3528         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3530 2014-08-12  Sean Anderson  <seanga2@gmail.com>
3532         * malloc/malloc.c: Fix typo in comment.
3534 2014-08-09  Allan McRae  <allan@archlinux.org>
3536         * Regenerate libc.po.
3538 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
3540         * intl/tst-gettext2.sh: Check every lang file for creation.
3542 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3544         * sysdeps/aarch64/fpu/math_private.h
3545         (libc_feholdsetround_noex_aarch64_ctx): New function.
3547 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3549         * sysdeps/arm/armv6/strcpy.S (strcpy):
3550         Fix performance issue in misaligned cases.
3552 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3554         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3555         Move definition from termios.h.
3556         (struct termio): Likewise.
3557         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3558         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3559         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3560         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3561         Likewise.
3562         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3563         Move definition to ioctl-types.h
3564         (struct termio): Likewise.
3565         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3566         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3567         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3568         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3569         Likewise.
3571 2014-08-05  Richard Henderson  <rth@redhat.com>
3573         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3574         exceptions.
3575         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3576         Add fraiseexcpt.
3577         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3578         Use __feraiseexcept.
3579         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3580         Protect libm symbols with IS_IN_libm.
3582         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3584 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
3586         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3588 2014-08-04  Will Newton  <will.newton@linaro.org>
3590         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3591         file.
3593 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3595         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3596         variants for each function.
3598 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3600         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3601         appended ...
3602         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3603         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3604         appended ...
3605         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3606         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3607         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3608         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3609         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3610         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3611         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3612         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3613         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3614         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3618         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3619         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3620         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3621         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3622         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3623         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3624         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3625         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3626         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3627         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3628         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3629         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3630         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3631         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3633         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3634         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3635         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3636         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3637         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3638         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3639         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3640         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3641         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3642         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3643         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3644         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3645         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3646         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3647         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3648         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3649         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3650         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3651         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3652         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3653         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3655         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3656         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3657         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3658         Update #include.
3659         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3660         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3662 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3665         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3666         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3667         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3668         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3669         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3671 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3673         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3674         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3675         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3676         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3678 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3680         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3681         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3682         (__libc_vfork): Define function under this name.
3683         (__vfork): Define as an alias.
3684         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3685         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3687 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3689         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3690         that was previously under [RESET_PID].
3691         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3693 2014-08-04  Andreas Schwab  <schwab@suse.de>
3695         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3697 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3699         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3700         (main): Likewise.
3702 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3704         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3706 2014-08-01  Richard Henderon  <rth@redhat.com>
3708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3709         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3710         typo in exact zero test.
3711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3712         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3715 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3717         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3718         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3719         * sysdeps/arm/sysdep.h: ... here.
3720         [!__ASSEMBLER__]: Include <stdint.h>.
3722 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3724         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3725         (HAVE_WCTYPE_H): Likewise.
3726         (HAVE_ISWCTYPE): Likewise.
3727         (ENABLE_NLS): Likewise.
3728         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3729         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3731         * posix/regex_internal.c: Check if DEBUG is defined and is
3732         set.
3734         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3735         (HAVE_MBSRTOWCS): Likewise.
3736         * posix/fnmatch.c: Include string.h unconditionally.
3738 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3740         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3741         reversal.
3743 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3745         * sysdeps/generic/safe-fatal.h: New file.
3746         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3747         * nptl/forward.c: Include it.
3748         (__pthread_unwind): Use __safe_fatal as default action, rather
3749         than a bogus use of INTERNAL_SYSCALL that could never work.
3751         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3752         * configure.ac (libc_cv_builtin_trap): New test.
3753         * configure: Regenerated.
3754         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3755         (ABORT_INSTRUCTION): Define using __builtin_trap.
3757         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3758         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3759         * sysdeps/nptl/nptl-signals.h: New file.
3760         * nptl/pthreadP.h: Include <nptl-signals.h>.
3762 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3764         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3765         (ONE_DIRECTION): Define.
3766         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3767         (ONE_DIRECTION): Define.
3768         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3769         (ONE_DIRECTION): Define.
3771 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3773         * sysdeps/s390/Makefile: Delete file.
3774         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3775         * sysdeps/s390/__longjmp.c: Delete file.
3776         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3777         Remove fields __flags and __reserved.
3778         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3779         and add versioning.
3780         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3781         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3782         * sysdeps/s390/rtld-setjmp.S: Likewise.
3783         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3784         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3785         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3786         * sysdeps/s390/s390-32/setjmp.S: ... here.
3787         Add versioning.
3788         (__sigsetjmp): Remove setting __flags field.
3789         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3790         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3791         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3792         * sysdeps/s390/s390-64/setjmp.S: ... here.
3793         Add versioning.
3794         (__sigsetjmp): Remove setting __flags field.
3795         * sysdeps/s390/setjmp.S: Delete file.
3796         * sysdeps/s390/sigjmp.c: Likewise.
3797         * sysdeps/s390/v1-longjmp.c: Likewise.
3798         * sysdeps/s390/v1-setjmp.h: Likewise.
3799         * sysdeps/s390/v1-sigjmp.c: Likewise.
3800         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3801         Remove v1-longjmp_chk.
3802         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3803         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3804         Include debug/longjmp_chk.c and add versioning.
3805         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3806         Include nptl/pt-longjmp.c and add versioning.
3807         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3808         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3809         Include __longjmp.c.
3810         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3811         Move to ...
3812         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3813         (__getcontext): Remove setting __flags field.
3814         Add versioning.
3815         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3816         Don't restore upper high grps.
3817         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3818         Likewise.
3819         (__swapcontext): Remove setting uc_flags field.
3820         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3821         Delete file.
3822         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3823         Include __longjmp.c.
3824         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3825         Move to ...
3826         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3827         (__getcontext): Remove setting __flags field.
3828         Add versioning.
3829         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3830         (__swapcontext): Remove setting uc_flags field.
3831         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3832         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3833         Remove fields uc_high_gprs and __reserved.
3834         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3835         New file with reverted content.
3836         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3837         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3838         Regenerated.
3839         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3840         Regenerated.
3842 2014-07-31  Andreas Schwab  <schwab@suse.de>
3844         * config.h.in (HAVE_IFUNC): Define to 0.
3845         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3846         definedness.
3848 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3851         memmove-avx-unaligned, memcpy-avx-unaligned and
3852         mempcpy-avx-unaligned.
3853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3854         Add tests for AVX memcpy functions.
3855         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3856         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3857         memcpy_chk.
3858         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3859         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3860         memmove_chk.
3861         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3863         mempcpy_chk.
3864         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3865         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3866         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3868 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3870         [BZ #17213]
3871         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3872         powerpc64le.
3874 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3876         [BZ #16839]
3877         * manual/llio.texi: Add section about open file description locks.
3878         * manual/examples/ofdlocks.c: Example of open file description
3879         lock usage.
3880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3881         F_OFD_SETLK, and F_OFD_SETLKW.
3883 2014-07-23  Allan McRae  <allan@archlinux.org>
3885         * po/es.po: Update Spanish translation from translation project.
3887 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3889         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3891 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3893         [BZ #17078]
3894         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3895         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3896         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3898 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3900         [BZ #17088]
3901         * math/fesetenv.c (__fesetenv)
3902         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3903         * math/feupdateenv.c (__feupdateenv)
3904         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3906         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3907         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3908         (__ASSUME_SOCKETCALL): Do not define.
3910         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3911         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3912         (__ASSUME_SOCKETCALL): Do not define.
3913         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3914         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3915         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3916         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3917         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3918         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3920         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3922         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3923         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3924         (__ASSUME_SOCKETCALL): Do not define.
3925         (__ASSUME_IPC64): Define unconditionally.
3926         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3927         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3928         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3929         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3930         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3931         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3932         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3933         Likewise.
3935         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3936         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3937         (__ASSUME_SOCKETCALL): Do not define.
3938         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3939         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3940         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3941         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3942         (__ASSUME_REQUEUE_PI): Define unconditionally.
3943         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3944         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3945         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3946         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3947         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3948         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3950         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3951         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3952         (__ASSUME_SOCKETCALL): Do not define.
3953         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3954         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3955         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3956         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3957         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3958         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3960         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3961         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3962         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3963         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3964         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3965         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3966         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3967         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3968         (__ASSUME_GETCPU_SYSCALL): Likewise.
3970         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3971         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3972         cases for individual architectures.
3973         * sysdeps/gnu/configure: Regenerated.
3974         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3975         LIBC_SLIBDIR_RTLDDIR.
3976         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3977         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3978         LIBC_SLIBDIR_RTLDDIR.
3979         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3981         LIBC_SLIBDIR_RTLDDIR.
3982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3983         Regenerated.
3984         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3985         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3986         file.
3987         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3988         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3989         file.
3990         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3991         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3992         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3993         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3995         * sysdeps/aarch64/shlib-versions: Move to ...
3996         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3997         * sysdeps/alpha/shlib-versions: Move to ...
3998         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3999         * sysdeps/arm/shlib-versions: Move to ...
4000         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4001         * sysdeps/hppa/shlib-versions: Move all contents except for
4002         libgcc_s entry to ...
4003         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4004         entry from ...
4005         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4006         * sysdeps/ia64/shlib-versions: Move to ...
4007         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4008         entry from ...
4009         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4010         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4011         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4012         * sysdeps/microblaze/shlib-versions: Move to ...
4013         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4014         * sysdeps/mips/shlib-versions: Move to ...
4015         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4016         entry from ...
4017         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4018         * sysdeps/tile/shlib-versions: Move to ...
4019         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4020         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4021         from ...
4022         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4023         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4024         entry from ...
4025         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4027 2014-07-17  Will Newton  <will.newton@linaro.org>
4029         * sysdeps/arm/bits/atomic.h
4030         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4031         (__arch_compare_and_exchange_bool_16_int): Likewise.
4032         (__arch_compare_and_exchange_bool_64_int): Likewise.
4034         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4035         into an #else block.
4037 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4039         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4040         just Linux configurations.  Test empirically that the compiler sets
4041         __ARM_EABI__, rather than using the tuple to decide.
4042         * sysdeps/arm/preconfigure: Regenerated.
4043         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4044         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4045         contents appended ...
4046         * sysdeps/arm/configure.ac: ... here.
4047         * sysdeps/arm/configure: Regenerated.
4049 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4051         * nptl/pthread_kill.c: New file.
4052         * nptl/pthread_sigmask.c: New file.
4053         * nptl/pthread_sigqueue.c: New file.
4055         * sysdeps/nptl/lowlevellock.h: New file.
4056         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4057         * sysdeps/nptl/lowlevellock-futex.h: New file.
4059         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4060         Remove dead declarations.
4062 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4064         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4065         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4066         config-cflags-avx2.
4067         * sysdeps/x86_64/configure.ac: Likewise.
4068         * sysdeps/i386/configure: Regenerated.
4069         * sysdeps/x86_64/configure: Likewise.
4070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4071         memset-avx2 only if config-cflags-avx2 is yes.
4072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4073         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4074         defined.
4075         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4076         only if HAVE_AVX2_SUPPORT is defined.
4077         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4079 2014-07-14  Alan Modra  <amodra@gmail.com>
4081         [BZ #17153]
4082         * elf/elf.h (DT_PPC64_NUM): Correct value.
4083         * NEWS: Add to fixed bug list.
4085 2014-07-13  Jim Meyering  <meyering@fb.com>
4087         [BZ 17150]
4088         regex: don't deref NULL upon heap allocation failure
4089         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4090         failure in one more place.
4091         To trigger the segfault, configure grep -with-included-regex,
4092         build it, and run these commands:
4093         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4095 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4097         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4099 2014-07-11  Richard Henderson  <rth@redhat.com>
4101         * sysdeps/aarch64/libm-test-ulps: Update.
4103 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4105         [BZ #17135]
4106         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4107         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4108         (__nptl_setxid): Initialize error member.  Call
4109         __nptl_setxid_error.
4110         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4111         * nptl/descr.h (struct xid_command): Add error member.
4112         * nptl/tst-setuid3.c: New file.
4113         * nptl/Makefile (tests): Add it.
4115 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4117         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4118         New define.
4119         (__lll_trylock): Use __lll_base_trylock.
4120         (__lll_cond_trylock): Likewise.
4122 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4124         * nptl/pthread_create.c (start_thread): Use atomic_or and
4125         lll_futex_wake directly rather than lll_robust_dead.
4126         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4127         (lll_robust_dead): Macro removed.
4128         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4129         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4130         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4131         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4133         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4134         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4135         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4136         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4138         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4139         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4140         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4141         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4142         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4144         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4145         Use atomic_compare_and_exchange_val_acq directly rather than
4146         lll_robust_trylock.
4147         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4148         (__lll_robust_trylock, lll_robust_trylock): Removed.
4149         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4150         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4151         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4152         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4153         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4154         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4155         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4156         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4157         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4158         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4159         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4160         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4161         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4164 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4166         * manual/locale.texi (Locale Names): New section documenting
4167         locale name syntax.  Adjust menu and node chaining accordingly.
4168         (Choosing Locale): Reference Locale Names, Locale Categories.
4169         Mention setting LC_ALL=C.  Reflect that name syntax is now
4170         documented.
4171         (Locale Categories): New section title.  Reference Locale Names.
4172         LC_ALL is an environment variable, but not a category.
4173         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4174         description, now in Locale Name.  Reference that section.  Locale
4175         name syntax is now documented.
4177 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4179         [BZ #17137]
4180         * locale/findlocale.c (name_present, valid_locale_name): New
4181         functions.
4182         (_nl_find_locale): Use the loc_name variable to store name
4183         candidates.  Call name_present and valid_locale_name to check and
4184         validate locale names.  Return an error if the locale is invalid.
4186 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4188         * locale/setlocale.c (setlocale): Use strdup for allocating
4189         composite name copy.
4191 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4193         Sync up with gnulib.
4194         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4195         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4196         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4197         and _GL_ARG_NONNULL.
4198         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4199         [!_LIBC]: Include code for Windows and Cygwin.
4200         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4201         Include prototype for int strerror_r.
4202         [!_LIBC] (is_open): New function.
4203         (flush_stdout): New function.
4204         (print_errno_message): Use it.
4205         (error): Likewise.
4206         (error_at_line): Likewise.
4207         (error_tail) Add function attribute macros.  Use
4208         __builtin_expect.
4210         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4212         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4214         * io/ftw.c: Include sys/param.h unconditionally.
4216         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4218         [BZ #17125]
4219         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4220         libc_freeres_ptr.
4221         (freecache): New function to free CACHE on exit.
4223         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4224         initialization.
4226 2014-07-09  David S. Miller  <davem@davemloft.net>
4228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4230         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4231         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4232         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4233         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4234         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4235         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4236         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4237         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4238         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4239         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4240         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4241         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4242         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4244 2014-07-09  Andreas Schwab  <schwab@suse.de>
4246         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4247         output.
4248         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4249         (do_test): Likewise.
4251         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4253 2014-07-09  Will Newton  <will.newton@linaro.org>
4255         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4256         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4257         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4258         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4259         * sysdeps/hppa/start.S (_start): Likewise.
4261 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4263         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4265         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4266         defined.
4268 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4270         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4271         after checking that it is non-NULL.
4273         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4275 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4277         * sysdeps/powerpc/memmove.c: Remove file.
4278         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4279         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4280         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4281         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4283         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4284         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4285         string memmove instead of removed powerpc one.
4287         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4288         [weak_alias]: Fix compiler warning due trailing data.
4289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4290         [weak_alias]: Likewise.
4291         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4292         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4295         (__libc_ifunc_impl_list): Add memmove functions.
4297 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4299         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4300         Remove code.
4301         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4302         Likewise
4303         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4304         Likewise
4305         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4306         Likewise
4307         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4308         Likewise
4309         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4310         Likewise
4311         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4312         Likewise
4313         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4314         Likewise
4315         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4316         Likewise
4317         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4318         Likewise
4319         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4320         Likewise
4321         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4322         Likewise
4323         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4324         Likewise
4325         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4326         Likewise
4327         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4328         Likewise
4329         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4330         Likewise
4331         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4332         Likewise
4334 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4336         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4337         to avoid alignment traps in non-cacheable memory.
4338         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4341         multiarch objects.
4342         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4343         file: multiarch power7 memmove.
4344         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4345         multiarch default memmove.
4346         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4347         multiarch memove for powerpc32/power4.
4349         * string/bcopy.c: Use full path to include memmove.c.
4350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4351         multiarch objects.
4352         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4353         bcopy for powerpc64.
4354         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4355         bcopy for powerpc64.
4356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4357         and memmove implementations.
4358         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4359         optimized multiarch memmove for POWER7/powerpc64.
4360         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4361         default multiarch memmove for powerpc64.
4362         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4363         multiarch for powerpc64.
4364         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4365         for POWER7/powerpc64.
4366         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4367         memmove for POWER7/powerpc64.
4369         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4370         glibc default one.
4372         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4373         __ELF_NATIVE_CLASS equal to 64.
4375 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4377         * sysdeps/nptl/lowlevellock.h: File removed.
4379         * NEWS: NPTL is no longer an add-on!
4380         * nptl/internaltypes.h: Moved ...
4381         * sysdeps/nptl/internaltypes.h: ... here.
4382         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4383         * sysdeps/nptl/fork.c: Likewise.
4384         * sysdeps/nptl/gai_misc.h: Likewise.
4385         * sysdeps/nptl/librt-cancellation.c: Likewise.
4386         * sysdeps/nptl/jmp-unwind.c: Likewise.
4387         * sysdeps/nptl/setxid.h: Likewise.
4388         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4389         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4390         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4391         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4392         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4393         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4394         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4395         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4396         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4397         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4398         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4399         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4400         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4401         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4402         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4403         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4404         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4405         * nptl/Makeconfig: Moved ...
4406         * sysdeps/nptl/Makeconfig: ... here.
4407         * nptl/configure: File removed.
4408         * nptl/ANNOUNCE: File removed.
4409         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4410         * sysdeps/unix/sysv/linux/configure: Regenerated.
4412         * nptl/Makefile (routines): Add libc_pthread_init,
4413         libc_multiple_threads, register-atfork and unregister-atfork.
4414         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4415         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4416         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4417         pthread-pi-defines.sym, structsem.sym.
4418         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4419         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4420         [$(subdir) = nptl] (tests): Add tst-setgetname.
4421         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4422         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4423         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4424         [!LIBC_SIGACTION]: Remove aliases.
4425         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4426         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4427         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4428         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4429         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4430         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4431         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4432         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4433         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4434         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4435         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4436         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4437         __libc_allocate_rtsig_private.
4438         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4439         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4440         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4441         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4442         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4443         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4444         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4445         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4446         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4447         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4448         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4449         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4450         * nptl/internaltypes.h: ... here.
4451         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4452         * sysdeps/nptl/jmp-unwind.c: ... here.
4453         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4454         * nptl/libc-lowlevellock.c: ... here.
4455         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4456         * nptl/libc_multiple_threads.c: ... here.
4457         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4458         * nptl/libc_pthread_init.c: ... here.
4459         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4460         * nptl/lowlevelbarrier.sym: ... here.
4461         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4462         * nptl/lowlevelcond.sym: ... here.
4463         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4464         * nptl/lowlevellock.c: ... here.
4465         * nptl/lowlevellock.h: Moved ...
4466         * sysdeps/nptl/lowlevellock.h: ... here.
4467         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4468         * nptl/lowlevelrobustlock.c: ... here.
4469         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4470         * nptl/lowlevelrobustlock.sym: ... here.
4471         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4472         * nptl/lowlevelrwlock.sym: ... here.
4473         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4474         * nptl/pt-fork.c: ... here.
4475         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4476         * nptl/pthread-pi-defines.sym: ... here.
4477         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4478         * nptl/pthread_attr_getaffinity.c: ... here.
4479         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4480         * nptl/pthread_attr_setaffinity.c: ... here.
4481         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4482         * nptl/pthread_mutex_cond_lock.c: ... here.
4483         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4484         Update #include.
4485         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4486         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4487         * nptl/pthread_once.c: ... here, replacing old file.
4488         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4489         * nptl/pthread_yield.c: ... here.
4490         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4491         * nptl/register-atfork.c: ... here.
4492         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4493         * nptl/sem_post.c: ... here.
4494         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4495         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4496         * nptl/sem_timedwait.c: ... here.
4497         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4498         * nptl/sem_trywait.c: ... here.
4499         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4500         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4501         * nptl/sem_wait.c: ... here.
4502         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4503         * nptl/structsem.sym: ... here.
4504         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4505         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4506         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4507         * nptl/unregister-atfork.c: ... here.
4508         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4509         * nptl/unwindbuf.sym: ... here.
4510         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4511         * sysdeps/nptl/fork.c: ... here.
4512         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4513         * sysdeps/nptl/fork.h: ... here.
4514         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4515         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4516         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4517         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4518         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4519         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4520         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4521         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4522         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4523         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4524         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4525         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4526         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4527         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4528         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4529         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4530         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4531         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4532         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4533         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4534         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4535         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4536         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4537         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4538         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4539         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4540         * sysdeps/unix/sysv/linux/raise.c: ... here.
4541         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4542         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4543         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4544         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4545         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4546         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4547         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4548         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4549         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4550         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4551         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4552         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4553         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4554         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4555         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4557 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4559         * sysdeps/generic/memcopy.h: Add comment for
4560         MEMCPY_OK_FOR_FWD_MEMMOVE.
4562 2014-07-04  Will Newton  <will.newton@linaro.org>
4564         * string/memchr.c: Merge from gnulib.
4565         [_LIBC]: Remove conditionals.
4566         (__ptr_t): Remove define.
4567         (LONG_MAX_32_BITS): Likewise.
4568         (LONG_MAX): Likewise.
4569         (MEMCHR): Use ANSI prototype and optimize algorithm.
4571         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4573 2014-07-03  Roland McGrath  <roland@hack.frob.com>
4575         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4576         (lll_futex_timed_wait_bitset): Fix syscall argument count.
4578         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4579         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4580         in a bare environment with no <stdlib.h> installed.
4581         * sysdeps/nptl/configure: Regenerated.
4583         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4585         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4586         AC_EGREP_CPP for kernel header checks, so they only succeed if
4587         including <linux/version.h> actually works right.
4588         * sysdeps/unix/sysv/linux/configure: Regenerated.
4590         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4591         value so it's not diagnosed as unused.
4593         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4594         thing) with "ifeq ($(subdir),rt)".
4596 2014-07-03  Richard Henderson  <rth@redhat.com>
4598         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4599         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4600         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4602         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4603         (math_force_eval): New.
4605         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4606         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4608         * sysdeps/alpha/fpu/s_round.c: Remove file.
4609         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4611         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4612         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4613         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4614         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4615         (_dl_start, print_statistics): Likewise.
4616         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4617         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4619         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4620         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4621         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4622         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4623         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4624         (HP_SMALL_TIMING_AVAIL): Define.
4625         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4626         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4627         (HP_SMALL_TIMING_AVAIL): Define.
4628         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4629         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4631         * sysdeps/aarch64/hp-timing.h: New file.
4633         * sysdeps/generic/hp-timing.h: Remove dead comment.
4634         * sysdeps/generic/hp-timing-common.h: New file.
4635         * sysdeps/alpha/hp-timing.h: Include it.
4636         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4637         * sysdeps/i386/i686/hp-timing.h: Likewise.
4638         * sysdeps/ia64/hp-timing.h: Likewise.
4639         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4640         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4641         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4642         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4643         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4644         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4645         (hp_timing_t): New.
4647         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4648         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4649         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4650         * elf/rtld.c (_dl_start_final): Likewise.
4651         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4652         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4653         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4654         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4655         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4656         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4657         (HP_TIMING_DIFF_INIT): Remove.
4658         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4659         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4660         (HP_TIMING_DIFF_INIT): Remove.
4661         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4662         * sysdeps/i386/i686/hp-timing.c: Remove file.
4663         * sysdeps/x86_64/hp-timing.c: Remove file.
4664         * sysdeps/ia64/hp-timing.c: Remove file.
4665         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4666         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4668         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4670         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4671         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4672         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4673         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4674         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4675         (HP_TIMING_ACCUM): Remove.
4676         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4677         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4678         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4680         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4681         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4682         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4683         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4684         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4685         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4686         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4687         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4689         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4691 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4693         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4695 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4697         Sync up with gettext.
4698         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4699         [_MSC_VER]: Include malloc.h
4700         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4701         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4702         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4703         TEMP_FAILURE_RETRY.  Cast return of alloca.
4704         [!_LIBC] Call gl_rwlock_init.
4705         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4707 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4709         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4710         before checking its value.
4712 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4714         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4716         * debug/memcpy_chk.c: Don't include pagecopy.h.
4717         * debug/mempcpy_chk.c: Likewise.
4718         * string/memcpy.c: Likewise.
4719         * string/memmove.c: Likewise.
4720         * sysdeps/powerpc/memmove.c: Likewise.
4721         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4722         definition of PAGE_COPY_FWD_MAYBE here...
4723         * sysdeps/generic/pagecopy.h: ... from here.
4724         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4726 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4727             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4729         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4731         optimizations.
4732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4733         (__libc_ifunc_impl_list): Likewise.
4734         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4735         multiarch strcat for PPC64.
4736         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4737         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4739 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4741         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4743 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4745         * intl/loadmsgcat.c: Remove declaration of
4746         get_sysdep_segment_value.
4747         (get_sysdep_segment_value): Use ISO C style.
4748         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4749         semicolon.  Fix typo and formatting in comment.
4750         (_nl_unload_domain): Use ISO C style.
4752         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4754 2014-07-02  Will Newton  <will.newton@linaro.org>
4756         * malloc/obstack.c: Merge from gnulib master.
4757         [HAVE_CONFIG_H]: Remove conditional code.
4758         [!_LIBC]: Include config.h.
4759         [!ELIDE_CODE]: Don't include inttypes.h, include
4760         stdint.h unconditionally.
4761         (print_and_abort): Mark as _Noreturn.
4762         (_obstack_allocated_p): Mark as __attribute_pure__.
4763         (obstack_free): Rename to __obstack_free.
4764         [!__attribute__]: Remove conditional code.
4765         * malloc/obstack.h: Merge from gnulib master.
4766         [__cplusplus]: Move conditional down.
4767         [!__attribute_pure__]: Define __attribute_pure__ here
4768         if it is not already defined.
4769         (_obstack_memory_used): Mark as __attribute_pure__.
4770         [!__obstack_free]: Define as obstack_free.
4771         [__GNUC__]: Remove check for ancient NeXT gcc.
4773 2014-07-02  Will Newton  <will.newton@linaro.org>
4774             Paul Eggert  <eggert@cs.ucla.edu>
4776         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4778 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4780         * resolv/gethnamaddr.c: Add comment warning that the file is
4781         not maintained.
4783 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4785         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4786         entries.
4788         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4789         entry for aio_cancel and aio_cancel64.
4790         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4791         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4792         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4793         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4794         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4795         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4796         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4797         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4798         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4799         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4800         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4801         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4802         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4804 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4806         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4807         * nptl/pthread_mutex_lock.c: Likewise.
4808         * nptl/pthread_mutex_timedlock.c: Likewise.
4809         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4811 2014-07-01  Richard henderson  <rth@redhat.com>
4813         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4814         (__isnan, __isnanl): Remove.
4815         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4817         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4819 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4821         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4823 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4825         * resolv/nss_dns/dns-host.c (getanswer_r)
4826         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4828 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4831         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4832         undefine.
4833         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4834         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4836 2014-07-01  Roland McGrath <roland@hack.frob.com>
4838         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4839         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4841         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4842         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4844         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4845         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4846         ... here.
4847         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4848         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4850         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4851         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4852         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4853         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4855         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4856         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4857         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4858         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4859         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4860         Moved ...
4861         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4862         ... here.
4863         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4864         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4865         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4866         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4867         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4868         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4869         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4870         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4871         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4872         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4873         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4874         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4875         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4876         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4877         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4878         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4879         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4880         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4881         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4882         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4883         ... here.
4884         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4885         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4886         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4887         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4888         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4889         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4890         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4891         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4893 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4895         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4896         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4897         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4898         Add sysdep.
4900 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4904 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4906         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4907         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4909         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4911         * sysdeps/arm/libm-test-ulps: Regenerated.
4913 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4914             Roland McGrath <roland@hack.frob.com>
4916         * test-skeleton.c (signal_handler): Kill the whole process group
4917         before killing the child individually.
4918         (main): Report any failure on `setpgid'.
4920 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4922         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4923         from _TLS_H to _ARM_NPTL_TLS_H.
4924         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4925         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4927 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4929         [BZ #16539]
4930         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4931         (__expm1l): Return argument unchanged when small but not
4932         subnormal.
4934         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4935         include macro name.
4936         (_FP_UNPACK_RAW_1_P): Likewise.
4937         (_FP_PACK_RAW_1): Likewise.
4938         (_FP_PACK_RAW_1_P): Likewise.
4939         (_FP_MUL_MEAT_1_wide): Likewise.
4940         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4941         (_FP_MUL_MEAT_1_hard): Likewise.
4942         (_FP_DIV_MEAT_1_imm): Likewise.
4943         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4944         (_FP_DIV_MEAT_1_udiv): Likewise.
4945         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4946         (_FP_UNPACK_RAW_2): Likewise.
4947         (_FP_UNPACK_RAW_2_P): Likewise.
4948         (_FP_PACK_RAW_2): Likewise.
4949         (_FP_PACK_RAW_2_P): Likewise.
4950         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4951         (_FP_MUL_MEAT_2_wide): Likewise.
4952         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4953         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4954         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4955         (_FP_MUL_MEAT_2_gmp): Likewise.
4956         (_FP_DIV_MEAT_2_udiv): Likewise.
4957         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4958         (_FP_FRAC_SRL_4): Likewise.
4959         (_FP_FRAC_SRST_4): Likewise.
4960         (_FP_FRAC_SRS_4): Likewise.
4961         (_FP_UNPACK_RAW_4): Likewise.
4962         (_FP_UNPACK_RAW_4_P): Likewise.
4963         (_FP_PACK_RAW_4): Likewise.
4964         (_FP_PACK_RAW_4_P): Likewise.
4965         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4966         (_FP_MUL_MEAT_4_wide): Likewise.
4967         (_FP_MUL_MEAT_4_gmp): Likewise.
4968         (umul_ppppmnnn): Likewise.
4969         (_FP_DIV_MEAT_4_udiv): Likewise.
4970         (__FP_FRAC_ADD_4): Likewise.
4971         (__FP_FRAC_SUB_3): Likewise.
4972         (__FP_FRAC_SUB_4): Likewise.
4973         (__FP_FRAC_DEC_3): Likewise.
4974         (__FP_FRAC_DEC_4): Likewise.
4975         (__FP_FRAC_ADDI_4): Likewise.
4976         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4977         (_FP_FRAC_SRL_8): Likewise.
4978         (_FP_FRAC_SRS_8): Likewise.
4980         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4981         include macro name.
4982         (FP_UNPACK_RAW_EP): Likewise.
4983         (FP_PACK_RAW_E): Likewise.
4984         (FP_PACK_RAW_EP): Likewise.
4985         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4986         (_FP_ISSIGNAN): Likewise.
4987         (_FP_ADD_INTERNAL): Likewise.
4988         (_FP_FMA): Likewise.
4989         (_FP_CMP): Likewise.
4990         (_FP_SQRT): Likewise.
4991         (_FP_TO_INT): Likewise.
4992         (_FP_FROM_INT): Likewise.
4993         (FP_EXTEND): Likewise.
4994         (_FP_DIV_MEAT_N_loop): Likewise.
4996 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4998         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4999         throughout.
5001 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5003         [BZ #17097]
5004         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5005         result with correct sign in case of exponents that produce
5006         overflow except for X very close to 1.
5008 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5010         mktime: merge #if/#ifdef usage from glibc
5011         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5012         as that works with both Glibc's and Gnulib's style.
5013         See thread starting at Siddhesh Poyarekar's bug report at:
5014         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5016 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5018         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5019         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5020         * sysdeps/tile/tilegx/memmove.c: Remove file.
5022 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5024         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5025         abi-name definition.
5026         * scripts/soversions.awk: Do not handle or generate ABI lines.
5027         * shlib-versions: Remove ABI entries.
5028         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5029         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5031 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5034         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5035         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5036         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5038         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5040         Moved ...
5041         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5042         ... here.
5043         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5044         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5046         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5048         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5050         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5052         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5054         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5056         Moved ...
5057         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5059         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5061         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5063         Moved ...
5064         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5066         Moved ...
5067         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5069         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5071         Moved ...
5072         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5074         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5076         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5078         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5080         Moved ...
5081         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5083         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5084         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5085         Moved ...
5086         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5088         Moved ...
5089         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5090         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5091         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5093         Moved ...
5094         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5095         ... here.
5096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5097         Identical file removed.
5098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5099         Moved ...
5100         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5102         Identical file removed.
5103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5104         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5106         Moved ...
5107         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5109         Identical file removed.
5110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5113         Identical file removed.
5114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5115         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5117         Identical file removed.
5118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5119         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5121         Identical file removed.
5122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5123         Moved ...
5124         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5126         Identical file removed.
5127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5128         Moved ...
5129         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5131         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5132         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5133         Identical file removed.
5134         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5135         Moved ...
5136         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5137         ... here.
5138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5139         Identical file removed.
5140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5141         Moved ...
5142         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5144         Identical file removed.
5145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5146         Moved ...
5147         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5149         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5150         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5151         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5152         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5153         Moved ...
5154         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5155         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5156         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5158         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5159         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5160         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5161         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5162         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5164 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5166         [BZ #17092]
5167         * nscd/nscd.c (monitor_child): Return exit status of child
5168         instead of return value from wait syscall.
5170 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5172         * configure.ac (libc_commonpagesize): Remove variable.
5173         (libc_relro_required): Likewise.
5174         (libc_cv_z_relro): Remove configure test.
5175         * configure: Regenerated.
5176         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5177         variable.
5178         (libc_relro_required): Likewise.
5179         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5180         (libc_relro_required): Likewise.
5181         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5182         (libc_relro_required): Likewise.
5183         * sysdeps/arm/preconfigure: Regenerated.
5184         * sysdeps/ia64/preconfigure: Remove file.
5185         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5186         variable.
5187         (libc_relro_required): Likewise.
5189         [BZ #16561]
5190         [BZ #16562]
5191         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5192         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5193         recompute overflowing results in original rounding mode.
5194         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5195         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5196         recompute overflowing results in original rounding mode.
5197         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5198         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5199         recompute overflowing results in original rounding mode.
5200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5201         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5202         recompute overflowing results in original rounding mode.
5203         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5204         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5205         recompute overflowing results in original rounding mode.
5206         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5207         (libc_feholdsetround_ctx): New macro.
5208         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5209         * sysdeps/i386/fpu/libm-test-ulps: Update.
5210         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5212 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5214         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5215         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5216         corresponding .cpsetup call.
5218 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5220         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5221         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5222         * sysdeps/arm/Makefile [$(subdir) = csu]
5223         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5224         (static-only-routines): Add aeabi_read_tp here.
5225         (shared-only-routines): Add libc-aeabi_read_tp here.
5226         (CFLAGS-libc-start.c): Add -fexceptions here.
5227         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5228         (sysdep_routines, static-only-routines, shared-only-routines):
5229         Don't add to these here.
5230         (CFLAGS-libc-start.c): Likewise.
5232         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5233         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5234         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5235         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5236         * sysdeps/arm/Makefile [$(subdir) = rt]
5237         (librt-sysdep_routines, librt-shared-only-routines):
5238         Append rt-aeabi_unwind_cpp_pr1 here.
5239         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5240         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5241         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5242         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5243         Append nptl-aeabi_unwind_cpp_pr1 here.
5244         (tests): Filter out tst-cleanupx4 here.
5245         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5246         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5247         Don't do those here.
5249 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5251         * scripts/list-sources.sh: Do not handle ports specially.
5253 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5255         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5256         * sysdeps/arm/feupdateenv.c: Likewise.
5258         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5260 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5262         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5263         trailing whitespace removed.
5264         * scripts/config.guess: Update to version 2014-03-23.
5265         * scripts/config.sub: Update to version 2014-05-01
5266         * scripts/install-sh: Update to version 2013-12-25.23.
5267         * scripts/move-if-change: Update from gnulib.
5269 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5271         * debug/memmove_chk.c: Remove pagecopy.h include.
5273 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5275         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5276         identical to gnulib mktime.
5278 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5280         * configure.ac: Do not test for machine being rs6000.  Do not test
5281         for powerpc*-*soft.
5282         * configure: Regenerated.
5284         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5285         test.
5286         * configure: Regenerated.
5287         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5288         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5289         Remove configure test.
5290         * sysdeps/arm/configure: Regenerated.
5291         * sysdeps/nptl/configure.ac: Do not check
5292         libc_cv_asm_cfi_directives.
5293         * sysdeps/nptl/configure: Regenerated.
5294         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5295         * sysdeps/x86_64/nptl/configure: Remove generated file.
5296         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5297         unconditional.
5298         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5300 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5302         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5303         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5304         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5305         it is defined.
5307         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5308         instead of whether it is defined.
5309         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5310         * sysdeps/hppa/dl-machine.h: Likewise.
5311         * sysdeps/ia64/dl-machine.h: Likewise.
5312         * sysdeps/m68k/dl-machine.h: Likewise.
5313         * sysdeps/microblaze/dl-machine.h: Likewise.
5314         * sysdeps/mips/dl-machine.: Likewise.
5315         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5316         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5317         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5318         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5319         * sysdeps/sh/dl-machine.h: Likewise.
5320         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5321         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5322         * sysdeps/tile/dl-machine.h: Likewise.
5323         * sysdeps/x86_64/dl-machine.h: Likewise.
5325         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5326         code.
5327         (verify_persistent_db): Likewise.
5329 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5332         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5334         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5336         Moved ...
5337         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5338         ... here.
5339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5340         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5342         Identical file removed.
5343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5344         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5346         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5348         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5350         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5352         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5354         Moved ...
5355         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5357         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5359         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5361         Moved ...
5362         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5364         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5366         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5368         Identical file removed.
5369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5370         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5372         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5374         Moved ...
5375         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5376         ... here.
5377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5378         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5380         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5382         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5384         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5386         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5388         Moved ...
5389         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5391         Moved ...
5392         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5394         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5396         Moved ...
5397         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5399         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5401         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5402         folded into ...
5403         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5404         * sysdeps/unix/sysv/linux/s390/Versions
5405         (libpthread: GLIBC_2.19): New version set.
5406         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5407         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5408         (librt: GLIBC_2.3.3): New version set.
5409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5410         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5411         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5412         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5413         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5414         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5415         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5416         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5417         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5418         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5419         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5420         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5421         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5422         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5423         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5424         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5425         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5426         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5427         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5428         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5429         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5430         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5431         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5433         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5435         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5437         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5439         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5440         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5445         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5447         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5449         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5451         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5453         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5455         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5456         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5457         (__libc_vfork): Define the function under this name.
5458         [!NOT_IN_libc] (__vfork): Make this an alias.
5459         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5460         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5461         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5462         (__libc_vfork): Define the function under this name.
5463         [!NOT_IN_libc] (__vfork): Make this an alias.
5464         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5465         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5466         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5468         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5469         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5471         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5472         code that was previously under [RESET_PID].
5473         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5474         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5477         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5478         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5479         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5480         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5481         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5482         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5483         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5484         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5485         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5486         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5487         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5488         Moved ...
5489         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5490         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5491         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5492         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5493         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5494         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5495         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5496         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5497         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5498         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5500         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5501         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5502         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5503         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5504         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5505         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5506         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5507         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5508         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5509         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5510         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5511         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5512         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5513         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5514         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5515         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5516         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5517         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5519 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5521         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5522         that was previously under [RESET_PID].
5523         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5525 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5527         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5528         not undefine and redefine.
5529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5530         [O_CLOEXEC]: Make code unconditional.
5531         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5532         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5533         <kernel-features.h>.
5534         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5535         conditional variable definition.
5536         (shm_open) [O_CLOEXEC]: Make code unconditional.
5537         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5538         code.
5540         * configure.ac (USE_REGPARMS): Don't define here.
5541         * configure: Regenerated.
5542         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5543         * sysdeps/i386/configure: Regenerated.
5545         * nptl/createthread.c: Don't include kernel-features.h.
5546         * nptl/pthread_cancel.c: Likewise.
5547         * nptl/pthread_condattr_setclock.c: Likewise.
5548         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5549         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5550         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5551         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5552         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5553         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5554         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5557         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5558         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5559         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5560         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5561         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5562         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5563         * nscd/gai.c: Likewise.
5564         * nss/nss_db/db-open.c: Likewise.
5565         * sysdeps/generic/ldsodefs.h: Likewise.
5566         * sysdeps/sh/nptl/tls.h: Likewise.
5567         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5568         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5569         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5570         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5571         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5572         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5573         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5574         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5575         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5576         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5577         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5578         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5579         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5580         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5581         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5582         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5583         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5584         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5585         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5586         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5587         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5589         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5590         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5595         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5596         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5597         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5598         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5599         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5600         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5601         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5602         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5603         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5604         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5605         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5606         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5607         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5608         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5609         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5610         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5611         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5612         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5613         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5614         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5615         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5616         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5617         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5618         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5619         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5620         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5621         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5622         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5623         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5624         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5647         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5648         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5649         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5650         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5651         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5652         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5653         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5654         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5655         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5656         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5657         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5658         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5659         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5660         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5661         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5662         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5663         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5664         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5665         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5666         * sysdeps/unix/sysv/linux/system.c: Likewise.
5667         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5668         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5669         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5670         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5671         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5672         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5673         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5675         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5676         * configure: Regenerated.
5677         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5679         * configure.ac (base_machine): Do not set specially for particular
5680         machines here.
5681         * configure: Regenerated.
5682         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5683         settings from configure.ac.
5684         * sysdeps/i386/preconfigure: New file.
5685         * sysdeps/s390/preconfigure: Likewise.
5686         * sysdeps/sh/preconfigure: Likewise.
5687         * sysdeps/sparc/preconfigure: Likewise.
5689 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5691         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5692         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5693         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5694         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5695         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5696         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5697         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5698         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5699         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5700         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5701         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5702         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5703         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5705         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5708         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5709         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5711         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5712         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5713         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5714         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5715         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5716         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5717         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5718         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5719         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5720         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5721         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5722         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5723         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5724         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5725         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5726         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5727         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5728         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5729         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5730         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5732         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5734         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5736         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5739         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5740         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5741         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5742         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5743         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5744         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5746         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5747         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5748         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5751         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5753         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5755         Moved ...
5756         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5757         ... here.
5758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5759         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5761         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5763         Moved ...
5764         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5766         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5770         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5772         Moved ...
5773         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5775         Moved ...
5776         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5778         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5780         Moved ...
5781         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5783         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5785         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5787         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5789         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5791         Moved ...
5792         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5793         ... here.
5794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5795         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5797         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5799         Moved ...
5800         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5802         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5804         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5806         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5808         Moved ...
5809         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5811         Moved ...
5812         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5814         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5816         Moved ...
5817         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5819         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5821         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5823 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5825         * timezone/checktab.awk: Update from tzcode 2014e.
5826         * timezone/private.h: Likewise.
5827         * timezone/tzfile.h: Likewise.
5828         * timezone/zdump.c: Likewise.
5829         * timezone/zic.c: Likewise.
5831         * sysdeps/unix/sysv/linux/kernel-features.h
5832         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5834         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5835         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5836         Remove conditional code.
5838 2014-06-25  Will Newton  <will.newton@linaro.org>
5840         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5841         (_dl_arm_cap_flags): Add HWCAP2 values.
5842         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5843         (_DL_HWCAP_COUNT): Increase to 37.
5844         (_DL_HWCAP_LAST): New define.
5845         (_DL_HWCAP2_LAST): New define.
5846         (_dl_procinfo): Add support for printing
5847         AT_HWCAP2 entries.
5848         (_dl_string_hwcap): Use _dl_hwcap_string.
5850 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5854 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5856         * README: Do not mention ports directory.
5858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5859         Remove macro.
5860         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5861         <kernel-features.h>.
5862         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5863         conditional variable definition.
5864         (__futimes): Update comment.
5865         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5866         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5868         [BZ #16560]
5869         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5870         arguments close to 0.
5871         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5872         Likewise.
5873         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5874         Likewise.
5875         * math/auto-libm-test-in: Add more tests of exp10.
5876         * math/auto-libm-test-out: Regenerated.
5877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5879         * sysdeps/unix/sysv/linux/kernel-features.h
5880         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5881         * sysdeps/unix/sysv/linux/readv.c: Do not include
5882         <kernel-features.h>.
5883         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5884         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5885         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5886         unconditional.
5887         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5888         conditional code.
5889         * sysdeps/unix/sysv/linux/writev.c: Do not include
5890         <kernel-features.h>.
5891         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5892         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5893         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5894         unconditional.
5895         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5896         conditional code.
5898 2014-06-25  Will Newton  <will.newton@linaro.org>
5900         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5901         comment changes throughout the file.  Remove checks
5902         for HAVE_*_H definitions that are not required.
5903         (__gen_tempname): Call abort if an unknown kind value is
5904         passed.
5906 2014-06-25  Andreas Schwab  <schwab@suse.de>
5908         [BZ #17086]
5909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5910         scalbln, scalblnf, scalblnl in libc.
5912 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5914         [BZ #17086]
5915         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5916         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5917         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5919 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5921         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5922         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5923         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5924         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5925         Update #include.
5926         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5927         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5928         Update #include.
5929         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5930         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5931         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5932         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5933         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5934         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5935         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5936         * sysdeps/x86/bits/semaphore.h: ... here.
5937         * sysdeps/x86/nptl/elide.h: Moved ...
5938         * sysdeps/x86/elide.h: ... here.
5939         * sysdeps/x86_64/nptl/Implies: File removed.
5940         * sysdeps/i386/nptl/Implies: File removed.
5942 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5944         [BZ #16539]
5945         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5946         return the argument for normal arguments with exponent below -64.
5947         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5948         Likewise.
5949         * math/auto-libm-test-in: Add another test of expm1.
5950         * math/auto-libm-test-out: Regenerated.
5952         [BZ #16287]
5953         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5954         calling __erfcl for arguments at least 16.
5955         * math/auto-libm-test-in: Add more tests of erf.
5956         * math/auto-libm-test-out: Regenerated.
5958         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5959         individual architectures.
5960         * sysdeps/unix/sysv/linux/configure: Regenerated.
5961         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5962         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5963         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5964         (ldd_rewrite_script): Define variable.
5965         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5967         file.
5968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5969         generated file.
5970         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5971         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5972         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5973         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5974         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5975         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5976         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5977         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5979 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5981         [BZ #17084]
5982         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5983         Rename member __data.d to __data.__elision_data.
5985 2014-06-24  Wilco  <wdijkstr@arm.com>
5987         * NEWS: Add 16918 to fixed bug list.
5989 2014-06-24  Wilco  <wdijkstr@arm.com>
5991         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5993 2014-06-24  Wilco  <wdijkstr@arm.com>
5995         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5996         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5997         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5998         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5999         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6000         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6001         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6002         Use _FPU_MASK_RM.
6004 2014-06-24  Wilco  <wdijkstr@arm.com>
6006         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6008 2014-06-24  Wilco  <wdijkstr@arm.com>
6010         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6011         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6012         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6013         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6015 2014-06-24  Wilco  <wdijkstr@arm.com>
6017         [BZ #16918]
6018         * sysdeps/arm/feupdateenv.c (feupdateenv):
6019         Rewrite to reduce FPSCR accesses and fix return value.
6021 2014-06-24  Wilco  <wdijkstr@arm.com>
6023         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6024         Optimize to avoid unnecessary FPSCR writes.
6025         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6026         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6027         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6028         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6030 2014-06-24  Wilco  <wdijkstr@arm.com>
6032         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6033         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6034         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6035         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6036         Call libc_fetestexcept_vfp.
6037         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6038         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6039         __SOFTFP__ ifdef so that they can be built for softfp.
6041 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6043         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6044         argument type signed char.
6046         * Makerules (check-abi): Dump diff of symlist if the test
6047         fails.
6049 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6051         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6052         using abort.
6054         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6055         Remove unused variable ST.
6057 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6059         [BZ #16354]
6060         [BZ #17061]
6061         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6062         small arguments before calling __expm1.
6063         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6064         small arguments before calling __expm1f.
6065         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6066         small arguments before calling __expm1l.
6067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6068         Likewise.
6069         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6070         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6071         spurious underflow for some cosh tests.
6072         * math/auto-libm-test-out: Regenerated.
6073         * sysdeps/i386/fpu/libm-test-ulps: Update.
6075         [BZ #17050]
6076         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6077         (__ieee754_y1): Set errno if return value overflows.
6078         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6079         (__ieee754_y1f): Set errno if return value overflows.
6080         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6081         (__ieee754_y1l): Set errno if return value overflows.
6082         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6083         (__ieee754_y1l): Set errno if return value overflows.
6084         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6085         * math/auto-libm-test-out: Regenerated.
6087         * math/gen-auto-libm-tests.c: Document use of
6088         ignore-zero-inf-sign.
6089         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6090         (input_flags): Add ignore-zero-inf-sign.
6091         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6092         * math/gen-libm-test.pl (generate_testfile): Handle
6093         ignore-zero-inf-sign.
6094         * math/auto-libm-test-in: Mark some cpow tests with
6095         ignore-zero-inf-sign and some with xfail-rounding.
6096         * math/auto-libm-test-out: Regenerated.
6097         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6098         * sysdeps/i386/fpu/libm-test-ulps: Update.
6099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6101         [BZ #16315]
6102         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6103         overflowing or underflowing operations take place with sign of
6104         result.
6105         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6106         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6107         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6108         (__ieee754_pow): Recompute overflowing and underflowing results in
6109         original rounding mode.
6110         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6111         (__powl_helper): Allow negative argument X and scale negated value
6112         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6113         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6114         overflowing or underflowing operations take place with sign of
6115         result.
6116         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6117         Include <math.h>.
6118         * math/auto-libm-test-in: Add more tests of pow.
6119         * math/auto-libm-test-out: Regenerated.
6120         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6121         (pow_tonearest_test_data): Remove.
6122         (pow_test_tonearest): Likewise.
6123         (pow_towardzero_test_data): Likewise.
6124         (pow_test_towardzero): Likewise.
6125         (pow_downward_test_data): Likewise.
6126         (pow_test_downward): Likewise.
6127         (pow_upward_test_data): Likewise.
6128         (pow_test_upward): Likewise.
6129         (main): Don't call removed functions.
6130         * sysdeps/i386/fpu/libm-test-ulps: Update.
6131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6136         Moved ...
6137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6139         Moved ...
6140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6142         Moved ...
6143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6145         Moved ...
6146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6148         File removed.
6149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6150         File removed.
6151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6152         File removed.
6153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6154         File removed.
6155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6156         File removed.
6157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6158         File removed.
6159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6160         File removed.
6161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6162         File removed.
6163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6164         File removed.
6165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6166         File removed.
6167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6168         File removed.
6169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6170         File removed.
6171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6172         Moved ...
6173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6175         Moved ...
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6177         ... here.
6178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6179         Moved ...
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6182         Moved ...
6183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6185         Moved ...
6186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6188         Moved ...
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6191         Moved ...
6192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6194         Moved ...
6195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6197         Moved ...
6198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6201         ... here.
6202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6203         Moved ...
6204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6206         Moved ...
6207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6208         ... here.
6209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6210         Moved ...
6211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6212         ... here.
6213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6214         Moved ...
6215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6216         ... here.
6217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6218         Moved ...
6219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6221         Moved ...
6222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6226         Moved ...
6227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6228         ... here.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6230         Moved ...
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6232         ... here.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6237         Moved ...
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6240         Moved ...
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6243         Moved ...
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6246         Moved ...
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6248         ... here.
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6250         Moved ...
6251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6253         Moved ...
6254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6256         Moved ...
6257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6259         Moved ...
6260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6264         Moved ...
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6267         Moved ...
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6270         Moved ...
6271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6272         ... here.
6273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6274         Moved ...
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6276         ... here.
6277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6278         Moved ...
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6280         ... here.
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6282         Moved ...
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6285         Moved ...
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6288         Moved ...
6289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6291         Moved ...
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6293         ... here.
6294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6297         ... here.
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6299         Moved ...
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6301         ... here.
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6306         Moved ...
6307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6309 2014-06-23  Will Newton  <will.newton@linaro.org>
6310             Wilco  <wdijkstr@arm.com>
6312         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6313         implementation.  Include get-rounding-mode.h.
6314         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6315         [!libc_feholdsetround_noex_ctx]: Define
6316         libc_feholdsetround_noex_ctx.
6317         [!libc_feholdsetround_noexf_ctx]: Define
6318         libc_feholdsetround_noexf_ctx.
6319         [!libc_feholdsetround_noexl_ctx]: Define
6320         libc_feholdsetround_noexl_ctx.
6321         (libc_feholdsetround_ctx): New function.
6322         (libc_feresetround_ctx): New function.
6323         (libc_feholdsetround_noex_ctx): New function.
6324         (libc_feresetround_noex_ctx): New function.
6326 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6328         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6329         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6330         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6331         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6332         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6333         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6336         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6337         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6338         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6339         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6340         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6342         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6344         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6346         Moved ...
6347         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6348         ... here.
6349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6350         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6352         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6354         Moved ...
6355         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6357         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6359         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6361         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6363         Moved ...
6364         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6366         Moved ...
6367         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6369         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6371         Moved ...
6372         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6373         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6374         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6375         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6376         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6377         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6378         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6380         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6382         Moved ...
6383         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6384         ... here.
6385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6386         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6387         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6388         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6390         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6392         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6394         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6396         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6397         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6398         Moved ...
6399         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6401         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6403         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6405         Moved ...
6406         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6407         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6408         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6409         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6410         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6412         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6413         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6414         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6415         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6416         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6417         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6418         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6419         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6421         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6422         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6423         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6424         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6426         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6427         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6428         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6429         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6430         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6431         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6432         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6433         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6434         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6435         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6436         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6437         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6438         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6439         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6441 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6444         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6445         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6446         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6447         (IPV6_PMTUDISC_INTERFACE): Likewise.
6448         (IPV6_PMTUDISC_OMIT): Likewise.
6450 2014-06-23  Andreas Schwab  <schwab@suse.de>
6452         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6453         Remove unused errout label.
6455 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6457         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6458         macro: hardware supports Vector Crypto instructions.
6460 2014-06-23  Will Newton  <will.newton@linaro.org>
6462         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6463         rather than __builtin_expect.
6465         * elf/dl-lookup.c (undefined_msg): Remove variable.
6466         (_dl_lookup_symbol_x): Replace undefined_msg with string
6467         literal.
6469         * elf/dl-lookup.c (do_lookup_unique): New function.
6470         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6471         to a separate function.
6473 2014-06-23  Andreas Schwab  <schwab@suse.de>
6475         [BZ #17079]
6476         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6477         before reading the next line.
6479 2014-06-23  Will Newton  <will.newton@linaro.org>
6481         * test-skeleton.c (signal_handler): Use printf and %m
6482         rather than perror.  Use printf rather than fprintf to
6483         stderr.  Use puts rather than fputs to stderr.
6484         (main): Likewise.
6486 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6488         * nscd/nscd.c (thread_info_t): Remove typedef.
6489         (thread_info): Remove variable.
6491 2014-06-21  Allan McRae  <allan@archlinux.org>
6493         * NEWS: Mention CVE-2014-4043.
6495 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6497         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6498         * nptl/smp.h: ... here.
6500         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6502         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6503         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6504         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6505         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6507         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6508         * nptl/stack-aliasing.h: New file.
6509         * sysdeps/i386/i686/stack-aliasing.h: New file.
6510         * sysdeps/i386/i686/nptl/Makefile: File removed.
6511         * sysdeps/x86_64/stack-aliasing.h: New file.
6512         * sysdeps/x86_64/nptl/Makefile
6513         (CFLAGS-pthread_create.c): Variable removed.
6515         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6516         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6517         old file.
6518         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6519         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6520         old file.
6522 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
6524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6525         (__ASSUME_SIGFRAME_V2): Remove macro.
6526         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6527         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6528         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6529         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6530         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6531         Declare as function.  Remove conditional macro definitions.
6532         (__default_rt_sa_restorer): Likewise.
6533         (__default_sa_restorer_v1): Remove declaration.
6534         (__default_sa_restorer_v2): Likewise.
6535         (__default_rt_sa_restorer_v1): Likewise.
6536         (__default_rt_sa_restorer_v2): Likewise.
6537         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6538         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6539         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6541 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6543         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6544         (libpthread-routines): Add sysdep.
6545         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6546         * sysdeps/unix/sysv/linux/sparc/Versions
6547         (libpthread: GLIBC_2.3.3): New version set.
6548         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6549         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6550         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6551         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6552         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
6553         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6554         Moved ...
6555         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6556         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6557         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6558         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6559         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6560         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6561         * sysdeps/sparc/nptl/sem_init.c: ... here.
6562         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6563         * sysdeps/sparc/nptl/sem_post.c: ... here.
6564         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6565         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6566         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6567         * sysdeps/sparc/nptl/sem_wait.c: ... here.
6568         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6569         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6570         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6571         (libpthread-routines): Add cpu_relax.
6572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6573         File removed.
6574         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6575         (librt: GLIBC_2.3.3): New version set.
6576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6577         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6578         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6579         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6582         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6584         Moved ...
6585         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6587         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6589         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6591         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6593         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6595         Moved ...
6596         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6597         Update #include.
6598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6599         Moved ...
6600         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6601         Update #include.
6602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6603         Moved ...
6604         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6605         Update #include.
6606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6607         Moved ...
6608         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6609         Update #include.
6610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6611         Moved ...
6612         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6613         Update #include.
6614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6615         Moved ...
6616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6617         Update #include.
6618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6619         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6621         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6623         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6625         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6627         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6629         Moved ...
6630         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6632         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6634         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6636 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6638         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6639         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6640         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6641         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6642         * nscd/nscd.c: Likewise.
6643         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6644         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6645         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6646         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6648         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6649         <kernel-features.h>.
6650         (init_mq_netlink): Remove conditional have_sock_cloexec
6651         definitions.  Remove code conditional on have_sock_cloexec < 0.
6652         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6653         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6654         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6655         <kernel-features.h>.
6656         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6657         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6659 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6662         Add tests for memset_chk and memset.
6664         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6665         with AVX2_Usable.
6667 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6669         [BZ #16046]
6670         * elf/tst-dl-iter-static.c: New file.
6671         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6673         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6674         error.
6676 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6678         * sysdeps/unix/sysv/linux/kernel-features.h
6679         (__ASSUME_F_GETOWN_EX): Remove macro.
6680         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6681         <kernel-features.h>.
6682         (miss_F_GETOWN_EX): Remove variable or macro.
6683         (do_fcntl): Do not check miss_F_GETOWN_EX.
6684         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6687         Remove macro.
6688         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6689         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6690         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6692         * sysdeps/unix/sysv/linux/kernel-features.h
6693         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6694         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6695         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6696         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6698 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6700         [BZ #17075]
6701         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6702         Fix calculation of the symbol's value.
6703         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6704         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6705         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6706         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6707         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6708         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6709         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6710         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6711         (modules-names): Add `tst-armtlsdescmod',
6712         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6713         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6714         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6715         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6716         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6717         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6718         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6719         ($(objpfx)tst-armtlsdescloc): New dependency.
6720         ($(objpfx)tst-armtlsdescextnow): Likewise.
6721         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6722         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6723         TLS scheme support.
6724         * sysdeps/arm/configure: Regenerate.
6726 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6728         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6729         (__atfct_seterrno_2): Likewise.
6730         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6731         <kernel-features.h>.
6732         (__ASSUME_ATFCTS): Do not undefine and redefine.
6733         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6734         (__have_atfcts): Remove conditional definition.
6735         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6736         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6737         unreachable if [__ASSUME_ATFCTS].
6738         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6739         not undefine and redefine.
6740         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6741         <kernel-features.h>.
6742         (faccessat) [__NR_faccessat]: Make code unconditional.
6743         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6744         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6745         <kernel-features.h>.
6746         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6747         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6748         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6749         <kernel-features.h>.
6750         (fchownat) [__NR_fchownat]: Make code unconditional.
6751         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6752         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6753         <kernel-features.h>.
6754         (futimesat) [__NR_futimesat]: Make code unconditional.
6755         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6756         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6757         <kernel-features.h>.
6758         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6759         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6760         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6761         <kernel-features.h>.
6762         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6763         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6764         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6765         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6766         <kernel-features.h>.
6767         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6768         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6769         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6770         <kernel-features.h>.
6771         (linkat) [__NR_linkat]: Make code unconditional.
6772         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6773         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6774         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6775         <kernel-features.h>.
6776         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6777         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6778         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6779         <kernel-features.h>.
6780         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6781         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6782         * sysdeps/unix/sysv/linux/openat.c: Do not include
6783         <kernel-features.h>.
6784         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6785         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6786         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6787         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6788         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6789         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6790         <kernel-features.h>.
6791         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6792         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6793         result of INLINE_SYSCALL directly, not via int variable.
6794         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6795         <kernel-features.h>.
6796         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6797         (renameat) [__NR_renameat]: Make code unconditional.
6798         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6799         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6800         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6801         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6802         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6803         (__ASSUME_ATFCTS): Do not undefine and redefine.
6804         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6805         <kernel-features.h>.
6806         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6807         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6808         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6809         <kernel-features.h>.
6810         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6811         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6812         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6813         (__ASSUME_ATFCTS): Do not undefine and redefine.
6814         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6815         <kernel-features.h>.
6816         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6817         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6818         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6819         <kernel-features.h>.
6820         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6821         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6823 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6825         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6827 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6829         [BZ #17069]
6830         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6831         constructed tree before returning error.
6832         * posix/bug-regexp36.c: Expand test case.
6834 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6836         [BZ #6803]
6837         * math/libm-test.inc (scalbln_test_date):
6838         Add errno expectations.
6839         * math/w_scalblnf.c: New File.
6840         Add wrapper which checks for setting errno to ERANGE.
6841         Add weak_alias for corresponding scalbln function.
6842         * math/w_scalbln.c: Likewise.
6843         * math/w_scalblnl.c: Likewise.
6844         * math/Makefile (libm-calls): Add w_scalbln.
6845         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6846         Remove weak_alias for corresponding scalbln function.
6847         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6849         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6850         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6851         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6852         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6853         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6854         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6855         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6856         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6857         Remove long_double_symbol for scalblnl function in libm, libc.
6858         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6859         Add wrapper which checks for setting errno to ERANGE.
6860         Add long_double_symbol for scalblnl function in libm, libc.
6861         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6862         Remove long_double_symbol for scalblnl in libm.
6863         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6864         Add wrapper which checks for setting errno to ERANGE.
6865         Add long_double_symbol for scalblnl function in libm.
6866         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6867         Do not use wrapper because of own implementation.
6869 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6871         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6872         3 bytes for __pad1 for x32.
6873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6875 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6876             H.J. Lu  <hongjiu.lu@intel.com>
6878         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6879         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6880         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6881         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6882         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6884 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6886         [BZ #17069]
6887         * posix/regcomp.c (parse_expression): Deallocate partially
6888         constructed tree before returning error.
6889         * posix/Makefile.c (tests): Add bug-regex36.
6890         (generated): Add bug-regex36.mtrace.
6891         (tests-special): Add $(objpfx)bug-regex36-mem.out
6892         (bug-regex36-ENV): New variable.
6893         ($(objpfx)bug-regex36-mem.out): New rule.
6894         * posix/bug-regex36.c: New file.
6896 2014-06-19  Will Newton  <will.newton@linaro.org>
6898         * malloc/malloc.c (systrim): If extra is zero then return
6899         early.
6901 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6903         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6905 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6907         * sysdeps/aarch64/strchr.S: New file.
6909 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6911         [BZ #17022]
6912         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6913         from arguments -2 or below.
6914         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6915         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6917 2014-06-18  Andreas Schwab  <schwab@suse.de>
6919         [BZ #17062]
6920         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6921         of a bracket expr not to run off the end of the string.
6922         * posix/Makefile (tests): Add tst-fnmatch3.
6923         * posix/tst-fnmatch3.c: New file.
6925 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6927         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6928         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6929         [$(cross-compiling) = no]: Likewise.
6930         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6931         [$(cross-compiling) = no]: Likewise.
6933 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6935         [BZ #17031]
6936         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6937         double, adjusted for any remainder from the high double.
6938         * math/libm-test.inc (nearbyint): Add tests.
6939         (rint): Likewise.
6941 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6943         * nptl/sysdeps/powerpc/Makefile: Moved ...
6944         * sysdeps/powerpc/nptl/Makefile: ... here.
6945         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6946         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6947         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6948         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6949         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6950         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6951         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6952         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6953         * nptl/sysdeps/powerpc/tls.h: Moved ...
6954         * sysdeps/powerpc/nptl/tls.h: ... here.
6956 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6958         [BZ #16681]
6959         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6960         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6961         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6962         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6963         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6964         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6965         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6966         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6967         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6969 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6971         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6973 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6975         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6976         defined operator.
6978         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6979         $TIMEOUTFACTOR.
6981 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6983         [BZ #17058]
6984         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6985         non-executed part of the test.
6987 2014-06-16  Andreas Schwab  <schwab@suse.de>
6989         * string/bits/string2.h (strdup, strndup): Update feature guard.
6991 2014-06-14  David S. Miller  <davem@davemloft.net>
6993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6995 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6997         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6998         that was previously under [RESET_PID].
6999         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7001         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7002         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7003         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7004         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7005         (__libc_vfork): New strong alias.
7006         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7008 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7010         * sysdeps/generic/elide.h: New file.
7012 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7014         * Makefile (installed-headers): Adjust path of pthread.h header.
7016 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7018         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7019         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7020         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7021         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7023         * nptl/sysdeps/s390/Makefile: Moved ...
7024         * sysdeps/s390/nptl/Makefile: ... here.
7025         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7026         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7027         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7028         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7029         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7030         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7031         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7032         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7033         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7034         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7035         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7036         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7037         * nptl/sysdeps/s390/tls.h: Moved ...
7038         * sysdeps/s390/nptl/tls.h: ... here.
7040         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7041         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7043 2014-06-13  David S. Miller  <davem@davemloft.net>
7045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7048         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7052         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7053         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7054         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7055         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7056         Remove RESET_PID cpp guards.
7057         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7058         Remove RESET_PID cpp guards.
7059         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7061 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7063         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7064         __sp to uintptr_t.
7066 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7073         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7075         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7077         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7078         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7081         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7089         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7090         (pthread_rwlock_rdlock): Add elision.
7091         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7092         (pthread_rwlock_wrlock): Add elision.
7093         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7094         (pthread_rwlock_trywrlock): Add elision.
7095         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7096         (pthread_rwlock_tryrdlock): Add elision.
7097         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7098         (pthread_rwlock_tryrdlock): Add elision unlock.
7099         * nptl/sysdeps/pthread/pthread.h:
7100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7101         (PTHREAD_RWLOCK_INITIALIZER,
7102         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7103         Handle new elision field.
7104         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7105         * sysdeps/arm/nptl/bits/pthreadtypes.h
7106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7107         * sysdeps/sh/nptl/bits/pthreadtypes.h
7108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7109         * sysdeps/tile/nptl/bits/pthreadtypes.h
7110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7111         * sysdeps/a/nptl/bits/pthreadtypes.h
7112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7113         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7115         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7117         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7119         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7121         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7123         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7125         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7127         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7129         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7130         (elision_init): Set try_xbegin to zero when no RTM.
7131         * sysdeps/x86/nptl/bits/pthreadtypes.h
7132         (pthread_rwlock_t): Change __pad1 to __rwelision.
7133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7135 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7137         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7138         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7139         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7140         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7142 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7144         [BZ #16996]
7145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7146         that the cached result has been set before returning it.
7148 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7150         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7151         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7152         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7153         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7154         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7155         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7157         * nptl/sysdeps/sparc/Makefile: Moved ...
7158         * sysdeps/sparc/nptl/Makefile: ... here.
7159         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7160         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7161         * nptl/sysdeps/sparc/tls.h: Moved ...
7162         * sysdeps/sparc/nptl/tls.h: ... here.
7163         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7164         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7165         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7166         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7167         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7168         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7169         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7170         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7171         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7172         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7173         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7174         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7175         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7176         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7177         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7178         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7179         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7181         Update #include.
7182         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7184         Update #include.
7185         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7186         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7187         Update #include.
7188         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7189         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7190         Update #include.
7192         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7194         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7195         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7197         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7198         (struct list_links): Type removed.
7199         (struct thread_node, struct timer_node): Replace struct list_links
7200         with struct list_head.
7201         (list_unlink_ip): Likewise.
7202         * sysdeps/pthread/timer_routines.c
7203         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7204         (list_append, list_insbefore): Likewise.
7205         (list_init): Function removed.
7206         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7207         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7208         * sysdeps/pthread/Makefile: ... here, new file.
7210         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7211         * sysdeps/nptl/Implies: ... here.
7212         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7213         * nptl/sysdeps/pthread/list.h: Moved ...
7214         * include/list.h: ... here.
7215         * nptl/sysdeps/pthread/createthread.c: Moved ...
7216         * nptl/createthread.c: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7218         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7219         * nptl/pt-longjmp.c: ... here.
7220         * nptl/sysdeps/pthread/Makefile: Moved ...
7221         * sysdeps/nptl/Makefile: ... here.
7222         * nptl/sysdeps/pthread/Subdirs: Moved ...
7223         * sysdeps/nptl/Subdirs: ... here.
7224         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7225         * sysdeps/nptl/aio_misc.h: ... here.
7226         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7227         * sysdeps/nptl/bits/libc-lock.h: ... here.
7228         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7229         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7230         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7231         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7232         * nptl/sysdeps/pthread/configure: Moved ...
7233         * sysdeps/nptl/configure: ... here.
7234         * nptl/sysdeps/pthread/configure.ac: Moved ...
7235         * sysdeps/nptl/configure.ac: ... here.
7236         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7237         * sysdeps/nptl/gai_misc.h: ... here.
7238         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7239         * sysdeps/nptl/librt-cancellation.c: ... here.
7240         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7241         * sysdeps/nptl/malloc-machine.h: ... here.
7242         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7243         * sysdeps/nptl/pthread-functions.h: ... here.
7244         * nptl/sysdeps/pthread/pthread.h: Moved ...
7245         * sysdeps/nptl/pthread.h: ... here.
7246         * nptl/sysdeps/pthread/setxid.h: Moved ...
7247         * sysdeps/nptl/setxid.h: ... here.
7248         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7249         * sysdeps/nptl/sigfillset.c: ... here.
7250         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7251         * sysdeps/nptl/tcb-offsets.h: ... here.
7252         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7253         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7254         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7255         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7256         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7257         * sysdeps/pthread/allocalim.h: ... here.
7258         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7259         * sysdeps/pthread/bits/sigthread.h: ... here.
7260         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7261         * sysdeps/pthread/flockfile.c: ... here.
7262         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7263         * sysdeps/pthread/ftrylockfile.c: ... here.
7264         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7265         * sysdeps/pthread/funlockfile.c: ... here.
7266         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7267         * sysdeps/pthread/posix-timer.h: ... here.
7268         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7269         * sysdeps/pthread/timer_create.c: ... here.
7270         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7271         * sysdeps/pthread/timer_delete.c: ... here.
7272         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7273         * sysdeps/pthread/timer_getoverr.c: ... here.
7274         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7275         * sysdeps/pthread/timer_gettime.c: ... here.
7276         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7277         * sysdeps/pthread/timer_routines.c: ... here.
7278         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7279         * sysdeps/pthread/timer_settime.c: ... here.
7280         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7281         * sysdeps/pthread/tst-timer.c: ... here.
7282         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7283         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7285         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7286         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7288         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7289         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7290         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7291         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7292         Update #include target.
7293         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7294         * sysdeps/i386/i686/nptl/Makefile: ... here.
7295         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7296         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7297         Update #include target.
7298         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7299         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7300         * nptl/sysdeps/i386/Makefile: Moved ...
7301         * sysdeps/i386/nptl/Makefile: ... here.
7302         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7303         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7304         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7305         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7306         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7307         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7308         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7309         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7310         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7311         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7312         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7313         * nptl/sysdeps/i386/tls.h: Moved ...
7314         * sysdeps/i386/nptl/tls.h: ... here.
7316         * sysdeps/sh/Makefile [$(subdir) = csu]
7317         (gen-as-const-headers): Add tcb-offsets.sym.
7318         * nptl/sysdeps/sh/Makefile: File removed.
7319         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7320         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7321         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7322         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7323         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7324         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7325         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7326         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7327         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7328         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7329         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7330         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7331         * nptl/sysdeps/sh/tls.h: Moved ...
7332         * sysdeps/sh/nptl/tls.h: ... here.
7333         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7334         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7335         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7336         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7337         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7338         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7339         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7340         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7341         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7342         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7344         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7345         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7346         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7348         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7350         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7352         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7353         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7354         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7355         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7356         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7357         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7358         Moved ...
7359         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7360         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7361         Moved ...
7362         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7363         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7364         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7365         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7366         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7367         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7368         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7369         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7370         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7371         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7372         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7373         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7374         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7375         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7376         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7377         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7378         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7379         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7380         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7382 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7384         * posix/spawn_faction_addopen.c: Include string.h.
7386 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7388         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7389         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7390         * nptl/sysdeps/x86_64/Makefile: Moved ...
7391         * sysdeps/x86_64/nptl/Makefile: ... here.
7392         * nptl/sysdeps/x86_64/configure: Moved ...
7393         * sysdeps/x86_64/nptl/configure: ... here.
7394         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7395         * sysdeps/x86_64/nptl/configure.ac: ... here.
7396         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7397         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7398         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7399         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7400         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7401         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7402         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7403         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7404         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7405         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7406         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7407         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7408         * nptl/sysdeps/x86_64/tls.h: Moved ...
7409         * sysdeps/x86_64/nptl/tls.h: ... here.
7410         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7411         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7412         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7413         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7415         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7417 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7421 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7423         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7424         type.
7425         [POSIX] (off_t): Likewise.
7426         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7427         [POSIX] (S_ISBLK): Require macro.
7428         [POSIX] (S_ISCHR): Likewise.
7429         [POSIX] (S_ISDIR): Likewise.
7430         [POSIX] (S_ISFIFO): Likewise.
7431         [POSIX] (S_ISREG): Likewise.
7432         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7433         optional-macro.
7434         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7435         type.
7436         [POSIX] (time_t): Likewise.
7437         [POSIX] (timer_t): Likewise.
7439 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7441         [BZ #17048]
7442         * posix/spawn_int.h (struct __spawn_action): Make the path string
7443         non-const to support deallocation.
7444         * posix/spawn_faction_addopen.c
7445         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7446         * posix/spawn_faction_destroy.c
7447         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7448         path in all spawn_do_open actions.
7449         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7450         posix_spawn_file_actions_addopen.
7452 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7454         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7455         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7456         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7457         conditional code always true.
7458         (__libc_vfork): New alias.
7460 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7462         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7463         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7465         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7467         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7468         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7470         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7471         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7473         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7474         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7476 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7478         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7479         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7480         multiarch strcmp for PPC64.
7481         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7482         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7484         multiarch optimizations.
7485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7486         (__libc_ifunc_impl_list): Likewise.
7488 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7490         * benchtests/scripts/validate_benchout.py: New script.
7491         * benchtests/Makefile (bench-func): Call it.
7492         * benchtests/scripts/benchout.schema.json: New file.
7494 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7496         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7497         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7498         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7499         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7500         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7501         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7502         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7503         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7504         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7505         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7506         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7507         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7508         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7509         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7510         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7511         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7513         Moved ...
7514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7515         ... here.
7516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7517         Moved ...
7518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7520         Moved ...
7521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7522         ... here.
7523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7524         Moved ...
7525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7526         ... here.
7527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7528         Moved ...
7529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7531         Moved ...
7532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7533         ... here.
7534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7535         Moved ...
7536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7537         ... here.
7538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7539         Moved ...
7540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7542         Moved ...
7543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7544         ... here.
7545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7546         Moved ...
7547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7548         ... here.
7549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7550         Moved ...
7551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7552         ... here.
7553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7554         Moved ...
7555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7557         Moved ...
7558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7559         ... here.
7560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7561         Moved ...
7562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7563         ... here.
7564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7565         Moved ...
7566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7567         ... here.
7568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7569         Moved ...
7570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7572         Moved ...
7573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7574         ... here.
7575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7576         Moved ...
7577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7578         ... here.
7579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7580         Moved ...
7581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7583         Moved ...
7584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7585         ... here.
7586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7587         Moved ...
7588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7590         Moved ...
7591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7593         Moved ...
7594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7595         ... here.
7596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7597         Moved ...
7598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7599         ... here.
7600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7601         Moved ...
7602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7603         ... here.
7604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7605         Moved ...
7606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7608         Moved ...
7609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7610         ... here.
7611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7612         Moved ...
7613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7614         ... here.
7615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7616         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7618         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7620         Moved ...
7621         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7622         ... here.
7623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7624         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7626         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7628         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7630         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7632         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7634         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7636         Moved ...
7637         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7639         Moved ...
7640         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7642         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7647         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7649         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7650         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7651         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7653 2014-06-10  Wilco  <wdijkstr@arm.com>
7655         * math/test-fenv-return.c: New file.
7656         * math/Makefile: Add new test test-fenv-return.
7658 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7660         [BZ #17042]
7661         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7662         when x - 1 is zero.
7663         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7664         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7665         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7666         0.0L for an argument of 1.0L.
7667         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7668         Likewise.
7669         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7670         value when x - 1 is zero.
7671         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7672         * sysdeps/i386/fpu/libm-test-ulps: Update.
7673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7675 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7677         [BZ #15119]
7678         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7680 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7682         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7683         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7685 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7687         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7688         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7690         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7691         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7693         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7694         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7696         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7697         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7699         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7700         if not already defined.
7701         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7702         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7703         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7704         (TLS_INIT_TP): Use it.
7705         (TLS_DEFINE_INIT_TP): New macro.
7706         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7708 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7710         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7711         constant.
7712         [POSIX] (IXANY): Likewise.
7713         [POSIX] (OLCUC): Likewise.
7714         [POSIX || POSIX2008] (CBAUD): Do not allow.
7715         [POSIX || POSIX2008] (DEFECHO): Likewise.
7716         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7717         [POSIX || POSIX2008] (ECHOKE): Likewise.
7718         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7719         [POSIX || POSIX2008] (EXTA): Likewise.
7720         [POSIX || POSIX2008] (EXTB): Likewise.
7721         [POSIX || POSIX2008] (FLUSHO): Likewise.
7722         [POSIX || POSIX2008] (LOBLK): Likewise.
7723         [POSIX || POSIX2008] (PENDIN): Likewise.
7724         [POSIX || POSIX2008] (SWTCH): Likewise.
7725         [POSIX || POSIX2008] (VDISCARD): Likewise.
7726         [POSIX || POSIX2008] (VDSUSP): Likewise.
7727         [POSIX || POSIX2008] (VLNEXT): Likewise.
7728         [POSIX || POSIX2008] (VREPRINT): Likewise.
7729         [POSIX || POSIX2008] (VSTATUS): Likewise.
7730         [POSIX || POSIX2008] (VWERASE): Likewise.
7731         (B*): Change to B[0123456789]*.
7732         * conform/data/time.h-data [POSIX || UNIX98]
7733         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7734         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7735         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7736         [POSIX] (tm_*): Do not allow.
7738 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7740         * Makefile (install): Don't set LANGUAGE.
7741         * Makefile.in (install): Likewise.
7742         * assert/Makefile (test-assert-ENV): Remove variable.
7743         (test-assert-perr-ENV): Likewise.
7744         * elf/Makefile (neededtest4-ENV): Likewise.
7745         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7746         [$(cross-compiling) = no]: Don't set LANGUAGE.
7747         * io/ftwtest-sh (LANG): Remove variable.
7748         * libio/Makefile (tst-widetext-ENV): Likewise.
7749         * manual/install.texi (Running make install): Don't refer to
7750         environment settings for make install.
7751         * INSTALL: Regenerated.
7752         * nptl/tst-tls6.sh: Don't set LANG.
7753         * posix/globtest.sh (LANG): Remove variable.
7754         * string/Makefile (tester-ENV): Likewise.
7755         (inl-tester-ENV): Likewise.
7756         (noinl-tester-ENV): Likewise.
7757         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7758         [$(cross-compiling) = no]: Don't set LANGUAGE.
7759         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7760         without explicit environment settings.
7762 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7764         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7765         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7766         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7767         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7769 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7771         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7772         other files in the crypt directory.
7773         * crypt/crypt.c: Remove duplicate includes.
7774         * crypt/crypt-entry.c: Likewise.
7775         * crypt/crypt_util.c: Likewise.
7777 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7779         * Makeconfig (run-program-env): New variable.
7780         (run-program-prefix-before-env): Likewise.
7781         (run-program-prefix-after-env): Likewise.
7782         (run-program-prefix): Define in terms of new variables.
7783         (built-program-cmd-before-env): New variable.
7784         (built-program-cmd-after-env): Likewise.
7785         (built-program-cmd): Define in terms of new variables.
7786         (test-program-prefix-before-env): New variable.
7787         (test-program-prefix-after-env): Likewise.
7788         (test-program-prefix): Define in terms of new variables.
7789         (test-program-cmd-before-env): New variable.
7790         (test-program-cmd-after-env): Likewise.
7791         (test-program-cmd): Define in terms of new variables.
7792         * Rules (make-test-out): Use $(run-program-env).
7793         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7794         (help): Do not mention environment variables.  Mention
7795         --timeoutfactor option.
7796         (timeoutfactor): New variable.
7797         (blacklist_exports): Remove function.
7798         (exports): Remove variable.
7799         (command): Do not include ${exports}.
7800         * manual/install.texi (Configuring and compiling): Do not mention
7801         test wrappers preserving environment variables.  Mention that last
7802         assignment to a variable must take precedence.
7803         * INSTALL: Regenerated.
7804         * benchtests/Makefile (run-bench): Use $(run-program-env).
7805         * catgets/Makefile ($(objpfx)test1.cat): Use
7806         $(built-program-cmd-before-env), $(run-program-env) and
7807         $(built-program-cmd-after-env).
7808         ($(objpfx)test2.cat): Do not specify environment variables
7809         explicitly.
7810         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7811         $(run-program-env) and $(built-program-cmd-after-env).
7812         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7813         $(run-program-env) and $(test-program-cmd-after-env).
7814         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7815         explicitly.
7816         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7817         run_program_env and test_program_cmd_after_env arguments.
7818         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7819         * elf/tst-pathopt.sh: Use run_program_env argument.
7820         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7821         $(test-wrapper-env) and $(run-program-env).
7822         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7823         run_program_env arguments.
7824         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7825         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7826         $(test-program-prefix-before-env), $(run-program-env) and
7827         $(test-program-prefix-after-env).
7828         ($(objpfx)tst-gettext2.out): Likewise.
7829         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7830         run_program_env and test_program_prefix_after_env arguments.
7831         * intl/tst-gettext2.sh: Likewise.
7832         * intl/tst-gettext4.sh: Do not set environment variables
7833         explicitly.
7834         * intl/tst-gettext6.sh: Likewise.
7835         * intl/tst-translit.sh: Likewise.
7836         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7837         $(test-program-prefix-before-env), $(run-program-env) and
7838         $(test-program-prefix-after-env).
7839         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7840         run_program_env and test_program_prefix_after_env arguments.
7841         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7842         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7843         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7844         explicitly with each use of ${test_wrapper_env}.
7845         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7846         $(test-program-prefix-before-env), $(run-program-env) and
7847         $(test-program-prefix-after-env).
7848         * posix/tst-getconf.sh: Do not set environment variables
7849         explicitly.
7850         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7851         run_program_env and test_program_prefix_after_env arguments.
7852         * stdio-common/tst-printf.sh: Do not set environment variables
7853         explicitly.
7854         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7855         $(test-program-prefix-before-env), $(run-program-env) and
7856         $(test-program-prefix-after-env).
7857         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7858         run_program_env and test_program_prefix_after_env arguments.
7859         Split $test calls into $test_pre and $test.
7860         * timezone/Makefile (build-testdata): Use
7861         $(built-program-cmd-before-env), $(run-program-env) and
7862         $(built-program-cmd-after-env).
7864 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7866         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7867         strlen for non SHARED builds.
7869 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7871         * nptl/allocatestack.c (check_list): Inlined function...
7872         (__reclaim_stacks): ... here.
7874 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7876         [BZ #15698]
7877         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7878         memory overrun.
7880 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7882         * Rules (make-test-out): Include
7883         LOCPATH=$(common-objpfx)localedata in default environment.
7884         * debug/Makefile (tst-chk1-ENV): Remove variable.
7885         (tst-chk2-ENV): Likewise.
7886         (tst-chk3-ENV): Likewise.
7887         (tst-chk4-ENV): Likewise.
7888         (tst-chk5-ENV): Likewise.
7889         (tst-chk6-ENV): Likewise.
7890         (tst-lfschk1-ENV): Likewise.
7891         (tst-lfschk2-ENV): Likewise.
7892         (tst-lfschk3-ENV): Likewise.
7893         (tst-lfschk4-ENV): Likewise.
7894         (tst-lfschk5-ENV): Likewise.
7895         (tst-lfschk6-ENV): Likewise.
7896         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7897         (tst-iconv7-ENV): Likewise.
7898         * intl/Makefile (LOCPATH-ENV): Likewise.
7899         (tst-codeset-ENV): Likewise.
7900         (tst-gettext3-ENV): Likewise.
7901         (tst-gettext5-ENV): Likewise.
7902         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7903         (tst-fopenloc-ENV): Likewise.
7904         (tst-fgetws-ENV): Remove variable.
7905         (tst-ungetwc1-ENV): Likewise.
7906         (tst-ungetwc2-ENV): Likewise.
7907         (bug-ungetwc2-ENV): Likewise.
7908         (tst-swscanf-ENV): Likewise.
7909         (bug-ftell-ENV): Likewise.
7910         (tst-fgetwc-ENV): Likewise.
7911         (tst-fseek-ENV): Likewise.
7912         (tst-ftell-partial-wide-ENV): Likewise.
7913         (tst-ftell-active-handler-ENV): Likewise.
7914         (tst-ftell-append-ENV): Likewise.
7915         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7916         (tst-regexloc-ENV): Likewise.
7917         (bug-regex1-ENV): Likewise.
7918         (tst-regex-ENV): Likewise.
7919         (tst-regex2-ENV): Likewise.
7920         (bug-regex5-ENV): Likewise.
7921         (bug-regex6-ENV): Likewise.
7922         (bug-regex17-ENV): Likewise.
7923         (bug-regex18-ENV): Likewise.
7924         (bug-regex19-ENV): Likewise.
7925         (bug-regex20-ENV): Likewise.
7926         (bug-regex22-ENV): Likewise.
7927         (bug-regex23-ENV): Likewise.
7928         (bug-regex25-ENV): Likewise.
7929         (bug-regex26-ENV): Likewise.
7930         (bug-regex30-ENV): Likewise.
7931         (bug-regex32-ENV): Likewise.
7932         (bug-regex33-ENV): Likewise.
7933         (bug-regex34-ENV): Likewise.
7934         (bug-regex35-ENV): Likewise.
7935         (tst-rxspencer-ENV): Likewise.
7936         (tst-rxspencer-no-utf8-ENV): Likewise.
7937         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7938         (tst-sscanf-ENV): Likewise.
7939         (tst-swprintf-ENV): Likewise.
7940         (tst-swscanf-ENV): Likewise.
7941         (test-vfprintf-ENV): Likewise.
7942         (scanf13-ENV): Likewise.
7943         (bug14-ENV): Likewise.
7944         (tst-grouping-ENV): Likewise.
7945         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7946         (tst-strtod3-ENV): Likewise.
7947         (tst-strtod4-ENV): Likewise.
7948         (tst-strtod5-ENV): Likewise.
7949         (testmb2-ENV): Likewise./
7950         * string/Makefile (tst-strxfrm-ENV): Likewise.
7951         (tst-strxfrm2-ENV): Likewise.
7952         (bug-strcoll1-ENV): Likewise.
7953         (test-strcasecmp-ENV): Likewise.
7954         (test-strncasecmp-ENV): Likewise.
7955         * time/Makefile (tst-strptime-ENV): Likewise.
7956         (tst-ftime_l-ENV): Likewise.
7957         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7958         (tst-mbrtowc-ENV): Likewise.
7959         (tst-wcrtomb-ENV): Likewise.
7960         (tst-mbrtowc2-ENV): Likewise.
7961         (tst-c16c32-1-ENV): Likewise.
7962         (tst-mbsnrtowcs-ENV): Likewise.
7964 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7966         * manual/resource.texi (How to get information about the memory
7967         subsystem?): Fix typo.
7968         Reported by Peon de la Parra Ivan <peon@keba.com>
7970 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7972         [BZ #16882]
7973         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7974         (pthread_spin_lock): Branch out of spin loop to proper location.
7975         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7976         (pthread_spin_lock): Likewise.
7978         * nptl/tst-spin4.c: New test.
7979         * nptl/Makefile (tests): Add tst-spin4.
7981 2014-06-03  Andreas Schwab  <schwab@suse.de>
7983         [BZ #15946]
7984         * resolv/res_send.c (send_dg): Reload file descriptor after
7985         calling reopen.
7987 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
7989         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7991 2014-06-03  Richard Henderson  <rth@redhat.com>
7993         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7994         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7995         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7996         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
7997         in the SAVE_PID block.
7998         (__libc_vfork): New alias.
7999         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8001         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8002         child in registers, not on the stack.  Remove RESET_PID conditionals.
8003         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8005 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8007         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8009 2014-06-03  Wilco  <wdijkstr@arm.com>
8011         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8012         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8013         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8014         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8015         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8016         Likewise.
8018 2014-06-03  Wilco  <wdijkstr@arm.com>
8020         * sysdeps/aarch64/fpu/math_private.h
8021         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8022         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8023         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8024         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8025         Fix declarations.
8027 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8029         * crypt/crypt-private.h: Include ufc-crypt.h.
8030         (__b64_from_24bit): Declare extern.
8031         * crypt/crypt_util.c(__b64_from_24bit): New function.
8032         (b64t): New static const variable.
8033         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8034         (b64t): Remove variable.
8035         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8036         * crypt/sha256-crypt.c: Include crypt-private.h.
8037         (b64t): Remove variable.
8038         (__sha256_crypt_r): Remove b64_from_24bit and replace
8039         with __b64_from_24bit.
8040         * crypt/sha512-crypt.c: Likewise.
8042 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8044         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8045         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8046         Label the code __libc_vfork rather than __vfork.
8047         [!NOT_IN_libc] (vfork): Define as weak alias.
8048         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8049         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8050         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8052 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8054         * malloc/malloc.c (malloc_info): Fix format specifier for
8055         n_mmaps.
8057 2014-06-02  Wilco  <wdijkstr@arm.com>
8059         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8060         FPCR write.
8062 2014-06-02  Wilco  <wdijkstr@arm.com>
8064         [BZ #17009]
8065         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8066         Rewrite to reduce FPCR/FPSR accesses.
8068 2014-06-01  David S. Miller  <davem@davemloft.net>
8070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8072 2014-05-31  David S. Miller  <davem@davemloft.net>
8074         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8075         to occur in round to nearest mode when |x| >= 2.0
8077 2014-05-30  Richard Henderson  <rth@twiddle.net>
8079         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8080         (PSEUDO_RET_NOERRNO): Remove.
8081         (ret): Don't redefine.
8082         (ret_NOERRNO): Define in terms of ret.
8083         (ret_ERRVAL): Likewise.
8085         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8086         use of PSEUDO_RET; perform the error check directly.
8088 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8090         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8091         with __int128_t.
8093 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8095         * malloc/malloc (malloc_info): Fix formatting.
8097 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8098             Roland McGrath  <roland@hack.frob.com>
8100         * malloc/malloc (malloc_info): Also print mmapped statistics.
8102 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8104         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8105         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8107 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8109         * malloc/malloc.c (malloc_info): Inline mi_arena.
8111 2014-05-29  Richard Henderson  <rth@twiddle.net>
8113         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8114         Remove comma before expanding ASM_ARGS_##nr.
8115         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8116         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8117         of ASM_ARGS_##nr.
8118         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8119         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8120         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8121         (ASM_ARGS_1): Add leading comma.
8123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8124         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8125         to __errno_location.
8126         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8127         Remove the expected plt for __errno_location.
8129         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8130         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8131         call to __read_tp.
8133         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8134         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8135         it and break it down.
8136         (DOCARGS_0, DOCARGS_1): Do nothing.
8137         (DOCARGS_2): Update to store into the new stack frame.
8138         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8139         (UNDOCARGS_1): Update to restore from the new stack frame.
8140         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8141         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8143         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8144         (SINGLE_THREAD_P): New parameter for result regno.
8145         (PSEUDO): Update to match; use cbz instead of beq.
8147         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8148         Use ENTRY to define the _nocancel entry point.  Share the syscall
8149         and syscall error check paths with the cancel path.
8150         (PSEUDO_END): New.
8152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8153         whitespace; tabs before and after asm mnemonics.
8155 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8157         [BZ #15132]
8158         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8159         Call fstat64 or stat64 internally, depending on arguments passed.
8160         Replace stat buffer argument with file descriptor argument.
8161         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8162         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8163         Pass fd to __internal_statvfs instead of calling fstat64.
8164         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8165         Pass fd to __internal_statvfs64 instead of calling fstat64.
8166         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8167         Pass -1 to __internal_statvfs instead of calling stat64.
8168         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8169         Pass -1 to __internal_statvfs64 instead of calling stat64.
8171 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8173         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8174         that was previously under [RESET_PID].
8175         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8177         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8178         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8180 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8182         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8184         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8185         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8187 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8189         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8191 2014-05-27  Andreas Schwab  <schwab@suse.de>
8193         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8194         TLS_INIT_TP macro.
8195         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8196         * elf/rtld.c (init_tls, dl_main): Likewise.
8197         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8198         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8199         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8200         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8201         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8202         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8203         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8204         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8205         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8206         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8207         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8208         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8209         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8210         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8211         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8212         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8213         * sysdeps/generic/tls.h: Update description.
8215 2014-05-27  Will Newton  <will.newton@linaro.org>
8217         [BZ #16990]
8218         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8219         and restore r2 rather than just restoring.
8221 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223         [BZ #16724]
8224         * libio/tst-ftell-append.c: New test case.
8225         * libio/Makefile (tests): Add test case.
8226         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8227         append mode.
8228         * libio/wfileops.c (do_ftell_wide): Likewise.
8230 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8234         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8235         ...
8236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8238         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8239         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8240         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8241         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8242         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8243         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8245         Moved ...
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8248         Moved ...
8249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8250         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8251         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8252         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8253         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8254         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8255         ...
8256         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8257         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8258         Moved ...
8259         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8260         here.
8261         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8262         ...
8263         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8264         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8265         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8268         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8269         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8270         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8273         merge into ...
8274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8276         ...
8277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8279         ...
8280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8282         Moved ...
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8284         here.
8285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8286         Moved ...
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8289         Moved ...
8290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8293         conditional [RESET_PID].
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8295         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8296         removed.
8297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8298         removed.
8300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8301         <tcb-offsets.h>.
8302         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8303         (__libc_vfork): New strong alias.
8304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8305         removed.
8306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8307         Removed.
8309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8310         <tcb-offsets.h>.
8311         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8312         (__libc_vfork): New strong alias.
8313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8314         removed.
8315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8316         removed.
8318 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8320         * malloc/malloc.c (mi_arena): New function.
8321         (malloc_info): Remove nested function mi_arena. Call non-nosted
8322         function mi_arena.
8324 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8326         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8327         by insrwi.
8328         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8329         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8330         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8331         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8332         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8333         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8334         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8336 2014-05-26  Andreas Schwab  <schwab@suse.de>
8338         [BZ #16984]
8339         * locale/programs/repertoire.c (repertoire_read): Add slash
8340         between I18NPATH element and file name.
8341         * locale/programs/locfile.c (locfile_read): Likewise.
8343 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8345         * nptl/pthread_mutexattr_settype.c
8346         (__pthread_mutexattr_settype):
8347         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8349 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8351         * nptl/tst-mutex5 (do_test):
8352         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8354 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8356         * benchtests/README: Document 'init' directive.
8357         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8358         BENCH_INIT.
8359         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8360         (parse_file): Recognize 'init' directive.
8362 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8364         [BZ #16796]
8365         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8366         alignment of struct pthread.
8368 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8370         [BZ #16878]
8371         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8372         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8373         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8374         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8376 2014-05-25  Richard Henderson  <rth@twiddle.net>
8378         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8379         (SINGLE_THREAD_P_PIC): Remove.
8380         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8381         (SINGLE_THREAD_P_PIC): Remove.
8383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8384         branch to syscall error ...
8385         (PSEUDO): ... here.
8386         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8387         from __local_syscall_error to .Lsyscall_error.
8388         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8389         (SYSCALL_ERROR): Update label name.
8391         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8392         Do not use DOARGS/UNDOARGS.
8393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8394         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8395         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8396         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8397         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8400         block comment.
8402         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8403         define if !NOT_IN_libc.
8404         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8405         define with non-default symbol versions.
8407 2014-05-23  Richard Henderson  <rth@twiddle.net>
8409         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8410         (vfork, __vfork): Define via compat_symbol.
8412         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8413         [!HAVE_IFUNC] (vfork_compat): Remove.
8414         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8416 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8418         [BZ #16978]
8419         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8420         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8421         variable.
8423 2014-05-23  Richard Henderson  <rth@twiddle.net>
8425         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8426         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8427         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8428         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8430         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8431         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8432         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8433         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8434         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8435         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8436         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8437         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8438         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8439         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8440         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8441         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8442         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8443         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8444         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8445         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8446         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8447         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8448         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8449         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8450         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8451         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8452         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8453         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8454         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8455         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8456         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8457         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8458         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8459         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8460         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8461         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8462         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8463         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8464         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8465         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8466         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8467         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8468         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8469         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8470         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8471         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8472         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8473         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8474         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8475         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8477         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8479         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8481         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8483         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8485         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8487         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8488         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8489         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8490         before exiting on error.
8491         (__libc_vfork): New strong alias.
8492         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8493         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8495         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8496         that was previously under [RESET_PID].
8497         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8499         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8501 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8503         [BZ #16977]
8504         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8505         value when x - 1 is zero.
8506         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8507         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8508         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8509         0.0L for an argument of 1.0L.
8510         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8511         Likewise.
8512         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8513         value when x - 1 is zero.
8514         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8515         * sysdeps/i386/fpu/libm-test-ulps: Update.
8516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8518 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8520         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8521         alphasort and versionsort.
8523 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8525         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8526         macro.
8527         [copysignf]: Likewise.
8529 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8531         * crypt/md5-crypt.c: Fix formatting.
8533 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8535         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8536         (b64_from_24bit): New function.
8538 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8540         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8541         libc_hidden_builtin_def to ifunc.
8542         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8543         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8545 2014-05-21  Roland McGrath  <roland@hack.frob.com>
8547         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8548         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8550 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
8552         * nscd/Depend (linuxthreads): Remove.
8553         (nptl): Add.
8554         * resolv/Depend (linuxthreads): Remove.
8555         * rt/Depend (linuxthreads): Remove.
8557         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8558         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8559         $(common-objpfx)elf/.
8560         (link-libc-before-gnulib): Likewise.
8561         (elfobjdir): Remove variable.
8562         * Makefile (install): Use $(elf-objpfx) instead of
8563         $(common-objpfx)elf/.
8564         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8565         $(elfobjdir)/.
8566         (link-libc-deps): Likewise.
8567         ($(common-objpfx)libc.so): Likewise.
8568         ($(common-objpfx)linkobj/libc.so): Likewise.
8569         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8570         instead of $(common-objpfx)elf/.
8571         (symbolic-link-list): Likewise.
8572         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8573         [$(cross-compiling) = no]: Likewise.
8574         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8575         $(elfobjdir)/.
8576         (static-gnulib-arch): Likewise.
8577         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8578         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8579         $(common-objpfx)elf/.
8581 2014-05-21  Richard Henderson  <rth@redhat.com>
8583         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8584         (SINGLE_THREAD_P): Use the correct width load.  Fold
8585         into the ldr offset.
8587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8588         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8590 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8592         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8593         (libgcc_s_resume): Use __attribute_used__.
8594         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8595         Likewise.
8597 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8599         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8600         optimization when used with float constants.
8602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8604 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8606         [BZ #16915]
8607         * locale/nl_langinfo_l.c: Make direct reference to every
8608         _nl_current_CATEGORY symbol.
8609         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8610         (tests-static): Add tst-langinfo-static.
8611         (tests-special): Add tst-langinfo-static.out.
8612         ($(objpfx)tst-langinfo.out): Redirect output.
8613         ($(objpfx)tst-langinfo-static.out): New.
8614         * localedata/tst-langinfo.sh: Send output to stdout.
8615         * localedata/tst-langinfo-static.c: New file.
8617         [BZ #16965]
8618         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8619         when the shift amount is modulo the limb size.
8621 2014-05-20  Richard Henderson  <rth@redhat.com>
8623         [BZ #16967]
8624         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8625         Change type of sa_flags from unsigned int to int.
8627         [BZ #16966]
8628         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8630         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8632 2014-05-20  Will Newton  <will.newton@linaro.org>
8634         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8635         Test the return value of the system call in the nocancel case.
8637 2014-05-20  Will Newton  <will.newton@linaro.org>
8638             Yvan Roux  <yvan.roux@linaro.org>
8640         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8641         #include of asm/ptrace.h.
8642         (PTRACE_GET_THREAD_AREA): Remove #undef.
8643         (PTRACE_GETHBPREGS): Likewise.
8644         (PTRACE_SETHBPREGS): Likewise.
8645         (struct user_regs_struct): New structure.
8646         (struct user_fpsimd_struct): New structure.
8647         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8648         #include of asm/ptrace.h and second #include of sys/user.h.
8649         (PTRACE_GET_THREAD_AREA): Remove #undef.
8650         (PTRACE_GETHBPREGS): Likewise.
8651         (PTRACE_SETHBPREGS): Likewise.
8652         (ELF_NGREG): Use new struct user_regs_struct.
8653         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8655 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8657         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8658         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8660 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8662         [BZ #16958]
8663         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8664         membar to avoid block loads/stores to overlap previous stores.
8666 2014-05-17  Richard Henderson  <rth@redhat.com>
8668         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8669         Create the __##syscall_name##_nocancel entry point.
8670         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8671         Remove; let the sysdep-cancel.h code create it.
8673 2014-05-17  David S. Miller  <davem@davemloft.net>
8675         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8676         Protect with __USE_GNU.
8677         (TIOCSET_TEMPT): Likewise.
8678         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8679         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8680         these are already provided in bits/ioctl-types.h
8682 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8684         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8685         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8687         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8688         Use wait4 regardless of [__NR_waitpid].
8690 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8692         PR libgcc/60166
8693         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8694         (_FP_NANSIGN_Q): Set the quiet bit.
8696 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8698         * benchtests/Makefile
8699         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8700         not $(common-objpfx)math/libm.so.
8701         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8702         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8703         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8704         $(common-objpfx)dlfcn/libdl.so.
8705         ($(objpfx)tst-audit8): Depend on $(libm), not
8706         $(common-objpfx)math/libm.so.
8707         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8708         not $(common-objpfx)dlfcn/libdl.so.
8709         * math/Makefile
8710         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8711         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8712         [$(build-shared) = yes].
8713         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8714         $(common-objpfx)nptl/libpthread.so.
8715         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8716         $(common-objpfx)math/libm.so$(libm.so-version) or
8717         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8718         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8719         $(common-objpfx)dlfcn/libdl.so.
8720         * setjmp/Makefile (link-libm): Remove variable.
8721         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8722         * stdio-common/Makefile (link-libm): Remove variable.
8723         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8724         * stdlib/Makefile (link-libm): Remove variable.
8725         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8726         ($(objpfx)tst-strtod-round): Likewise.
8727         ($(objpfx)tst-tininess): Likewise.
8728         ($(objpfx)tst-strtod-underflow): Likewise.
8729         ($(objpfx)tst-strtod6): Likewise.
8730         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8731         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8732         $(common-objpfx)dlfcn/libdl.so.
8734 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8736         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8737         BSD terminal modes definitions.
8739 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8741         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8742         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8744         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8745         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8746         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8747         Don't do #include_next.
8748         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8749         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8750         Don't do #include_next.
8751         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8752         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8753         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8754         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8756 2014-05-16  Allan McRae  <allan@archlinux.org>
8758         * po/sv.po: Update Swedish translation from translation project.
8760         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8761         in sed expression.
8763 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8765         [BZ #16917]
8766         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8767         errno if the TIOCGPTN ioctl fails with an error different than
8768         EINVAL.
8769         * login/tst-ptsname.c: New file.
8770         * login/Makefile (tests): Add tst-ptsname.
8772         [BZ #16943]
8773         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8774         and prlimit64.
8776 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8778         [BZ #16849]
8779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8780         herrno to return EAI_AGAIN.
8782 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8784         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8785         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8786         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8787         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8788         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8789         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8790         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8791         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8792         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8793         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8794         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8795         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8796         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8797         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8798         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8799         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8800         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8801         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8802         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8803         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8804         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8805         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8806         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8807         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8808         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8809         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8810         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8811         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8812         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8813         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8815         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8817         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8819         Moved ...
8820         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8822         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8824         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8826         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8828         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8830         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8832         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8834         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8844         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8846         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8848         Moved ...
8849         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8851         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8853         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8855         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8857         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8859         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8861         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8863         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8865         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8867         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8869         Moved ...
8870         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8872         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8874         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8875         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8876         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8877         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8878         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8879         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8880         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8881         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8882         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8883         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8884         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8885         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8886         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8887         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8888         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8889         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8890         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8891         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8892         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8893         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8894         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8895         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8896         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8897         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8898         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8899         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8900         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8901         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8903         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8904         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8906         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8907         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8909         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8910         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8911         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8912         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8913         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8915         Moved ...
8916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8918         Moved ...
8919         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8921         Moved ...
8922         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8923         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8924         Moved ...
8925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8926         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8927         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8928         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8929         Moved ...
8930         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8931         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8932         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8934         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8935         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8936         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8937         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8938         Moved ...
8939         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8940         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8941         Moved ...
8942         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8943         ... here.
8944         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8945         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8946         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8947         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8948         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8949         Moved ...
8950         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8951         ... here.
8952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8953         Moved ...
8954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8955         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8956         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8957         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8958         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8960         Moved ...
8961         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8963         Moved ...
8964         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8966         Moved ...
8967         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8968         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8969         Moved ...
8970         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8971         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8972         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8973         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8974         Moved ...
8975         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8976         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8977         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8979         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8980         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8981         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8982         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8983         Moved ...
8984         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8985         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8986         Moved ...
8987         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8988         ... here.
8989         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8990         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8991         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8992         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8993         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8994         Moved ...
8995         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8996         ... here.
8997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8998         Moved ...
8999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9000         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9001         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9002         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9003         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9004         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9005         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9006         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9007         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9009         Moved ...
9010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9012         Moved ...
9013         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9015         Moved ...
9016         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9018         Moved ...
9019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9020         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9021         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9022         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9023         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9024         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9025         Moved ...
9026         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9027         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9028         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9029         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9030         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9031         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9032         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9034         Moved ...
9035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9036         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9037         Moved ...
9038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9039         ... here.
9040         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9041         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9042         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9043         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9044         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9045         Moved ...
9046         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9047         ... here.
9048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9049         Moved ...
9050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9051         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9052         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9053         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9054         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9055         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9056         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9057         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9058         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9059         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9060         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9062         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9063         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9065         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9066         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9068         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9069         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9070         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9071         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9072         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9073         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9074         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9075         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9076         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9077         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9079         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9081         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9082         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9084         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9086         Moved ...
9087         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9090         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9091         Moved ...
9092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9094         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9096         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9098         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9100         Moved ...
9101         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9103         Moved ...
9104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9105         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9110         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9111         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9112         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9113         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9114         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9115         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9116         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9117         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9118         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9119         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9120         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9122         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9123         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9124         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9125         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9126         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9128         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9129         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9131         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9132         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9133         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9134         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9135         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9136         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9137         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9139         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9142         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9143         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9144         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9145         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9146         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9147         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9148         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9149         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9151         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9152         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9153         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9154         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9155         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9157         Update #include.
9158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9159         Likewise.
9160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9161         Likewise.
9162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9163         Likewise.
9164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9165         Likewise.
9166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9167         Likewise.
9168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9169         Likewise.
9170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9171         Likewise.
9172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9173         Likewise.
9174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9175         Likewise.
9176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9184         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9187         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9189         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9192         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9193         that was previously under [RESET_PID].
9194         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9195         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9196         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9198         * sysdeps/i386/nptl/Implies: New file.
9199         * sysdeps/x86_64/nptl/Implies: New file.
9200         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9201         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9202         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9203         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9205         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9206         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9207         (__libc_vfork): New strong alias.
9208         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9209         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9211         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9212         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9213         (__libc_vfork): New strong alias.
9214         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9215         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9217         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9218         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9219         (__libc_vfork): New strong alias.
9220         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9221         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9222         * nptl/pt-vfork.c: New file.
9223         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9224         (libpthread: GLIBC_2.20): New version set (empty).
9226 2014-05-14  Will Newton  <will.newton@linaro.org>
9228         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9229         rather than #if.
9231 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9233         [BZ #16564]
9234         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9235         arguments with exponent 65 or above.
9236         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9237         arguments 0x1p113L or above.
9238         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9239         to arguments 0x1p107L or above.
9240         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9241         positive arguments with exponent 65 or above.
9242         * math/auto-libm-test-in: Add more tests of log1p.
9243         * math/auto-libm-test-out: Regenerated.
9245         [BZ #16928]
9246         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9247         non-finite arguments is +0.
9248         * math/s_cacosf.c (__cacosf): Likewise.
9249         * math/s_cacosl.c (__cacosl): Likewise.
9250         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9251         * sysdeps/i386/fpu/libm-test-ulps: Update.
9252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9254         [BZ #16927]
9255         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9256         value.
9257         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9258         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9259         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9260         for explicit high bit of mantissa when testing for argument equal
9261         to 1.
9262         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9263         * sysdeps/i386/fpu/libm-test-ulps: Update.
9264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9266         [BZ #16516]
9267         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9268         (__erf): Scale by 16 instead of 8 in potentially underflowing
9269         case.  Ensure exception if result actually underflows.
9270         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9271         (__erff): Scale by 16 instead of 8 in potentially underflowing
9272         case.  Ensure exception if result actually underflows.
9273         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9274         (efx8): Remove variable.
9275         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9276         case.  Ensure exception if result actually underflows.
9277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9278         (efx8): Remove variable.
9279         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9280         case.  Ensure exception if result actually underflows.
9281         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9282         (efx8): Remove variable.
9283         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9284         case.  Ensure exception if result actually underflows.
9285         * math/auto-libm-test-in: Add more tests of erf.
9286         * math/auto-libm-test-out: Regenerated.
9288 2014-05-14  Andreas Schwab  <schwab@suse.de>
9290         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9291         Remove code conditionalized on USE___THREAD.
9293         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9294         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9295         not definedness.
9297 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9300         Define unconditionally.
9301         (__ASSUME_O_CLOEXEC): Likewise.
9302         (__ASSUME_SOCK_CLOEXEC): Likewise.
9303         (__ASSUME_IN_NONBLOCK): Likewise.
9304         (__ASSUME_PIPE2): Likewise.
9305         (__ASSUME_EVENTFD2): Likewise.
9306         (__ASSUME_SIGNALFD4): Likewise.
9307         (__ASSUME_DUP3): Likewise.
9308         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9309         (__ASSUME_DUP3): Do not define.
9310         (__ASSUME_EVENTFD2): Likewise.
9311         (__ASSUME_IN_NONBLOCK): Likewise.
9312         (__ASSUME_O_CLOEXEC): Likewise.
9313         (__ASSUME_PIPE2): Likewise.
9314         (__ASSUME_SIGNALFD4): Likewise.
9315         (__ASSUME_SOCK_CLOEXEC): Likewise.
9316         (__ASSUME_UTIMES): Undefine.
9317         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9318         (__ASSUME_UTIMES): Do not define.
9319         (__ASSUME_O_CLOEXEC): Likewise.
9320         (__ASSUME_SOCK_CLOEXEC): Likewise.
9321         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9322         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9323         0x020621].
9324         (__ASSUME_PIPE2): Likewise.
9325         (__ASSUME_EVENTFD2): Likewise.
9326         (__ASSUME_SIGNALFD4): Likewise.
9327         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9328         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9329         Do not define.
9330         (__ASSUME_EVENTFD2): Likewise.
9331         (__ASSUME_SIGNALFD4): Likewise.
9332         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9333         (__ASSUME_32BITUIDS): Likewise.
9334         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9335         (__ASSUME_IPC64): Likewise.
9336         (__ASSUME_ST_INO_64_BIT): Likewise.
9337         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9338         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9339         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9340         (__ASSUME_UTIMES): Do not define.
9341         (__ASSUME_PSELECT): Likewise.
9342         (__ASSUME_PPOLL): Likewise.
9343         (__ASSUME_O_CLOEXEC): Likewise.
9344         (__ASSUME_SOCK_CLOEXEC): Likewise.
9345         (__ASSUME_IN_NONBLOCK): Likewise.
9346         (__ASSUME_PIPE2): Likewise.
9347         (__ASSUME_EVENTFD2): Likewise.
9348         (__ASSUME_SIGNALFD4): Likewise.
9349         (__ASSUME_DUP3): Likewise.
9350         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9351         (__ASSUME_UTIMES): Likewise.
9352         (__ASSUME_O_CLOEXEC): Likewise.
9353         (__ASSUME_SOCK_CLOEXEC): Likewise.
9354         (__ASSUME_IN_NONBLOCK): Likewise.
9355         (__ASSUME_PIPE2): Likewise.
9356         (__ASSUME_EVENTFD2): Likewise.
9357         (__ASSUME_SIGNALFD4): Likewise.
9358         (__ASSUME_DUP3): Likewise.
9359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9360         (__ASSUME_UTIMES): Likewise.
9361         (__ASSUME_O_CLOEXEC): Likewise.
9362         (__ASSUME_SOCK_CLOEXEC): Likewise.
9363         (__ASSUME_IN_NONBLOCK): Likewise.
9364         (__ASSUME_PIPE2): Likewise.
9365         (__ASSUME_EVENTFD2): Likewise.
9366         (__ASSUME_SIGNALFD4): Likewise.
9367         (__ASSUME_DUP3): Likewise.
9368         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9369         Likewise.
9370         (__ASSUME_UTIMES): Likewise.
9371         (__ASSUME_EVENTFD2): Likewise.
9372         (__ASSUME_SIGNALFD4): Likewise.
9373         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9374         (__ASSUME_O_CLOEXEC): Likewise.
9375         (__ASSUME_SOCK_CLOEXEC): Likewise.
9376         (__ASSUME_IN_NONBLOCK): Likewise.
9377         (__ASSUME_PIPE2): Likewise.
9378         (__ASSUME_EVENTFD2): Likewise.
9379         (__ASSUME_SIGNALFD4): Likewise.
9380         (__ASSUME_DUP3): Likewise.
9381         (__ASSUME_UTIMES): Undefine.
9383         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9384         feclearexcept.  Remove symbol versioning code.
9385         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9386         symbol versioning code.
9387         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9388         symbol versioning code.
9389         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9390         feupdateenv.  Remove symbol versioning code.
9391         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9392         fegetexceptflag.  Remove symbol versioning code.
9393         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9394         fesetexceptflag.  Remove symbol versioning code.
9395         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9396         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9397         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9398         (__posix_fadvise64_l32): Remove prototype.
9399         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9400         code.
9402 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9404         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9405         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9406         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9407         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9409 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9411         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9412         current working directory
9414 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9416         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9417         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9418         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9419         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9420         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9421         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9422         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9423         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9424         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9425         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9426         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9427         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9428         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9429         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9430         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9431         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9432         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9433         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9434         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9435         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9436         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9437         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9438         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9439         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9440         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9441         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9442         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9443         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9444         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9445         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9446         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9447         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9448         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9449         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9450         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9451         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9452         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9453         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9454         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9455         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9456         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9457         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9459         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9460         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9462         * sysdeps/unix/sysv/linux/arm/Makefile
9463         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9464         Add rt-aeabi_unwind_cpp_pr1.
9465         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9466         Add nptl-aeabi_unwind_cpp_pr1.
9467         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9468         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9469         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9470         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9471         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9472         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9474         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9475         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9476         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9477         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9479         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9480         Deconditionalize the code that was previously under [RESET_PID].
9481         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9483         * sysdeps/generic/exit-thread.h: New file.
9484         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9485         * include/unistd.h (__exit_thread): Remove declaration.
9486         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9487         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9488         * csu/libc-start.c: Include <exit-thread.h>.
9489         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9490         * nptl/pthread_create.c: Include <exit-thread.h>.
9491         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9492         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9493         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9494         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9495         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9496         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9497         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9498         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9499         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9500         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9501         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9502         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9503         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9504         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9505         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9506         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9507         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9509 2014-05-13  Andreas Schwab  <schwab@suse.de>
9511         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9513 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9515         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9516         (__ASSUME_UTIMES): Do not condition on kernel version.
9517         (__ASSUME_PSELECT): Define unconditionally.
9518         (__ASSUME_PPOLL): Likewise.
9519         (__ASSUME_ATFCTS): Likewise.
9520         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9521         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9522         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9523         (__ASSUME_UTIMENSAT): Define unconditionally.
9524         (__ASSUME_PRIVATE_FUTEX): Likewise.
9525         (__ASSUME_FALLOCATE): Likewise.
9526         (__ASSUME_O_CLOEXEC): Likewise.
9527         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9528         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9529         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9530         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9531         (__ASSUME_IN_NONBLOCK): Likewise.
9532         (__ASSUME_PIPE2): Likewise.
9533         (__ASSUME_EVENTFD2): Likewise.
9534         (__ASSUME_SIGNALFD4): Likewise.
9535         (__ASSUME_DUP3): Likewise.
9536         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9537         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9538         (__ASSUME_AT_RANDOM): Likewise.
9539         (__ASSUME_PREADV): Likewise.
9540         (__ASSUME_PWRITEV): Likewise.
9541         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9542         (__ASSUME_F_GETOWN_EX): Define unconditionally.
9543         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9544         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9545         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9546         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9547         (__ASSUME_O_CLOEXEC): Define unconditionally.
9548         (__ASSUME_PSELECT): Do not undefine conditionally.
9549         (__ASSUME_PPOLL): Likewise.
9550         (__ASSUME_ATFCTS): Likewise.
9551         (__ASSUME_SET_ROBUST_LIST): Likewise.
9552         (__ASSUME_UTIMENSAT): Likewise.
9553         (__ASSUME_FDATASYNC): Define unconditionally.
9554         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9555         (__ASSUME_SIGFRAME_V2): Likewise.
9556         )__ASSUME_EVENTFD2): Likewise.
9557         (__ASSUME_SIGNALFD4): Likewise.
9558         (__ASSUME_PSELECT): Do not undefine conditionally.
9559         (__ASSUME_PPOLL): Likewise.
9560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9561         (__ASSUME_PSELECT): Define unconditionally.
9562         (__ASSUME_PPOLL): Likewise.
9563         (__ASSUME_O_CLOEXEC): Likewise.
9564         (__ASSUME_SOCK_CLOEXEC): Likewise.
9565         (__ASSUME_IN_NONBLOCK): Likewise.
9566         (__ASSUME_PIPE2): Likewise.
9567         (__ASSUME_EVENTFD2): Likewise.
9568         (__ASSUME_SIGNALFD4): Likewise.
9569         (__ASSUME_DUP3): Likewise.
9570         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9571         (__ASSUME_O_CLOEXEC): Likewise.
9572         (__ASSUME_SOCK_CLOEXEC): Likewise.
9573         (__ASSUME_IN_NONBLOCK): Likewise.
9574         (__ASSUME_PIPE2): Likewise.
9575         (__ASSUME_EVENTFD2): Likewise.
9576         (__ASSUME_SIGNALFD4): Likewise.
9577         (__ASSUME_DUP3): Likewise.
9578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9579         (__ASSUME_EVENTFD2): Likewise.
9580         (__ASSUME_SIGNALFD4): Likewise.
9581         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9583 2014-05-12  Andreas Schwab  <schwab@suse.de>
9585         [BZ #16932]
9586         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9587         (_nss_nis_gethostbyname4_r): Return error if item length is larger
9588         than maximum RPC packet size.
9589         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9590         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9591         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9592         (_nss_nis_getservbyport_r): Likewise.
9594 2014-05-12  Will Newton  <will.newton@linaro.org>
9596         * malloc/Makefile (tests): Add tst-mallopt.
9597         * malloc/tst-mallopt.c: New file.
9599 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9601         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9602         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9604 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9606         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9607         (tst-tlsmod6.so): Likewise.
9609 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9611         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9613 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9615         [BZ #16064]
9616         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9617         and <dl-procinfo.h>.
9618         (__fegetenv): Save SSE state in envp->__eip if supported.
9619         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9620         envp->__eip if supported.
9621         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9622         and <dl-procinfo.h>.
9623         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9624         __data_offset and __data_selector in environment to 0.  Set SSE
9625         state if supported.
9626         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9627         test-fenv-sse.
9628         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9629         -mfpmath=sse.
9630         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9632 2014-05-09  Will Newton  <will.newton@linaro.org>
9634         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9635         and libc_relro_required for ARM.
9636         * sysdeps/arm/preconfigure: Regenerate.
9638 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9639             Stefan Liebler  <stli@linux.vnet.ibm.com>
9641         * config.make.in (enable-lock-elision): New Makefile variable.
9642         * configure.ac: Likewise.
9643         * configure: Regenerate.
9644         * sysdeps/s390/configure.ac:
9645         Add check for gcc transactions support.
9646         * sysdeps/s390/configure: Regenerate.
9647         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9648         Build elision files if enabled.
9649         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9650         Add lock elision support for s390.
9651         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9652         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9653         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9654         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9655         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9656         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9658         Likewise.
9659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9660         Likewise.
9661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9662         Likewise.
9663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9664         Likewise.
9665         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9666         (__lll_timedlock_elision, __lll_lock_elision)
9667         (__lll_unlock_elision, __lll_trylock_elision)
9668         (lll_timedlock_elision, lll_lock_elision)
9669         (lll_unlock_elision, lll_trylock_elision): Add.
9670         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9671         (pthread_mutex_t): Add lock elision support for s390.
9673 2014-05-14  Wilco  <wdijkstr@arm.com>
9675         * sysdeps/arm/fclrexcpt.c: Cleanup.
9676         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9677         * sysdeps/arm/feenablxcpt.c: Cleanup.
9678         * sysdeps/arm/fegetenv.c: Cleanup.
9679         * sysdeps/arm/fegetexcept.c: Cleanup.
9680         * sysdeps/arm/fegetround.c: Cleanup.
9681         * sysdeps/arm/feholdexcpt.c: Cleanup.
9682         * sysdeps/arm/fesetenv.c: Cleanup.
9683         * sysdeps/arm/fesetround.c: Cleanup.
9684         * sysdeps/arm/feupdateenv.c: Cleanup.
9685         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9686         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9687         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9688         * sysdeps/arm/ftestexcept.c: Cleanup.
9689         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9690         * sysdeps/arm/setfpucw.c: Cleanup.
9692 2014-05-09  Will Newton  <will.newton@linaro.org>
9694         * sysdeps/arm/armv7/strcmp.S: New file.
9695         * NEWS: Mention addition of ARMv7 optimized strcmp.
9697 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9699         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9700         look for %.ac rather than %.in.
9702         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9703         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9704         * sysdeps/mach/hurd/configure: Regenerated.
9705         * sysdeps/unix/sysv/linux/configure: Regenerated.
9707         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9709 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9711         [BZ# 16922]
9712         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9713         (LONG_SUB): Ditto.
9714         (PTR_SUB): Ditto.
9716 2014-05-07  Andreas Schwab  <schwab@suse.de>
9718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9719         when skipping over non-matching result from nscd.
9721 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9723         [BZ #16876]
9724         * nptl/sockperf.c (client): Check socket return value.
9726         [BZ #16877]
9727         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9728         nscd security class.
9730 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9732         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9733         * sysdeps/arm/unwind.h: ... here.
9735 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9737         [BZ# 16916]
9738         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9739         Define.
9741 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9743         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9744         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9745         multiarch strncpy for PPC64.
9746         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9747         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9749         multiarch optimizations.
9750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9751         (__libc_ifunc_impl_list): Likewise.
9752         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9754         multiarch stpncpy for PPC64.
9755         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9756         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9758 2014-05-06  Andreas Schwab  <schwab@suse.de>
9760         [BZ #16912]
9761         * gmon/mcount.c (_MCOUNT_DECL): Use
9762         atomic_compare_and_exchange_bool_acq instead of
9763         catomic_compare_and_exchange_bool_acq.
9765 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9767         * elf/Makefile (others, install-bin): Remove pldd.
9768         (pldd-modules): Variable removed.
9769         ($(objpfx)pldd): Target removed.
9770         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9771         (others, install-bin): Append pldd here.
9772         ($(objpfx)pldd): New target.
9774         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9775         to 0, so the first #if test emitted later doesn't see it undefined.
9776         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9777         * sysdeps/gnu/errlist.c: Regenerated.
9779 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9781         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9782         [libc_hidden_builtin_def]: Define to empty value.
9783         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9784         [libc_hidden_builtin_def]: Likewise.
9785         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9786         [libc_hidden_builtin_def]: Likewise.
9787         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9788         [libc_hidden_builtin_def]: Likewise.
9789         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9790         __redirect_memcpy and define ifunc as default hidden symbol.
9791         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9792         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9794 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9796         * locale/iso-4217.def: Reintroduce XDR currency.
9798 2014-05-04  Allan McRae  <allan@archlinux.org>
9800         * po/eo.po: Update Esperanto translation from translation project.
9802 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9804         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9805         and FEATURE_INDEX_MAX to 1.
9806         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9808 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9810         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9811         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9812         * iconvdata/big5.c (ONE_DIRECTION): Define.
9813         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9814         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9815         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9816         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9817         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9818         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9819         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9820         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9821         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9822         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9823         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9824         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9825         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9826         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9827         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9828         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9829         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9830         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9831         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9832         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9833         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9834         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9835         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9836         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9837         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9838         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9839         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9840         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9841         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9842         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9843         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9844         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9845         * iconvdata/johab.c (ONE_DIRECTION): Define.
9846         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9847         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9848         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9849         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9850         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9851         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9852         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9853         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9854         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9855         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9857 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9859         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9860         (_IO_JUMPS_OFFSET): Define to 0.
9862         * nptl/sysdeps/pthread/bits/libc-lock.h
9863         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9864         (__libc_lock_define_initialized_recursive): Always define using
9865         initializer.  Modern compilers treat uninitialized (implicit zero) and
9866         explicit zero initializers the same (i.e. put the datum in bss).
9868 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9870         * nscd/nscd-client.h: Include <string.h>.
9872 2014-05-01  David S. Miller  <davem@davemloft.net>
9874         [BZ #16885]
9875         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9876         multiple zero bytes exist at the end of a string.
9877         Reported by Aurelien Jarno <aurelien@aurel32.net>
9879         * string/test-strcmp.c (check): Add explicit test for situations where
9880         there are multiple zero bytes after the first.
9882 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9884         [BZ #16890]
9885         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9886         when compiling wprintf.
9887         * stdio-common/tstdiomisc.c (t3): New function.
9888         (main): Call it.
9890 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9892         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9893         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9894         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9895         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9897 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9899         * stdlib/longlong.h: Updated from GCC.
9901 2014-05-01  Will Newton  <will.newton@linaro.org>
9902             Bernard Ogden  <bernie.ogden@linaro.org>
9904         * NEWS: Update fixed bug list.
9906         [BZ #15119]
9907         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9909 2014-04-30  David S. Miller  <davem@davemloft.net>
9911         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9912         (libc_feholdexcept_setround_sparc_ctx): New function.
9913         (libc_fesetenv_sparc_ctx): Likewise.
9914         (libc_feupdateenv_sparc_ctx): Likewise.
9915         (libc_feholdsetround_sparc_ctx): Likewise.
9916         (libc_feholdexcept_setround_ctx): Define.
9917         (libc_feholdexcept_setroundf_ctx): Likewise.
9918         (libc_feholdexcept_setroundl_ctx): Likewise.
9919         (libc_fesetenv_ctx): Likewise.
9920         (libc_fesetenvf_ctx): Likewise.
9921         (libc_fesetenvl_ctx): Likewise.
9922         (libc_feupdateenv_ctx): Likewise.
9923         (libc_feupdateenvf_ctx): Likewise.
9924         (libc_feupdateenvl_ctx): Likewise.
9925         (libc_feresetround_ctx): Likewise.
9926         (libc_feresetroundf_ctx): Likewise.
9927         (libc_feresetroundl_ctx): Likewise.
9928         (libc_feholdsetround_ctx): Likewise.
9929         (libc_feholdsetroundf_ctx): Likewise.
9930         (libc_feholdsetroundl_ctx): Likewise.
9932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9933         with __USE_GNU instead of XOPEN cpp guards.
9935         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9936         0.
9938         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9939         with XOPEN cpp guards.
9941 2014-04-30  Julian Brown  <julian@codesourcery.com>
9943         [BZ #16888]
9944         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9945         handling.
9947 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9949         [BZ #9894]
9950         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9951         Change to 2.6.32.
9952         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9953         * sysdeps/unix/sysv/linux/configure: Regenerated.
9954         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9955         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9956         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9957         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9958         * README: Update reference to required Linux kernel version.
9959         * manual/install.texi (Linux): Update reference to required Linux
9960         kernel headers version.
9961         * INSTALL: Regenerated.
9963         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9964         header inclusion.
9965         [POSIX] (limits.h): Likewise.
9966         [POSIX] (math.h): Likewise.
9967         [POSIX] (sys/wait.h): Likewise.
9968         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9969         function.
9970         [POSIX] (stddef.h): Do not allow header inclusion.
9972 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9974         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9976 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9978         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9979         Return immediately after lll_futex_wake.
9981 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9983         [BZ #16791]
9984         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9985         structure.
9986         (datahead_init_pos): Call datahead_init_common early.
9987         (datahead_init_neg): Likewise.
9989         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9990         datahead_init_neg): New functions.
9991         * nscd/aicache.c (addhstaiX): Use them.
9992         * nscd/grpcache.c (cache_addgr): Likewise.
9993         * nscd/hstcache.c (cache_addhst): Likewise.
9994         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9995         * nscd/netgroupcache.c (do_notfound): Likewise.
9996         (addgetnetgrentX): Likewise.
9997         (addinnetgrX): Likewise.
9998         * nscd/pwdcache.c (cache_addpw): Likewise.
9999         * nscd/servicescache.c (cache_addserv): Likewise.
10001 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10002             Atsushi Onoe  <atsushi@onoe.org>
10004         [BZ #14308]
10005         [BZ #12994]
10006         [BZ #13651]
10007         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10008         one response is valid.
10009         * resolv/res_send.c (send_dg): Check for validity of other
10010         response if the current response is a referral.
10012 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10014         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10016 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10018         [BZ #16823]
10019         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10020         Always divide by positive zero when computing -Inf result.
10021         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10022         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10024 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10026         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10027         FPSCR if value do not change.
10028         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10029         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10030         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10031         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10032         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10033         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10034         function.
10036 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10038         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10039         * sysdeps/unix/sysv/linux/hppa: Move directory from
10040         ports/systeps/unix/sysv/linux/hppa.
10041         * README: Update listing for hppa-*-linux-gnu.
10043 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10045         [BZ #16754]
10046         * manual/stdio.texi (Hook functions): Fix types of stream hook
10047         functions.
10048         [BZ #16854]
10049         * socket/sys/socket.h: Fix typo in comment.
10051 2014-04-28  Wilco  <wdijkstr@arm.com>
10053         * sysdeps/arm/fenv_private.h: New file.
10054         * sysdeps/arm/math_private.h: New file.
10055         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10057 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10059         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10060         with __int128_t.
10061         (La_x86_64_retval): Likewise.
10063 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10065         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10066         fpsr if value didn't change.
10067         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10068         to fpcr if value didn't change.
10069         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10070         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10071         fpsr or fpcr if value didn't change.
10072         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10073         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10074         fpcr if value didn't change.
10075         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10076         to fpsr if value didn't change.
10078 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10080         * nptl/tst-sem3.c: Use test-skeleton.c
10081         (main): Rename to do_test.  Use return instead of
10082         exit.
10083         * nptl/tst-sem4.c: Use test-skeleton.c
10084         (main): Rename to do_test.
10086 2014-04-22  David S. Miller  <davem@davemloft.net>
10088         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10089         (struct sigaction): New struct member __glibc_reserved0, change
10090         type of sa_flags to int.
10092 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10094         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10095         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10097 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10099         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10100         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10102 2014-04-22  Will Newton  <will.newton@linaro.org>
10103             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10105         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10106         (__longjmp): Add longjmp and longjmp_target SystemTap
10107         probes.
10108         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10109         (__sigsetjmp): Add setjmp SystemTap probe.
10111 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10113         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10114         match manual order.
10116 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10118         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10120         * sysdeps/powerpc/fpu/fenv_private.h
10121         (libc_feholdexcept_setroundl_ctx): Define to
10122         libc_feholdexcept_setround_ppc_ctx.
10123         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10124         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10125         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10126         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10128 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10130         * sysdeps/aarch64/math-tests.h: New file.
10132 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10134         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10135         New.
10136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10137         Check and set bit_AVX2_Usable.
10138         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10139         macro.
10140         (bit_AVX2): Likewise.
10141         (index_AVX2_Usable): Likewise.
10142         (CPUID_AVX2): Likewise.
10143         (HAS_AVX2): Likewise.
10145 2014-04-17  Will Newton  <will.newton@linaro.org>
10147         * manual/setjmp.texi (System V contexts): Add note that
10148         calling setcontext on a context created by a call to a
10149         signal handler is undefined.  Update text to note that
10150         setcontext from a signal handler is possible but not
10151         recommended.
10153         [BZ #16629]
10154         * stdlib/tst-setcontext.c: Include signal.h.
10155         (main): Check that the signal stack before and
10156         after swapcontext is the same.
10158         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10159         Re-implement to restore registers in user code and avoid
10160         rt_sigreturn system call.
10162 2014-04-17  Wilco  <wdijkstr@arm.com>
10164         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10165         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10166         * math/test-fenv.c: Skip exception trap tests on targets which only
10167         support non-stop mode.
10169 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10170             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10172         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10173         (libc_feholdsetround_aarch64_ctx)
10174         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10175         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10176         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10177         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10178         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10179         (libc_feresetround_noexl_ctx): Define.
10181 2014-04-16  Richard Henderson  <rth@redhat.com>
10183         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10185         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10186         unwind tables.
10188         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10189         const from the non-libc, non-ldso copy.
10191         * sysdeps/alpha/libm-test-ulps: Regenerate.
10193 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10194             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10196         * sysdeps/aarch64/fpu/math_private.h: New file.
10198 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10200         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10202 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10204         [BZ #16275]
10205         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10206         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10207         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10208         Intel MPX bound registers before _dl_profile_fixup.
10209         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10210         registers after _dl_profile_fixup.  Save and restore bound
10211         registers bnd0/bnd1 when calling _dl_call_pltexit.
10212         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10213         (LR_BND_OFFSET): Likewise.
10214         (LRV_BND0_OFFSET): Likewise.
10215         (LRV_BND1_OFFSET): Likewise.
10217 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10219         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10220         to...
10221         * sysdeps/mach/hurd/i386/tls.h: ... here.
10222         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10223         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10224         fields.
10226 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10228         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10230 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10232         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10234 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10236         [BZ #14770]
10237         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10238         * sysdeps/s390/configure: Regenerate.
10240         [BZ #16824]
10241         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10242         Set round-to-nearest internally to reduce error accumulation.
10244 2014-04-16  Alan Modra  <amodra@gmail.com>
10246         [BZ #16740]
10247         [BZ #16619]
10248         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10249         * math/libm-test.inc (frexp_test_data): Add tests.
10250         * NEWS: Update fixed bug list.
10252 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10254         * benchtests/Makefile: Depend on libraries in build directory.
10255         (bench-math): Separate out math tests.
10256         (bench-pthread): Separate out pthread tests.
10257         (bench): Include math and pthread tests.
10259 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10261         [BZ #16831]
10262         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10263         _dl_debug_initialize.
10265         * configure.ac: Remove SELinux header check.
10266         * configure: Regenerate.
10267         * nscd/selinux.c (perms): Array of const char* to permission names.
10268         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10269         default policy. Call string_to_security_class and string_to_av_perm to
10270         translate strings. Enforce default policy and call avs_has_perm with
10271         results of translated strings.
10273 2014-04-13  David S. Miller  <davem@davemloft.net>
10275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10277 2014-04-12  Allan McRae  <allan@archlinux.org>
10279         [BZ #16838]
10280         * manual/string.texi (Collation Functions): Fix qsort argument
10281         order in example.
10282         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10284 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10286         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10287         Make the test a no-op if there are no exceptions defined.
10289 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10291         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10292         enable-hardcoded-path-in-tests
10294 2014-04-11  Will Newton  <will.newton@linaro.org>
10296         * benchtests/Makefile (extra-objs): Add json-lib.o.
10297         (bench-func): Tidy up JSON output.
10298         * benchtests/bench-skeleton.c: Include json-lib.h.
10299         (main): Use JSON library functions to do output of
10300         benchmark results.
10301         * benchtests/bench-timing-type.c (main): Output the
10302         timing type simply, leaving formatting to the user.
10303         * benchtests/json-lib.c: New file.
10304         * benchtests/json-lib.h: Likewise.
10306 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10308         [BZ #15215]
10309         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10310         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10311         memory barriers.  Add comments.
10312         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10313         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10314         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10315         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10316         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10317         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10319 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10321         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10322         * sysdeps/s390/s390-64/configure.ac: ... this ...
10323         * sysdeps/s390/configure.ac: ... to here.
10324         * sysdeps/s390/s390-32/configure: Delete file.
10325         * sysdeps/s390/s390-64/configure: Delete file.
10326         * sysdeps/s390/configure: Regenerate.
10328 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10330         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10332 2014-04-11  Will Newton  <will.newton@linaro.org>
10334         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10335         to zero if it is not defined elsewhere.  (mtrim): Test
10336         the value of MALLOC_DEBUG with #if rather than #ifdef.
10338 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10340         * benchtests/pthread_once-inputs: New file.
10341         * benchtests/pthread_once-source.c: New file.
10342         * benchtests/README: Update documentation.
10344 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10345             H.J. Lu  <hongjiu.lu@intel.com>
10347         [BZ #16275]
10348         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10349         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10350         * sysdeps/x86_64/configure: Regenerated.
10351         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10352         macro.
10353         (REGISTER_SAVE_RAX): Likewise.
10354         (REGISTER_SAVE_RCX): Likewise.
10355         (REGISTER_SAVE_RDX): Likewise.
10356         (REGISTER_SAVE_RSI): Likewise.
10357         (REGISTER_SAVE_RDI): Likewise.
10358         (REGISTER_SAVE_R8): Likewise.
10359         (REGISTER_SAVE_R9): Likewise.
10360         (REGISTER_SAVE_BND0): Likewise.
10361         (REGISTER_SAVE_BND1): Likewise.
10362         (REGISTER_SAVE_BND2): Likewise.
10363         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10364         bound registers when calling _dl_fixup.
10366 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10368         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10369         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10370         of its definition.
10371         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10372         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10373         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10374         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10375         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10376         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10377         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10379 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10381         [BZ #15514]
10382         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10383         pathconf(_PC_NAME_MAX).
10385 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10387         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10388         Remove macro usage.
10389         (__PTHREAD_SPINS): Move definition to ...
10390         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10391         (__PTHREAD_SPINS): ... here.
10392         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10393         (__PTHREAD_SPIN): Likewise.
10394         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10395         (__PTHREAD_SPIN): Likewise.
10396         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10397         (__PTHREAD_SPIN): Likewise.
10398         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10399         (__PTHREAD_SPIN): Likewise.
10400         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10401         (__PTHREAD_SPIN): Likewise.
10402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10403         (__PTHREAD_SPIN): Likewise.
10404         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10405         (__PTHREAD_SPIN): Likewise.
10406         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10407         (__PTHREAD_SPIN): Likewise.
10408         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10409         (__PTHREAD_SPIN): Likewise.
10410         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10411         (__PTHREAD_SPIN): Likewise.
10412         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10413         (__PTHREAD_SPIN): Likewise.
10414         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10415         (__PTHREAD_SPIN): Likewise.
10417         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10418         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10419         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10420         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10421         imply folder.
10422         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10423         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10424         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10425         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10426         correct imply path.
10427         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10428         strlen symbol for non multi-arch builds.
10429         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10430         missing hidden_def and weak_alias.
10432 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10434         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10436 2014-04-07  Will Newton  <will.newton@linaro.org>
10438         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10439         and contents.  [!_LIBC] Remove #ifndef and contents.
10440         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10441         * string/memccpy.c (__memccpy): Use ANSI prototype.
10442         * string/memfrob.c (memfrob): Likewise.
10443         * string/strcoll.c (STRCOLL): Likewise.
10444         * string/strlen.c (strlen): Likewise.
10445         * string/strtok.c (STRTOK): Likewise.
10446         * string/strcat.c: Remove unused #include of memcopy.h.
10447         (strcat): Use ANSI prototype.
10448         * string/strchr.c: Remove unused #include of memcopy.h.
10449         (strchr): Use ANSI prototype.
10450         * string/strcmp.c: Remove unused #include of memcopy.h.
10451         (strcmp): Use ANSI prototype.
10452         * string/strcpy.c: Remove unused #include of memcopy.h.
10453         (strcpy): Use ANSI prototype.
10455 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10457         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10458         * config.make.in (config-extra-cppflags): Set it from
10459         libc_extra_cppflags.
10460         * configure.ac (libc_extra_cflags): Make it accumulate over
10461         configure fragments.
10462         (libc_extra_cppflags): New flag.
10463         * configure. Regenerate.
10464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10465         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10466         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10469         [BZ #16815]
10470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10471         result for FE_DOWNWARD rounding mode.
10472         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10473         Likewise.
10474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10476 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10478         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10479         in function argument name.
10481 2014-04-03  David Svoboda  <svoboda@cert.org>
10483         [BZ #5666]
10484         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10485         explicitly.
10487 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10489         * elf/dl-unmap-segments.h: New file.
10490         * sysdeps/generic/ldsodefs.h
10491         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10492         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10493         * elf/dl-fptr.c: Likewise.
10494         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10495         * sysdeps/aarch64/tlsdesc.c: Likewise.
10496         * sysdeps/arm/tlsdesc.c: Likewise.
10497         * sysdeps/i386/tlsdesc.c: Likewise.
10498         * sysdeps/tile/dl-runtime.c: Likewise.
10499         * sysdeps/x86_64/tlsdesc.c: Likewise.
10500         * elf/dl-load.h: New file.
10501         * elf/dl-load.c: Include it.
10502         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10503         Macros moved to dl-load.h.
10504         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10505         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10506         Use _dl_unmap_segments in place of __munmap.
10507         Break out segment-mapping loop into ...
10508         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10510 2014-04-03  Will Newton  <will.newton@linaro.org>
10512         * elf/dl-lookup.c (do_lookup_x): Remove comment
10513         referring to nested function and move variable
10514         declarations down to before first use.
10516 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #16799]
10519         [BZ #16800]
10520         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10521         with 0 numerator.
10522         * math/s_catanf.c (__catanf): Likewise.
10523         * math/s_catanh.c (__catanh): Likewise.
10524         * math/s_catanhf.c (__catanhf): Likewise.
10525         * math/s_catanhl.c (__catanhl): Likewise.
10526         * math/s_catanl.c (__catanl): Likewise.
10527         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10528         by positive zero when computing -Inf result.
10529         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10530         (catanh_test): Likewise.
10531         * sysdeps/i386/fpu/libm-test-ulps: Update.
10532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10534         [BZ #16789]
10535         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10536         instead of using underflowing value in computing result.
10537         * math/s_clog10.c (__clog10): Likewise.
10538         * math/s_clog10f.c (__clog10f): Likewise.
10539         * math/s_clog10l.c (__clog10l): Likewise.
10540         * math/s_clogf.c (__clogf): Likewise.
10541         * math/s_clogl.c (__clogl): Likewise.
10542         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10543         (clog10_test): Likewise.
10544         * sysdeps/i386/fpu/libm-test-ulps: Update.
10545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10547 2014-04-02  Alan Modra  <amodra@gmail.com>
10549         [BZ #16739]
10550         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10551         output when value is near a power of two.  Use int64_t for lx and
10552         remove casts.  Use decimal rather than hex exponent constants.
10553         Don't use long double multiplication when double will suffice.
10554         * math/libm-test.inc (nextafter_test_data): Add tests.
10555         * NEWS: Add 16739 and 16786 to bug list.
10557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10559         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10561 2014-04-01  Will Newton  <will.newton@linaro.org>
10563         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10564         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
10566 2014-04-01  Florian Weimer  <fweimer@redhat.com>
10568         [BZ #13347]
10569         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10570         * nptl/tst-setuid2.c: New file.
10571         * nptl/Makefile (xtests): Add tst-setuid2.
10573 2014-04-01  Alan Modra  <amodra@gmail.com>
10575         [BZ #16786]
10576         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10578 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #6803]
10581         [BZ #6804]
10582         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10583         set errno as appropriate.
10584         * math/w_scalbf.c (__scalbf): Likewise.
10585         * math/w_scalbl.c (__scalbl): Likewise.
10586         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10587         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10588         * math/libm-test.inc (scalb_test_data): Add errno expectations.
10589         Add more NaN tests.
10591         [BZ #16349]
10592         * math/w_atan2.c: Include <errno.h>.
10593         (__atan2): Set errno for result underflowing to zero.
10594         * math/w_atan2f.c: Include <errno.h>.
10595         (__atan2f): Set errno for result underflowing to zero.
10596         * math/w_atan2l.c: Include <errno.h>.
10597         (__atan2l): Set errno for result underflowing to zero.
10598         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10599         tests.
10600         * math/auto-libm-test-out: Regenerated.
10602 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10604         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10605         Encode instruction correctly in little endian.
10606         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10607         Likewise.
10608         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10609         Likewise.
10610         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10611         Likewise.
10612         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10613         Likewise.
10615 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10617         [BZ #9894]
10618         * sysdeps/unix/sysv/linux/kernel-features.h
10619         [__sparc__ && !__arch64__ && !__sparc_v9__]
10620         (__ASSUME_SET_ROBUST_LIST): Do not define.
10621         [__sparc__ && !__arch64__ && !__sparc_v9__]
10622         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10623         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10624         Likewise.
10625         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10626         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10627         (__ASSUME_REQUEUE_PI): Likewise.
10628         (__ASSUME_SET_ROBUST_LIST): Likewise.
10629         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10630         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10631         Undefine.
10632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10634         Likewise.
10635         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10636         Likewise.
10637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10638         Likewise.
10639         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10640         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10641         Undefine.
10642         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10643         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10644         Likewise.
10646         [BZ #16648]
10647         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10648         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10649         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10651 2014-03-31  Will Newton  <will.newton@linaro.org>
10653         * benchtests/Makefile (bench): Add ffs and ffsll to list
10654         of tests.
10655         * benchtests/ffs-inputs: New file.
10656         * benchtests/ffsll-inputs: Likewise.
10658 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #16770]
10661         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10662         too large before casting to int.
10663         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10664         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10665         * math/libm-test.inc (scalb_test_data): Add more tests.
10667 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10669         * benchtests/Makefile (DETAILED_OPT): New make option.
10670         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10671         set.
10672         * benchtests/bench-skeleton.c: Include stdbool.h.
10673         (main): Store and print timings per input.
10674         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10675         member to each argument value.
10676         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10677         (_print_arg_data): Initialize per-input timing to 0.
10679         * benchtests/Makefile (timing-type): New binary.
10680         (bench-clean): Also remove bench-timing-type.
10681         (bench): New target for timing-type.
10682         (bench-func): Print output in JSON format.
10683         * benchtests/bench-skeleton.c (main): Print output in JSON
10684         format.
10685         * benchtests/bench-timing-type.c: New file.
10686         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10687         (TIMING_PRINT_STATS): Remove.
10688         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10689         name separately.
10691         * benchtests/bench-modf.c: Remove.
10692         * benchtests/modf-inputs: New inputs file.
10694 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10696         [BZ #16362]
10697         * math/s_clog10.c (M_PI_LOG10E): New macro.
10698         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10699         imaginary parts are 0.
10700         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10701         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10702         imaginary parts are 0.
10703         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10704         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10705         imaginary parts are 0.
10706         * math/libm-test.inc (clog10_test_data): Update expected results
10707         for when real and imaginary parts are 0.
10709 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10711         * elf/dl-load.c: Finish conversion of __builtin_expect into
10712         __glibc_{un}likely.
10714 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10716         [BZ #16348]
10717         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10718         1+x for argument with exponent below -67.
10719         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10720         Likewise.
10721         * math/auto-libm-test-in: Add more tests of exp.
10722         * math/auto-libm-test-out: Regenerated.
10724 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10726         [BZ #16759]
10727         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10728         (nscd_getnetgrent): Use it.
10730         [BZ #16760]
10731         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10732         of stpcpy.
10734 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10736         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10737         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10738         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10739         (lll_robust_unlock): Remove out of line section. Use cfi
10740         intrinsics.
10741         (LLL_STUB_UNWIND_INFO*): Remove.
10742         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10743         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10744         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10745         (lll_robust_unlock): Remove out of line section. Use cfi
10746         intrinsics.
10747         (LLL_STUB_UNWIND_INFO*): Remove.
10749 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10751         [BZ #16758]
10752         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10753         blank values.
10755 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10757         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10759 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10761         [BZ #16198]
10762         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10763         fnstenv.
10764         * math/test-fenv-preserve.c: New file.
10765         * math/Makefile (tests): Add test-fenv-preserve.
10767 2014-03-26  Will Newton <will.newton@linaro.org>
10769         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10771 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10773         * scripts/versionlist.awk: Partition the version sets and emit all
10774         GLIBC_* (sorted) before all others (sorted).
10776 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10778         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10779         GLIBC_2.2.5 version.
10781 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10783         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10784         calls.
10786         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10787         previous change.
10789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10791 2014-03-25  Andreas Schwab  <schwab@suse.de>
10793         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10794         label to be used after in6ailist is initialized.
10796 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10798         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10799         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10801 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10803         [BZ #16357]
10804         [BZ #16599]
10805         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10806         min_plus_half.
10807         (fp_formats): Update initializers.
10808         (init_fp_formats): Initialize new field.
10809         (output_for_one_input_case): Allow underflow for results up to
10810         min_plus_half.
10811         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10812         * math/auto-libm-test-in: Don't mark some underflows from asin and
10813         atanh as spurious.
10814         * math/auto-libm-test-out: Regenerated.
10815         * sysdeps/i386/fpu/libm-test-ulps: Update.
10816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818 2014-03-25  Andreas Schwab  <schwab@suse.de>
10820         * libio/Makefile (tst-ftell-partial-wide-ENV)
10821         (tst-ftell-active-handler-ENV): Define.
10823 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10825         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10827 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10829         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10831 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10833         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10834         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10835         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10837 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10839         [BZ #16634]
10840         * elf/dl-load.c (open_verify): Add mode parameter.
10841         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10842         (open_path): Change from boolean 'secure' to complete flag 'mode'
10843         (_dl_map_object): Adjust.
10844         * elf/Makefile (tests): Add tst-dlopen-aout.
10845         * elf/tst-dlopen-aout.c: New test.
10847 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10849         [BZ #16714]
10850         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10851         (struct stat): Rename member pad0 to __glibc_reserved0.
10853         [BZ #16712]
10854         * sysdeps/s390/s390-32/bits/wordsize.h
10855         (__WORDSIZE32_SIZE_ULONG): New define.
10856         * sysdeps/s390/s390-64/bits/wordsize.h
10857         (__WORDSIZE32_SIZE_ULONG): Likewise.
10858         * sysdeps/generic/stdint.h (SIZE_MAX):
10859         Define as UL if __WORDSIZE32_SIZE_ULONG.
10861         [BZ #16713]
10862         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10863         (__glibc_reserved0): New variable.
10864         (sa_flags): Change type to int.
10866         * posix/Makefile (before-compile): Use += before-compile instead
10867         of a :=.
10869         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10870         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10872 2014-03-20  Andreas Schwab  <schwab@suse.de>
10874         [BZ #16743]
10875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10876         non-matching result from nscd.
10878 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10880         * scripts/bench.py: Moved to ...
10881         * benchtests/scripts/bench.py: ... here.
10882         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10884 2014-03-24  Andreas Schwab  <schwab@suse.de>
10886         [BZ #16002]
10887         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10888         alloca_account and account alloca use for struct in6ailist.
10890 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10892         [BZ #16284]
10893         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10894         rounding mode to recompute results that overflow to infinity or
10895         underflow to zero.
10896         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10897         bug 16284.
10898         * math/auto-libm-test-out: Regenerated.
10899         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10900         (ccosh_test): Likewise.
10901         (csin_test_data): Use plus_oflow.
10902         (csin_test): Use ALL_RM_TEST.
10903         (csinh_test_data): Use plus_oflow.
10904         (csinh_test): Use ALL_RM_TEST.
10905         * sysdeps/i386/fpu/libm-test-ulps: Update.
10906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10908 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10910         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10911         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10912         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10914         [BZ #16731]
10915         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10916         when x - 1 is zero.
10917         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10918         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10919         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10920         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10921         argument is 1.
10922         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10923         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10924         zero.
10925         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10926         * sysdeps/i386/fpu/libm-test-ulps: Update.
10927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10929 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10931         * scripts/bench.pl: Remove file.
10932         * scripts/bench.py: New benchmark script.
10933         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10934         * benchtests/README: Mention python dependency.
10935         * scripts/pylintrc: New file.
10936         * scripts/pylint: New file.
10938         * bits/mathdef.h: Use #ifdef instead of #if.
10939         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10940         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10941         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10942         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10943         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10944         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10946 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10947             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10949         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10951         and strpbrk-ppc64 objects.
10952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10953         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10954         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10955         multiarch strpbrk for POWER7.
10956         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10957         multiarch strpbrk for PPC64.
10958         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10959         ifunc selector.
10960         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10961         strpbrk for POWER7.
10963 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10965         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10966         (atan_test): Likewise.
10967         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10968         (atanh_test): Use ALL_RM_TEST.
10969         (atan2_test_data): Likewise.
10970         (cabs_test): Likewise.
10971         (cacosh_test): Likewise.
10972         (carg_test): Likewise.
10973         (casin_test): Likewise.
10974         (casinh_test): Likewise.
10975         (cbrt_test): Likewise.
10976         (csqrt_test): Likewise.
10977         (erf_test): Likewise.
10978         (erfc_test): Likewise.
10979         (pow10_test): Likewise.
10980         (exp2_test): Likewise.
10981         (hypot_test): Likewise.
10982         (j0_test): Likewise.
10983         (j1_test): Likewise.
10984         (lgamma_test): Likewise.
10985         (gamma_test): Likewise.
10986         (sincos_test): Likewise.
10987         (tanh_test): Likewise.
10988         (y0_test): Likewise.
10989         (y1_test): Likewise.
10990         * sysdeps/i386/fpu/libm-test-ulps: Update.
10991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10995         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10997         and strcspn-ppc64 objects.
10998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10999         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11000         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11001         multiarch strcspn for POWER7.
11002         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11003         multiarch strcspn for PPC64.
11004         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11005         ifunc selector.
11006         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11007         strcspn for POWER7.
11009 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11011         * math/gen-libm-test.pl (generate_testfile): Expect only function
11012         name as argument to AUTO_TESTS_* and pass results for all rounding
11013         modes to parse_args.
11014         (parse_auto_input): Separate inputs of automatic tests from
11015         outputs before storing in %auto_tests.
11016         * math/libm-test.inc (acos_test_data): Update call to
11017         AUTO_TESTS_f_f.
11018         (acos_test): Use ALL_RM_TEST.
11019         (acos_tonearest_test_data): Remove.
11020         (acos_test_tonearest): Likewise.
11021         (acos_towardzero_test_data): Likewise.
11022         (acos_test_towardzero): Likewise.
11023         (acos_downward_test_data): Likewise.
11024         (acos_test_downward): Likewise.
11025         (acos_upward_test_data): Likewise.
11026         (acos_test_upward): Likewise.
11027         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11028         (asin_test_data): Likewise.
11029         (asin_test): Use ALL_RM_TEST.
11030         (asin_tonearest_test_data): Remove.
11031         (asin_test_tonearest): Likewise.
11032         (asin_towardzero_test_data): Likewise.
11033         (asin_test_towardzero): Likewise.
11034         (asin_downward_test_data): Likewise.
11035         (asin_test_downward): Likewise.
11036         (asin_upward_test_data): Likewise.
11037         (asin_test_upward): Likewise.
11038         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11039         (atan_test_data): Likewise.
11040         (atanh_test_data): Likewise.
11041         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11042         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11043         (carg_test_data): Likewise.
11044         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11045         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11046         (ccosh_test_data): Likewise.
11047         (cexp_test_data): Likewise.
11048         (clog_test_data): Likewise.
11049         (clog10_test_data): Likewise.
11050         (cos_test_data): Update call to AUTO_TESTS_f_f.
11051         (cos_test): Use ALL_RM_TEST.
11052         (cos_tonearest_test_data): Remove.
11053         (cos_test_tonearest): Likewise.
11054         (cos_towardzero_test_data): Likewise.
11055         (cos_test_towardzero): Likewise.
11056         (cos_downward_test_data): Likewise.
11057         (cos_test_downward): Likewise.
11058         (cos_upward_test_data): Likewise.
11059         (cos_test_upward): Likewise.
11060         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11061         (cosh_test): Use ALL_RM_TEST.
11062         (cosh_tonearest_test_data): Remove.
11063         (cosh_test_tonearest): Likewise.
11064         (cosh_towardzero_test_data): Likewise.
11065         (cosh_test_towardzero): Likewise.
11066         (cosh_downward_test_data): Likewise.
11067         (cosh_test_downward): Likewise.
11068         (cosh_upward_test_data): Likewise.
11069         (cosh_test_upward): Likewise.
11070         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11071         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11072         (ctan_test_data): Likewise.
11073         (ctan_test): Use ALL_RM_TEST.
11074         (ctan_tonearest_test_data): Remove.
11075         (ctan_test_tonearest): Likewise.
11076         (ctan_towardzero_test_data): Likewise.
11077         (ctan_test_towardzero): Likewise.
11078         (ctan_downward_test_data): Likewise.
11079         (ctan_test_downward): Likewise.
11080         (ctan_upward_test_data): Likewise.
11081         (ctan_test_upward): Likewise.
11082         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11083         (ctanh_test): Use ALL_RM_TEST.
11084         (ctanh_tonearest_test_data): Remove.
11085         (ctanh_test_tonearest): Likewise.
11086         (ctanh_towardzero_test_data): Likewise.
11087         (ctanh_test_towardzero): Likewise.
11088         (ctanh_downward_test_data): Likewise.
11089         (ctanh_test_downward): Likewise.
11090         (ctanh_upward_test_data): Likewise.
11091         (ctanh_test_upward): Likewise.
11092         (erf_test_data): Update call to AUTO_TESTS_f_f.
11093         (erfc_test_data): Likewise.
11094         (exp_test_data): Likewise.
11095         (exp_test): Use ALL_RM_TEST.
11096         (exp_tonearest_test_data): Remove.
11097         (exp_test_tonearest): Likewise.
11098         (exp_towardzero_test_data): Likewise.
11099         (exp_test_towardzero): Likewise.
11100         (exp_downward_test_data): Likewise.
11101         (exp_test_downward): Likewise.
11102         (exp_upward_test_data): Likewise.
11103         (exp_test_upward): Likewise.
11104         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11105         (exp10_test): Use ALL_RM_TEST.
11106         (exp10_tonearest_test_data): Remove.
11107         (exp10_test_tonearest): Likewise.
11108         (exp10_towardzero_test_data): Likewise.
11109         (exp10_test_towardzero): Likewise.
11110         (exp10_downward_test_data): Likewise.
11111         (exp10_test_downward): Likewise.
11112         (exp10_upward_test_data): Likewise.
11113         (exp10_test_upward): Likewise.
11114         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11115         (expm1_test_data): Likewise.
11116         (expm1_test): Use ALL_RM_TEST.
11117         (expm1_tonearest_test_data): Remove.
11118         (expm1_test_tonearest): Likewise.
11119         (expm1_towardzero_test_data): Likewise.
11120         (expm1_test_towardzero): Likewise.
11121         (expm1_downward_test_data): Likewise.
11122         (expm1_test_downward): Likewise.
11123         (expm1_upward_test_data): Likewise.
11124         (expm1_test_upward): Likewise.
11125         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11126         (fma_test): Use ALL_RM_TEST.
11127         (fma_towardzero_test_data): Remove.
11128         (fma_test_towardzero): Likewise.
11129         (fma_downward_test_data): Likewise.
11130         (fma_test_downward): Likewise.
11131         (fma_upward_test_data): Likewise.
11132         (fma_test_upward): Likewise.
11133         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11134         (j0_test_data): Update call to AUTO_TESTS_f_f.
11135         (j1_test_data): Likewise.
11136         (jn_test_data): Update call to AUTO_TESTS_if_f.
11137         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11138         (log_test_data): Update call to AUTO_TESTS_f_f.
11139         (log10_test_data): Likewise.
11140         (log1p_test_data): Likewise.
11141         (log2_test_data): Likewise.
11142         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11143         (pow_tonearest_test_data): Likewise.
11144         (sin_test_data): Update call to AUTO_TESTS_f_f.
11145         (sin_test): Use ALL_RM_TEST.
11146         (sin_tonearest_test_data): Remove.
11147         (sin_test_tonearest): Likewise.
11148         (sin_towardzero_test_data): Likewise.
11149         (sin_test_towardzero): Likewise.
11150         (sin_downward_test_data): Likewise.
11151         (sin_test_downward): Likewise.
11152         (sin_upward_test_data): Likewise.
11153         (sin_test_upward): Likewise.
11154         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11155         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11156         (sinh_test): Use ALL_RM_TEST.
11157         (sinh_tonearest_test_data): Remove.
11158         (sinh_test_tonearest): Likewise.
11159         (sinh_towardzero_test_data): Likewise.
11160         (sinh_test_towardzero): Likewise.
11161         (sinh_downward_test_data): Likewise.
11162         (sinh_test_downward): Likewise.
11163         (sinh_upward_test_data): Likewise.
11164         (sinh_test_upward): Likewise.
11165         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11166         (sqrt_test): Use ALL_RM_TEST.
11167         (sqrt_tonearest_test_data): Remove.
11168         (sqrt_test_tonearest): Likewise.
11169         (sqrt_towardzero_test_data): Likewise.
11170         (sqrt_test_towardzero): Likewise.
11171         (sqrt_downward_test_data): Likewise.
11172         (sqrt_test_downward): Likewise.
11173         (sqrt_upward_test_data): Likewise.
11174         (sqrt_test_upward): Likewise.
11175         (tan_test_data): Update call to AUTO_TESTS_f_f.
11176         (tan_test): Use ALL_RM_TEST.
11177         (tan_tonearest_test_data): Remove.
11178         (tan_test_tonearest): Likewise.
11179         (tan_towardzero_test_data): Likewise.
11180         (tan_test_towardzero): Likewise.
11181         (tan_downward_test_data): Likewise.
11182         (tan_test_downward): Likewise.
11183         (tan_upward_test_data): Likewise.
11184         (tan_test_upward): Likewise.
11185         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11186         (tgamma_test_data): Likewise.
11187         (y0_test_data): Likewise.
11188         (y1_test_data): Likewise.
11189         (yn_test_data): Update call to AUTO_TESTS_if_f.
11190         (main): Do not call removed functions.
11192 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11194         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11195         (ldexp_test_data): Remove.
11196         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11197         scalbn_test_data.
11198         (scalb_test): Use ALL_RM_TEST.
11200 2014-03-19  Andreas Schwab  <schwab@suse.de>
11202         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11204 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11206         [BZ #16649]
11207         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11208         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11209         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11211         (__ASSUME_PREADV): Undefine.
11212         (__ASSUME_PWRITEV): Likewise.
11214 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11216         * bits/mman-linux.h: Add comment about non-Linux use.
11217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11218         bits/mman-linux.h resting place.
11220         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11221         * bits/mman-linux.h: ... here.
11223 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11225         * conform/conformtest.pl: Add standard definition when calling C
11226         preprocessor on data files.
11227         (checknamespace): Remove unused variable.
11229 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11231         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11232         minus_oflow, plus_uflow and minus_uflow in expected results.
11233         * math/libm-test.inc (scalbn_test_data): Add more tests of
11234         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11235         minus_uflow.
11236         (scalbn_test): Use ALL_RM_TEST.
11237         (scalbln_test_data): Add more tests of negative arguments.  Use
11238         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11239         (scalbln_test): Use ALL_RM_TEST.
11241 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11243         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11245 2014-03-18  Will Newton  <will.newton@linaro.org>
11247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11248         inaccurate comment.
11250 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11252         * Makerules [!subdir] (check-abi): Exit with error status if a
11253         test failed.
11255 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11257         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11258         for rint.  Include results for all rounding modes.
11259         (nearbyint_test): Use ALL_RM_TEST.
11260         (rint_test_data): Include all tests used for nearbyint.
11262 2014-03-17  Will Newton  <will.newton@linaro.org>
11264         * nptl/sysdeps/pthread/pthread.h: Revert previous
11265         change.
11267         * sysdeps/generic/ldsodefs.h: Revert previous
11268         change.
11270         * libio/genops.c: Revert previous change.
11271         * libio/libioP.h: Likewise.
11272         * stdio-common/vfprintf.c: Likewise.
11274         * sysdeps/generic/math_private.h: Revert previous
11275         change.
11277         * sysdeps/generic/math_private.h: Check whether
11278         HAVE_RM_CTX is defined with #ifdef rather
11279         than #if.
11281         * argp/argp-fmtstream.h: Check whether
11282         __STRICT_ANSI__ is defined with #ifdef rather
11283         than #if.
11284         * argp/argp.h: Likewise.
11286         * libio/genops.c: Check whether
11287         _IO_JUMPS_OFFSET is defined with #ifdef rather
11288         than #if.
11289         * libio/libioP.h: Likewise.
11290         * stdio-common/vfprintf.c: Likewise.
11292         * sysdeps/generic/ldsodefs.h: Check whether
11293         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11294         than #if.
11296         * nptl/sysdeps/pthread/pthread.h: Check
11297         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11298         its value.
11300 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11302         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11303         setting O_APPEND.
11304         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11305         test case.
11307         [BZ #16680]
11308         * libio/fileops.c (_IO_file_open): Seek to end of file but
11309         don't cache the offset.
11310         (get_file_offset): Remove function.
11311         (do_ftell): Use cached offset when available.
11312         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11313         don't cache the offset.
11314         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11315         case.
11316         (do_one_test): Call it.
11317         (do_ftell_test): Fix up expected old offset for a+ mode.
11318         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11319         available.
11321         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11322         up test status with function return status.
11323         (do_write_test): Likewise.
11324         (do_append_test): Likewise.
11326         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11327         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11328         Remove.
11330 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11332         * math/gen-libm-test.pl (parse_args): Handle results specified for
11333         each rounding mode separately.
11334         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11335         tests and results from lrint_tonearest_test_data,
11336         lrint_towardzero_test_data, lrint_downward_test_data and
11337         lrint_upward_test_data.
11338         (lrint_test): Use ALL_RM_TEST.
11339         (lrint_tonearest_test_data): Remove.
11340         (lrint_test_tonearest): Likewise.
11341         (lrint_towardzero_test_data): Likewise.
11342         (lrint_test_towardzero): Likewise.
11343         (lrint_downward_test_data): Likewise.
11344         (lrint_test_downward): Likewise.
11345         (lrint_upward_test_data): Likewise.
11346         (lrint_test_upward): Likewise.
11347         (llrint_test_data): Merge in per-rounding-mode tests and results
11348         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11349         llrint_downward_test_data and llrint_upward_test_data.
11350         (llrint_test): Use ALL_RM_TEST.
11351         (llrint_tonearest_test_data): Remove.
11352         (llrint_test_tonearest): Likewise.
11353         (llrint_towardzero_test_data): Likewise.
11354         (llrint_test_towardzero): Likewise.
11355         (llrint_downward_test_data): Likewise.
11356         (llrint_test_downward): Likewise.
11357         (llrint_upward_test_data): Likewise.
11358         (llrint_test_upward): Likewise.
11359         (rint_test_data): Merge in per-rounding-mode tests and results
11360         from rint_tonearest_test_data, rint_towardzero_test_data,
11361         rint_downward_test_data and rint_upward_test_data.  Add
11362         per-rounding-mode results for tests not in those arrays.
11363         (rint_test): Use ALL_RM_TEST.
11364         (rint_tonearest_test_data): Remove.
11365         (rint_test_tonearest): Likewise.
11366         (rint_towardzero_test_data): Likewise.
11367         (rint_test_towardzero): Likewise.
11368         (rint_downward_test_data): Likewise.
11369         (rint_test_downward): Likewise.
11370         (rint_upward_test_data): Likewise.
11371         (rint_test_upward): Likewise.
11372         (main): Don't call removed functions.
11374 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11376         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11377         "Compiled on ..." crapola.  It is anti-useful.
11379 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11381         * scripts/evaluate-test.sh: Handle fourth argument to determine
11382         whether test run should stop on failure.
11383         * Makeconfig (stop-on-test-failure): New variable.
11384         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11385         $(stop-on-test-failure).
11386         * Makefile (tests): Give a summary of results from testing and
11387         exit with failure status if they include an ERROR or FAIL.
11388         (xtests): Likewise.
11389         * manual/install.texi (Configuring and compiling): Mention
11390         stop-on-test-failure=y.
11391         * INSTALL: Regenerated.
11393 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11395         * scripts/versionlist.awk: New file.
11396         * Makerules [$(build-shared) = yes]
11397         (postclean-generated): Add Versions.def, not Versions.def.v and
11398         Versions.def.v.i.
11399         ($(common-objpfx)Versions.def.v.i): Target removed.
11400         ($(common-objpfx)Versions.def): New target.
11401         ($(common-objpfx)Versions.all): Depend on that rather that
11402         $(common-objpfx)Versions.def.v.
11403         * Versions.def: File removed.
11405         * Makeconfig (+gccwarn): Add -Wundef.
11406         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11407         a dl-sysdep.h breaking its contract.
11408         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11409         * include/stackinfo.h: New file.
11410         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11411         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11412         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11413         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11414         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11415         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11416         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11417         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11418         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11419         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11420         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11421         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11422         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11423         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11424         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11426 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11428         [BZ #16707]
11429         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11430         implementation.
11431         * math/libm-test.inc (round_test_data): Add more tests.
11433         [BZ #16706]
11434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11435         implementation.
11436         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11438         [BZ #16701]
11439         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11440         implementation.
11441         * math/libm-test.inc (ceil_test_data): Add more tests.
11443         * math/libm-test.inc (trunc_test_data): Add more tests related to
11444         BZ#16414.
11446 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11448         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11449         with #if rather than #ifdef.
11450         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11452 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11454         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11455         first.  Disable AVX-512 GCC support if assembler doesn't support
11456         it.
11457         * sysdeps/x86_64/configure: Regenerated.
11459 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11461         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11462         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11463         (__old_pthread_attr_setstack): Likewise.
11464         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11465         [!_STACK_GROWS_DOWN]: Likewise.
11467 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11469         * config.make.in (have-bash2): Delete.
11470         * configure.ac (libc_cv_have_bash2): Delete.
11471         * configure: Regenerate.
11472         * elf/Makefile (common-ldd-rewrite): Rename to ...
11473         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11474         (sh-ldd-rewrite): Delete.
11475         (bash-ldd-rewrite): Delete.
11476         (have-bash2): Delete checks.
11477         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11478         ldd-rewrite.
11480         * config.make.in (have-ksh): Delete.
11481         (KSH): Delete.
11482         * configure.ac (libc_cv_have_ksh): Delete.
11483         * configure: Regenerate.
11485         * elf/Makefile: Delete $(have-ksh) check.
11486         ($(objpfx)sotruss): Change KSH to BASH.
11487         * elf/sotruss.ksh: Rename to ...
11488         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11489         function style to match POSIX.  Drop ksh vim mode setting.
11491         * manual/time.texi (Specifying the Time Zone with TZ): Change
11492         Tuesday to Thursday.
11494         * debug/tst-longjmp_chk2.c: Update header comment.
11495         (stackoverflow_handler): Add comment.  Call assert on pass value.
11497 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11499         [BZ #16194]
11500         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11501         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11502         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11503         (La_x86_64_vector): Add zmm.
11504         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11505         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11506         ($(objpfx)tst-audit10): New target.
11507         ($(objpfx)tst-audit10.out): Likewise.
11508         (tst-audit10-ENV): New.
11509         (AVX512-CFLAGS): Likewise.
11510         (CFLAGS-tst-audit10.c): Likewise.
11511         (CFLAGS-tst-auditmod10a.c): Likewise.
11512         (CFLAGS-tst-auditmod10b.c): Likewise.
11513         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11514         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11515         * sysdeps/x86_64/configure: Regenerated.
11516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11517         AVX-512 zmm register support.
11518         (_dl_x86_64_save_sse): Likewise.
11519         (_dl_x86_64_restore_sse): Likewise.
11520         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11521         size vector registers.
11522         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11523         (ZMM_SIZE): Likewise.
11524         * sysdeps/x86_64/tst-audit10.c: New file.
11525         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11526         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11528 2014-03-13  Roland McGrath  <roland@hack.frob.com>
11530         * configure.ac (HAVE_EHDR_START): New check.
11531         * configure: Regenerated.
11532         * config.h.in (HAVE_EHDR_START): New #undef.
11533         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11534         assuming the lowest-addressed segment maps the start of the file.
11536 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
11538         * INSTALL: Regenerated.
11540 2014-03-13  Will Newton  <will.newton@linaro.org>
11542         * manual/setjmp.texi (System V contexts): Improve
11543         clarity and grammar of documentation.
11545 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11547         [BZ #16381]
11548         * elf/Makefile (tests): Add tst-pie2.
11549         (tests-pie): Add tst-pie2.
11550         * elf/tst-pie2.c: New file.
11551         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11552         for ET_EXEC.
11553         * elf/rtld.c (map_doit): Load executable as lt_executable.
11554         (dl_main): Likewise.
11556 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
11558         [BZ #16642]
11559         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11560         (__ASSUME_PSELECT): Undefine.
11562 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11564         [BZ #16689]
11565         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11566         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11567         static build.
11568         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11569         selector for static builds.
11571 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11573         [BZ #16695]
11574         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11575         key in the buffer.
11577 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11579         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11580         IFUNC selector for static builds.
11582 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
11584         * sysdeps/mips/math_private.h [__mips_hard_float]
11585         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11586         libc_feresetround_mips_ctx.
11587         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11588         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11589         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11591         [BZ #16677]
11592         * math/s_nextafter.c (__nextafter): Do not return value from
11593         overflowing computation.
11594         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11595         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11596         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11597         Likewise.
11598         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11599         Likewise.
11600         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11601         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11603 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11605         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11606         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11607         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11608         the new mov targetting sp.
11610 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11612         [BZ #16683]
11613         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11614         Define it for static builds as well.
11615         (NO_BZERO_IMPL): Likewise.
11617 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11619         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11620         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11621         multiarch strspn for PPC64.
11622         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11623         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11625         (__libc_ifunc_impl_list): Likewise.
11626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11627         multiarch optimizations
11628         * string/strspn.c (strspn): Using macro to redefine symbol name.
11630 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11631             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11633         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11634         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11635         multiarch strncat for PPC64.
11636         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11637         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11639         (__libc_ifunc_impl_list): Likewise.
11640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11641         multiarch optimizations
11643 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11645         [BZ #16639]
11646         * nscd/nscd.service: Make service type forking.
11648 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11650         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11651         sign in non default rounding modes.
11652         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11654 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11656         * math/libm-test.inc (ALL_RM_TEST): New macro.
11657         (ceil_test): Use ALL_RM_TEST.
11658         (cimag_test): Likewise.
11659         (conj_test): Likewise.
11660         (copysign_test): Likewise.
11661         (cproj_test): Likewise.
11662         (creal_test): Likewise.
11663         (fabs_test): Likewise.
11664         (floor_test): Likewise.
11665         (fmax_test): Likewise.
11666         (fmin_test): Likewise.
11667         (fmod_test): Likewise.
11668         (fpclassify_test): Likewise.
11669         (frexp_test): Likewise.
11670         (ilogb_test): Likewise.
11671         (isfinite_test): Likewise.
11672         (finite_test): Likewise.
11673         (isgreater_test): Likewise.
11674         (isgreaterequal_test): Likewise.
11675         (isinf_test): Likewise.
11676         (isless_test): Likewise.
11677         (islessequal_test): Likewise.
11678         (islessgreater_test): Likewise.
11679         (isnan_test): Likewise.
11680         (isnormal_test): Likewise.
11681         (issignaling_test): Likewise.
11682         (isunordered_test): Likewise.
11683         (logb_test): Likewise.
11684         (logb_downward_test_data): Remove.
11685         (logb_test_downward): Likewise.
11686         (lround_test): Use ALL_RM_TEST.
11687         (llround_test): Likewise.
11688         (modf_test): Likewise.
11689         (nexttoward_test): Likewise.
11690         (remainder_test): Likewise.
11691         (drem_test): Likewise.
11692         (remainder_tonearest_test_data): Likewise.
11693         (remainder_test_tonearest): Likewise.
11694         (drem_test_tonearest): Likewise.
11695         (remainder_towardzero_test_data): Likewise.
11696         (remainder_test_towardzero): Likewise.
11697         (drem_test_towardzero): Likewise.
11698         (remainder_downward_test_data): Likewise.
11699         (remainder_test_downward): Likewise.
11700         (drem_test_downward): Likewise.
11701         (remainder_upward_test_data): Likewise.
11702         (remainder_test_upward): Likewise.
11703         (drem_test_upward): Likewise.
11704         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11705         (round_test): Use ALL_RM_TEST.
11706         (signbit_test): Likewise.
11707         (trunc_test): Likewise.
11708         (significand_test): Likewise.
11709         (main): Don't call removed functions.
11711 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11713         [BZ #16674]
11714         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11715         || __USE_XOPEN2K8].
11716         (ILL_ILLOPN): Likewise.
11717         (ILL_ILLADR): Likewise.
11718         (ILL_ILLTRP): Likewise.
11719         (ILL_PRVOPC): Likewise.
11720         (ILL_PRVREG): Likewise.
11721         (ILL_COPROC): Likewise.
11722         (ILL_BADSTK): Likewise.
11723         (FPE_INTDIV): Likewise.
11724         (FPE_INTOVF): Likewise.
11725         (FPE_FLTDIV): Likewise.
11726         (FPE_FLTOVF): Likewise.
11727         (FPE_FLTUND): Likewise.
11728         (FPE_FLTRES): Likewise.
11729         (FPE_FLTINV): Likewise.
11730         (FPE_FLTSUB): Likewise.
11731         (SEGV_MAPERR): Likewise.
11732         (SEGV_ACCERR): Likewise.
11733         (BUS_ADRALN): Likewise.
11734         (BUS_ADRERR): Likewise.
11735         (BUS_OBJERR): Likewise.
11736         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11737         (TRAP_TRACE): Likewise.
11738         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11739         __USE_XOPEN2K8].
11740         (CLD_KILLED): Likewise.
11741         (CLD_DUMPED): Likewise.
11742         (CLD_TRAPPED): Likewise.
11743         (CLD_STOPPED): Likewise.
11744         (CLD_CONTINUED): Likewise.
11745         (POLL_IN): Likewise.
11746         (POLL_OUT): Likewise.
11747         (POLL_MSG): Likewise.
11748         (POLL_ERR): Likewise.
11749         (POLL_PRI): Likewise.
11750         (POLL_HUP): Likewise.
11751         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11752         Likewise.
11753         (ILL_ILLOPN): Likewise.
11754         (ILL_ILLADR): Likewise.
11755         (ILL_ILLTRP): Likewise.
11756         (ILL_PRVOPC): Likewise.
11757         (ILL_PRVREG): Likewise.
11758         (ILL_COPROC): Likewise.
11759         (ILL_BADSTK): Likewise.
11760         (FPE_INTDIV): Likewise.
11761         (FPE_INTOVF): Likewise.
11762         (FPE_FLTDIV): Likewise.
11763         (FPE_FLTOVF): Likewise.
11764         (FPE_FLTUND): Likewise.
11765         (FPE_FLTRES): Likewise.
11766         (FPE_FLTINV): Likewise.
11767         (FPE_FLTSUB): Likewise.
11768         (SEGV_MAPERR): Likewise.
11769         (SEGV_ACCERR): Likewise.
11770         (BUS_ADRALN): Likewise.
11771         (BUS_ADRERR): Likewise.
11772         (BUS_OBJERR): Likewise.
11773         (BUS_MCEERR_AR): Likewise.
11774         (BUS_MCEERR_AO): Likewise.
11775         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11776         (TRAP_TRACE): Likewise.
11777         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11778         __USE_XOPEN2K8].
11779         (CLD_KILLED): Likewise.
11780         (CLD_DUMPED): Likewise.
11781         (CLD_TRAPPED): Likewise.
11782         (CLD_STOPPED): Likewise.
11783         (CLD_CONTINUED): Likewise.
11784         (POLL_IN): Likewise.
11785         (POLL_OUT): Likewise.
11786         (POLL_MSG): Likewise.
11787         (POLL_ERR): Likewise.
11788         (POLL_PRI): Likewise.
11789         (POLL_HUP): Likewise.
11790         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11791         (ILL_ILLOPN): Likewise.
11792         (ILL_ILLADR): Likewise.
11793         (ILL_ILLTRP): Likewise.
11794         (ILL_PRVOPC): Likewise.
11795         (ILL_PRVREG): Likewise.
11796         (ILL_COPROC): Likewise.
11797         (ILL_BADSTK): Likewise.
11798         (FPE_INTDIV): Likewise.
11799         (FPE_INTOVF): Likewise.
11800         (FPE_FLTDIV): Likewise.
11801         (FPE_FLTOVF): Likewise.
11802         (FPE_FLTUND): Likewise.
11803         (FPE_FLTRES): Likewise.
11804         (FPE_FLTINV): Likewise.
11805         (FPE_FLTSUB): Likewise.
11806         (SEGV_MAPERR): Likewise.
11807         (SEGV_ACCERR): Likewise.
11808         (BUS_ADRALN): Likewise.
11809         (BUS_ADRERR): Likewise.
11810         (BUS_OBJERR): Likewise.
11811         (BUS_MCEERR_AR): Likewise.
11812         (BUS_MCEERR_AO): Likewise.
11813         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11814         (TRAP_TRACE): Likewise.
11815         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11816         __USE_XOPEN2K8].
11817         (CLD_KILLED): Likewise.
11818         (CLD_DUMPED): Likewise.
11819         (CLD_TRAPPED): Likewise.
11820         (CLD_STOPPED): Likewise.
11821         (CLD_CONTINUED): Likewise.
11822         (POLL_IN): Likewise.
11823         (POLL_OUT): Likewise.
11824         (POLL_MSG): Likewise.
11825         (POLL_ERR): Likewise.
11826         (POLL_PRI): Likewise.
11827         (POLL_HUP): Likewise.
11828         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11829         Likewise.
11830         (ILL_ILLOPN): Likewise.
11831         (ILL_ILLADR): Likewise.
11832         (ILL_ILLTRP): Likewise.
11833         (ILL_PRVOPC): Likewise.
11834         (ILL_PRVREG): Likewise.
11835         (ILL_COPROC): Likewise.
11836         (ILL_BADSTK): Likewise.
11837         (ILL_BADIADDR): Likewise.
11838         (ILL_BREAK): Likewise.
11839         (FPE_INTDIV): Likewise.
11840         (FPE_INTOVF): Likewise.
11841         (FPE_FLTDIV): Likewise.
11842         (FPE_FLTOVF): Likewise.
11843         (FPE_FLTUND): Likewise.
11844         (FPE_FLTRES): Likewise.
11845         (FPE_FLTINV): Likewise.
11846         (FPE_FLTSUB): Likewise.
11847         (FPE_DECOVF): Likewise.
11848         (FPE_DECDIV): Likewise.
11849         (FPE_DECERR): Likewise.
11850         (FPE_INVASC): Likewise.
11851         (FPE_INVDEC): Likewise.
11852         (SEGV_MAPERR): Likewise.
11853         (SEGV_ACCERR): Likewise.
11854         (SEGV_PSTKOVF): Likewise.
11855         (BUS_ADRALN): Likewise.
11856         (BUS_ADRERR): Likewise.
11857         (BUS_OBJERR): Likewise.
11858         (BUS_MCEERR_AR): Likewise.
11859         (BUS_MCEERR_AO): Likewise.
11860         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11861         (TRAP_TRACE): Likewise.
11862         (TRAP_BRANCH): Likewise.
11863         (TRAP_HWBKPT): Likewise.
11864         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11865         __USE_XOPEN2K8].
11866         (CLD_KILLED): Likewise.
11867         (CLD_DUMPED): Likewise.
11868         (CLD_TRAPPED): Likewise.
11869         (CLD_STOPPED): Likewise.
11870         (CLD_CONTINUED): Likewise.
11871         (POLL_IN): Likewise.
11872         (POLL_OUT): Likewise.
11873         (POLL_MSG): Likewise.
11874         (POLL_ERR): Likewise.
11875         (POLL_PRI): Likewise.
11876         (POLL_HUP): Likewise.
11877         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11878         (ILL_ILLOPN): Likewise.
11879         (ILL_ILLADR): Likewise.
11880         (ILL_ILLTRP): Likewise.
11881         (ILL_PRVOPC): Likewise.
11882         (ILL_PRVREG): Likewise.
11883         (ILL_COPROC): Likewise.
11884         (ILL_BADSTK): Likewise.
11885         (FPE_INTDIV): Likewise.
11886         (FPE_INTOVF): Likewise.
11887         (FPE_FLTDIV): Likewise.
11888         (FPE_FLTOVF): Likewise.
11889         (FPE_FLTUND): Likewise.
11890         (FPE_FLTRES): Likewise.
11891         (FPE_FLTINV): Likewise.
11892         (FPE_FLTSUB): Likewise.
11893         (SEGV_MAPERR): Likewise.
11894         (SEGV_ACCERR): Likewise.
11895         (BUS_ADRALN): Likewise.
11896         (BUS_ADRERR): Likewise.
11897         (BUS_OBJERR): Likewise.
11898         (BUS_MCEERR_AR): Likewise.
11899         (BUS_MCEERR_AO): Likewise.
11900         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11901         (TRAP_TRACE): Likewise.
11902         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11903         __USE_XOPEN2K8].
11904         (CLD_KILLED): Likewise.
11905         (CLD_DUMPED): Likewise.
11906         (CLD_TRAPPED): Likewise.
11907         (CLD_STOPPED): Likewise.
11908         (CLD_CONTINUED): Likewise.
11909         (POLL_IN): Likewise.
11910         (POLL_OUT): Likewise.
11911         (POLL_MSG): Likewise.
11912         (POLL_ERR): Likewise.
11913         (POLL_PRI): Likewise.
11914         (POLL_HUP): Likewise.
11915         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11916         (ILL_ILLOPN): Likewise.
11917         (ILL_ILLADR): Likewise.
11918         (ILL_ILLTRP): Likewise.
11919         (ILL_PRVOPC): Likewise.
11920         (ILL_PRVREG): Likewise.
11921         (ILL_COPROC): Likewise.
11922         (ILL_BADSTK): Likewise.
11923         (FPE_INTDIV): Likewise.
11924         (FPE_INTOVF): Likewise.
11925         (FPE_FLTDIV): Likewise.
11926         (FPE_FLTOVF): Likewise.
11927         (FPE_FLTUND): Likewise.
11928         (FPE_FLTRES): Likewise.
11929         (FPE_FLTINV): Likewise.
11930         (FPE_FLTSUB): Likewise.
11931         (SEGV_MAPERR): Likewise.
11932         (SEGV_ACCERR): Likewise.
11933         (BUS_ADRALN): Likewise.
11934         (BUS_ADRERR): Likewise.
11935         (BUS_OBJERR): Likewise.
11936         (BUS_MCEERR_AR): Likewise.
11937         (BUS_MCEERR_AO): Likewise.
11938         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11939         (TRAP_TRACE): Likewise.
11940         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11941         __USE_XOPEN2K8].
11942         (CLD_KILLED): Likewise.
11943         (CLD_DUMPED): Likewise.
11944         (CLD_TRAPPED): Likewise.
11945         (CLD_STOPPED): Likewise.
11946         (CLD_CONTINUED): Likewise.
11947         (POLL_IN): Likewise.
11948         (POLL_OUT): Likewise.
11949         (POLL_MSG): Likewise.
11950         (POLL_ERR): Likewise.
11951         (POLL_PRI): Likewise.
11952         (POLL_HUP): Likewise.
11953         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11954         (ILL_ILLOPN): Likewise.
11955         (ILL_ILLADR): Likewise.
11956         (ILL_ILLTRP): Likewise.
11957         (ILL_PRVOPC): Likewise.
11958         (ILL_PRVREG): Likewise.
11959         (ILL_COPROC): Likewise.
11960         (ILL_BADSTK): Likewise.
11961         (FPE_INTDIV): Likewise.
11962         (FPE_INTOVF): Likewise.
11963         (FPE_FLTDIV): Likewise.
11964         (FPE_FLTOVF): Likewise.
11965         (FPE_FLTUND): Likewise.
11966         (FPE_FLTRES): Likewise.
11967         (FPE_FLTINV): Likewise.
11968         (FPE_FLTSUB): Likewise.
11969         (SEGV_MAPERR): Likewise.
11970         (SEGV_ACCERR): Likewise.
11971         (BUS_ADRALN): Likewise.
11972         (BUS_ADRERR): Likewise.
11973         (BUS_OBJERR): Likewise.
11974         (BUS_MCEERR_AR): Likewise.
11975         (BUS_MCEERR_AO): Likewise.
11976         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11977         (TRAP_TRACE): Likewise.
11978         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11979         __USE_XOPEN2K8].
11980         (CLD_KILLED): Likewise.
11981         (CLD_DUMPED): Likewise.
11982         (CLD_TRAPPED): Likewise.
11983         (CLD_STOPPED): Likewise.
11984         (CLD_CONTINUED): Likewise.
11985         (POLL_IN): Likewise.
11986         (POLL_OUT): Likewise.
11987         (POLL_MSG): Likewise.
11988         (POLL_ERR): Likewise.
11989         (POLL_PRI): Likewise.
11990         (POLL_HUP): Likewise.
11991         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11992         (ILL_ILLOPN): Likewise.
11993         (ILL_ILLADR): Likewise.
11994         (ILL_ILLTRP): Likewise.
11995         (ILL_PRVOPC): Likewise.
11996         (ILL_PRVREG): Likewise.
11997         (ILL_COPROC): Likewise.
11998         (ILL_BADSTK): Likewise.
11999         (ILL_DBLFLT): Likewise.
12000         (ILL_HARDWALL): Likewise.
12001         (FPE_INTDIV): Likewise.
12002         (FPE_INTOVF): Likewise.
12003         (FPE_FLTDIV): Likewise.
12004         (FPE_FLTOVF): Likewise.
12005         (FPE_FLTUND): Likewise.
12006         (FPE_FLTRES): Likewise.
12007         (FPE_FLTINV): Likewise.
12008         (FPE_FLTSUB): Likewise.
12009         (SEGV_MAPERR): Likewise.
12010         (SEGV_ACCERR): Likewise.
12011         (BUS_ADRALN): Likewise.
12012         (BUS_ADRERR): Likewise.
12013         (BUS_OBJERR): Likewise.
12014         (BUS_MCEERR_AR): Likewise.
12015         (BUS_MCEERR_AO): Likewise.
12016         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12017         (TRAP_TRACE): Likewise.
12018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12019         __USE_XOPEN2K8].
12020         (CLD_KILLED): Likewise.
12021         (CLD_DUMPED): Likewise.
12022         (CLD_TRAPPED): Likewise.
12023         (CLD_STOPPED): Likewise.
12024         (CLD_CONTINUED): Likewise.
12025         (POLL_IN): Likewise.
12026         (POLL_OUT): Likewise.
12027         (POLL_MSG): Likewise.
12028         (POLL_ERR): Likewise.
12029         (POLL_PRI): Likewise.
12030         (POLL_HUP): Likewise.
12031         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12032         (ILL_ILLOPN): Likewise.
12033         (ILL_ILLADR): Likewise.
12034         (ILL_ILLTRP): Likewise.
12035         (ILL_PRVOPC): Likewise.
12036         (ILL_PRVREG): Likewise.
12037         (ILL_COPROC): Likewise.
12038         (ILL_BADSTK): Likewise.
12039         (FPE_INTDIV): Likewise.
12040         (FPE_INTOVF): Likewise.
12041         (FPE_FLTDIV): Likewise.
12042         (FPE_FLTOVF): Likewise.
12043         (FPE_FLTUND): Likewise.
12044         (FPE_FLTRES): Likewise.
12045         (FPE_FLTINV): Likewise.
12046         (FPE_FLTSUB): Likewise.
12047         (SEGV_MAPERR): Likewise.
12048         (SEGV_ACCERR): Likewise.
12049         (BUS_ADRALN): Likewise.
12050         (BUS_ADRERR): Likewise.
12051         (BUS_OBJERR): Likewise.
12052         (BUS_MCEERR_AR): Likewise.
12053         (BUS_MCEERR_AO): Likewise.
12054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12055         (TRAP_TRACE): Likewise.
12056         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12057         __USE_XOPEN2K8].
12058         (CLD_KILLED): Likewise.
12059         (CLD_DUMPED): Likewise.
12060         (CLD_TRAPPED): Likewise.
12061         (CLD_STOPPED): Likewise.
12062         (CLD_CONTINUED): Likewise.
12063         (POLL_IN): Likewise.
12064         (POLL_OUT): Likewise.
12065         (POLL_MSG): Likewise.
12066         (POLL_ERR): Likewise.
12067         (POLL_PRI): Likewise.
12068         (POLL_HUP): Likewise.
12069         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12070         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12072         [BZ #16670]
12073         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12074         before #include of <time.h>.
12075         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12076         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12077         (test-xfail-UNIX98/sched.h/conform): Likewise.
12079 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12081         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12082         error absence of trapping exception support.
12083         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12085 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12087         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12088         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12089         * timezone/Makefile (testdata): Move definition above include of
12090         Rules.
12091         (test-zones): New variable.
12092         (tests-special): Add zone files.
12093         (build-testdata): Use $(evaluate-test).
12095         * elf/Makefile (tests-special): Rename tests to end with .out.
12096         ($(objpfx)noload-mem): Likewise.
12097         ($(objpfx)tst-leaks1-mem): Likewise.
12098         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12099         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12100         $(objpfx)test-iconvconfig.out.
12101         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12102         set -e inside subshell and redirect output to file.
12103         * iconvdata/Makefile (generated): Rename tests to end with .out.
12104         Correct type.
12105         (tests-special): Rename tests to end with .out.
12106         ($(objpfx)mtrace-tst-loading): Likewise.
12107         * intl/Makefile (generated): Likewise.
12108         (tests-special): Likewise.
12109         ($(objpfx)mtrace-tst-gettext): Likewise.
12110         * misc/Makefile (generated): Likewise.
12111         (tests-special): Likewise.
12112         ($(objpfx)tst-error1-mem): Likewise.
12113         * nptl/Makefile (tests-special): Likewise.
12114         ($(objpfx)tst-stack3-mem): Likewise.
12115         (generated): Likewise.
12116         * posix/Makefile (generated): Likewise.
12117         (tests-special): Likewise.
12118         (xtests-special): Likewise.
12119         ($(objpfx)tst-fnmatch-mem): Likewise.
12120         ($(objpfx)bug-regex2-mem): Likewise.
12121         ($(objpfx)bug-regex14-mem): Likewise.
12122         ($(objpfx)bug-regex21-mem): Likewise.
12123         ($(objpfx)bug-regex31-mem): Likewise.
12124         ($(objpfx)tst-vfork3-mem): Likewise.
12125         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12126         ($(objpfx)tst-pcre-mem): Likewise.
12127         ($(objpfx)tst-boost-mem): Likewise.
12128         ($(objpfx)bug-ga2-mem): Likewise.
12129         ($(objpfx)bug-glob2-mem): Likewise.
12130         * resolv/Makefile (generate): Likewise.
12131         (tests-special): Likewise.
12132         (xtests-special): Likewise.
12133         (generated): Likewise.
12134         ($(objpfx)mtrace-tst-leaks): Likewise.
12135         ($(objpfx)mtrace-tst-leaks2): Likewise.
12137         * scripts/merge-test-results.sh: New file.
12138         * Makefile (tests-special-notdir): New variable.
12139         (tests): Run merge-test-results.sh.
12140         (xtests): Likewise.
12141         * Rules (tests-special-notdir): New variable.
12142         (xtests-special-notdir): Likewise.
12143         (tests): Run merge-test-results.sh
12144         (xtests): Likewise.
12146         * Makeconfig (test-xfail-name): New variable.
12147         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12148         compute variable name for expected failures.
12149         * conform/Makefile (conformtest-headers-data): New variable.
12150         (conformtest-standards): Likewise.
12151         (conformtest-headers-ISO): Likewise.
12152         (conformtest-headers-ISO99): Likewise.
12153         (conformtest-headers-ISO11): Likewise.
12154         (conformtest-headers-POSIX): Likewise.
12155         (conformtest-headers-XPG3): Likewise.
12156         (conformtest-headers-XPG4): Likewise.
12157         (conformtest-headers-UNIX98): Likewise.
12158         (conformtest-headers-XOPEN2K): Likewise.
12159         (conformtest-headers-POSIX2008): Likewise.
12160         (conformtest-headers-XOPEN2K8): Likewise.
12161         (conformtest-header-list-base): Likewise.
12162         (conformtest-header-list-tests): Likewise.
12163         (conformtest-header-base): Likewise.
12164         (conformtest-header-tests): Likewise.
12165         (tests-special): Add $(conformtest-header-list-tests).  If
12166         [$(fast-check) && !$(cross-compiling)], add
12167         $(conformtest-header-tests) instead of
12168         $(objpfx)run-conformtest.out.
12169         (generated): Add $(conformtest-header-list-base).  If
12170         [$(fast-check) && !$(cross-compiling)], add
12171         $(conformtest-header-base).  Remove previous setting.
12172         ($(conformtest-header-list-tests)): New target.
12173         (test-xfail-run-conformtest): Remove variable.
12174         ($(objpfx)run-conformtest.out): Remove target.
12175         (test-xfail-ISO11/complex.h/conform): New variable.
12176         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12177         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12178         (test-xfail-XPG3/varargs.h/conform): Likewise.
12179         (test-xfail-XPG4/varargs.h/conform): Likewise.
12180         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12181         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12182         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12183         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12184         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12185         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12186         (test-xfail-XPG3/ftw.h/conform): Likewise.
12187         (test-xfail-XPG3/grp.h/conform): Likewise.
12188         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12189         (test-xfail-XPG3/limits.h/conform): Likewise.
12190         (test-xfail-XPG3/pwd.h/conform): Likewise.
12191         (test-xfail-XPG3/search.h/conform): Likewise.
12192         (test-xfail-XPG3/signal.h/conform): Likewise.
12193         (test-xfail-XPG3/stdio.h/conform): Likewise.
12194         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12195         (test-xfail-XPG3/string.h/conform): Likewise.
12196         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12197         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12198         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12199         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12200         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12201         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12202         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12203         (test-xfail-XPG3/termios.h/conform): Likewise.
12204         (test-xfail-XPG3/time.h/conform): Likewise.
12205         (test-xfail-XPG3/unistd.h/conform): Likewise.
12206         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12207         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12208         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12209         (test-xfail-XPG4/netdb.h/conform): Likewise.
12210         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12211         (test-xfail-XPG4/signal.h/conform): Likewise.
12212         (test-xfail-XPG4/stdio.h/conform): Likewise.
12213         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12214         (test-xfail-XPG4/stropts.h/conform): Likewise.
12215         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12216         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12217         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12218         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12219         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12220         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12221         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12222         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12223         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12224         (test-xfail-XPG4/termios.h/conform): Likewise.
12225         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12226         (test-xfail-XPG4/unistd.h/conform): Likewise.
12227         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12228         (test-xfail-POSIX/sched.h/conform): Likewise.
12229         (test-xfail-POSIX/signal.h/conform): Likewise.
12230         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12231         (test-xfail-POSIX/tar.h/conform): Likewise.
12232         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12233         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12234         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12235         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12236         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12237         (test-xfail-UNIX98/sched.h/conform): Likewise.
12238         (test-xfail-UNIX98/signal.h/conform): Likewise.
12239         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12240         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12241         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12242         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12243         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12244         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12245         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12246         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12247         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12248         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12249         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12250         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12251         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12252         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12253         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12254         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12255         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12256         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12257         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12258         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12259         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12260         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12261         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12262         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12263         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12264         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12265         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12266         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12267         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12268         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12269         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12270         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12271         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12272         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12273         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12274         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12275         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12276         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12277         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12278         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12279         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12280         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12281         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12282         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12283         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12284         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12285         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12286         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12287         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12288         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12289         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12290         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12291         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12292         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12293         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12294         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12295         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12296         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12297         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12298         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12299         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12300         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12301         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12302         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12303         (conformtest-cc-flags): Likewise.
12304         ($(conformtest-header-tests): New target.
12305         * conform/check-header-lists.sh: New file.
12306         * conform/run-conformtest.sh: Remove.
12308         * conform/conformtest.pl: Allow ' and \ in values given for
12309         constants.
12310         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12311         inclusion.
12312         [POSIX] (sys/types.h): Likewise.
12313         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12314         inclusion.
12315         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12316         inclusion.
12317         * conform/data/signal.h-data (SIGIO): Remove expectation.
12318         [XPG3] (SIGBUS): Do not expect.
12319         [POSIX || XPG3] (SIGPOLL): Likewise.
12320         [POSIX || XPG3] (SIGPROF): Likewise.
12321         [POSIX || XPG3] (SIGSYS): Likewise.
12322         [XPG3] (SIGTRAP): Likewise.
12323         [POSIX || XPG3] (SIGURG): Likewise.
12324         [POSIX || XPG3] (SIGVTALRM): Likewise.
12325         [POSIX || XPG3] (SIGXCPU): Likewise.
12326         [POSIX || XPG3] (SIGXFSZ): Likewise.
12327         [POSIX] (SA_SIGINFO): Expect.
12328         [XPG3] (siginfo_t): Do not expect type or contents.
12329         [POSIX] (si_pid): Do not expect element.
12330         [POSIX] (si_uid): Likewise.
12331         [POSIX] (si_addr): Likewise.
12332         [POSIX] (si_status): Likewise.
12333         [POSIX] (si_band): Likewise.
12334         [XPG4] (si_value): Likewise.
12335         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12336         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12337         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12338         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12339         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12340         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12341         [POSIX || XPG3] (ILL_COPROC): Likewise.
12342         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12343         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12344         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12345         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12346         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12347         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12348         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12349         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12350         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12351         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12352         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12353         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12354         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12355         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12356         [POSIX || XPG3] (CLD_EXITED): Likewise.
12357         [POSIX || XPG3] (CLD_KILLED): Likewise.
12358         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12359         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12360         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12361         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12362         [POSIX || XPG3] (POLL_IN): Likewise.
12363         [POSIX || XPG3] (POLL_OUT): Likewise.
12364         [POSIX || XPG3] (POLL_MSG): Likewise.
12365         [POSIX || XPG3] (POLL_ERR): Likewise.
12366         [POSIX || XPG3] (POLL_PRI): Likewise.
12367         [POSIX || XPG3] (POLL_HUP): Likewise.
12368         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12369         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12370         (SIG*): Do not allow.
12371         [XPG3] (si_*): Likewise.
12372         [XPG3] (SI_*): Likewise.
12373         [XPG3 || XPG4] (sigev_*): Likewise.
12374         [XPG3 || XPG4] (SIGEV_*): Likewise.
12375         [XPG3 || XPG4] (sival_*): Likewise.
12376         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12377         [POSIX || XPG3] (BUS_*): Likewise.
12378         [POSIX || XPG3] (CLD_*): Likewise.
12379         [POSIX || XPG3] (FPE_*): Likewise.
12380         [POSIX || XPG3] (ILL_*): Likewise.
12381         [POSIX || XPG3] (POLL_*): Likewise.
12382         [POSIX || XPG3] (SEGV_*): Likewise.
12383         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12384         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12385         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12386         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12387         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12388         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12389         Specify type and value.
12390         (TVERSLEN): Likewise.
12391         (REGTYPE): Likewise.
12392         (AREGTYPE): Likewise.
12393         (LNKTYPE): Likewise.
12394         (SYMTYPE): Likewise.
12395         (CHRTYPE): Likewise.
12396         (BLKTYPE): Likewise.
12397         (DIRTYPE): Likewise.
12398         (FIFOTYPE): Likewise.
12399         (CONTTYPE): Likewise.
12400         (TSUID): Likewise.
12401         (TSGID): Likewise.
12402         (TSVTX): Likewise.
12403         (TUREAD): Likewise.
12404         (TUWRITE): Likewise.
12405         (TUEXEC): Likewise.
12406         (TGREAD): Likewise.
12407         (TGWRITE): Likewise.
12408         (TGEXEC): Likewise.
12409         (TOREAD): Likewise.
12410         (TOWRITE): Likewise.
12411         (TOEXEC): Likewise.
12412         [POSIX] (TSVTX): Expect constant.
12414 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12416         * Makefile (tests): Change dependencies to ....
12417         (tests-special): ... additions to this variable.
12418         (tests): Depend on $(tests-special).
12419         * Makerules (check-abi-list): New variable.
12420         (check-abi): Depend on $(check-abi-list).
12421         [$(subdir) = elf] (tests-special): Add
12422         $(objpfx)check-abi-libc.out.
12423         [$(build-shared) = yes && subdir] (tests-special): Add
12424         $(check-abi-list).
12425         [$(build-shared) = yes && subdir] (tests): Do not depend on
12426         check-abi.
12427         * Rules (tests): Depend on $(tests-special).
12428         (xtests): Depend on $(xtests-special).
12429         * catgets/Makefile (tests): Change dependencies to ....
12430         (tests-special): ... additions to this variable.
12431         * conform/Makefile (tests): Change dependencies to ....
12432         (tests-special): ... additions to this variable.
12433         * elf/Makefile (tests): Change dependencies to ....
12434         (tests-special): ... additions to this variable.
12435         * grp/Makefile (tests): Change dependencies to ....
12436         (tests-special): ... additions to this variable.
12437         * iconv/Makefile (xtests): Change dependencies to ....
12438         (xtests-special): ... additions to this variable.
12439         * iconvdata/Makefile (tests): Change dependencies to ....
12440         (tests-special): ... additions to this variable.
12441         * intl/Makefile (tests): Change dependencies to ....
12442         (tests-special): ... additions to this variable.  Also add
12443         $(objpfx)tst-gettext.out.
12444         * io/Makefile (tests): Change dependencies to ....
12445         (tests-special): ... additions to this variable.
12446         * libio/Makefile (tests): Change dependencies to ....
12447         (tests-special): ... additions to this variable.
12448         * malloc/Makefile (tests): Change dependencies to ....
12449         (tests-special): ... additions to this variable.
12450         * misc/Makefile (tests): Change dependencies to ....
12451         (tests-special): ... additions to this variable.
12452         * nptl/Makefile (tests): Change dependencies to ....
12453         (tests-special): ... additions to this variable.
12454         * nptl_db/Makefile (tests): Change dependencies to ....
12455         (tests-special): ... additions to this variable.
12456         * posix/Makefile (tests): Change dependencies to ....
12457         (tests-special): ... additions to this variable.
12458         (xtests): Change dependencies to ....
12459         (xtests-special): ... additions to this variable.
12460         * resolv/Makefile (tests): Change dependencies to ....
12461         (tests-special): ... additions to this variable.
12462         (xtests): Change dependencies to ....
12463         (xtests-special): ... additions to this variable.
12464         * stdio-common/Makefile (tests): Change dependencies to ....
12465         (tests-special): ... additions to this variable.
12466         (do-tst-unbputc): Remove target.
12467         (do-tst-printf): Likewise.
12468         * stdlib/Makefile (tests): Change dependencies to ....
12469         (tests-special): ... additions to this variable.
12470         * string/Makefile (tests): Change dependencies to ....
12471         (tests-special): ... additions to this variable.
12472         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12473         (tests-special): ... additions to this variable.
12475         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12476         whole file.
12477         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12478         whole file.
12479         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12480         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12482         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12483         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12484         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12485         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12486         * conform/data/libgen.h-data [XPG3]: Likewise.
12487         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12488         * conform/data/ndbm.h-data [XPG3]: Likewise.
12489         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12490         * conform/data/netdb.h-data [XPG3]: Likewise.
12491         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12492         * conform/data/poll.h-data [XPG3]: Likewise.
12493         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12494         * conform/data/strings.h-data [XPG3]: Likewise.
12495         * conform/data/stropts.h-data [XPG3]: Likewise.
12496         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12497         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12498         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12499         Likewise.
12500         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12501         * conform/data/sys/time.h-data [XPG3]: Likewise.
12502         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12503         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12504         * conform/data/sys/un.h-data [XPG3]: Likewise.
12505         * conform/data/syslog.h-data [XPG3]: Likewise.
12506         * conform/data/ucontext.h-data [XPG3]: Likewise.
12507         * conform/data/utmpx.h-data [XPG3]: Likewise.
12508         * conform/data/varargs.h-data [UNIX98]: Enable file.
12510         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12512         * math/libm-test.inc (struct test_f_f_data): Move expected results
12513         into structure for each rounding mode.
12514         (struct test_ff_f_data): Likewise.
12515         (struct test_ff_f_data_nexttoward): Likewise.
12516         (struct test_fi_f_data): Likewise.
12517         (struct test_fl_f_data): Likewise.
12518         (struct test_if_f_data): Likewise.
12519         (struct test_fff_f_data): Likewise.
12520         (struct test_c_f_data): Likewise.
12521         (struct test_f_f1_data): Likewise.
12522         (struct test_fF_f1_data): Likewise.
12523         (struct test_ffI_f1_data): Likewise.
12524         (struct test_c_c_data): Likewise.
12525         (struct test_cc_c_data): Likewise.
12526         (struct test_f_i_data): Likewise.
12527         (struct test_ff_i_data): Likewise.
12528         (struct test_f_l_data): Likewise.
12529         (struct test_f_L_data): Likewise.
12530         (struct test_fFF_11_data): Likewise.
12531         (RM_): New macro.
12532         (RM_FE_DOWNWARD): Likewise.
12533         (RM_FE_TONEAREST): Likewise.
12534         (RM_FE_TOWARDZERO): Likewise.
12535         (RM_FE_UPWARD): Likewise.
12536         (RUN_TEST_LOOP_f_f): Update references to expected results.
12537         (RUN_TEST_LOOP_2_f): Likewise.
12538         (RUN_TEST_LOOP_fff_f): Likewise.
12539         (RUN_TEST_LOOP_c_f): Likewise.
12540         (RUN_TEST_LOOP_f_f1): Likewise.
12541         (RUN_TEST_LOOP_fF_f1): Likewise.
12542         (RUN_TEST_LOOP_fI_f1): Likewise.
12543         (RUN_TEST_LOOP_ffI_f1): Likewise.
12544         (RUN_TEST_LOOP_c_c): Likewise.
12545         (RUN_TEST_LOOP_cc_c): Likewise.
12546         (RUN_TEST_LOOP_f_i): Likewise.
12547         (RUN_TEST_LOOP_f_i_tg): Likewise.
12548         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12549         (RUN_TEST_LOOP_f_b): Likewise.
12550         (RUN_TEST_LOOP_f_b_tg): Likewise.
12551         (RUN_TEST_LOOP_f_l): Likewise.
12552         (RUN_TEST_LOOP_f_L): Likewise.
12553         (RUN_TEST_LOOP_fFF_11): Likewise.
12554         * math/gen-libm-test.pl (parse_args): Output four copies of
12555         expected results for each test.
12557         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12558         (__ASSUME_UTIMES): Remove.
12559         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12560         (__ASSUME_UTIMES): Likewise.
12562         * math/gen-auto-libm-tests.c: Update comment on output format.
12563         (output_for_one_input_case): Generate before-rounding and
12564         after-rounding information as conditions on output flags not
12565         floating-point format.
12566         * math/auto-libm-test-out: Regenerated.
12567         * math/gen-libm-test.pl (cond_value): New function.
12568         (or_cond_value): Use cond_value.
12569         (generate_testfile): Handle conditional exceptions.
12571 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
12573         * math/libm-test.inc (max_valid_error): New variable.
12574         (init_max_error): Take new argument specifying whether function
12575         results are exactly determined.  Set max_valid_error and bound
12576         other variables for errors based on this argument.
12577         (set_max_error): Do not record results above max_valid_error.
12578         (check_float_internal): Only accept errors of up to 0.5ulps if
12579         also at most max_valid_error.
12580         (START): Take new argument EXACT and pass it to init_max_error.
12581         (acos_test): Update call to START.
12582         (acos_test_tonearest): Likewise.
12583         (acos_test_towardzero): Likewise.
12584         (acos_test_downward): Likewise.
12585         (acos_test_upward): Likewise.
12586         (acosh_test): Likewise.
12587         (asin_test): Likewise.
12588         (asin_test_tonearest): Likewise.
12589         (asin_test_towardzero): Likewise.
12590         (asin_test_downward): Likewise.
12591         (asin_test_upward): Likewise.
12592         (asinh_test): Likewise.
12593         (atan_test): Likewise.
12594         (atanh_test): Likewise.
12595         (atan2_test): Likewise.
12596         (cabs_test): Likewise.
12597         (cacos_test): Likewise.
12598         (cacosh_test): Likewise.
12599         (carg_test): Likewise.
12600         (casin_test): Likewise.
12601         (casinh_test): Likewise.
12602         (catan_test): Likewise.
12603         (catanh_test): Likewise.
12604         (cbrt_test): Likewise.
12605         (ccos_test): Likewise.
12606         (ccosh_test): Likewise.
12607         (ceil_test): Likewise.
12608         (cexp_test): Likewise.
12609         (cimag_test): Likewise.
12610         (clog_test): Likewise.
12611         (clog10_test): Likewise.
12612         (conj_test): Likewise.
12613         (copysign_test): Likewise.
12614         (cos_test): Likewise.
12615         (cos_test_tonearest): Likewise.
12616         (cos_test_towardzero): Likewise.
12617         (cos_test_downward): Likewise.
12618         (cos_test_upward): Likewise.
12619         (cosh_test): Likewise.
12620         (cosh_test_tonearest): Likewise.
12621         (cosh_test_towardzero): Likewise.
12622         (cosh_test_downward): Likewise.
12623         (cosh_test_upward): Likewise.
12624         (cpow_test): Likewise.
12625         (cproj_test): Likewise.
12626         (creal_test): Likewise.
12627         (csin_test): Likewise.
12628         (csinh_test): Likewise.
12629         (csqrt_test): Likewise.
12630         (ctan_test): Likewise.
12631         (ctan_test_tonearest): Likewise.
12632         (ctan_test_towardzero): Likewise.
12633         (ctan_test_downward): Likewise.
12634         (ctan_test_upward): Likewise.
12635         (ctanh_test): Likewise.
12636         (ctanh_test_tonearest): Likewise.
12637         (ctanh_test_towardzero): Likewise.
12638         (ctanh_test_downward): Likewise.
12639         (ctanh_test_upward): Likewise.
12640         (erf_test): Likewise.
12641         (erfc_test): Likewise.
12642         (exp_test): Likewise.
12643         (exp_test_tonearest): Likewise.
12644         (exp_test_towardzero): Likewise.
12645         (exp_test_downward): Likewise.
12646         (exp_test_upward): Likewise.
12647         (exp10_test): Likewise.
12648         (exp10_test_tonearest): Likewise.
12649         (exp10_test_towardzero): Likewise.
12650         (exp10_test_downward): Likewise.
12651         (exp10_test_upward): Likewise.
12652         (pow10_test): Likewise.
12653         (exp2_test): Likewise.
12654         (expm1_test): Likewise.
12655         (expm1_test_tonearest): Likewise.
12656         (expm1_test_towardzero): Likewise.
12657         (expm1_test_downward): Likewise.
12658         (expm1_test_upward): Likewise.
12659         (fabs_test): Likewise.
12660         (fdim_test): Likewise.
12661         (floor_test): Likewise.
12662         (fma_test): Likewise.
12663         (fma_test_towardzero): Likewise.
12664         (fma_test_downward): Likewise.
12665         (fma_test_upward): Likewise.
12666         (fmax_test): Likewise.
12667         (fmin_test): Likewise.
12668         (fmod_test): Likewise.
12669         (fpclassify_test): Likewise.
12670         (frexp_test): Likewise.
12671         (hypot_test): Likewise.
12672         (ilogb_test): Likewise.
12673         (isfinite_test): Likewise.
12674         (finite_test): Likewise.
12675         (isgreater_test): Likewise.
12676         (isgreaterequal_test): Likewise.
12677         (isinf_test): Likewise.
12678         (isless_test): Likewise.
12679         (islessequal_test): Likewise.
12680         (islessgreater_test): Likewise.
12681         (isnan_test): Likewise.
12682         (isnormal_test): Likewise.
12683         (issignaling_test): Likewise.
12684         (isunordered_test): Likewise.
12685         (j0_test): Likewise.
12686         (j1_test): Likewise.
12687         (jn_test): Likewise.
12688         (ldexp_test): Likewise.
12689         (lgamma_test): Likewise.
12690         (gamma_test): Likewise.
12691         (lrint_test): Likewise.
12692         (lrint_test_tonearest): Likewise.
12693         (lrint_test_towardzero): Likewise.
12694         (lrint_test_downward): Likewise.
12695         (lrint_test_upward): Likewise.
12696         (llrint_test): Likewise.
12697         (llrint_test_tonearest): Likewise.
12698         (llrint_test_towardzero): Likewise.
12699         (llrint_test_downward): Likewise.
12700         (llrint_test_upward): Likewise.
12701         (log_test): Likewise.
12702         (log10_test): Likewise.
12703         (log1p_test): Likewise.
12704         (log2_test): Likewise.
12705         (logb_test): Likewise.
12706         (logb_test_downward): Likewise.
12707         (lround_test): Likewise.
12708         (llround_test): Likewise.
12709         (modf_test): Likewise.
12710         (nearbyint_test): Likewise.
12711         (nextafter_test): Likewise.
12712         (nexttoward_test): Likewise.
12713         (pow_test): Likewise.
12714         (pow_test_tonearest): Likewise.
12715         (pow_test_towardzero): Likewise.
12716         (pow_test_downward): Likewise.
12717         (pow_test_upward): Likewise.
12718         (remainder_test): Likewise.
12719         (drem_test): Likewise.
12720         (remainder_test_tonearest): Likewise.
12721         (drem_test_tonearest): Likewise.
12722         (remainder_test_towardzero): Likewise.
12723         (drem_test_towardzero): Likewise.
12724         (remainder_test_downward): Likewise.
12725         (drem_test_downward): Likewise.
12726         (remainder_test_upward): Likewise.
12727         (drem_test_upward): Likewise.
12728         (remquo_test): Likewise.
12729         (rint_test): Likewise.
12730         (rint_test_tonearest): Likewise.
12731         (rint_test_towardzero): Likewise.
12732         (rint_test_downward): Likewise.
12733         (rint_test_upward): Likewise.
12734         (round_test): Likewise.
12735         (scalb_test): Likewise.
12736         (scalbn_test): Likewise.
12737         (scalbln_test): Likewise.
12738         (signbit_test): Likewise.
12739         (sin_test): Likewise.
12740         (sin_test_tonearest): Likewise.
12741         (sin_test_towardzero): Likewise.
12742         (sin_test_downward): Likewise.
12743         (sin_test_upward): Likewise.
12744         (sincos_test): Likewise.
12745         (sinh_test): Likewise.
12746         (sinh_test_tonearest): Likewise.
12747         (sinh_test_towardzero): Likewise.
12748         (sinh_test_downward): Likewise.
12749         (sinh_test_upward): Likewise.
12750         (sqrt_test): Likewise.
12751         (sqrt_test_tonearest): Likewise.
12752         (sqrt_test_towardzero): Likewise.
12753         (sqrt_test_downward): Likewise.
12754         (sqrt_test_upward): Likewise.
12755         (tan_test): Likewise.
12756         (tan_test_tonearest): Likewise.
12757         (tan_test_towardzero): Likewise.
12758         (tan_test_downward): Likewise.
12759         (tan_test_upward): Likewise.
12760         (tanh_test): Likewise.
12761         (tgamma_test): Likewise.
12762         (trunc_test): Likewise.
12763         (y0_test): Likewise.
12764         (y1_test): Likewise.
12765         (yn_test): Likewise.
12766         (significand_test): Likewise.
12768         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12769         individual tests in comment.
12770         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12771         (prev_max_error): New variable.
12772         (prev_real_max_error): Likewise.
12773         (prev_imag_max_error): Likewise.
12774         (compare_ulp_data): Don't refer to test names in comment.
12775         (find_test_ulps): Remove function.
12776         (find_function_ulps): Likewise.
12777         (find_complex_function_ulps): Likewise.
12778         (init_max_error): Take function name as argument.  Look up ulps
12779         for that function.
12780         (print_ulps): Remove function.
12781         (print_max_error): Use prev_max_error instead of calling
12782         find_function_ulps.
12783         (print_complex_max_error): Use prev_real_max_error and
12784         prev_imag_max_error instead of calling find_complex_function_ulps.
12785         (check_float_internal): Take max_ulp parameter instead of calling
12786         find_test_ulps.  Don't call print_ulps.
12787         (check_float): Update call to check_float_internal.
12788         (check_complex): Update calls to check_float_internal.
12789         (START): Pass argument to init_max_error.
12790         * math/gen-libm-test.pl (%results): Don't include "kind"
12791         information.
12792         (parse_ulps): Don't handle ulps of individual tests.
12793         (print_ulps_file): Likewise.
12794         (output_ulps): Likewise.
12795         * math/README.libm-test: Update.
12796         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12797         individual tests.
12798         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12799         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12800         * sysdeps/arm/libm-test-ulps: Likewise.
12801         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12802         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12803         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12804         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12805         * sysdeps/microblaze/libm-test-ulps: Likewise.
12806         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12807         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12808         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12809         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12810         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12811         * sysdeps/sh/libm-test-ulps: Likewise.
12812         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12813         * sysdeps/tile/libm-test-ulps: Likewise.
12814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12818         * math/libm-test.inc (print_complex_max_error): Check separately
12819         whether real and imaginary errors are within allowed range and
12820         pass 0 to print_complex_function_ulps instead of value within
12821         allowed range.
12823 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12825         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12826         formatting.
12827         (get_handles_fopen): Likewise.
12828         (do_write_test): Likewise.
12830         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12832         * libio/fileops.c (do_ftell): Use cached offset when
12833         available.
12834         * libio/iofwide.c (do_ftell_wide): Likewise.
12835         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12836         _IO_file_attach.
12837         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12839         [BZ #16532]
12840         * libio/libioP.h (get_file_offset): New function.
12841         * libio/fileops.c (get_file_offset): Likewise.
12842         (do_ftell): Likewise.
12843         (_IO_new_file_seekoff): Split out ftell logic.
12844         * libio/wfileops.c (do_ftell_wide): Likewise.
12845         (_IO_wfile_seekoff): Split out ftell logic.
12846         * libio/tst-ftell-active-handler.c: New test case.
12847         * libio/Makefile (tests): Add it.
12849 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12851         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12852         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12854 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12856         [BZ #16639]
12857         * nscd/connections.c (nscd_init): Call do_exit.
12858         (start_threads): Call do_exit and notify_parent.
12859         (begin_drop_privileges): Call do_exit.
12860         (finish_drop_privileges): Likewise.
12861         * nscd/selinux.c (preserve_capabilities): Likewise.
12862         (install_real_capabilities): Likewise.
12863         (nscd_selinux_enabled): Likewise.
12864         (avc_create_thread): Likewise.
12865         (avc_alloc_lock): Likewise.
12866         (nscd_avc_init): Likewise.
12867         * nscd/nscd.c (parent_fd): New static variable.
12868         (main): Create a pipe between parent and child processes.
12869         Skip closing parent_fd.
12870         (monitor_child): New function.
12871         (do_exit): Likewise.
12872         (notify_parent): Likewise.
12873         * nscd/nscd.h (notify_parent): Likewise.
12874         (do_exit): Likewise.
12876 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12878         * malloc/malloc.c (__libc_calloc): Revert last change.
12880 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12884 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12886         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12888         implementation.
12889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12890         (__libc_ifunc_impl_list): Likewise.
12891         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12892         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12893         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12894         * string/strrchr.c: Define STRRCHR.
12896 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12898         * benchtest/bench-strtok.c (simple_strtok): Delete.
12899         (strtok_string): Use as benchmark.
12900         * string/strtok (STRTOK): New macro.
12902 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12904         * manual/threads.texi: Add header and standard comments to all
12905         functions.
12907         * elf/dl-lookup.c (check_match): New function.
12908         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12909         (do_lookup_x): Remove nested function check_match. Use non-nested
12910         function check_match.
12912 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12914         * csu/Makefile (generated, before-compile): Use += rather than =.
12915         * catgets/Makefile (generated, generated-dirs): Likewise.
12916         * debug/Makefile (generated): Likewise.
12917         * dlfcn/Makefile (generated): Likewise.
12918         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12919         * iconvdata/Makefile (before-compile, generated): Likewise.
12920         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12921         * libio/Makefile (generated): Likewise.
12922         * malloc/Makefile (generated): Likewise.
12923         * manual/Makefile (generated, generated-dirs): Likewise.
12924         * misc/Makefile (generated): Likewise.
12925         * posix/Makefile (generated): Likewise.
12926         * resolv/Makefile (generated): Likewise.
12927         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12928         * timezone/Makefile (generated, generated-dirs): Likewise.
12930         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12932 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12935         power8 implementation.
12936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12937         file: POWER8 llround ifunc implementation.
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12939         (__lllround): Add POWER8 implementation.
12940         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12941         POWER8 llround implementation.
12943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12944         power8 implementation.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12946         file: POWER8 llrint ifunc implementation.
12947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12948         Add POWER8 implementation.
12949         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12950         POWER8 llrint implementation.
12952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12953         power8 implementation.
12954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12955         file: POWER8 finite ifunc implementation.
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12957         Add POWER8 implementation.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12959         Likewise.
12960         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12961         POWER8 finite implementation.
12962         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12965         power8 implementation.
12966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12967         file: POWER8 isinf ifunc implementation.
12968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12969         POWER8 implementation.
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12971         Likewise.
12972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12973         isinf implementation.
12974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12976         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12977         (INIT_ARCH): Add hwcap2 initialization.
12978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12979         power8 implementation.
12980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12981         file: POWER8 isnan ifunc implementation.
12982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12983         POWER8 implementation.
12984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12985         Likewise.
12986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12987         isnan implementation.
12988         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12990 2014-02-27  Joey Ye  <joey.ye@arm.com>
12992         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12993         (_FP_NANFRAC_Q): Set to zero.
12995 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12997         [BZ #16623]
12998         * math/auto-libm-test-in: New test inputs.
12999         * math/auto-libm-test-out: Regenerate.
13000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13001         and DA.
13002         (__cos): Likewise.
13003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13005 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13007         * scripts/evaluate-test.sh: Take new argument indicating whether
13008         failure is expected.
13009         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13010         indicating whether failure is expected.
13011         * conform/Makefile (test-xfail-run-conformtest): New variable.
13012         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13013         level.
13014         * posix/Makefile (test-xfail-annexc): New variable.
13015         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13017 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13019         * argp/Makefile: Include Makeconfig immediately after defining
13020         subdir.
13021         * assert/Makefile: Likewise.
13022         * benchtests/Makefile: Likewise.
13023         * catgets/Makefile: Likewise.
13024         * conform/Makefile: Likewise.
13025         * crypt/Makefile: Likewise.
13026         * csu/Makefile: Likewise.
13027         (all): Remove target.
13028         * ctype/Makefile: Include Makeconfig immediately after defining
13029         subdir.
13030         * debug/Makefile: Likewise.
13031         * dirent/Makefile: Likewise.
13032         * dlfcn/Makefile: Likewise.
13033         * gmon/Makefile: Likewise.
13034         * gnulib/Makefile: Likewise.
13035         * grp/Makefile: Likewise.
13036         * gshadow/Makefile: Likewise.
13037         * hesiod/Makefile: Likewise.
13038         * hurd/Makefile: Likewise.
13039         (all): Remove target.
13040         * iconvdata/Makefile: Include Makeconfig immediately after
13041         defining subdir.
13042         * inet/Makefile: Likewise.
13043         * intl/Makefile: Likewise.
13044         * io/Makefile: Likewise.
13045         * libio/Makefile: Likewise.
13046         (all): Remove target.
13047         * locale/Makefile: Include Makeconfig immediately after defining
13048         subdir.
13049         * login/Makefile: Likewise.
13050         * mach/Makefile: Likewise.
13051         (all): Remove target.
13052         * malloc/Makefile: Include Makeconfig immediately after defining
13053         subdir.
13054         (all): Remove target.
13055         * manual/Makefile: Include Makeconfig immediately after defining
13056         subdir.
13057         * math/Makefile: Likewise.
13058         * misc/Makefile: Likewise.
13059         * nis/Makefile: Likewise.
13060         * nss/Makefile: Likewise.
13061         * po/Makefile: Likewise.
13062         (all): Remove target.
13063         * posix/Makefile: Include Makeconfig immediately after defining
13064         subdir.
13065         * pwd/Makefile: Likewise.
13066         * resolv/Makefile: Likewise.
13067         * resource/Makefile: Likewise.
13068         * rt/Makefile: Likewise.
13069         * setjmp/Makefile: Likewise.
13070         * shadow/Makefile: Likewise.
13071         * signal/Makefile: Likewise.
13072         * socket/Makefile: Likewise.
13073         * soft-fp/Makefile: Likewise.
13074         * stdio-common/Makefile: Likewise.
13075         * stdlib/Makefile: Likewise.
13076         * streams/Makefile: Likewise.
13077         * string/Makefile: Likewise.
13078         * sunrpc/Makefile: Likewise.
13079         (all): Remove target.
13080         * sysvipc/Makefile: Include Makeconfig immediately after defining
13081         subdir.
13082         * termios/Makefile: Likewise.
13083         * time/Makefile: Likewise.
13084         * timezone/Makefile: Likewise.
13085         (all): Remove target.
13086         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13087         subdir.
13088         * wctype/Makefile: Likewise.
13090 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13092         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13093         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13094         (libc_feholdexcept_setround_mips): Ditto.
13095         (libc_feholdsetround): New.
13096         (libc_feholdsetroundf): New.
13097         (libc_feholdsetroundl): New.
13098         (libc_feupdateenv_test_mips): New.
13099         (libc_feupdateenv_test): New.
13100         (libc_feupdateenv_testf): New.
13101         (libc_feupdateenv_testl): New.
13102         (libc_feresetround): New.
13103         (libc_feresetroundf): New.
13104         (libc_feresetroundl): New.
13105         (libc_fetestexcept_mips): New.
13106         (libc_fetestexcept): New.
13107         (libc_fetestexceptf): New.
13108         (libc_fetestexceptl): New.
13109         (HAVE_RM_CTX): New.
13110         (libc_feholdexcept_setround_mips_ctx): New.
13111         (libc_feholdexcept_setround_ctx): New.
13112         (libc_feholdexcept_setroundf_ctx): New.
13113         (libc_feholdexcept_setroundl_ctx): New.
13114         (libc_fesetenv_mips_ctx): New.
13115         (libc_fesetenv_ctx): New.
13116         (libc_fesetenv_ctxf): New.
13117         (libc_fesetenv_ctxl): New.
13118         (libc_feupdateenv_mips_ctx): New.
13119         (libc_feupdateenv_ctx): New.
13120         (libc_feupdateenvf_ctx): New.
13121         (libc_feupdateenvl_ctx): New.
13122         (libc_feholdsetround_mips_ctx): New.
13123         (libc_feholdsetround_ctx): New.
13124         (libc_feholdsetroundf_ctx): New.
13125         (libc_feholdsetroundl_ctx): New.
13126         (libc_feresetround_mips_ctx): New.
13127         (libc_feresetround_ctx): New.
13128         (libc_feresetroundf_ctx): New.
13129         (libc_feresetroundl_ctx): New.
13131 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13133         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13135         * manual/ipc.texi: New file.
13136         * manual/Makefile (chapters): Add ipc.
13137         * manual/job.texi: Add "Inter-Process Communication" to next.
13138         * manual/process.texi: Add "Inter-Process Communication" to prev.
13140 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13144 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13146         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13148         * manual/arith.texi: Fix spaces after sentences.
13149         * manual/charset.texi: Likewise.
13150         * manual/errno.texi: Likewise.
13151         * manual/install.texi: Likewise.
13152         * manual/llio.texi: Likewise.
13153         * manual/locale.texi: Likewise.
13154         * manual/maint.texi: Likewise.
13155         * manual/math.texi: Likewise.
13156         * manual/memory.texi: Likewise.
13157         * manual/message.texi: Likewise.
13158         * manual/probes.texi: Likewise.
13159         * manual/resource.texi: Likewise.
13160         * manual/signal.texi: Likewise.
13161         * manual/socket.texi: Likewise.
13162         * manual/stdio.texi: Likewise.
13163         * manual/string.texi: Likewise.
13164         * manual/time.texi: Likewise.
13165         * manual/users.texi: Likewise.
13167 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13169         [BZ #16632]
13170         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13171         _DEFAULT_SOURCE is defined.
13173 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13174             Carlos O'Donell  <carlos@redhat.com>
13176         [BZ #16613]
13177         * elf/dl-tls.c (_dl_count_modids): New function.
13178         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13179         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13180         audit library and increment generation counter.
13181         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13182         * elf/tst-audit9.c: New file.
13183         * elf/tst-auditmod9a.c: New file.
13184         * elf/tst-auditmod9b.c: New file.
13185         * elf/Makefile: Add rules to build and run tst-audit9.
13187 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13189         [BZ #15347]
13190         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13192 2014-02-25  Will Newton  <will.newton@linaro.org>
13194         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13195         (__longjmp): Restore sp and lr before restoring callee
13196         saved registers.  Add longjmp and longjmp_target
13197         SystemTap probe point.
13198         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13199         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13200         Define to zero to match jmpbuf layout.
13201         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13202         (__sigsetjmp): Save sp and lr before saving callee
13203         saved registers.  Add setjmp SystemTap probe point.
13205 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13207         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13209 2014-02-24  Andreas Schwab  <schwab@suse.de>
13211         [BZ #15804]
13212         * elf/pldd.c (wait_for_ptrace_stop): New function.
13213         (main): Call it after attaching.
13215 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13217         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13218         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13219         Versions files is now verboten.
13220         * hurd/Versions (libc: GLIBC_2.0):
13221         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13222         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13223         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13224         * mach/Versions: Likewise.
13226         * csu/Versions: Remove unused %include.
13227         * resolv/Versions: Likewise.
13229 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13231         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13232         ($(objpfx)check-local-headers.out): Likewise.
13233         ($(objpfx)begin-end-check.out): Likewise.
13234         * Makerules (check-abi-%.out): Likewise.
13235         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13236         ($(objpfx)test2.cat): Likewise.
13237         ($(objpfx)de/libc.cat): Likewise.
13238         ($(objpfx)test-gencat.out): Likewise.
13239         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13240         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13241         ($(objpfx)noload-mem): Likewise.
13242         ($(objpfx)tst-pathopt.out): Likewise.
13243         ($(objpfx)tst-rtld-load-self.out): Likewise.
13244         ($(objpfx)tst-array1-cmp.out): Likewise.
13245         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13246         ($(objpfx)tst-array2-cmp.out): Likewise.
13247         ($(objpfx)tst-array3-cmp.out): Likewise.
13248         ($(objpfx)tst-array4-cmp.out): Likewise.
13249         ($(objpfx)tst-array5-cmp.out): Likewise.
13250         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13251         ($(objpfx)check-textrel.out): Likewise.
13252         ($(objpfx)check-execstack.out): Likewise.
13253         ($(objpfx)check-localplt.out): Likewise.
13254         ($(objpfx)order2-cmp.out): Likewise.
13255         ($(objpfx)tst-leaks1-mem): Likewise.
13256         ($(objpfx)tst-leaks1-static-mem): Likewise.
13257         ($(objpfx)tst-initorder-cmp.out): Likewise.
13258         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13259         ($(objpfx)tst-unused-dep.out): Likewise.
13260         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13261         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13262         * iconv/Makefile (test-iconvconfig): Likewise.
13263         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13264         ($(objpfx)iconv-test.out): Likewise.
13265         ($(objpfx)tst-tables.out): Likewise.
13266         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13267         ($(objpfx)tst-gettext.out): Likewise.
13268         ($(objpfx)tst-translit.out): Likewise.
13269         ($(objpfx)tst-gettext2.out): Likewise.
13270         ($(objpfx)tst-gettext4.out): Likewise.
13271         ($(objpfx)tst-gettext6.out): Likewise.
13272         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13273         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13274         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13275         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13276         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13277         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13278         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13279         ($(objpfx)wordexp-tst.out): Likewise.
13280         ($(objpfx)annexc.out): Likewise.
13281         ($(objpfx)tst-fnmatch-mem): Likewise.
13282         ($(objpfx)bug-regex2-mem): Likewise.
13283         ($(objpfx)bug-regex14-mem): Likewise.
13284         ($(objpfx)bug-regex21-mem): Likewise.
13285         ($(objpfx)bug-regex31-mem): Likewise.
13286         ($(objpfx)tst-vfork3-mem): Likewise.
13287         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13288         ($(objpfx)tst-pcre-mem): Likewise.
13289         ($(objpfx)tst-boost-mem): Likewise.
13290         ($(objpfx)tst-getconf.out): Likewise.
13291         ($(objpfx)bug-ga2-mem): Likewise.
13292         ($(objpfx)bug-glob2-mem): Likewise.
13293         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13294         ($(objpfx)mtrace-tst-leaks2): Likewise.
13295         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13296         ($(objpfx)tst-printf.out): Likewise.
13297         ($(objpfx)tst-setvbuf1.out): Likewise.
13298         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13299         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13300         ($(objpfx)tst-fmtmsg.out): Likewise.
13301         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13302         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13304         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13305         * bits/sigaction.h [__USE_MISC]: Likewise.
13306         * bits/waitstatus.h: Update #endif comments.
13307         * ctype/ctype.h: Likewise.
13308         * dirent/dirent.h: Likewise.
13309         [__USE_MISC]: Remove redundant conditionals.
13310         * grp/grp.h: Update #endif comments.
13311         [__USE_GNU]: Remove redundant conditionals.
13312         [__USE_MISC]: Likewise.
13313         * inet/netinet/in.h [__USE_GNU]: Likewise.
13314         * io/sys/stat.h [__USE_MISC]: Likewise.
13315         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13316         * libio/bits/stdio.h: Update #endif comments.
13317         [__USE_MISC]: Remove redundant conditionals.
13318         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13319         * libio/stdio.h: Update #endif comments.
13320         [__USE_MISC]: Remove redundant conditionals.
13321         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13322         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13323         * math/math.h: Update #else and #endif comments.
13324         [__USE_MISC]: Remove redundant conditionals.
13325         * misc/sys/uio.h: Update #endif comments.
13326         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13327         * posix/glob.h [__USE_MISC]: Likewise.
13328         * posix/sys/types.h: Update #endif comments.
13329         [__USE_MISC]: Remove redundant conditionals.
13330         * posix/sys/wait.h: Update #endif comments.
13331         [__USE_MISC]: Remove redundant conditionals.
13332         * posix/unistd.h: Update #endif comments.
13333         [__USE_MISC]: Remove redundant conditionals.
13334         * pwd/pwd.h [__USE_GNU]: Likewise.
13335         [__USE_MISC]: Likewise.
13336         * resolv/netdb.h [__USE_GNU]: Likewise.
13337         * signal/signal.h: Update #endif comments.
13338         [__USE_MISC]: Remove redundant conditionals.
13339         * stdlib/stdlib.h: Update #else and #endif comments.
13340         [__USE_MISC]: Remove redundant conditionals.
13341         [__USE_GNU]: Likewise.
13342         * string/bits/string2.h [__USE_MISC]: Likewise.
13343         * string/string.h: Update #endif comments.
13344         [__USE_MISC]: Remove redundant conditionals.
13345         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13346         Likewise.
13347         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13348         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13349         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13350         Likewise.
13351         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13352         Likewise.
13353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13354         comments.
13355         [__USE_MISC]: Remove redundant conditionals.
13356         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13357         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13358         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13359         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13360         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13361         Likewise.
13362         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13363         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13366         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13367         Likewise.
13368         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13369         Likewise.
13370         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13371         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13372         Likewise.
13373         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13374         Likewise.
13375         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13376         * sysdeps/x86/bits/string.h: Update #endif comments.
13377         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13378         conditionals.
13379         * time/sys/time.h: Update #endif comments.
13380         * time/time.h: Likewise.
13381         [__USE_MISC]: Remove redundant conditionals.
13383 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13385         [BZ #16600]
13386         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13388 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13390         * Versions.def (librt): Add GLIBC_2.17.
13392 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13394         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13395         synonym for _SYS_AUXV_H to allow direct inclusion.
13396         * sysdeps/sparc/bits/hwcap.h: Likewise.
13397         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13398         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13399         * sysdeps/sparc/sysdep.h: Likewise.
13401 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13403         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13405 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13407         * benchtests/bench-strrchr.c: Print length instead of position.
13409 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13411         [BZ #16611]
13412         * sysdeps/unix/sysv/linux/kernel-features.h
13413         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13414         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13415         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13416         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13417         Likewise.
13418         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13419         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13420         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13421         (__ASSUME_SENDMMSG): Define instead of using previous
13422         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13423         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13424         (__ASSUME_SENDMMSG_SYSCALL): Define.
13425         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13426         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13427         Likewise.
13428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13429         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13432         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13433         Likewise.
13434         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13435         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13436         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13437         [__ASSUME_SENDMMSG]: Change conditionals to
13438         [__ASSUME_SENDMMSG_SOCKETCALL].
13439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13440         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13441         Define.
13442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13443         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13444         Likewise.
13445         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13446         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13447         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13448         [!__ASSUME_SENDMMSG]: Change conditional to
13449         [!__ASSUME_SENDMMSG_SOCKETCALL].
13450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13451         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13452         Define.
13454         [BZ #16610]
13455         * sysdeps/unix/sysv/linux/kernel-features.h
13456         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13457         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13458         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13459         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13460         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13461         [__i386__ || __sparc__]
13462         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13463         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13464         (__ASSUME_RECVMMSG): Define instead of using previous
13465         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13466         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13467         (__ASSUME_RECVMMSG_SYSCALL): Define.
13468         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13472         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13473         Likewise.
13474         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13475         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13476         Likewise.
13477         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13478         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13479         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13480         [__ASSUME_RECVMMSG]: Change condition to
13481         [__ASSUME_RECVMMSG_SOCKETCALL].
13482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13483         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13484         Define.
13485         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13486         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13487         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13488         Likewise.
13489         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13490         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13491         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13492         [!__ASSUME_RECVMMSG]: Change condition to
13493         [!__ASSUME_RECVMMSG_SOCKETCALL].
13494         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13495         (__ASSUME_RECVMMSG_SYSCALL): Define.
13497         [BZ #16609]
13498         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13499         __powerpc__ || __s390__ || __sh__ || __sparc__]
13500         (__ASSUME_SOCKETCALL): Define.
13501         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13502         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13503         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13504         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13505         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13506         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13507         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13508         (__ASSUME_ACCEPT4): Define instead of using previous
13509         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13510         __powerpc__ || __sparc__ || __s390__)] condition.
13511         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13512         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13513         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13514         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13515         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13516         [!__ASSUME_ACCEPT4]: Change condition to
13517         [!__ASSUME_ACCEPT4_SOCKETCALL].
13518         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13519         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13520         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13522         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13523         __ASSUME_ACCEPT4_SYSCALL.
13524         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13525         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13526         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13527         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13528         __ASSUME_ACCEPT4_SYSCALL.
13529         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13530         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13531         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13532         [__ASSUME_ACCEPT4]: Change condition to
13533         [__ASSUME_ACCEPT4_SOCKETCALL].
13534         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13535         (__ASSUME_SOCKETCALL): Define.
13536         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13538         (__ASSUME_SOCKETCALL): Define.
13539         (__ASSUME_ACCEPT4): Remove.
13540         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13541         Define.
13542         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13543         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13544         Likewise.
13545         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13546         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13548         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13549         macro.
13550         (HWCAP_ARM_LPAE): Likewise.
13551         (HWCAP_ARM_EVTSTRM): Likewise.
13552         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13553         Add vpfd32, lpae and evtstrm.
13554         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13555         Increase to 22.
13557 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
13559         * math/auto-libm-test-in: Add tests of clog10.
13560         * math/auto-libm-test-out: Regenerated.
13561         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13562         * sysdeps/i386/fpu/libm-test-ulps: Update.
13563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13565 2014-02-18  Andreas Schwab  <schwab@suse.de>
13567         [BZ #16574]
13568         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13569         Store non-zero if the second buffer was newly allocated.
13570         (send_dg): Likewise.
13571         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13572         to send_vc and send_dg.
13573         (res_nsend): Pass NULL for ansp2_malloced.
13574         * resolv/res_query.c (__libc_res_nquery): Add parameter
13575         answerp2_malloced and pass it down to __libc_res_nsend.
13576         (res_nquery): Pass additional NULL to __libc_res_nquery.
13577         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13578         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
13579         second answer buffer if answerp2_malloced was set.
13580         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13581         (__libc_res_nquerydomain): Add parameter
13582         answerp2_malloced and pass it down to __libc_res_nquery.
13583         (res_nquerydomain): Pass additional NULL to
13584         __libc_res_nquerydomain.
13585         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13586         additional NULL to __libc_res_nsend and __libc_res_nquery.
13587         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13588         additional NULL to __libc_res_nsearch.
13589         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
13590         parameter of __libc_res_nsearch to check for separately allocated
13591         second buffer.
13592         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13593         __libc_res_nquery.
13594         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13595         additional NULL to __libc_res_nquery.
13596         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13597         __libc_res_nsearch.
13598         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13599         * include/resolv.h: Update prototypes of __libc_res_nquery,
13600         __libc_res_nsearch, __libc_res_nsend.
13602 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13604         * math/auto-libm-test-in: Add tests of fma.
13605         * math/auto-libm-test-out: Regenerated.
13606         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13607         (fma_towardzero_test_data): Likewise.
13608         (fma_downward_test_data): Likewise.
13609         (fma_upward_test_data): Likewise.
13610         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13611         mpc_mode.
13612         (rounding_modes): Add values for new field.
13613         (func_calc_method): Add value mpfr_fff_f.
13614         (func_calc_desc): Add mpfr_fff_f union field.
13615         (test_function): Add field exact_args.
13616         (FUNC): Add macro argument EXACT_ARGS.
13617         (FUNC_mpfr_f_f): Update call to FUNC.
13618         (FUNC_mpfr_f_f): Likewise.
13619         (FUNC_mpfr_ff_f): Likewise.
13620         (FUNC_mpfr_if_f): Likewise.
13621         (FUNC_mpc_c_f): Likewise.
13622         (FUNC_mpc_c_c): Likewise.
13623         (test_functions): Add fma.  Update calls to FUNC.
13624         (handle_input_arg): Add argument exact_args.
13625         (add_test): Update call to handle_input_arg.
13626         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13627         (output_for_one_input_case): Update call to calc_generic_results.
13628         Recalculate exact zero results in each rounding mode.
13630         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13631         non-negative before setting low bit.
13632         * math/auto-libm-test-in: Mark one asin test possibly having
13633         spurious underflow.
13634         * math/auto-libm-test-out: Regenerated.
13635         * sysdeps/i386/fpu/libm-test-ulps: Update.
13636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13638 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13640         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13641         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13642         ports/sysdeps/unix/sysv/linux/microblaze.
13643         * README: Add missing listing for microblaze*-*-linux-gnu.
13645 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13647         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13648         duplicate code
13650 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13652         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13653         * sysdeps/unix/sysv/linux/ia64: Move directory from
13654         ports/sysdeps/unix/sysv/linux/ia64.
13655         * README: Update listing for ia64-*-linux-gnu.
13657 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13658             Joseph Myers  <joseph@codesourcery.com>
13660         * Makeconfig (test-name): New variable.
13661         (evaluate-test): Likewise.
13662         * Makerules (do-test-clean): Remove .test-result files.
13663         (common-mostlyclean): Likewise.
13664         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13665         * scripts/evaluate-test.sh: New file.
13667 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13669         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13670         separate $(objpfx)tst-fopenloc-cmp.out and
13671         $(objpfx)tst-fopenloc-mem.out targets.
13672         (tests): Update dependencies.
13673         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13674         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13675         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13676         (tst-rxspencer-no-utf8-ARGS): New variable.
13677         (tst-rxspencer-no-utf8-ENV): Likewise.
13678         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13679         instead of $(objpfx)tst-rxspencer-mem.
13680         ($(objpfx)tst-rxspencer-mem): Change target to
13681         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13682         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13683         * posix/tst-rxspencer-no-utf8.c: New file.
13685         * elf/Makefile ($(objpfx)order.out): Remove rule.
13686         [$(run-built-tests) = yes] (tests): Depend on
13687         $(objpfx)order-cmp.out.
13688         ($(objpfx)order-cmp.out): New rule.
13689         [$(run-built-tests) = yes] (tests): Depend on
13690         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13691         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13692         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13693         $(objpfx)tst-array5-static-cmp.out.
13694         ($(objpfx)tst-array1.out): Remove rule.
13695         ($(objpfx)tst-array1-cmp.out): New rule.
13696         ($(objpfx)tst-array1-static.out): Remove rule.
13697         ($(objpfx)tst-array1-static-cmp.out): New rule.
13698         ($(objpfx)tst-array2.out): Remove rule.
13699         ($(objpfx)tst-array2-cmp.out): New rule.
13700         ($(objpfx)tst-array3.out): Remove rule.
13701         ($(objpfx)tst-array3-cmp.out): New rule.
13702         ($(objpfx)tst-array4.out): Remove rule.
13703         ($(objpfx)tst-array4-cmp.out): New rule.
13704         ($(objpfx)tst-array5.out): Remove rule.
13705         ($(objpfx)tst-array5-cmp.out): New rule.
13706         ($(objpfx)tst-array5-static.out): Remove rule.
13707         ($(objpfx)tst-array5-static-cmp.out): New rule.
13708         [$(run-built-tests) = yes] (tests): Depend on
13709         $(objpfx)order2-cmp.out.
13710         ($(objpfx)order2.out): Remove rule.
13711         ($(objpfx)order2-cmp.out): New rule.
13712         ($(objpfx)tst-initorder.out): Remove rule.
13713         [$(run-built-tests) = yes] (tests): Depend on
13714         $(objpfx)tst-initorder-cmp.out.
13715         ($(objpfx)tst-initorder-cmp.out): New rule.
13716         ($(objpfx)tst-initorder2.out): Remove rule.
13717         [$(run-built-tests) = yes] (tests): Depend on
13718         $(objpfx)tst-initorder2-cmp.out.
13719         ($(objpfx)tst-initorder2-cmp.out): New rule.
13720         [$(run-built-tests) = yes] (tests): Depend on
13721         $(objpfx)tst-unused-dep-cmp.out.
13722         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13723         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13724         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13725         on $(objpfx)tst-setvbuf1-cmp.out.
13726         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13727         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13728         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13729         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13730         ($(objpfx)tst-svc.out): Remove rule.
13731         ($(objpfx)tst-svc-cmp.out): New rule.
13733 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13735         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13736         * ctype/ctype.h [__USE_MISC]: Likewise.
13737         * dirent/dirent.h [__USE_MISC]: Likewise.
13738         * grp/grp.h [__USE_MISC]: Likewise.
13739         * io/fcntl.h [__USE_MISC]: Likewise.
13740         * io/sys/stat.h [__USE_MISC]: Likewise.
13741         * libio/stdio.h [__USE_MISC]: Likewise.
13742         * posix/unistd.h [__USE_MISC]: Likewise.
13743         * pwd/pwd.h [__USE_MISC]: Likewise.
13744         * stdlib.h [__USE_MISC]: Likewise.
13745         * string/bits/string2.h [__USE_MISC]: Likewise.
13746         * string/string.h [__USE_MISC]: Likewise.
13747         * time/time.h [__USE_MISC]: Likewise.
13749 2014-02-13  Andreas Schwab  <schwab@suse.de>
13751         [BZ #16574]
13752         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13753         second answer buffer if it was separately allocated.
13755 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13757         * sysdeps/mips/math-tests.h: Include <features.h>.
13758         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13759         (ROUNDING_TESTS_long_double): Do not define.
13760         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13761         (EXCEPTION_TESTS_long_double): Likewise.
13762         * sysdeps/mips/mips64/libm-test-ulps: Update.
13764         * include/features.h (__USE_BSD): Remove macro definitions.
13765         (__USE_SVID): Likewise.
13766         (_BSD_SOURCE): Likewise.
13767         (_SVID_SOURCE): Likewise.
13768         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13769         from definition of _DEFAULT_SOURCE.
13770         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13771         [_DEFAULT_SOURCE].
13772         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13773         * bits/mman.h [__USE_BSD]: Likewise.
13774         * bits/termios.h [__USE_BSD]: Likewise.
13775         * bits/waitstatus.h [__USE_BSD]: Likewise.
13776         * ctype/ctype.h [__USE_SVID]: Likewise.
13777         * dirent/dirent.h [__USE_BSD]: Likewise.
13778         * grp/grp.h [__USE_SVID]: Likewise.
13779         [__USE_BSD]: Likewise.
13780         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13781         * io/fcntl.h [__USE_BSD]: Likewise.
13782         * io/ftw.h [__USE_BSD]: Likewise.
13783         * io/sys/stat.h [__USE_BSD]: Likewise.
13784         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13785         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13786         * libio/stdio.h [__USE_SVID]: Likewise.
13787         [__USE_BSD]: Likewise.
13788         * math/math.h [__USE_SVID]: Likewise.
13789         [__USE_BSD]: Likewise.
13790         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13791         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13792         * misc/search.h [__USE_SVID]: Likewise.
13793         * misc/sys/mman.h [__USE_BSD]: Likewise.
13794         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13795         * misc/sys/uio.h [__USE_BSD]: Likewise.
13796         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13797         * posix/glob.h [__USE_BSD]: Likewise.
13798         * posix/regex.h [__USE_BSD]: Likewise.
13799         * posix/sys/types.h [__USE_BSD]: Likewise.
13800         [__USE_SVID]: Likewise.
13801         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13802         * posix/sys/wait.h [__USE_BSD]: Likewise.
13803         [__USE_SVID]: Likewise.
13804         * posix/unistd.h [__USE_BSD]: Likewise.
13805         [__USE_SVID]: Likewise.
13806         * pwd/pwd.h [__USE_SVID]: Likewise.
13807         * resolv/netdb.h [__USE_BSD]: Likewise.
13808         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13809         * signal/signal.h [__USE_BSD]: Likewise.
13810         [__USE_SVID]: Likewise.
13811         * socket/sys/socket.h [__USE_BSD]: Likewise.
13812         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13813         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13814         [__USE_SVID]: Likewise.
13815         * string/bits/string2.h [__USE_BSD]: Likewise.
13816         [__USE_SVID]: Likewise.
13817         * string/bits/string3.h [__USE_BSD]: Likewise.
13818         * string/endian.h [__USE_BSD]: Likewise.
13819         * string/string.h [__USE_SVID]: Likewise.
13820         [__USE_BSD]: Likewise.
13821         * string/strings.h [__USE_BSD]: Likewise.
13822         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13823         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13824         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13825         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13826         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13827         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13828         Likewise.
13829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13830         Likewise.
13831         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13832         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13833         Likewise.
13834         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13835         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13836         Likewise.
13837         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13838         Likewise.
13839         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13840         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13841         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13842         Likewise.
13843         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13844         Likewise.
13845         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13846         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13847         * termios/termios.h [__USE_BSD]: Likewise.
13848         * time/sys/time.h [__USE_BSD]: Likewise.
13849         * time/time.h [__USE_BSD]: Likewise.
13850         [__USE_SVID]: Likewise.
13852         * Makefile (subdir_targets): Remove subdir_lint.out.
13854         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13855         (do-tst-printf): Likewise.
13856         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13857         $(objpfx)tst-printf.out.
13859         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13861         * Makerules (check-abi-%): Change target to
13862         $(objpfx)check-abi-%.out.
13863         (check-abi target): Update dependencies.
13864         (check-abi-pattern variable): Redirect output of diff to $@.
13865         (check-abi variable): Likewise.
13866         * elf/Makefile (check-abi): Update dependencies.
13868         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13869         unused.
13870         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13871         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13872         subnormal range.
13873         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13874         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13875         value has largest subnormal exponent.
13876         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13877         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13878         * sysdeps/aarch64/soft-fp/sfp-machine.h
13879         (_FP_TININESS_AFTER_ROUNDING): New macro.
13880         * sysdeps/alpha/soft-fp/sfp-machine.h
13881         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13882         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13883         Likewise.
13884         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13885         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13886         * sysdeps/mips/soft-fp/sfp-machine.h
13887         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13888         * sysdeps/powerpc/soft-fp/sfp-machine.h
13889         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13890         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13891         Likewise.
13892         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13893         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13894         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13895         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13896         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13897         Likewise.
13899 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13901         [BZ #16545]
13902         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13903         model 1.
13905 2014-02-12  Richard Henderson  <rth@redhat.com>
13907         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13908         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13909         * sysdeps/unix/sysv/linux/alpha: Move directory from
13910         ports/sysdeps/unix/sysv/linux/alpha.
13911         * README: Update listing for alpha-*-linux-gnu.
13913 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13915         * include/features.h: Update comment documenting feature test
13916         macros.
13917         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13918         _DEFAULT_SOURCE.
13919         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13920         (_SVID_SOURCE): Likewise.
13921         (_DEFAULT_SOURCE): Update description of default features.
13922         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13923         with _GNU_SOURCE.
13924         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13925         (S_ISVTX): Likewise.
13926         * manual/math.texi (Mathematical Constants): Likewise.
13927         * manual/signal.texi (Interrupted Primitives): Likewise.
13928         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13929         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13930         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13931         Don't refer to _SVID_SOURCE in warning text.
13933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13935         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13936         already defined.
13937         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13938         * sysdeps/mips/dl-lookup.c: Remove.
13939         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13941 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13943         [BZ #16447]
13944         * math/auto-libm-test-in: Add testcase for expl.
13945         * math/auto-libm-test-out: Regenerate.
13946         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13947         calculation of unsafe.
13948         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13950 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13952         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13953         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13954         ports/sysdeps/unix/sysv/linux/aarch64.
13955         * README: Update listing for aarch64*-*-linux-gnu.
13957 2014-02-11  Will Newton  <will.newton@linaro.org>
13959         * manual/probes.texi (Mathematical Function Probes): Use
13960         "triggered" instead of "hit".
13962         * manual/probes.texi (Internal Probes): Add documentation
13963         of setjmp, longjmp and longjmp_target probes.
13965         * include/stap-probe.h: Add comment about probe argument
13966         format.
13968         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13969         definition.  (tr_where, tr_freehook, tr_mallochook,
13970         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13972 2014-02-11  David S. Miller  <davem@davemloft.net>
13974         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13975         processing int_tests.
13977 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13979         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13980         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13981         * sysdeps/unix/sysv/linux/mips: Move directory from
13982         ports/sysdeps/unix/sysv/linux/mips.
13983         * README: Update listing for mips-*-linux-gnu and
13984         mips64-*-linux-gnu.
13986 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
13988         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13989         * sysdeps/unix/sysv/linux/m68k: Move directory from
13990         ports/sysdeps/unix/sysv/linux/m68k.
13991         * README: Update listing for m68k-*-linux-gnu.
13993 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
13995         * sysdeps/tile: Move directory from ports/sysdeps/tile.
13996         * sysdeps/unix/sysv/linux/generic: Move directory from
13997         ports/sysdeps/unix/sysv/linux/generic.
13998         * sysdeps/unix/sysv/linux/tile: Move directory from
13999         ports/sysdeps/unix/sysv/linux/tile.
14000         * README: Update listing for tile*-*-linux-gnu.
14002 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14004         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14005         __builtin_expect.
14006         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14007         * catgets/open_catalog.c (__open_catalog): Likewise.
14008         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14009         * debug/confstr_chk.c: Likewise.
14010         * debug/fread_chk.c (__fread_chk): Likewise.
14011         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14012         * debug/getgroups_chk.c: Likewise.
14013         * debug/mbsnrtowcs_chk.c: Likewise.
14014         * debug/mbsrtowcs_chk.c: Likewise.
14015         * debug/mbstowcs_chk.c: Likewise.
14016         * debug/memcpy_chk.c: Likewise.
14017         * debug/memmove_chk.c: Likewise.
14018         * debug/mempcpy_chk.c: Likewise.
14019         * debug/memset_chk.c: Likewise.
14020         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14021         * debug/strcat_chk.c (__strcat_chk): Likewise.
14022         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14023         * debug/strncat_chk.c (__strncat_chk): Likewise.
14024         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14025         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14026         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14027         * debug/wcpncpy_chk.c: Likewise.
14028         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14029         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14030         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14031         * debug/wcsncpy_chk.c: Likewise.
14032         * debug/wcsnrtombs_chk.c: Likewise.
14033         * debug/wcsrtombs_chk.c: Likewise.
14034         * debug/wcstombs_chk.c: Likewise.
14035         * debug/wmemcpy_chk.c: Likewise.
14036         * debug/wmemmove_chk.c: Likewise.
14037         * debug/wmempcpy_chk.c: Likewise.
14038         * debug/wmemset_chk.c: Likewise.
14039         * dirent/scandirat.c (SCANDIRAT): Likewise.
14040         * dlfcn/dladdr1.c (dladdr1): Likewise.
14041         * dlfcn/dladdr.c (dladdr): Likewise.
14042         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14043         * dlfcn/dlerror.c (__dlerror): Likewise.
14044         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14045         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14046         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14047         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14048         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14049         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14050         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14051         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14052         Likewise.
14053         * elf/dl-conflict.c: Likewise.
14054         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14055         * elf/dl-dst.h: Likewise.
14056         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14057         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14058         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14059         * elf/dl-init.c (call_init, _dl_init): Likewise.
14060         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14061         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14062         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14063         Likewise.
14064         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14065         Likewise.
14066         * elf/dl-minimal.c (__libc_memalign): Likewise.
14067         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14068         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14069         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14070         * elf/dl-sym.c (do_sym): Likewise.
14071         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14072         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14073         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14074         * elf/dl-writev.h (_dl_writev): Likewise.
14075         * elf/ldconfig.c (search_dir): Likewise.
14076         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14077         (dl_main): Likewise.
14078         * elf/setup-vdso.h (setup_vdso): Likewise.
14079         * grp/compat-initgroups.c (compat_call): Likewise.
14080         * grp/fgetgrent.c (fgetgrent): Likewise.
14081         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14082         * grp/putgrent.c (putgrent): Likewise.
14083         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14084         Likewise.
14085         * hurd/hurdinit.c: Likewise.
14086         * iconvdata/8bit-gap.c (struct): Likewise.
14087         * iconvdata/ansi_x3.110.c : Likewise.
14088         * iconvdata/big5.c : Likewise.
14089         * iconvdata/big5hkscs.c : Likewise.
14090         * iconvdata/cp1255.c: Likewise.
14091         * iconvdata/cp1258.c : Likewise.
14092         * iconvdata/cp932.c : Likewise.
14093         * iconvdata/euc-cn.c: Likewise.
14094         * iconvdata/euc-jisx0213.c : Likewise.
14095         * iconvdata/euc-jp.c: Likewise.
14096         * iconvdata/euc-jp-ms.c : Likewise.
14097         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14098         * iconvdata/gb18030.c : Likewise.
14099         * iconvdata/gbbig5.c (const): Likewise.
14100         * iconvdata/gbgbk.c: Likewise.
14101         * iconvdata/gbk.c : Likewise.
14102         * iconvdata/ibm1364.c : Likewise.
14103         * iconvdata/ibm930.c : Likewise.
14104         * iconvdata/ibm932.c: Likewise.
14105         * iconvdata/ibm933.c : Likewise.
14106         * iconvdata/ibm935.c : Likewise.
14107         * iconvdata/ibm937.c : Likewise.
14108         * iconvdata/ibm939.c : Likewise.
14109         * iconvdata/ibm943.c: Likewise.
14110         * iconvdata/iso_11548-1.c: Likewise.
14111         * iconvdata/iso-2022-cn.c : Likewise.
14112         * iconvdata/iso-2022-cn-ext.c : Likewise.
14113         * iconvdata/iso-2022-jp-3.c: Likewise.
14114         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14115         * iconvdata/iso-2022-kr.c : Likewise.
14116         * iconvdata/iso646.c (gconv_end): Likewise.
14117         * iconvdata/iso_6937-2.c : Likewise.
14118         * iconvdata/iso_6937.c : Likewise.
14119         * iconvdata/iso8859-1.c: Likewise.
14120         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14121         * iconvdata/shift_jisx0213.c : Likewise.
14122         * iconvdata/sjis.c : Likewise.
14123         * iconvdata/t.61.c : Likewise.
14124         * iconvdata/tcvn5712-1.c : Likewise.
14125         * iconvdata/tscii.c: Likewise.
14126         * iconvdata/uhc.c : Likewise.
14127         * iconvdata/unicode.c (gconv_end): Likewise.
14128         * iconvdata/utf-16.c (gconv_end): Likewise.
14129         * iconvdata/utf-32.c (gconv_end): Likewise.
14130         * iconvdata/utf-7.c (base64): Likewise.
14131         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14132         * iconv/gconv_close.c (__gconv_close): Likewise.
14133         * iconv/gconv_open.c (__gconv_open): Likewise.
14134         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14135         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14136         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14137         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14138         (ucs4le_internal_loop_single): Likewise.
14139         * iconv/iconv.c (iconv): Likewise.
14140         * iconv/iconv_close.c: Likewise.
14141         * iconv/loop.c (SINGLE): Likewise.
14142         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14143         * include/atomic.h: Likewise.
14144         * inet/inet6_option.c (option_alloc): Likewise.
14145         * intl/bindtextdom.c (set_binding_values): Likewise.
14146         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14147         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14148         * intl/localealias.c (read_alias_file): Likewise.
14149         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14150         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14151         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14152         * libio/fmemopen.c (fmemopen): Likewise.
14153         * libio/iofgets.c (_IO_fgets): Likewise.
14154         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14155         * libio/iofgetws.c (fgetws): Likewise.
14156         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14157         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14158         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14159         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14160         * locale/findlocale.c (_nl_find_locale): Likewise.
14161         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14162         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14163         Likewise.
14164         * locale/setlocale.c (setlocale): Likewise.
14165         * login/programs/pt_chown.c (main): Likewise.
14166         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14167         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14168         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14169         (mmap, mmap64, mremap, munmap): Likewise.
14170         * math/e_exp2l.c: Likewise.
14171         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14172         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14173         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14174         * math/s_catan.c (__catan): Likewise.
14175         * math/s_catanf.c (__catanf): Likewise.
14176         * math/s_catanh.c (__catanh): Likewise.
14177         * math/s_catanhf.c (__catanhf): Likewise.
14178         * math/s_catanhl.c (__catanhl): Likewise.
14179         * math/s_catanl.c (__catanl): Likewise.
14180         * math/s_ccosh.c (__ccosh): Likewise.
14181         * math/s_ccoshf.c (__ccoshf): Likewise.
14182         * math/s_ccoshl.c (__ccoshl): Likewise.
14183         * math/s_cexp.c (__cexp): Likewise.
14184         * math/s_cexpf.c (__cexpf): Likewise.
14185         * math/s_cexpl.c (__cexpl): Likewise.
14186         * math/s_clog10.c (__clog10): Likewise.
14187         * math/s_clog10f.c (__clog10f): Likewise.
14188         * math/s_clog10l.c (__clog10l): Likewise.
14189         * math/s_clog.c (__clog): Likewise.
14190         * math/s_clogf.c (__clogf): Likewise.
14191         * math/s_clogl.c (__clogl): Likewise.
14192         * math/s_csin.c (__csin): Likewise.
14193         * math/s_csinf.c (__csinf): Likewise.
14194         * math/s_csinh.c (__csinh): Likewise.
14195         * math/s_csinhf.c (__csinhf): Likewise.
14196         * math/s_csinhl.c (__csinhl): Likewise.
14197         * math/s_csinl.c (__csinl): Likewise.
14198         * math/s_csqrt.c (__csqrt): Likewise.
14199         * math/s_csqrtf.c (__csqrtf): Likewise.
14200         * math/s_csqrtl.c (__csqrtl): Likewise.
14201         * math/s_ctan.c (__ctan): Likewise.
14202         * math/s_ctanf.c (__ctanf): Likewise.
14203         * math/s_ctanh.c (__ctanh): Likewise.
14204         * math/s_ctanhf.c (__ctanhf): Likewise.
14205         * math/s_ctanhl.c (__ctanhl): Likewise.
14206         * math/s_ctanl.c (__ctanl): Likewise.
14207         * math/w_pow.c: Likewise.
14208         * math/w_powf.c: Likewise.
14209         * math/w_powl.c: Likewise.
14210         * math/w_scalb.c (sysv_scalb): Likewise.
14211         * math/w_scalbf.c (sysv_scalbf): Likewise.
14212         * math/w_scalbl.c (sysv_scalbl): Likewise.
14213         * misc/error.c (error_tail): Likewise.
14214         * misc/pselect.c (__pselect): Likewise.
14215         * nis/nis_callback.c (__nis_create_callback): Likewise.
14216         * nis/nis_call.c (__nisfind_server): Likewise.
14217         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14218         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14219         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14220         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14221         * nis/nis_lookup.c (nis_lookup): Likewise.
14222         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14223         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14224         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14225         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14226         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14227         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14228         * nis/nss_compat/compat-initgroups.c (add_group)
14229         (internal_getgrent_r): Likewise.
14230         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14231         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14232         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14233         (internal_getspnam_r): Likewise.
14234         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14235         (_nss_nis_getaliasbyname_r): Likewise.
14236         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14237         (_nss_nis_getntohost_r): Likewise.
14238         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14239         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14240         (_nss_nis_getgrgid_r): Likewise.
14241         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14242         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14243         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14244         (_nss_nis_gethostbyname4_r): Likewise.
14245         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14246         (initgroups_netid): Likewise.
14247         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14248         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14249         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14250         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14251         (_nss_nis_getprotobynumber_r): Likewise.
14252         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14253         (_nss_nis_getsecretkey): Likewise.
14254         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14255         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14256         (_nss_nis_getpwuid_r): Likewise.
14257         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14258         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14259         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14260         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14261         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14262         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14263         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14264         Likewise.
14265         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14266         (_nss_nisplus_getntohost_r): Likewise.
14267         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14268         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14269         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14270         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14271         Likewise.
14272         * nis/nss_nisplus/nisplus-initgroups.c
14273         (_nss_nisplus_initgroups_dyn): Likewise.
14274         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14275         (_nss_nisplus_getnetbyaddr_r): Likewise.
14276         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14277         (_nss_nisplus_getprotobynumber_r): Likewise.
14278         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14279         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14280         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14281         Likewise.
14282         * nis/nss_nisplus/nisplus-service.c
14283         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14284         (_nss_nisplus_getservbyport_r): Likewise.
14285         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14286         (_nss_nisplus_getspnam_r): Likewise.
14287         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14288         Likewise.
14289         * nscd/aicache.c (addhstaiX): Likewise.
14290         * nscd/cache.c (cache_search, prune_cache): Likewise.
14291         * nscd/connections.c (register_traced_file, send_ro_fd)
14292         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14293         (main_loop_epoll): Likewise.
14294         * nscd/grpcache.c (addgrbyX): Likewise.
14295         * nscd/hstcache.c (addhstbyX): Likewise.
14296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14297         * nscd/mem.c (gc, mempool_alloc): Likewise.
14298         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14299         (addinnetgrX): Likewise.
14300         * nscd/nscd-client.h (__nscd_acquire_maplock)
14301         (__nscd_drop_map_ref): Likewise.
14302         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14303         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14304         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14305         Likewise.
14306         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14307         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14308         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14309         (__nscd_get_map_ref): Likewise.
14310         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14311         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14312         Likewise.
14313         * nscd/pwdcache.c (addpwbyX): Likewise.
14314         * nscd/selinux.c (preserve_capabilities): Likewise.
14315         * nscd/servicescache.c (addservbyX): Likewise.
14316         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14317         * posix/fnmatch.c (fnmatch): Likewise.
14318         * posix/getopt.c (_getopt_internal_r): Likewise.
14319         * posix/glob.c (glob, glob_in_dir): Likewise.
14320         * posix/wordexp.c (exec_comm_child): Likewise.
14321         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14322         (getanswer_r, gaih_getanswer_slice): Likewise.
14323         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14324         * resolv/res_init.c: Likewise.
14325         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14326         * resolv/res_query.c (__libc_res_nquery): Likewise.
14327         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14328         Likewise.
14329         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14330         * stdio-common/perror.c (perror): Likewise.
14331         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14332         * stdio-common/tmpnam.c (tmpnam): Likewise.
14333         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14334         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14335         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14336         Likewise.
14337         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14338         * stdlib/putenv.c (putenv): Likewise.
14339         * stdlib/setenv.c (__add_to_environ): Likewise.
14340         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14341         * stdlib/strtol_l.c (INTERNAL): Likewise.
14342         * string/memmem.c (memmem): Likewise.
14343         * string/strerror.c (strerror): Likewise.
14344         * string/strnlen.c (__strnlen): Likewise.
14345         * string/test-memmem.c (simple_memmem): Likewise.
14346         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14347         * sunrpc/pm_getport.c (__get_socket): Likewise.
14348         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14349         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14350         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14351         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14352         Likewise.
14353         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14354         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14355         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14356         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14357         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14358         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14359         Likewise.
14360         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14361         Likewise.
14362         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14363         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14364         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14365         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14366         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14367         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14368         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14369         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14370         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14371         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14372         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14373         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14374         Likewise.
14375         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14376         Likewise.
14377         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14378         Likewise.
14379         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14380         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14381         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14382         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14383         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14384         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14385         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14386         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14387         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14388         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14389         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14390         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14391         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14392         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14393         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14394         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14395         Likewise.
14396         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14397         Likewise.
14398         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14399         Likewise.
14400         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14401         Likewise.
14402         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14403         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14404         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14405         Likewise.
14406         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14407         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14408         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14409         * sysdeps/posix/sleep.c: Likewise.
14410         * sysdeps/posix/tempname.c: Likewise.
14411         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14412         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14413         Likewise.
14414         * sysdeps/powerpc/powerpc32/dl-machine.h
14415         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14416         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14418         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14419         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14420         Likewise.
14421         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14422         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14423         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14424         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14425         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14426         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14427         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14428         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14429         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14430         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14431         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14432         (elf_machine_lazy_rel): Likewise.
14433         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14435         (elf_machine_lazy_rel): Likewise.
14436         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14437         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14438         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14439         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14440         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14441         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14442         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14443         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14444         Likewise.
14445         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14446         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14447         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14448         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14449         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14450         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14451         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14452         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14453         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14454         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14455         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14456         Likewise.
14457         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14458         (__posix_fallocate64_l64): Likewise.
14459         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14460         (posix_fallocate): Likewise.
14461         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14462         Likewise.
14463         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14464         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14465         (getifaddrs_internal): Likewise.
14466         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14467         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14468         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14469         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14470         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14471         (__posix_fallocate64_l64): Likewise.
14472         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14473         Likewise.
14474         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14475         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14476         (__get_clockfreq): Likewise.
14477         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14478         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14479         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14480         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14482         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14483         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14484         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14485         Likewise.
14486         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14487         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14488         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14489         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14490         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14491         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14492         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14493         Likewise.
14494         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14495         (posix_fallocate): Likewise.
14496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14497         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14498         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14499         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14500         (elf_machine_rela, elf_machine_rela_relative)
14501         (elf_machine_lazy_rel): Likewise.
14502         * time/asctime.c (asctime_internal): Likewise.
14503         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14504         * time/tzset.c (__tzset_parse_tz): Likewise.
14505         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14506         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14507         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14508         * wcsmbs/wcsmbsload.h: Likewise.
14510         [BZ #15894]
14511         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14513         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14514         (arena_get2): Remove THREAD_STATS conditionals.
14515         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14516         (__malloc_stats, int): Likewise.
14518 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14520         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14521         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
14523         * manual/setjmp.texi: Fix typos/grammar errors.
14525         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14526         Only return early when n is <= 0.  Delete unused return statement.
14528         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14529         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14530         * debug/tst-longjmp_chk3.c: New file.
14532         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14533         (test_main): Replace code with set_fortify_handler call.
14534         * debug/test-strcpy_chk.c: Likewise.
14535         * debug/tst-chk1.c: Likewise.
14536         * debug/tst-longjmp_chk.c: Likewise.
14537         * test-skeleton.c: Include fcntl.h & paths.h
14538         (set_fortify_handler): Define.
14540         * debug/tst-longjmp_chk.c: Add header comment and include
14541         ../test-skeleton.c.
14542         (do_test): Mark static.
14543         (TEST_FUNCTION): Define.
14545         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14546         (IP_PMTUDISC_INTERFACE): Likewise.
14547         (IP_MULTICAST_IF): Likewise.
14548         (IP_MULTICAST_TTL): Likewise.
14549         (IP_MULTICAST_LOOP): Likewise.
14550         (IP_ADD_MEMBERSHIP): Likewise.
14551         (IP_DROP_MEMBERSHIP): Likewise.
14552         (IP_UNBLOCK_SOURCE): Likewise.
14553         (IP_BLOCK_SOURCE): Likewise.
14554         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14555         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14556         (IP_MSFILTER): Likewise.
14557         (MCAST_JOIN_GROUP): Likewise.
14558         (MCAST_BLOCK_SOURCE): Likewise.
14559         (MCAST_UNBLOCK_SOURCE): Likewise.
14560         (MCAST_LEAVE_GROUP): Likewise.
14561         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14562         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14563         (MCAST_MSFILTER): Likewise.
14564         (IP_MULTICAST_ALL): Likewise.
14565         (IP_UNICAST_IF): Likewise.
14567         * timezone/Makefile: Delete $(have-ksh) check.
14568         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14569         * timezone/tzselect.ksh: Add +x mode bits.
14571         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14572         (ANON_INODE_FS_MAGIC): Likewise.
14573         (BDEVFS_MAGIC): Likewise.
14574         (BINFMTFS_MAGIC): Likewise.
14575         (BTRFS_TEST_MAGIC): Likewise.
14576         (CRAMFS_MAGIC_WEND): Likewise.
14577         (DEBUGFS_MAGIC): Likewise.
14578         (ECRYPTFS_SUPER_MAGIC): Likewise.
14579         (EXT3_SUPER_MAGIC): Likewise.
14580         (EXT4_SUPER_MAGIC): Likewise.
14581         (FUTEXFS_SUPER_MAGIC): Likewise.
14582         (HOSTFS_SUPER_MAGIC): Likewise.
14583         (HUGETLBFS_MAGIC): Likewise.
14584         (MINIX3_SUPER_MAGIC): Likewise.
14585         (MTD_INODE_FS_MAGIC): Likewise.
14586         (NILFS_SUPER_MAGIC): Likewise.
14587         (OPENPROM_SUPER_MAGIC): Likewise.
14588         (PIPEFS_MAGIC): Likewise.
14589         (PSTOREFS_MAGIC): Likewise.
14590         (QNX6_SUPER_MAGIC): Likewise.
14591         (RAMFS_MAGIC): Likewise.
14592         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14593         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14594         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14595         (SECURITYFS_MAGIC): Likewise.
14596         (SELINUX_MAGIC): Likewise.
14597         (SMACK_MAGIC): Likewise.
14598         (SOCKFS_MAGIC): Likewise.
14599         (SQUASHFS_MAGIC): Likewise.
14600         (STACK_END_MAGIC): Likewise.
14601         (TMPFS_MAGIC): Likewise.
14602         (USBDEVICE_SUPER_MAGIC): Likewise.
14603         (V9FS_MAGIC): Likewise.
14604         (XENFS_SUPER_MAGIC): Likewise.
14605         (CRAMFS_MAGIC): Fix typo in comment.
14606         (EXT2_SUPER_MAGIC): Update comment.
14607         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14609 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14611         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14612         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14613         * sysdeps/unix/sysv/linux/arm: Move directory from
14614         ports/sysdeps/unix/sysv/linux/arm.
14615         * README: Update listing for arm-*-linux-gnueabi.
14617         * README: Remove mention of am33.
14619 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14621         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14622         than the comma operator, to avoid "rhs of comma has no effect"
14623         compiler warnings.
14624         (__sigfillset, __sigandset, __sigorset): Likewise.
14625         * include/signal.h (__sigemptyset): Likewise.
14626         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14628 2014-02-07  Allan McRae  <allan@archlinux.org>
14630         * version.h (RELEASE): Set to "development".
14631         (VERSION): Set to "2.19.90"
14632         * NEWS: Add 2.20 section.
14634 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14636         [BZ #16529]
14637         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14639 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14641         * manual/contrib.texi: Update entry for Carlos O'Donell,
14642         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14644 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14646         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14648         * sysdeps/unix/sysv/linux/kernel-features.h
14649         [__LINUX_KERNEL_VERSION >= 0x020621]
14650         (__ASSUME_PROC_PID_TASK_COMM): Define.
14652 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14654         [BZ #16398]
14655         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14656         conversion when destination buffer does not have enough space.
14657         * libio/tst-ftell-partial-wide.c: New test case.
14658         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14660         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14661         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14662         Leonard and Allan McRae.
14664 2014-02-04  David S. Miller  <davem@davemloft.net>
14666         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14667         32-bit.
14669 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14672         New file
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14674         New file
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14676         New file.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14678         New file.
14679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14680         New file.
14681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14682         New file.
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14684         New file.
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14686         New file.
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14688         New file.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14690         New file.
14691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14692         New file.
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14694         New file.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14696         New file.
14698 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14700         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14701         * shlib-versions: Likewise.
14703 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14704             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14706         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14707         (abilist-pattern): New variable, set to %-le.abilist.
14709         * Makerules (abilist-pattern): New variable.
14710         (vpath): Use $(abilist-pattern) in place of %.abilist.
14711         (check-abi-% pattern rule): Likewise.
14712         (check-abi, update-abi): Likewise.
14714 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14718 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14720         * manual/startup.texi: Add next, previous, and top entries for
14721         the `Program Arguments' and `Environment Variables' nodes.
14723 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14725         * manual/macros.texi: Add comments before MTASC-safety macros.
14727         * manual/users.texi: Document MTASC-safety properties.
14729         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14730         (pthread_getspecific, pthread_setspecific): Format with
14731         @deftypefun, and add @safety note.
14732         * manual/signal.texi: Move comments that analyze the above
14733         functions to their home place.
14735 2014-02-03  Allan McRae  <allan@archlinux.org>
14737         * po/sl.po: Update Slovenian translation from translation project.
14739 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14741         * manual/time.texi (timegm): Add missing blank after @c.
14742         Reported by Joseph Myers <joseph@codesourcery.com>.
14744 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14746         * manual/check-safety.sh: New.
14747         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14749         * manual/terminal.texi: Document MTASC-safety properties.
14751         * manual/filesys.texi: Document MTASC-safety properties.
14753         * manual/errno.texi: Document MTASC-safety properties.
14755         * manual/intro.texi: Document safety identifiers and
14756         conditionals.
14758         * manual/string.texi (wcstok): Fix prototype.
14759         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14761         * manual/time.texi: Document MTASC-safety properties.
14763         * manual/string.texi: Document MTASC-safety properties.
14765         * manual/threads.texi: Document MTASC-safety properties.
14767         * manual/stdio.texi: Document MTASC-safety properties.
14769         * manual/syslog.texi: Document MTASC-safety properties.
14771         * manual/sysinfo.texi: Document MTASC-safety properties.
14773         * manual/startup.texi: Document MTASC-safety properties.
14775         * manual/socket.texi: Document MTASC-safety properties.
14777         * manual/signal.texi: Document MTASC-safety properties.
14779 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14781         * manual/setjmp.texi: Document MTASC-safety properties.
14783         * manual/search.texi: Document MTASC-safety properties.
14785         * manual/resource.texi: Document MTASC-safety properties.
14787         * manual/process.texi: Document MTASC-safety properties.
14789         * manual/platform.texi: Document MTASC-safety properties.
14791         * manual/pipe.texi: Document MTASC-safety properties.
14793         * manual/pattern.texi: Document MTASC-safety properties.
14795         * manual/message.texi: Document MTASC-safety properties.
14797         [BZ #12751]
14798         * manual/memory.texi: Document MTASC-safety properties.
14800         * manual/math.texi: Document MTASC-safety properties.
14802         * manual/locale.texi: Document MTASC-safety properties.
14804         * manual/llio.texi: Document MTASC-safety properties.
14806         * manual/libdl.texi: New.
14808         * manual/lang.texi: Document MTASC-safety properties.
14810         * manual/job.texi: Document MTASC-safety properties.
14812         * manual/getopt.texi: Document MTASC-safety properties.
14814         * manual/ctype.texi: Document MTASC-safety properties.
14816 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14818         [BZ #16046]
14819         * csu/libc-tls.c (static_map): Remove variable.
14820         (__libc_setup_tls): Use main executable's link map for TLS data.
14821         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14822         casing for LM_ID_BASE and GL(dl_nns).
14823         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14824         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14825         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14826         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14827         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14828         member.
14829         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14830         l_phnum members.
14832 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14834         * manual/debug.texi: Document MTASC-safety properties.
14836 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14838         [BZ #16510]
14839         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14840         of __x86_64__ when disabling x87 inline functions.
14842 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14844         * manual/charset.texi: Document MTASC-safety properties.
14846         * manual/crypt.texi: Document MTASC-safety properties.
14848         * manual/conf.texi: Document MTASC-safety properties.
14850         * manual/arith.texi: Document MTASC-safety properties.
14852         * manual/argp.texi: Document MTASC-safety properties.
14854         * manual/macros.texi: Introduce macros to document multi
14855         thread, asynchronous signal and asynchronous cancellation
14856         safety properties.
14857         * manual/intro.texi: Introduce the properties themselves.
14859 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14861         * sysdeps/sh/sh4/Makefile: New file.
14863 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14865         * math/gen-libm-test.pl ($srcdir): New variable.
14866         ($auto_input): Use it.
14868 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14870         [BZ #16506]
14871         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14872         access beyond array bounds when parsing netgroups file.
14874         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14875         the old buffer before realloc.
14877 2014-01-27  Allan McRae  <allan@archlinux.org>
14879         * po/fr.po: Update French translation from translation project.
14881 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14883         * sysdeps/sh/libm-test-ulps: Regenerate.
14885 2014-01-24  David S. Miller  <davem@davemloft.net>
14887         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14889 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14891         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14892         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14894 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14896         [BZ #16474]
14897         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14898         string pointers after reallocation.
14900 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14902         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14903         __SH4A__ instead of __SH_FPU_ANY__.
14905 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14907         * sysdeps/sh/fpu_control.h: New file.
14908         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14909         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14910         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14911         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14912         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14913         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14914         * sysdeps/sh/sys/ucontext.h: Remove.
14915         * sysdeps/sh/sys: Remove directory.
14917 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14919         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14920         s390/sys/ucontext.h.
14921         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14922         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14924 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14926         [BZ #15605]
14927         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14929 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14931         [BZ#16431]
14932         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14933         Adjust the vDSO correctly for internal calls.
14934         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14936 2014-01-20  Allan McRae  <allan@archlinux.org>
14938         * po/ca.po: Update Catalan translation from translation project.
14940 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14942         * sysdeps/s390/sotruss-lib.c: New file.
14944 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14946         [BZ#16430]
14947         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14948         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14949         local calls issues by not having a PLT stub required for IFUNC calls.
14950         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14952 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14954         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14955         * math/test-fpucw-static.c: Likewise.
14957 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14959         [BZ #16453]
14960         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14962 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14964         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14965         implementation for powerpc.
14967 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14969         [BZ #14782]
14970         * sysdeps/posix/system.c (__libc_system): Do not enable
14971         asynchronous cancellation.
14973 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14975         [BZ #16427]
14976         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14977         handling only for numbers special also in the IEEE case.
14979 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14981         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14983 2014-01-11  Allan McRae  <allan@archlinux.org>
14985         * po/bg.po: Update Bulgarian translation from translation project.
14987         * po/de.po: Update German translation from translation project.
14989 2014-01-10  Roland McGrath  <roland@hack.frob.com>
14991         * sysdeps/generic/gcc-compat.h: New file.
14993 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14995         * benchtests/asin-inputs: Correct slow inputs.
14996         * benchtests/acos-inputs: Likewise.
14998 2014-01-10  Allan McRae  <allan@archlinux.org>
15000         * po:sv.po: Update Swedish translation from translation project.
15002         * po/vi.po: Update Vietnamese translation from translation project.
15004         * po/eo.po: Update Esperanto translation from translation project.
15006         * po/cs.po: Update Czech translation from translation project.
15008         * po/nl.po: Update Dutch translation from translation project.
15010         * po/pl.po: Update Polish translation from translation project.
15012         * po/ru.po: Update Russian translation from translation project.
15014         * po/uk.po: Update Ukrainian translation from translation project.
15016 2014-01-08  Brooks Moses  <bmoses@google.com>
15018         * elf/dl-load.c: Fix comment typo.
15020 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15022         * po/header.pot: Rename to...
15023         * po/pot.header: ... this.
15024         * po/Makefile: Use pot.header.
15026 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15027             Maxim Kuvyrkov  <maxim@kugelworks.com>
15029         [BZ #16394]
15030         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15031         SRC and DEST against LEN.
15033 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15035         [BZ #16414]
15036         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15037         implementation.
15038         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15040 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15044 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15046         [BZ #16408]
15047         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15048         for large positive arguments.
15050 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15052         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15054         * math/auto-libm-test-in: Mark various tests with
15055         xfail-rounding:ldbl-128ibm.
15056         * math/auto-libm-test-out: Regenerated.
15058         [BZ #16407]
15059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15060         Increase overflow threshold.
15062 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15064         [BZ #14286]
15065         * stdio-common/vfprintf.c: Check for integer overflow.
15067 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15069         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15070         the first argument and return value of __tls_get_addr_internal.
15072 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15074         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15075         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15077 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15079         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15080         * sysdeps/s390/rtld-global-offsets.sym: New file.
15081         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15082         GLIBC_2.19 symbol.
15083         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15084         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15085         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15086         ... this.
15087         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15088         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15089         ... this.
15090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15091         Regenerate.
15092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15093         Regenerate.
15094         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15095         halfs of GPRs for high_gprs contexts.
15096         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15097         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15098         field.
15099         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15100         uc_flags field.
15101         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15102         64 bit versions:
15103         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15104         for high GPRs (uc_high_gprs) and for future extensions
15105         (__reserved).
15106         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15107         for future extensions (__reserved).
15108         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15109         64 bit versions:
15110         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15111         SC_HIGHGPRS offset definition.
15112         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15113         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15115         * Versions.def: Add GLIBC_2.19 for libpthread.
15116         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15117         siglongjmp for libpthread with GLIBC_2.19 symver.
15118         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15119         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15120         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15121         * sysdeps/s390/__longjmp.c: New file.
15122         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15123         * sysdeps/s390/longjmp.c: New file.
15124         * sysdeps/s390/setjmp.S: New file.
15125         * sysdeps/s390/sigjmp.S: New file.
15126         * sysdeps/s390/v1-longjmp.c: New file.
15127         * sysdeps/s390/v1-setjmp.h: New file.
15128         * sysdeps/s390/v1-sigjmp.c: New file.
15129         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15130         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15131         GLIBC_2.19 version.
15132         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15133         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15134         versioned symbols for ____longjmp_chk.
15135         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15136         Likewise.
15137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15138         Regenerate.
15139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15140         Regenerate.
15141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15142         Regenerate.
15143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15144         Regenerate.
15145         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15146         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15147         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15148         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15149         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15150         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15151         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15152         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15153         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15154         * sysdeps/s390/rtld-__longjmp.c: New file.
15155         * sysdeps/s390/rtld-setjmp.S: New file.
15157 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15159         [BZ #16400]
15160         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15161         Return -__logl (x) for small positive arguments without evaluating
15162         a polynomial.
15164 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15166         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15167         Rename to ...
15168         (__ptrace_peeksiginfo_args): ... this.
15169         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15170         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15171         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15173 2014-01-06  Allan McRae  <allan@archlinux.org>
15175         * inet/netinet/in.h: Fix typo in comment.
15177 2014-01-05  Andreas Jaeger  <aj@suse.de>
15179         * sysdeps/i386/fpu/libm-test-ulps: Update.
15181 2014-01-05  Allan McRae  <allan@archlinux.org>
15183         * po/libc.pot: Regenerated.
15185         * malloc/memusagestat.c: Fix gettext call formatting.
15187 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15189         * nscd/nscd.c: Improve usage() output.
15191 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15193         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15194         * sysdeps/unix/sysv/linux/configure: Regenerated.
15195         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15196         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15198 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15200         [BZ #16390]
15201         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15202         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15204 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15207         extra tokens at end of #undef directive.
15208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15209         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15210         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15212 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15214         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15216         * math/auto-libm-test-in: Mark various tests with
15217         xfail-rounding:ldbl-128ibm.
15218         * math/auto-libm-test-out: Regenerated.
15220 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15222         [BZ #16386]
15223         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15224         numbers with subnormal high part when calculating exponent.
15226         [BZ #16385]
15227         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15228         fabs.
15230         [BZ #16384]
15231         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15232         M_LN2l.
15233         (__ieee754_acoshl): Use __log1pl not __log1p.
15235 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15237         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15238         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15239         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15240         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15241         (reused_arena, arena_get2): Convert to GNU style.
15242         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15243         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15244         (memalign_check, __malloc_set_state): Likewise.
15245         * malloc/mallocbug.c (main): Likewise.
15246         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15247         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15248         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15249         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15250         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15251         (__posix_memalign, malloc_info): Likewise.
15252         * malloc/malloc.h: Likewise.
15253         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15254         (mallochook, memalignhook, reallochook, mabort): Likewise.
15255         * malloc/mcheck.h: Likewise.
15256         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15257         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15258         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15259         * malloc/morecore.c (__default_morecore): Likewise.
15260         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15261         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15262         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15263         (print_and_abort): Likewise.
15264         * malloc/obstack.h: Likewise.
15265         * malloc/set-freeres.c (__libc_freeres): Likewise.
15266         * malloc/tst-mallocstate.c (main): Likewise.
15267         * malloc/tst-mtrace.c (main): Likewise.
15268         * malloc/tst-realloc.c (do_test): Likewise.
15270 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15272         [BZ #16366]
15273         * nscd/netgroupcache.c (do_notfound): New function.
15274         (addgetnetgrentX): Use it.
15276         [BZ # 16365]
15277         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15278         NSS_STATUS_NOTFOUND.
15280 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15282         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285 2014-01-01  Allan McRae  <allan@archlinux.org>
15287         * scripts/update-copyrights: Update configure input file suffix.
15289         * NEWS: Update copyright year.
15290         * catgets/gencat.c: Likewise.
15291         * csu/version.c: Likewise.
15292         * debug/catchsegv.sh: Likewise.
15293         * debug/pcprofiledump.c: Likewise.
15294         * debug/xtrace.sh: Likewise.
15295         * elf/ldconfig.c: Likewise.
15296         * elf/ldd.bash.in: Likewise.
15297         * elf/pldd.c: Likewise.
15298         * elf/sotruss.ksh: Likewise.
15299         * elf/sprof.c: Likewise.
15300         * iconv/iconv_prog.c: Likewise.
15301         * iconv/iconvconfig.c: Likewise.
15302         * locale/programs/locale.c: Likewise.
15303         * locale/programs/localedef.c: Likewise.
15304         * login/programs/pt_chown.c: Likewise.
15305         * malloc/memusage.sh: Likewise.
15306         * malloc/memusagestat.c: Likewise.
15307         * malloc/mtrace.pl: Likewise.
15308         * manual/libc.texinfo: Likewise.
15309         * nscd/nscd.c: Likewise.
15310         * nss/getent.c: Likewise.
15311         * nss/makedb.c: Likewise.
15312         * posix/getconf.c: Likewise.
15313         * scripts/test-installation.pl: Likewise.
15315         * All files with FSF copyright notices: Update copyright dates
15316         using scripts/update-copyrights.
15317         * intl/plural.c: Regenerated.
15318         * locale/programs/charmap-kw.h: Likewise.
15319         * locale/programs/locfile-kw.h: Likewise.
15321 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15323         * sysdeps/unix/sysv/linux/configure: Regenerated.
15324         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15325         the linux/fanotify.h header.
15326         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15327         HAVE_LINUX_FANOTIFY_H is defined.
15329 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15331         * benchtests/cos-inputs: New inputs.
15332         * benchtests/sin-inputs: Likewise.
15334         * benchtests/atan-inputs: New inputs. Fix name of multiple
15335         precision fallback inputs.
15337         * benchtests/atanh-inputs: New inputs.
15338         * benchtests/tanh-inputs: Likewise.
15340         * benchtests/acosh-inputs: New inputs.
15341         * benchtests/asinh-inputs: Likewise.
15343         * benchtests/cosh-inputs: New inputs.
15344         * benchtests/sinh-inputs: Likewise.
15346         * benchtests/acos-inputs: Add more inputs.
15347         * benchtests/asin-inputs: Likewise.
15349 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15351         [BZ #16375]
15352         * manual/arith.texi: Fix spelling.
15353         * manual/charset.texi: Likewise.
15354         * manual/errno.texi: Likewise.
15355         * manual/filesys.texi: Likewise.
15356         * manual/lang.texi: Likewise.
15357         * manual/llio.texi: Likewise.
15358         * manual/locale.texi: Likewise.
15359         * manual/message.texi: Likewise.
15360         * manual/resource.texi: Likewise.
15361         * manual/search.texi: Likewise.
15362         * manual/setjmp.texi: Likewise.
15363         * manual/stdio.texi: Likewise.
15364         * manual/string.texi: Likewise.
15365         * manual/sysinfo.texi: Likewise.
15366         * manual/time.texi: Likewise.
15368 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15370         * po/sl.po: New file.
15372 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15374         * .gitignore: Add core/.gdbinit/.gdb_history.
15376 2013-12-27  Allan McRae  <allan@archlinux.org>
15378         [BZ #16369]
15379         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15380         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15382 2013-12-24  Brooks Moses  <bmoses@google.com>
15384         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15385         all compilers that claim C++98 compliance, not just GCC.
15386         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15387         Likewise.
15389 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15391         * NEWS: Restore accidentally deleted bug-fix entries.
15393 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15394             Ondřej Bílka  <neleai@seznam.cz>
15396         [BZ #15073]
15397         * malloc/malloc.c (_int_free): Perform sanity check only if we
15398         have_lock.
15400 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15402         [BZ #12986]
15403         * manual/stdio.texi (String Input Conversions): Clarify that character
15404         classes are not supported.
15406 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15410 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15412         [BZ #16337]
15413         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15414         Calculate results for small negative arguments directly rather
15415         than using reflection formula with special underflow handling.
15417         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15418         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15419         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15420         (fchflags): Likewise.
15421         (revoke): Likewise.
15422         (setlogin): Likewise.
15423         (sigaltstack): Likewise.
15424         (wait4): Likewise.
15425         (sigblock): Remove.
15426         (sigsetmask): Likewise.
15427         (wait3): Likewise.
15428         (waitpid): Likewise.
15429         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15430         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15431         file.
15432         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15433         * sysdeps/unix/bsd/Makefile: ... here.
15434         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15435         * sysdeps/unix/bsd/Versions: ... here.
15436         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15437         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15438         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15439         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15440         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15441         * sysdeps/unix/bsd/sigblock.c: ... here.
15442         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15443         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15444         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15445         * sysdeps/unix/bsd/sigvec.c: ... here.
15446         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15447         * sysdeps/unix/bsd/tcdrain.c: ... here.
15448         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15449         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15450         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15451         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15452         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15453         * sysdeps/unix/bsd/wait.c: ... here.
15454         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15455         * sysdeps/unix/bsd/wait3.c: ... here.
15456         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15457         * sysdeps/unix/bsd/waitpid.c: ... here.
15459 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15461         [BZ #16356]
15462         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15463         round-to-nearest for [!USE_AS_EXPM1L].
15464         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15465         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15466         more tests of exp and exp10.  Expect some exp10 tests to miss
15467         exceptions or fail in directed rounding modes.
15468         * math/auto-libm-test-out: Regenerated.
15469         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15470         (exp10_test_tonearest): New function.
15471         (exp10_towardzero_test_data): New array.
15472         (exp10_test_towardzero): New function.
15473         (exp10_downward_test_data): New array.
15474         (exp10_test_downward): New function.
15475         (exp10_upward_test_data): New array.
15476         (exp10_test_upward): New function.
15477         (main): Call the new functions.
15478         * sysdeps/i386/fpu/libm-test-ulps: Update.
15479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15481 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15483         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15484         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15485         * math/auto-libm-test-out: Regenerated.
15486         * math/libm-test.inc (acosh_test_data): Add more tests.
15487         (atanh_test_data): Likewise.
15488         (ceil_test_data): Likewise.
15489         (copysign_test_data): Likewise.
15490         * sysdeps/i386/fpu/libm-test-ulps: Update.
15491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15493         * timezone/checktab.awk: Update from tzcode 2013i.
15494         * timezone/private.h: Likewise.
15495         * timezone/scheck.c: Likewise.
15496         * timezone/tzfile.h: Likewise.
15497         * timezone/tzselect.ksh: Likewise.
15498         * timezone/zdump.c: Likewise.
15499         * timezone/zic.c: Likewise.
15501         * math/auto-libm-test-in: Add tests of cpow.
15502         * math/auto-libm-test-out: Regenerated.
15503         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15505         mpc_cc_c.
15506         (func_calc_desc): Add mpc_cc_c union field.
15507         (test_functions): Add cpow.
15508         (special_fill_2pi): New function.
15509         (special_real_inputs): Add 2pi.
15510         (calc_generic_results): Handle mpc_cc_c.
15511         * sysdeps/i386/fpu/libm-test-ulps: Update.
15512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15514         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15515         csqrt, ctan and ctanh.
15516         * math/auto-libm-test-out: Regenerated.
15517         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15518         (TEST_COND_x86): Likewise.
15519         (ccos_test_data): Use AUTO_TESTS_c_c.
15520         (ccosh_test_data): Likewise.
15521         (cexp_test_data): Likewise.
15522         (clog_test_data): Likewise.
15523         (csqrt_test_data): Likewise.
15524         (ctan_test_data): Likewise.
15525         (ctan_tonearest_test_data): Likewise.
15526         (ctan_towardzero_test_data): Likewise.
15527         (ctan_downward_test_data): Likewise.
15528         (ctan_upward_test_data): Likewise.
15529         (ctanh_test_data): Likewise.
15530         (ctanh_tonearest_test_data): Likewise.
15531         (ctanh_towardzero_test_data): Likewise.
15532         (ctanh_downward_test_data): Likewise.
15533         (ctanh_upward_test_data): Likewise.
15534         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15535         mpc_c_c.
15536         (func_calc_desc): Add mpc_c_c union field.
15537         (FUNC_mpc_c_c): New macro.
15538         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15539         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15540         ctanh.
15541         (special_fill_min_subnorm_p120): New function.
15542         (special_real_inputs): Add min_subnorm_p120.
15543         (calc_generic_results): Handle mpc_c_c.
15544         * sysdeps/i386/fpu/libm-test-ulps: Update.
15545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15547 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15549         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15550         (do_sin_slow): New functions.
15551         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15552         (cslow2, csloww1, csloww2): Use the new functions.
15554         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15555         Use M to change sign of result instead of X.  Assume X is
15556         positive.
15557         (csloww1): Likewise.
15558         (__sin): Adjust.
15559         (__cos): Adjust.
15561         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15562         arguments A and DA.
15563         (__sin): Adjust.
15564         (__cos): Likewise.
15566         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15567         (__cos): Likewise.
15568         (sloww1): Don't adjust sign of DX.
15569         (csloww1): Likewise.
15570         (sloww2): Use X directly and don't adjust sign of DX.
15571         (csloww2): Likewise.
15573 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15575         * math/auto-libm-test-in: Add tests of cabs and carg.
15576         * math/auto-libm-test-out: Regenerated.
15577         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15578         (carg_test_data): Likewise.
15579         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15580         mpc_c_f.
15581         (func_calc_desc): Add mpc_c_f union field.
15582         (test_functions): Add cabs and carg.
15583         (calc_generic_results): Handle mpc_c_f.
15585         * sysdeps/powerpc/powerpc32/libgcc-compat.S
15586         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15587         as a macro and a compat symbol.
15588         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15589         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15590         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15591         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15592         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15593         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15594         not use .hidden.
15595         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15596         Likewise.
15597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15598         Likewise.
15599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15600         Likewise.
15601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15602         Likewise.
15603         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15604         Likewise.
15605         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15606         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15607         from GLIBC_2.3.2.
15609 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15613 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15615         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15616         trailing whitespace removed.
15617         * scripts/config.guess: Update to version 2013-11-29.
15618         * scripts/config.sub: Update to version 2013-10-01.
15620         * math/auto-libm-test-in: Add tests of sincos.
15621         * math/auto-libm-test-out: Regenerated.
15622         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15623         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15624         mpfr_f_11.
15625         (func_calc_desc): Add mpfr_f_11 union field.
15626         (test_functions): Add sincos.
15627         (calc_generic_results): Handle mpfr_f_11.
15628         * sysdeps/i386/fpu/libm-test-ulps: Update.
15629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15631 2013-12-19  Andreas Schwab  <schwab@suse.de>
15633         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15634         CALL_MCOUNT.
15635         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15636         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15637         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15639 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15641         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15642         * sysdeps/i386/fpu/libm-test-ulps: Update.
15643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15645         [BZ #16293]
15646         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15647         round-to-nearest mode when using frndint.
15648         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15649         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15650         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15651         Likewise.
15652         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15653         sinh test to fail.
15654         * math/auto-libm-test-out: Regenerated.
15655         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15656         (TEST_COND_x86): Likewise.
15657         (expm1_tonearest_test_data): New array.
15658         (expm1_test_tonearest): New function.
15659         (expm1_towardzero_test_data): New array.
15660         (expm1_test_towardzero): New function.
15661         (expm1_downward_test_data): New array.
15662         (expm1_test_downward): New function.
15663         (expm1_upward_test_data): New array.
15664         (expm1_test_upward): New function.
15665         (main): Run the new test functions.
15666         * sysdeps/i386/fpu/libm-test-ulps: Update.
15667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15669         * include/features.h: Update comment documenting feature test
15670         macros.  Mention _DEFAULT_SOURCE in comment.
15671         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15672         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15673         _BSD_SOURCE and _SVID_SOURCE.
15674         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15675         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15676         !_SVID_SOURCE]: Likewise.
15677         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15678         (__USE_POSIX_IMPLICITLY): Define.
15679         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15680         (_POSIX_SOURCE): Undefine and redefine.
15681         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15682         (_POSIX_C_SOURCE): Likewise.
15683         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15684         (Feature Test Macros): Update documentation of default features.
15686 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15688         * benchtests/Makefile: Add bench-strtok.
15689         * benchtests/bench-strtok.c: New file: strtok benchtest.
15691 2013-12-19  Allan McRae  <allan@archlinux.org>
15693         * manual/install.texi: Suppress menu for plain text output.
15694         * INSTALL: Regenerated.
15696 2013-12-18  Brooks Moses  <bmoses@google.com>
15698         [BZ #15846]
15699         * misc/getauxval.c: Include errno.h.
15700         (__getauxval): Set errno to ENOENT if the requested type is not
15701         found.
15702         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15703         don't declare with __attribute_const__.
15704         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15705         * manual/startup.texi: Document that getauxval sets errno.
15707 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15709         * math/auto-libm-test-in: Add tests of jn and yn.
15710         * math/auto-libm-test-out: Regenerated.
15711         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15712         (yn_test_data): Likewise.
15713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15714         mpfr_if_f.
15715         (func_calc_desc): Add mpfr_if_f union field.
15716         (FUNC_mpfr_if_f): New macro.
15717         (test_functions): Add jn and yn.
15718         (calc_generic_results): Assert type of second input for
15719         mpfr_ff_f.  Handle mpfr_if_f.
15720         (output_for_one_input_case): Disable all checking for arguments
15721         fitting floating-point types in case of an integer argument.
15722         * sysdeps/i386/fpu/libm-test-ulps: Update.
15723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15726         Don't expect fegetround reference in libm.so.
15728 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15730         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15731         $(config-cflags-nofma).
15733 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15735         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15736         * math/auto-libm-test-out: Regenerated.
15738         [BZ #16338]
15739         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15740         to determine exponent and adjust argument to have exponent of -1.
15741         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15742         log2.
15743         * math/auto-libm-test-out: Regenerated.
15744         * sysdeps/i386/fpu/libm-test-ulps: Update.
15745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15747 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15749         * manual/probes.texi: Remove cases when per-thread arenas are
15750         disabled.
15752 2013-12-18  Andreas Schwab  <schwab@suse.de>
15754         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15755         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15756         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15757         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15758         * sysdeps/i386/i686/multiarch/Makefile: Update.
15759         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15761 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15763         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15764         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15766 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15768         [BZ #15968]
15769         Support TZ transition times < 00:00:00.
15770         This is needed for version-3 tz-format files; it supports time
15771         stamps past 2037 for America/Godthab (the only entry in the tz
15772         database for which this change is relevant).
15773         * manual/time.texi (TZ Variable): Document transition times
15774         from -167:59:59 through -00:00:01.
15775         * time/tzset.c (tz_rule): Time of day is now signed.
15776         (__tzset_parse_tz): Parse negative time of day.
15778         Document TZ transition times >= 25:00:00.
15779         * manual/time.texi (TZ Variable): Document transition times from
15780         25:00:00 through 167:59:59.  These are already supported, and this
15781         support will help with version-3 tz-format files.
15783         * manual/time.texi (TZ Variable): Modernize North America example
15784         to reflect current (i.e., 2007-and-later) daylight saving rules.
15786         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15788 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15790         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15791         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15792         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15794         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15795         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15796         * sysdeps/unix/bsd/clock.c: Likewise.
15797         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15798         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15799         * sysdeps/unix/bsd/init-posix.c: Likewise.
15800         * sysdeps/unix/bsd/poll.c: Likewise.
15801         * sysdeps/unix/bsd/ptsname.c: Likewise.
15802         * sysdeps/unix/bsd/seekdir.c: Likewise.
15803         * sysdeps/unix/bsd/setegid.c: Likewise.
15804         * sysdeps/unix/bsd/seteuid.c: Likewise.
15805         * sysdeps/unix/bsd/setgid.c: Likewise.
15806         * sysdeps/unix/bsd/setrgid.c: Likewise.
15807         * sysdeps/unix/bsd/setruid.c: Likewise.
15808         * sysdeps/unix/bsd/setsid.c: Likewise.
15809         * sysdeps/unix/bsd/setuid.c: Likewise.
15810         * sysdeps/unix/bsd/sigaction.c: Likewise.
15811         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15812         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15813         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15814         * sysdeps/unix/bsd/telldir.c: Likewise.
15815         * sysdeps/unix/bsd/times.c: Likewise.
15816         * sysdeps/unix/bsd/usleep.c: Likewise.
15818         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15819         ($(objpfx)libbsd-compat.a): Remove rule.
15821         * include/features.h (__FAVOR_BSD): Do not define.
15822         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15823         features conflicting with POSIX.
15824         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15825         (_BSD_SOURCE): Remove description of not being a subset of other
15826         feature test macros.
15827         * manual/job.texi (getpgrp): Do not document BSD version.
15828         (getpgid): Do not document by reference to BSD getpgrp.
15829         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15830         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15831         * signal/signal.h [__FAVOR_BSD]: Likewise.
15832         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15833         instead of making contents conditional on [__FAVOR_BSD].
15834         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15836 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15840 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15842         [BZ #16314]
15843         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15844         values below 2**-450, not 2**-500.
15845         * math/auto-libm-test-in: Don't allow spurious underflow from
15846         hypot.
15847         * math/auto-libm-test-out: Regenerated.
15849         [BZ #16316]
15850         [BZ #16330]
15851         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15852         values of ha and hb and sort them after adjusting subnormal
15853         arguments.
15854         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15855         Likewise.
15856         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15857         values of ea and eb and sort them after adjusting subnormal
15858         arguments.
15859         * math/auto-libm-test-in: Do not expect some hypot tests of
15860         subnormals to fail.  Add more hypot tests.
15861         * math/auto-libm-test-out: Regenerated.
15863 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15865         [BZ #13304]
15866         * sysdeps/sh/s_fma.c: New file.
15867         * sysdeps/sh/s_fmaf.c: New file.
15868         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15869         version.
15870         * sysdeps/sh/Implies: Add sh/soft-fp.
15872 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15874         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15875         level of indirection to members `objname', `errstring', `malloced'.
15876         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15877         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15878         it as the __longjmp argument (just pass 1 instead).
15879         (_dl_catch_error): Initialize C with argument pointers and address of
15880         volatile local ERRCODE rather than copying values out of C at return.
15882 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15884         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15885         * math/auto-libm-test-out: Regenerated.
15886         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15887         (hypot_test_data): Likewise.
15888         (pow_test_data): Likewise.
15889         (pow_tonearest_test_data): Likewise.
15890         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15891         mpfr_ff_f.
15892         (func_calc_desc): Add mpfr_ff_f union field.
15893         (FUNC_mpfr_ff_f): New macro.
15894         (test_functions): Add atan2, hypot and pow.
15895         (special_fill_min): New function.
15896         (special_fill_minus_min): Likewise.
15897         (special_fill_min_subnorm): Likewise.
15898         (special_fill_minus_min_subnorm): Likewise.
15899         (special_real_inputs): Add min, -min, min_subnorm and
15900         -min_subnorm.
15901         (calc_generic_results): Handle mpfr_ff_f.
15902         * sysdeps/i386/fpu/libm-test-ulps: Update.
15903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15905 2013-12-16  Will Newton  <will.newton@linaro.org>
15907         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15908         (Aligned Memory Blocks): Add documentation for aligned_alloc
15909         and suggest it as an alternative to posix_memalign.
15910         (Hooks for Malloc): Document __memalign_hook is also called
15911         for aligned_alloc.  (Summary of Malloc): Add summary for
15912         aligned alloc.  Document __memalign_hook is also called
15913         for aligned_alloc.
15915 2013-12-16  Will Newton  <will.newton@linaro.org>
15917         * manual/memory.texi (Malloc Examples): Clarify default
15918         alignment documentation.  Suggest posix_memalign rather
15919         than memalign or valloc.
15920         (Aligned Memory Blocks): Remove suggestion to use memalign
15921         or valloc.  Remove obsolete comment about BSD.
15922         Document memalign errno values and mark the function obsolete.
15923         Document posix_memalign returned error codes.  Mark valloc
15924         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15925         called for posix_memalign and valloc.
15926         (Summary of Malloc): Add posix_memalign to function summary.
15927         __memalign_hook is also called for posix_memalign and valloc.
15929 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15931         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15932         TAYLOR_SIN.
15933         (__sin): Adjust.
15934         (__cos): Likewise.
15935         (sloww): Use mynumber union.  Expand ternary operator into
15936         if-else statements.
15937         (cslow): use mynumber union.
15939 2013-12-16  Allan McRae  <allan@archlinux.org>
15941         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15942         * configure: Regenerated.
15944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15946         [BZ #14120]
15947         * configure.ac: Added --enable-maintainer-mode. Check for
15948         autoconf when enabled.
15949         * configure: Regenerated.
15951         * nscd/nscd.service: New file.
15952         * nscd/nscd.tmpfiles: New file.
15954 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15956         [BZ #12100]
15957         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15958         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15959         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15960         (strstr): Add __strstr_sse2_unaligned ifunc.
15961         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15962         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15963         (strcasestr): Remove __strcasestr_sse42 ifunc.
15964         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15968 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15970         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15971         * sysdeps/sh/bits/fenv.h: ... here.
15972         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15974 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15976         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15979         hypotf multiarch implementations.
15980         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15981         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15983         multiarch hypot for PPC64.
15984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15987         multiarch hypotf for PPC64.
15989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15990         modff multiarch implementations.
15991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15994         multiarch modf for PPC64.
15995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15998         multiarch modff for PPC64.
16000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16001         and logl multiarch implementations.
16002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16005         multiarch logb for PPC64.
16006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16009         multiarch logb for PPC64.
16010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16013         multiarch logb for PPC64.
16015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16016         isinff multiarch implementation.
16017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16018         file.
16019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16021         multiarch isinf for PPC64.
16022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16023         file.
16024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16025         multiarch isinff for PPC64.
16027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16028         finitef multiarch implementation.
16029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16030         file.
16031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16033         multiarch finite for PPC64.
16034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16035         file.
16036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16037         multiarch finitef for PPC64.
16039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16040         lrint multiarch implementation.
16041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16042         file.
16043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16045         multiarch llrint for PPC64.
16046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16047         multiarch lrint for PPC64.
16049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16050         copysignf multiarch implementation.
16051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16052         file.
16053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16054         file.
16055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16056         multiarch copysign for PPC64.
16057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16058         multiarch copysignf for PPC64.
16060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16061         multiarch implementation.
16062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16063         file.
16064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16065         file.
16066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16067         file.
16068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16069         file.
16070         multiarch llround for PPC64.
16071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16072         multiarch trunc for PPC64.
16073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16074         multiarch truncf for PPC64.
16076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16077         multiarch implementation.
16078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16079         file.
16080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16081         file.
16082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16083         file.
16084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16085         file.
16086         multiarch llround for PPC64.
16087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16088         multiarch round for PPC64.
16089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16090         multiarch roundf for PPC64.
16092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16093         multiarch implementation.
16094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16095         file.
16096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16097         file.
16098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16099         file.
16100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16101         file.
16102         multiarch llround for PPC64.
16103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16104         multiarch floor for PPC64.
16105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16106         multiarch floorf for PPC64.
16108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16109         multiarch implementation.
16110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16111         file.
16112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16113         file.
16114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16115         file.
16116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16117         file.
16118         multiarch llround for PPC64.
16119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16120         multiarch ceil for PPC64.
16121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16122         multiarch ceilf for PPC64.
16124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16125         multiarch implementation.
16126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16127         file.
16128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16129         file.
16130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16131         file.
16132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16133         multiarch llround for PPC64.
16134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16135         multiarch lround for PPC64.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16138         multiarch implementation.
16139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16142         file.
16143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16146         multiarch isnan for PPC64.
16147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16148         multiarch isnanf for PPC64.
16150         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16151         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16152         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16153         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16154         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16157         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16158         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16159         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16163         multiarch implementations.
16164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16165         (__libc_ifunc_impl_list): Likewise.
16166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16167         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16168         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16169         multiarch stpcpy for PPC64.
16171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16172         multiarch implementations.
16173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16174         (__libc_ifunc_impl_list): Likewise.
16175         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16176         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16177         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16178         multiarch strcpy for PPC64.
16180         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16181         redefine function name.
16182         (_wordcopy_fwd_dest_aligned): Likewise.
16183         (_wordcopy_bwd_aligned): Likewise.
16184         (_wordcopy_bwd_dest_aligned): Likewise.
16185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16186         multiarch implementations.
16187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16188         (__libc_ifunc_impl_list): Likewise.
16189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16191         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16192         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16193         multiarch wcscpy for PPC64.
16195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16196         multiarch implementations.
16197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16198         (__libc_ifunc_impl_list): Likewise.
16199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16200         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16201         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16202         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16203         multiarch wcscpy for PPC64.
16205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16206         multiarch implementations.
16207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16208         (__libc_ifunc_impl_list): Likewise.
16209         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16210         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16211         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16212         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16213         multiarch wcsrchr for PPC64.
16215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16216         multiarch implementations.
16217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16218         (__libc_ifunc_impl_list): Likewise.
16219         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16220         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16221         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16222         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16223         multiarch wcschr for PPC64.
16225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16226         multiarch implementations.
16227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16228         (__libc_ifunc_impl_list): Likewise.
16229         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16230         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16231         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16232         multiarch strchrnul for PPC64.
16234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16235         implementations.
16236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16237         (__libc_ifunc_impl_list): Likewise.
16238         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16239         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16240         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16241         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16242         strchr for PPC64.
16244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16245         implementations.
16246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16247         (__libc_ifunc_impl_list): Likewise.
16248         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16249         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16250         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16251         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16252         strncmp for PPC64.
16254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16255         multiarch implementations.
16256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16257         (__libc_ifunc_impl_list): Likewise.
16258         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16259         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16260         strncasecmp for PPC64.
16261         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16262         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16263         multiarch strncasecmp_l for PPC64.
16265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16266         multiarch implementations.
16267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16268         (__libc_ifunc_impl_list): Likewise.
16269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16271         multiarch strcasecmp for PPC64.
16272         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16273         file.
16274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16275         multiarch strcasecmp_l for PPC64.
16277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16278         implementations.
16279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16280         (__libc_ifunc_impl_list): Likewise.
16281         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16282         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16283         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16284         strnlen for PPC64.
16286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16287         implementations.
16288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16289         (__libc_ifunc_impl_list): Likewise.
16290         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16291         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16292         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16293         strlen for PPC64.
16295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16296         implementations.
16297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16298         (__libc_ifunc_impl_list): Likewise.
16299         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16300         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16301         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16302         rawmemrchr for PPC64.
16304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16305         implementation.
16306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16307         (__libc_ifunc_impl_list): Likewise.
16308         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16309         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16310         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16311         memrchr for PPC64.
16313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16314         implementation.
16315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16316         (__libc_ifunc_impl_list): Likewise.
16317         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16318         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16319         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16320         memchr for PPC64.
16322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16323         implementation.
16324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16325         (__libc_ifunc_impl_list): Likewise.
16326         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16327         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16328         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16329         mempcpy for PPC64.
16331         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16332         avoid cretion of __bzero symbol.
16333         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16334         Likewise.
16335         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16336         Likewise.
16337         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16338         Likewise.
16339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16340         multiarch implementations.
16341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16342         (__libc_ifunc_impl_list): Likewise.
16343         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16344         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16345         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16346         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16347         bzero for PPC32.
16348         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16349         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16350         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16351         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16352         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16353         memset for PPC64.
16354         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16356         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16358         implementations.
16359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16360         (__libc_ifunc_impl_list): Likewise.
16361         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16362         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16363         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16364         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16365         memcmp for PPC64.
16367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16368         multiarch for POWER/PPC64.
16369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16370         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16375         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16376         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16377         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16378         memcpy for PPC64.
16380         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16381         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16382         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16383         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16384         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16385         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16386         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16387         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16388         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16389         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16390         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16391         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16392         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16393         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16394         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16403 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16405         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16407 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16409         * benchtests/Makefile (bench): Add exp2 and log2.
16410         (LDLIBS-bench-exp2): Add -lm.
16411         (LDLIBS-bench-log2): Likewise.
16412         * benchtests/exp2-inputs: New inputs file.
16413         * benchtests/log2-inputs: New inputs file.
16414         * benchtests/log-inputs: Add new inputs.
16415         * benchtests/tan-inputs: Likewise.
16417 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16419         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16420         definition...
16421         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16422         (csloww2): ... from here.
16424         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16425         instead of structures.
16426         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16427         (POLYNOMIAL): Likewise.
16428         (TAYLOR_SLOW): Likewise.
16429         (__sin): Likewise.
16430         (__cos): Likewise.
16431         (slow1): Likewise.
16432         (slow2): Likewise.
16433         (sloww): Likewise.
16434         (sloww1); Likewise.
16435         (sloww2): Likewise.
16436         (bsloww1): Likewise.
16437         (bsloww2): Likewise.
16438         (cslow2): Likewise.
16439         (csloww): Likewise.
16440         (csloww1): Likewise.
16441         (csloww2): Likewise.
16443 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16445         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16446         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16447         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16448         * malloc/hooks.c (realloc_check): Likewise.
16450         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16451         * malloc/arena.c: Remove PER_THREAD conditional.
16452         [!PER_THREAD]: Remove code.
16453         (ptmalloc_unlock_all2): Likewise.
16454         (ptmalloc_init): Likewise.
16455         (_int_new_arena): Likewise.
16456         (arena_get2): Likewise.
16457         * malloc/hooks.c (__malloc_get_state): Likewise.
16458         (__malloc_set_state): Likewise.
16459         * malloc/malloc.c: Likewise.
16460         (struct malloc_state): Likewise.
16461         (struct malloc_par): Likewise.
16462         (__libc_realloc): Likewise.
16463         (__libc_mallopt): Likewise.
16465 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16467         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16469 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16471         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16472         macro to a function.  Check for zero perturb_byte.
16473         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16475         * malloc/malloc.c: (force_reg): Remove.
16476         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16477         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16478         force_reg by atomic_forced_read.
16479         * malloc/arena.c (ptmalloc_init): Likewise.
16480         * malloc/hooks.c (top_check): Likewise.
16482 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16486 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16490 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16492         * math/auto-libm-test-in: Add tests of lgamma.
16493         * math/auto-libm-test-out: Regenerated.
16494         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16495         (M_LOG_2_SQRT_PIl): Likewise.
16496         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16497         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16498         mpfr_f_f1.
16499         (func_calc_desc): Add mpfr_f_f1 union field.
16500         (ARGS1): New macro.
16501         (ARGS2): Likewise.
16502         (ARGS3): Likewise.
16503         (ARGS4): Likewise.
16504         (RET1): Likewise.
16505         (RET2): Likewise.
16506         (CALC): Likewise.
16507         (FUNC): Likewise.
16508         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16509         (test_functions): Add lgamma.
16510         (calc_generic_results): Handle mpfr_f_f1.
16511         * sysdeps/i386/fpu/libm-test-ulps: Update.
16512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16514 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16516         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16517         __mpn_add_n for PowerPC64/POWER7.
16518         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16519         __mpn_sub_n for PowerPC64/POWER7.
16521         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16522         __mpn_addmul_1 for PowerPC64.
16523         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16524         __mpn_submul_1 for PowerPC64.
16525         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16526         for PowerPC64.
16527         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16528         for PowerPC64.
16530 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
16532         [BZ #15089]
16533         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16535 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16537         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16539         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16540         add multiarch folders.
16541         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16542         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16543         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16544         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16545         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16546         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16547         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16548         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16549         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16550         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16551         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16560         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16562         New file.
16563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16564         New file.
16565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16566         multiarch __ieee754_hypot for PowerPC32.
16567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16568         New file.
16569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16570         New file.
16571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16572         multiarch __ieee754_hypotf for PowerPC32.
16574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16575         long_double_symbol only if __logbl is defined.
16576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16577         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16578         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16579         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16581         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16582         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16583         path for implementation.
16584         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16585         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16587         logb, and logbl multiarch implementations for PowerPC32.
16588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16589         file.
16590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16591         file.
16592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16593         multiarch logb for PowerPC32.
16594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16595         file.
16596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16597         file.
16598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16599         multiarch logbf for PowerPC32.
16600         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16602         file.
16603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16604         multiarch logbl implementation for PowerPC32.
16606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16607         and modff multiarch implementations.
16608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16609         New file.
16610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16611         New file.
16612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16613         multiarch modf for PowerPC32.
16614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16615         New file.
16616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16617         New file.
16618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16619         multiarch modff for PowerPC32.
16621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16622         and lrintf multiarch implementations.
16623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16624         New file.
16625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16626         New file.
16627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16628         multiarch lrint for PowerPC32.
16629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16630         file: multiarch lrintf for PowerPC32.
16632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16633         and lroundf multiarch implementations.
16634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16635         New file.
16636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16637         New file.
16638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16639         New file.
16640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16641         multiarch lround for PowerPC32.
16642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16643         file: multiarch lroundf for PowerPC32.
16645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16646         copysign and copysignf multiarch implementations.
16647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16648         New file.
16649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16650         New file.
16651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16652         file: multiarch copysign for PowerPC32.
16653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16654         file: multiarch copysignf for PowerPC32.
16656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16657         and truncf multiarch implementations.
16658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16659         New file.
16660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16661         file.
16662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16663         multiarch trunc for PowerPC32.
16664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16665         New file.
16666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16667         New file.
16668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16669         multiarch truncf for PowerPC32.
16671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16672         and roundf multiarch implementations.
16673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16674         New file.
16675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16676         file.
16677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16678         multiarch round for PowerPC32.
16679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16680         New file.
16681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16682         New file.
16683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16684         multiarch roundf for PowerPC32.
16686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16687         and floorf multiarch implementations.
16688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16689         New file.
16690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16691         file.
16692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16693         multiarch floor for PowerPC32.
16694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16695         New file.
16696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16697         New file.
16698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16699         multiarch floorf for PowerPC32.
16701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16702         and ceilf multiarch implementations.
16703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16704         New file.
16705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16706         file.
16707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16708         multiarch ceil for PowerPC32.
16709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16710         New file.
16711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16712         file.
16713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16714         multiarch ceilf for PowerPC32.
16716         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16717         is defined.
16718         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16719         FINITEF is defined.
16720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16721         and finitef multiarch implementations.
16722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16723         New file.
16724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16725         file.
16726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16727         multiarch finite for PowerPC32.
16728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16729         New file.
16730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16731         file: multiarch finitef for PowerPC32.
16733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16734         and isinff multiarch implementations.
16735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16736         file.
16737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16738         file.
16739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16740         multiarch isinf for PowerPC32.
16741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16742         New file.
16743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16744         multiarch isinff for PowerPC32.
16746         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16747         alias when __isnan is defined.
16748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16749         and isnanf multiarch implementations.
16750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16751         file.
16752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16753         file.
16754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16755         file.
16756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16757         file.
16758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16759         multiarch isnan for PowerPC32.
16760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16761         New file.
16762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16763         New file.
16764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16765         multiarch isnanf for PowerPC32.
16767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16768         and sqrtf multiarch implementations.
16769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16770         file.
16771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16772         file.
16773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16774         multiarch sqrt for PowerPC32.
16775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16776         file.
16777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16778         file.
16779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16780         multiarch sqrtf for PowerPC32.
16782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16783         and llroundf multiarch implementations.
16784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16785         New file.
16786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16787         New file.
16788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16789         New file.
16790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16791         file: multiarch llround for PowerPC32.
16792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16793         file: multiarch llroundf for PowerPC32.
16795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16796         multiarch PowerPC32 fpu implementations.
16797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16798         New file.
16799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16800         New file.
16801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16802         multiarch llrint for PowerPC32.
16803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16804         New file.
16805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16806         New file.
16807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16808         file.
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16812         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16813         file.
16814         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16815         file.
16816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16817         file.
16818         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16819         multiarch wordcopy for PPC32.
16820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16821         wordcopy objects.
16822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16823         (__libc_ifunc_impl_list): Likewise.
16824         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16825         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16826         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16827         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16828         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16829         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16831         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16833         file.
16834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16835         file.
16836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16837         file.
16838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16839         multiarch wcscpy for PPC32.
16840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16841         multiarch objects.
16842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16843         (__libc_ifunc_impl_list): Likewise.
16844         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16845         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16846         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16847         sysdeps/powerpc/power6/wcscpy.c.
16849         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16851         file.
16852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16853         file.
16854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16855         file.
16856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16857         multiarch wcsrchr for PPC32.
16858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16859         multiarch objects.
16860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16861         (__libc_ifunc_impl_list): Likewise.
16862         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16863         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16864         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16865         sysdeps/powerpc/power6/wcsrchr.c.
16867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16868         file.
16869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16870         file.
16871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16873         multiarch wcschr for PPc32.
16874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16875         multiarch objects.
16876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16877         (__libc_ifunc_impl_list): Likewise.
16878         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16879         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16880         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16881         sysdeps/powerpc/power6/wcschr.c.
16883         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16885         file.
16886         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16887         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16888         file: multiarch strchr for PPC32.
16889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16890         multiarch objects.
16891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16892         (__libc_ifunc_impl_list): Likewise.
16894         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16895         name.
16896         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16897         file.
16898         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16899         file.
16900         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16901         multiarch strchrnul for PPC32.
16902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16903         multiarch objects.
16904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16905         (__libc_ifunc_impl_list): Likewise.
16907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16908         file.
16909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16910         multiarch strncasecmp for PPC32.
16911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16912         file.
16913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16914         multiarch strncasecmp_l for PPC32.
16915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16916         strncasecmp multiarch objects.
16917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16918         (__libc_ifunc_impl_list): Likewise.
16920         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16921         file.
16922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16923         multiarch strncasecmp for PPC32.
16924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16925         New file.
16926         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16927         multiarch strcasecmp_l for PPC32.
16928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16929         multiarch objects.
16930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16931         (__libc_ifunc_impl_list): Likewise.
16933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16934         file.
16935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16936         file.
16937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16938         multiarch strncmp for PPC32.
16939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16940         multiarch objects.
16941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16942         (__libc_ifunc_impl_list): Likewise.
16944         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16945         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16946         file.
16947         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16948         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16950         multiarch objects.
16951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16952         (__libc_ifunc_impl_list): Likewise.
16954         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16955         file.
16956         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16957         file.
16958         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16960         multiarch objects.
16961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16962         (__libc_ifunc_impl_list): Likewise.
16964         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16965         file.
16966         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16967         file.
16968         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16969         multiarch rawmemchr for PPC32.
16970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16971         multiarch objects.
16972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16973         (__libc_ifunc_impl_list): Likewise.
16975         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16976         file.
16977         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16978         file.
16979         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16980         file: memrchr multiarch for PPC32.
16981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16982         multiarch objects.
16983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16984         (__libc_ifunc_impl_list): Likewise.
16986         * string/memchr.c (__memchr): Using macro to redefine symbol name.
16987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16988         file.
16989         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16990         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16991         multiarch memchr for PPC32.
16992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16993         multiarch objects.
16994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16995         (__libc_ifunc_impl_list): Likewise.
16997         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16998         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16999         file.
17000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17001         file.
17002         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17003         file: multiarch mempcpy for PPC32.
17004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17005         multiarch objects.
17006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17007         (__libc_ifunc_impl_list): Likewise.
17009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17010         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17011         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17013         multiarch bzero for PPC32.
17014         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17015         file.
17016         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17017         file.
17018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17019         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17020         file: multiarch memset for PPC32.
17021         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17023         memset multiarch objects.
17024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17025         (__libc_ifunc_impl_list): Likewise.
17027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17028         file.
17029         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17031         memcmp for PPC32.
17032         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17034         multiarch objects.
17035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17036         (__libc_ifunc_impl_list): Likewise.
17038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17039         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17041         file.
17042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17043         file.
17044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17045         file.
17046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17047         multiarch memcpy for PPC32.
17048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17049         multiarch objects.
17050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17051         (__libc_ifunc_impl_list): Likewise.
17053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17054         support multiarch for POWER/PPC32.
17055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17056         Likewise.
17057         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17059         Implies file to make multiarch folder appers before the fpu and
17060         default folder for power4 configuration.
17062 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17064         * scripts/bench.pl: Append volatile keyword to type.
17066 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17068         * sysdeps/sh/sotruss-lib.c: New file.
17069         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17071 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17075 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17077         [BZ #6810]
17078         * math/w_tgamma.c: Include <errno.h>.
17079         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17080         * math/w_tgammaf.c: Include <errno.h>.
17081         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17082         * math/w_tgammal.c: Include <errno.h>.
17083         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17084         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17085         underflow.  Add more tgamma tests.
17086         * math/auto-libm-test-out: Regenerated.
17087         * sysdeps/i386/fpu/libm-test-ulps: Update.
17088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17090         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17091         sin, sinh, tan, tanh, tgamma, y0 and y1.
17092         * math/auto-libm-test-out: Regenerated.
17093         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17094         (TEST_COND_x86): Likewise.
17095         (M_E2l): Remove macro.
17096         (M_E3l): Likewise.
17097         (M_2_SQRT_PIl): Likewise.
17098         (M_SQRT_PIl): Likewise.
17099         (M_1_DIV_El): Likewise.
17100         (log_test_data): Use AUTO_TESTS_f_f.
17101         (log10_test_data): Likewise.
17102         (log1p_test_data): Likewise.
17103         (log2_test_data): Likewise.
17104         (sin_test_data): Likewise.
17105         (sin_tonearest_test_data): Likewise.
17106         (sin_towardzero_test_data): Likewise.
17107         (sin_downward_test_data): Likewise.
17108         (sin_upward_test_data): Likewise.
17109         (sinh_test_data): Likewise.
17110         (sinh_tonearest_test_data): Likewise.
17111         (sinh_towardzero_test_data): Likewise.
17112         (sinh_downward_test_data): Likewise.
17113         (sinh_upward_test_data): Likewise.
17114         (tan_test_data): Likewise.
17115         (tan_tonearest_test_data): Likewise.
17116         (tan_towardzero_test_data): Likewise.
17117         (tan_downward_test_data): Likewise.
17118         (tan_upward_test_data): Likewise.
17119         (tanh_test_data): Likewise.
17120         (tgamma_test_data): Likewise.
17121         (y0_test_data): Likewise.
17122         (y1_test_data): Likewise.
17123         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17124         (special_real_inputs): Add pi/4.
17125         * sysdeps/i386/fpu/libm-test-ulps: Update.
17126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17128 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17130         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17131         "longjmp_target" static probes.
17132         (__longjmp): Rename to __longjmp_symbol.
17133         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17134         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17135         on which longjmp to generate.
17136         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17137         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17138         probe.
17139         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17140         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17141         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17142         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17143         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17144         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17146         __longjmp_symbol based on which __longjmp to generate.
17147         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17148         probe.
17149         (setjmp): Rename to setjmp_symbol.
17150         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17151         (_setjmp): Rename to _setjmp_symbol.
17152         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17153         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17154         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17155         which setjmp to generate.
17156         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17157         "longjmp_target" static probes.
17159 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17161         * benchtests/README: Add note about output arguments.
17162         * benchtests/bench-sincos.c: Remove file.
17163         * benchtests/sincos-inputs: New file.
17164         * scripts/bench.pl: Identify output arguments and define
17165         static variables for them.
17167         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17169         [BZ #15941]
17170         * Makefile (INSTALL): Add install-plain.texi as the primary
17171         dependency.
17172         * manual/install-plain.texi: New file.
17173         * manual/install.texi: Include node directive only for
17174         non-plaintext output.
17176 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17178         * stdlib/longlong.h: Update from GCC.
17180         [BZ #6807]
17181         [BZ #15901]
17182         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17183         * math/w_j0f.c (y0f): Likewise.
17184         * math/w_j0l.c (__y0l): Likewise.
17185         * math/w_j1.c (y1): Likewise.
17186         * math/w_j1f.c (y1f): Likewise.
17187         * math/w_j1l.c (__y1l): Likewise
17188         * math/w_jn.c (yn): Likewise.
17189         * math/w_jnf.c (ynf): Likewise.
17190         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17191         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17192         value for Bessel function domain errors outside _SVID_ mode.
17193         Adjust sign of return value for yn (negative integer, 0).
17194         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17195         by zero in return for negative x and set sign appropriately for
17196         negative n.
17197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17198         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17199         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17200         expectations in error cases.
17201         (y1_test_data): Likewise.
17202         (yn_test_data): Likewise.
17203         * sysdeps/i386/fpu/libm-test-ulps: Update.
17204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17206 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17208         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17209         "64" to "64-v1".  Add "64-v2".
17210         (abi-64-options): Rename to ...
17211         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17212         (abi-64-condition): Rename to ...
17213         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17214         (abi-64-ld-soname): Rename to ...
17215         (abi-64-v1-ld-soname): ... this.
17216         (abi-64-v2-options): Define.
17217         (abi-64-v2-condition): Likewise.
17218         (abi-64-v2-ld-soname): Likewise.
17219         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17220         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17225 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17226             Alan Modra  <amodra@gmail.com>
17228         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17229         New versions for use with the ELFv2 ABI.
17230         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17231         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17232         declaration.
17233         (struct La_ppc64v2_retval): Likewise.
17234         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17235         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17236         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17237         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17238         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17239         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17240         Do not save or restore CR.
17241         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17242         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17243         return values for ELFv2 ABI.  Fix location of FPR return registers.
17244         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17245         updated values for _CALL_ELF == 2.
17246         (La_regs, La_retval, int_retval): Likewise.
17248 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17250         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17251         (FRAME_MIN_SIZE_PARM): Likewise.
17252         (FRAME_BACKCHAIN): Likewise.
17253         (FRAME_CR_SAVE): Likewise.
17254         (FRAME_LR_SAVE): Likewise.
17255         (FRAME_TOC_SAVE): Likewise.
17256         (FRAME_PARM_SAVE): Likewise.
17257         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17258         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17259         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17260         (call_mcount_parm_offset): New macro.
17261         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17262         (PROF): Use symbolic stack frame offsets.
17263         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17264         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17265         Redefine in terms of FRAME_MIN_SIZE.
17266         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17267         (_dl_profile_resolve): Likewise.  Update comment.
17268         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17269         symbols stack frame offsets.
17270         (__sigsetjmp): Likewise.
17271         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17272         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17273         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17274         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17277         (FRAME_BACKCHAIN): Remove.
17278         (FRAME_CR_SAVE): Likewise.
17279         (FRAME_LR_SAVE): Likewise.
17280         (FRAME_COMPILER_DW): Likewise.
17281         (FRAME_LINKER_DW): Likewise.
17282         (FRAME_TOC_SAVE): Likewise.
17283         (FRAME_PARM_SAVE): Likewise.
17284         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17285         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17286         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17288         (CHECK_SP): Use symbolic stack frame offsets.
17289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17290         zone" instead of caller's parameter save area for temp storage.
17291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17292         Likewise.  Also, use symbolic stack frame offsets.
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17294         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17295         our own stack frame instead of the caller's.
17296         (__socket): Use symbolic stack frame offsets.
17298 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17299             Alan Modra  <amodra@gmail.com>
17301         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17302         Define.
17303         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17304         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17305         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17306         New function.
17307         (elf_machine_fixup_plt): Call it.
17308         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17309         reloc arguments.
17310         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17311         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17312         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17313         r2 before calling target.
17315 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17316             Alan Modra  <amodra@gmail.com>
17318         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17319         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17320         versions of macros to support ELFv2 ABI.
17321         (LOCALENTRY): New macro.
17322         (ENTRY, EALIGN): Use it.
17323         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17324         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17325         fall through into ENTRY entry point.
17326         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17327         Only define if _CALL_ELF != 2.
17329         (elf_machine_matches_host): Verify ABI version matches.
17330         (RTLD_START): Use LOCALENTRY.
17331         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17332         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17333         (PLT_ENTRY_WORDS): New macro.
17334         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17335         (elf_machine_runtime_setup): Support ELFv2 ABI.
17336         (elf_machine_fixup_plt): Likewise.
17337         (elf_machine_plt_conflict): Likewise.
17338         (resolve_ifunc): Likewise.
17339         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17340         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17341         Likewise.
17342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17343         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17345         (makecontext): Support ELFv2 ABI.
17346         * elf/elf.h (EF_PPC64_ABI): Define.
17348 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17350         * sysdeps/powerpc/powerpc64/sysdep.h
17351         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17352         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17353         (ENTRY) [ASSEMBLER]: ... but instead here ...
17354         (EALIGN) [ASSEMBLER]: ... and here.
17355         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17356         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17357         (ENTRY_2) [!ASSEMBLER]: Use it.
17358         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17359         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17360         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17361         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17362         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17364         Use PPC64_LOAD_FUNCPTR.
17366         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17368 2013-12-04  Alan Modra  <amodra@gmail.com>
17370         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17371         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17372         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17373         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17375         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17376         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17377         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17378         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17379         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17380         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17382 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17385         (__makecontext): Fix incorrect CFI when backtracing out of
17386         context created via makecontext.
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17388         (__setcontext): Fix incorrect CFI during switch to new context.
17389         (__novec_setcontext): Likewise.
17391 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17393         [BZ #4772]
17394         * time/strptime_l.c (__strptime_internal): Allow modifiers
17395         in strptime.
17396         * time/tst-strptime.c (day_tests): Add testcase.
17398 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17400         * scripts/bench.pl: Skip over blank lines.
17402 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17404         [BZ #926]
17405         * manual/time.texi (Calendar Time): Clarify what timezone functions
17406         use.
17408 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17412 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17414         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17415         implementation.
17416         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17417         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17418         * debug/memset_chk.c (__memset_chk): Likewise.
17419         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17420         * debug/strncpy_chk.c: Likewise.
17422 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17424         [BZ #15268]
17425         [BZ #15425]
17426         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17427         (__ieee754_exp): For possibly underflowing results, check size of
17428         result and force underflow exception if required.
17429         * math/auto-libm-test-in: Add more tests of exp.
17430         * math/auto-libm-test-out: Regenerated.
17431         * sysdeps/i386/fpu/libm-test-ulps: Update.
17432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17434         [BZ #16283]
17435         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17436         * math/w_exp2f.c (__exp2f): Likewise.
17437         * math/w_exp2l.c (__exp2l): Likewise.
17438         * math/auto-libm-test-in: Do not allow missing errno on exp2
17439         underflow.
17440         * math/auto-libm-test-out: Regenerated.
17442 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17444         [BZ #16274]
17445         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17446         handle filename validation.
17447         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17448         (do_open): Delete.
17450 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17452         [BZ #6786]
17453         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17454         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17455         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17456         <float.h>.
17457         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17458         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17459         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17460         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17461         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17462         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17463         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17464         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17465         Add more erfc tests.
17466         * math/auto-libm-test-out: Regenerated.
17467         * sysdeps/i386/fpu/libm-test-ulps: Update.
17468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17470         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17471         exp2, expm1, j0 and j1.
17472         * math/auto-libm-test-out: Regenerated.
17473         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17474         (erfc_test_data): Likewise.
17475         (exp_test_data): Likewise.
17476         (exp_tonearest_test_data): Likewise.
17477         (exp_towardzero_test_data): Likewise.
17478         (exp_downward_test_data): Likewise.
17479         (exp_upward_test_data): Likewise.
17480         (exp10_test_data): Likewise.
17481         (exp2_test_data): Likewise.
17482         (expm1_test_data): Likewise.
17483         (j0_test_data): Likewise.
17484         (j1_test_data): Likewise.
17485         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17486         (input_flag_type): Add flag_xfail_rounding.
17487         (input_flags): Add xfail-rounding.
17488         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17489         (output_for_one_input_case): Handle flag_xfail_rounding.
17490         * sysdeps/i386/fpu/libm-test-ulps: Update.
17491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17493 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17495         [BZ #16289]
17496         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17497         division by 0.
17499 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17501         [BZ #16195]
17502         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17503         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17504         (STAP_PROBE0): New macro.
17505         (STAP_PROBE1): Likewise.
17506         (STAP_PROBE2): Likewise.
17507         (STAP_PROBE3): Likewise.
17508         (STAP_PROBE4): Likewise.
17510 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17512         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17514 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17516         * benchtests/Makefile (bench): Add sqrt.
17517         (LDLIBS-bench-sqrt): New.
17518         * benchtests/sqrt-input: New.
17520 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17522         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17523         (GAIH_EAI): Likewise.
17524         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17525         (gaih_inet): Likewise.
17526         (getaddrinfo): Don't use GAIH_EAI.
17528         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17529         (struct gaih): Remove definition.
17531 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17533         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17534         Use HERRNOP directly.
17536 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17540 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
17542         * math/gen-auto-libm-tests.c (test_functions): Add more
17543         single-argument functions.
17544         (special_fill_pi_2): New function.
17545         (special_fill_minus_pi_2): Likewise.
17546         (special_fill_pi_6): Likewise.
17547         (special_fill_minus_pi_6): Likewise.
17548         (special_fill_pi_3): Likewise.
17549         (special_fill_2pi_3): Likewise.
17550         (special_fill_e): Likewise.
17551         (special_fill_1_e): Likewise.
17552         (special_fill_e_minus_1): Likewise.
17553         (special_real_inputs): Add more special inputs.
17554         (output_for_one_input_case): Do not require ERANGE on underflow to
17555         zero if round-to-nearest result does not underflow to zero, unless
17556         exact results required.
17557         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17558         atan, atanh, cbrt, cos and cosh.
17559         * math/auto-libm-test-out: Regenerated.
17560         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17561         (acos_tonearest_test_data): Likewise.
17562         (acos_towardzero_test_data): Likewise.
17563         (acos_downward_test_data): Likewise.
17564         (acos_upward_test_data): Likewise.
17565         (acosh_test_data): Likewise.
17566         (asin_test_data): Likewise.
17567         (asin_tonearest_test_data): Likewise.
17568         (asin_towardzero_test_data): Likewise.
17569         (asin_upward_test_data): Likewise.
17570         (asinh_test_data): Likewise.
17571         (atan_test_data): Likewise.
17572         (atanh_test_data): Likewise.
17573         (cbrt_test_data): Likewise.
17574         (cos_test_data): Likewise.
17575         (cos_tonearest_test_data): Likewise.
17576         (cos_towardzero_test_data): Likewise.
17577         (cos_downward_test_data): Likewise.
17578         (cos_upward_test_data): Likewise.
17579         (cosh_test_data): Likewise.
17580         (cosh_tonearest_test_data): Likewise.
17581         (cosh_towardzero_test_data): Likewise.
17582         (cosh_downward_test_data): Likewise.
17583         (cosh_upward_test_data): Likewise.
17584         * sysdeps/i386/fpu/libm-test-ulps: Update.
17585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
17589         [BZ #6787]
17590         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17591         * math/w_exp10f.c (__exp10f): Likewise.
17592         * math/w_exp10l.c (__exp10l): Likewise.
17593         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17594         errno settings in existing tests.
17596         [BZ #14032]
17597         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17598         precision control set to double precision.
17599         * sysdeps/i386/fpu/w_sqrt.c: New file.
17600         * math/auto-libm-test-in: Add more tests.
17601         * math/auto-libm-test-out: Update.
17603         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17604         (sqrt_test_tonearest): New function.
17605         (sqrt_towardzero_test_data): New variable.
17606         (sqrt_test_towardzero): New function.
17607         (sqrt_downward_test_data): New variable.
17608         (sqrt_test_downward): New function.
17609         (sqrt_upward_test_data): New variable.
17610         (sqrt_test_upward): New function.
17611         (main): Call the new functions.
17613         * math/gen-auto-libm-tests.c: New file.
17614         * math/auto-libm-test-in: Likewise.
17615         * math/auto-libm-test-out: New generated file.
17616         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17617         variables.
17618         (%beautify): Add generated representations of zero.
17619         (top level): Set $auto_input and call parse_auto_input.
17620         (beautify): Remove trailing "f" from hex float constants.
17621         (parse_args): Handle XFAIL_TEST.
17622         (convert_condition): New function.
17623         (or_value): Likewise.
17624         (or_cond_value): Likewise.
17625         (generate_testfile): Handle AUTO_TESTS_* lines.
17626         (parse_auto_input): New function.
17627         * math/libm-test.inc (XFAIL_TEST): New macro.
17628         (ERRNO_UNCHANGED): Update value.
17629         (ERRNO_EDOM): Likewise.
17630         (ERRNO_ERANGE): Likewise.
17631         (IGNORE_RESULT): Likewise.
17632         (TEST_COND_flt_32): New macro.
17633         (TEST_COND_dbl_64): Likewise.
17634         (TEST_COND_ldbl_96_intel): Likewise.
17635         (TEST_COND_ldbl_96_m68k): Likewise.
17636         (TEST_COND_ldbl_128): Likewise.
17637         (TEST_COND_ldbl_128ibm): Likewise.
17638         (TEST_COND_long32): Likewise.
17639         (TEST_COND_long64): Likewise.
17640         (TEST_COND_before_rounding): Likewise.
17641         (TEST_COND_after_rounding): Likewise.
17642         (enable_test): Handle XFAIL_TEST flag.
17643         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17644         with finite results.
17645         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17646         auto-libm-test-out.
17648 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17649             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17651         [BZ #16214]
17652         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17653         __tls_get_addr_internal instead of __tls_get_offset in order to
17654         avoid GOT pointer dependency.  Make rtld export
17655         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17656         __tls_get_addr since we are a __tls_get_offset platform.
17657         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17658         GOT pointer being set up before.
17659         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17661 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17663         * manual/math.texi (Errors in Math Functions): Document accuracy
17664         goals.
17666         [BZ #15004]
17667         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17668         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17670         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17671         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17672         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17673         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17674         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17675         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17676         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17678         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17679         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17680         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17681         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17682         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17684         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17685         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17686         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17687         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17688         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17689         Likewise.
17690         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17691         Likewise.
17692         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17693         Likewise.
17694         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17695         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17696         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17697         atomic-feupdateenv and flt-rounds.
17698         * sysdeps/powerpc/nofpu/Versions (libc): Add
17699         __atomic_feholdexcept, __atomic_feclearexcept,
17700         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17701         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17702         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17703         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17704         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17705         here.
17706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17707         Update.
17709         * manual/arith.texi (FP Exceptions): Document that exceptions may
17710         not be raised when matherr is used.
17711         (Math Error Reporting): Document overflow in directed rounding
17712         modes.  Document that errno may not be set when finite values are
17713         returned on overflow.  Document intent to set errno on underflow
17714         only for underflow to zero.
17716         [BZ #16271]
17717         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17718         round-to-nearest then adjust result for other rounding modes.
17719         * include/fenv.h (fegetround): Use libm_hidden_proto.
17720         * math/fegetround.c (fegetround): Use libm_hidden_def.
17721         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17722         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17723         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17724         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17725         Likewise.
17726         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17727         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17728         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17729         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17731 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17733         [BZ #16077]
17734         * nss/Versions (libnss_files): Add
17735         _nss_files_gethostbyname3_r.
17736         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17737         New function.
17738         (HOST_DB_LOOKUP): Remove macro.
17739         (_nss_files_gethostbyname_r): Implement function without the
17740         HOST_DB_LOOKUP macro.
17741         (_nss_files_gethostbyname2_r): Likewise.
17743 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17745         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17747 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17749         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17750         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17751         warning.
17753 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17755         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17756         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17757         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17758         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17759         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17760         __fe_nomask_env_priv and attribute_hidden.
17761         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17762         (libc_feupdateenv_test_ppc): Likewise.
17763         (libc_feresetround_ppc): Likewise.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17765         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17766         compat_symbol macro.
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17768         (__fe_nomask_env): Likewise.
17769         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17771 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17773         * string/Makefile: Remove ifunc tests.
17774         * string/test-string.h: Define TEST_IFUNC.
17775         * string/test-bcopy-ifunc.c: Remove.
17776         * string/test-bzero-ifunc.c: Likewise.
17777         * string/test-memccpy-ifunc.c: Likewise.
17778         * string/test-memchr-ifunc.c: Likewise.
17779         * string/test-memcmp-ifunc.c: Likewise.
17780         * string/test-memcpy-ifunc.c: Likewise.
17781         * string/test-memmem-ifunc.c: Likewise.
17782         * string/test-memmove-ifunc.c: Likewise.
17783         * string/test-mempcpy-ifunc.c: Likewise.
17784         * string/test-memrchr-ifunc.c: Likewise.
17785         * string/test-memset-ifunc.c: Likewise.
17786         * string/test-rawmemchr-ifunc.c: Likewise.
17787         * string/test-stpcpy-ifunc.c: Likewise.
17788         * string/test-stpncpy-ifunc.c: Likewise.
17789         * string/test-strcasecmp-ifunc.c: Likewise.
17790         * string/test-strcasestr-ifunc.c: Likewise.
17791         * string/test-strcat-ifunc.c: Likewise.
17792         * string/test-strchr-ifunc.c: Likewise.
17793         * string/test-strchrnul-ifunc.c: Likewise.
17794         * string/test-strcmp-ifunc.c: Likewise.
17795         * string/test-strcpy-ifunc.c: Likewise.
17796         * string/test-strcspn-ifunc.c: Likewise.
17797         * string/test-strlen-ifunc.c: Likewise.
17798         * string/test-strncasecmp-ifunc.c: Likewise.
17799         * string/test-strncat-ifunc.c: Likewise.
17800         * string/test-strncmp-ifunc.c: Likewise.
17801         * string/test-strncpy-ifunc.c: Likewise.
17802         * string/test-strnlen-ifunc.c: Likewise.
17803         * string/test-strpbrk-ifunc.c: Likewise.
17804         * string/test-strrchr-ifunc.c: Likewise.
17805         * string/test-strspn-ifunc.c: Likewise.
17806         * string/test-strstr-ifunc.c: Likewise.
17808 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17810         * benchtests/Makefile: Remove ifunc tests.
17811         * benchtests/bench-string.h: Define TEST_IFUNC.
17812         * benchtests/bench-bcopy-ifunc.c: Remove.
17813         * benchtests/bench-bzero-ifunc.c: Likewise.
17814         * benchtests/bench-memccpy-ifunc.c: Likewise.
17815         * benchtests/bench-memchr-ifunc.c: Likewise.
17816         * benchtests/bench-memcmp-ifunc.c: Likewise.
17817         * benchtests/bench-memcpy-ifunc.c: Likewise.
17818         * benchtests/bench-memmem-ifunc.c: Likewise.
17819         * benchtests/bench-memmove-ifunc.c: Likewise.
17820         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17821         * benchtests/bench-memrchr-ifunc.c: Likewise.
17822         * benchtests/bench-memset-ifunc.c: Likewise.
17823         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17824         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17825         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17826         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17827         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17828         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17829         * benchtests/bench-strcat-ifunc.c: Likewise.
17830         * benchtests/bench-strchr-ifunc.c: Likewise.
17831         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17832         * benchtests/bench-strcmp-ifunc.c: Likewise.
17833         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17834         * benchtests/bench-strcpy-ifunc.c: Likewise.
17835         * benchtests/bench-strcspn-ifunc.c: Likewise.
17836         * benchtests/bench-strlen-ifunc.c: Likewise.
17837         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17838         * benchtests/bench-strncat-ifunc.c: Likewise.
17839         * benchtests/bench-strncmp-ifunc.c: Likewise.
17840         * benchtests/bench-strncpy-ifunc.c: Likewise.
17841         * benchtests/bench-strnlen-ifunc.c: Likewise.
17842         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17843         * benchtests/bench-strrchr-ifunc.c: Likewise.
17844         * benchtests/bench-strsep-ifunc.c: Likewise.
17845         * benchtests/bench-strspn-ifunc.c: Likewise.
17846         * benchtests/bench-strstr-ifunc.c: Likewise.
17848 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17850         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17852 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17854         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17855         * rt/aio.h: Likewise.
17856         * sysdeps/gnu/bits/utmp.h: Likewise.
17857         * sysdeps/gnu/bits/utmpx.h: Likewise.
17858         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17859         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17860         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17861         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17862         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17863         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17864         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17865         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17866         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17867         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17868         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17869         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17870         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17872         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17873         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17874         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17875         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17876         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17877         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17878         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17879         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17880         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17881         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17882         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17883         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17884         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17885         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17886         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17887         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17888         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17889         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17890         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17891         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17892         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17893         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17894         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17895         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17896         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17897         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17898         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17899         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17901 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17903         [BZ #16245]
17904         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17905         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17907 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17909         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17910         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17911         Likewise.
17913 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17915         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17916         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17917         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17918         (__fesetround): Remove define.
17919         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17920         rounding and exceptions handling.
17921         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17922         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17923         (__fe_nomask_env): Likewise.
17924         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17925         __fegetround instead of fegetround.
17926         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17927         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17929 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17931         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17932         it's there.
17934         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17936 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17938         [BZ #11157]
17939         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17940         (encrypt_r): Likewise.
17941         * malloc/obstack.h (obstack_free): Likewise.
17942         * posix/unistd.h (encrypt): Likewise.
17944 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17946         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17947         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17948         DL_CALL_DT_FINI() that call the functions directly.
17949         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17950         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17951         * elf/dl-fini.c: Likewise.
17953 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17955         * malloc/hooks.c (memalign_check): Add alignment rounding.
17956         * malloc/malloc.c (_mid_memalign): New function.
17957         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17958         Implement by calling _mid_memalign.
17959         * manual/probes.texi (Memory Allocation Probes): Remove
17960         memory_valloc_retry and memory_pvalloc_retry.
17962 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17964         * locale/programs/locarchive.c (open_archive): Add const
17965         qualifier to ARCHIVEFNAME and copy default fname to
17966         DEFAULT_FNAME.
17968         [BZ #15601]
17969         * libio/tst-widetext.input: Rename Oriya to Odia.
17970         * locale/iso-639.def: Likewise.
17972         * manual/probes.texi (Mathematical Function Probes): Add
17973         documentation for sin, cos, asin and acos probes.
17974         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17975         (__sin32): Add slowasin probe.
17976         (__cos32): Add slowacos probe.
17977         (__mpsin): Add slowsin probe.
17978         (__mpcos): Add slowcos probe.
17980 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17982         [BZ #15483]
17983         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17984         thread-local __sim_exceptions_thread and global
17985         __sim_exceptions_global.
17986         (__sim_disabled_exceptions): Change to thread-local
17987         __sim_disabled_exceptions_thread and global
17988         __sim_disabled_exceptions_global.
17989         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17990         and global __sim_round_mode_global.
17991         (__simulate_exceptions): Use thread-local floating-point state and
17992         set global state from it as needed.
17993         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17994         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17995         __sim_round_mode_thread.
17996         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17997         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17998         and global __sim_exceptions_global.
17999         (__sim_disabled_exceptions): Change to thread-local
18000         __sim_disabled_exceptions_thread and global
18001         __sim_disabled_exceptions_global.
18002         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18003         and global __sim_round_mode_global.
18004         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18005         (SIM_SET_GLOBAL): Likewise.
18006         * sysdeps/powerpc/soft-fp/sfp-machine.h
18007         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18008         __sim_round_mode_thread.
18009         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18010         __sim_disabled_exceptions_thread.
18011         (__sim_exceptions): Change to __sim_exceptions_thread.
18012         (__sim_disabled_exceptions): Change to
18013         __sim_disabled_exceptions_thread.
18014         (__sim_round_mode): Change to __sim_round_mode_thread.
18015         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18016         thread-local floating-point state and set global state from it as
18017         needed.
18018         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18019         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18020         (__sim_disabled_exceptions): Remove extern declaration.
18021         (feenableexcept): Use thread-local floating-point state and set
18022         global state from it as needed.
18023         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18024         extern declaration.
18025         (__sim_disabled_exceptions): Likewise.
18026         (__sim_round_mode): Likewise.
18027         (__fegetenv): Use thread-local floating-point state.
18028         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18029         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18030         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18031         floating-point state and set global state from it as needed.
18032         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18033         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18034         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18035         Likewise.
18036         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18037         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18038         Likewise.
18039         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18040         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18041         Use __sim_round_mode_thread.
18042         * math/test-fenv-tls.c: New file.
18043         * math/Makefile (tests): Add test-fenv-tls.
18044         ($(objpfx)test-fenv-tls): Depend on
18045         $(common-objpfx)nptl/libpthread.so.
18047 2013-11-19  Andreas Schwab  <schwab@suse.de>
18049         * locale/programs/locale.c (show_info): Decode wordarray elements.
18050         * locale/categories.def (LC_MONETARY): Add element for
18051         _NL_MONETARY_CRNCYSTR.
18052         * locale/C-monetary.c (conversion_rate): New variable.
18053         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18054         element.
18056 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18058         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18059         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18061 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18063         * elf/Makefile (tst-auxv): New test.
18064         * elf/tst-auxv.c: New
18065         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18067 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18069         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18070         (hidden_proto): Caller changed.
18071         (hidden_tls_proto): New macro.
18072         (libc_hidden_tls_proto): Likewise.
18073         (rtld_hidden_tls_proto): Likewise.
18074         (libm_hidden_tls_proto): Likewise.
18075         (libresolv_hidden_tls_proto): Likewise.
18076         (librt_hidden_tls_proto): Likewise.
18077         (libdl_hidden_tls_proto): Likewise.
18078         (libnss_files_hidden_tls_proto): Likewise.
18079         (libnsl_hidden_tls_proto): Likewise.
18080         (libnss_nisplus_hidden_tls_proto): Likewise.
18081         (libutil_hidden_tls_proto): Likewise.
18083 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18085         [BZ #10253]
18086         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18087         (decompose_rpath): Defer expansion to fillin_rpath.
18088         (_dl_init_paths): Pass linkmap to fillin_rpath.
18090 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18092         * benchtests/Makefile: Add strsep.
18093         * benchtests/bench-strsep.c: New file: strsep benchtest.
18094         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18096 2013-11-18  Andreas Schwab  <schwab@suse.de>
18098         * locale/programs/locale.c (show_info) [case byte]: Check for
18099         '\377' instead of '\177'.
18100         * locale/C-monetary.c (not_available): Always use "\377".
18101         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18102         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18103         detect unavailable sign_posn locale elements.
18104         * locale/localeconv.c (__localeconv): For grouping and
18105         mon_grouping handle "\177" and "\377" like no grouping.
18106         (INT_ELEM): New macro.  Use it to set all numeric members.
18107         * locale/programs/ld-monetary.c (monetary_read)
18108         <tok_mon_grouping>: Normalize single -1 to the empty string.
18109         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18110         Likewise.
18112 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18114         [BZ #16055]
18115         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18116         when we match (nil).
18117         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18119 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18121         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18122         (NO_TEST_INLINE): Update value.
18123         (ERRNO_UNCHANGED): Likewise.
18124         (ERRNO_EDOM): Likewise.
18125         (ERRNO_ERANGE): Likewise.
18126         (IGNORE_RESULT): Likewise.
18127         (check_float_internal): Check signs of NaN results if
18128         TEST_NAN_SIGN used.
18129         (check_complex): Pass TEST_NAN_SIGN flag through to second
18130         check_float_internal call.
18131         (copysign_test_data): Add tests with quiet NaNs as second
18132         argument.  Use TEST_NAN_SIGN.
18133         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18134         TEST_NAN_SIGN.
18135         (signbit_test_data): Add tests of quiet NaN argument.
18136         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18138         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18139         $ignore_result.
18140         (parse_args): Handle function results specified as IGNORE.
18141         * math/libm-test.inc (IGNORE_RESULT): New macro.
18142         (check_float_internal): Do not check numerical result if flag
18143         IGNORE_RESULT set.
18144         (check_complex): Pass through IGNORE_RESULT to second
18145         check_float_internal call.
18146         (check_int): Do not check numerical result if flag IGNORE_RESULT
18147         set.
18148         (check_long): Likewise.
18149         (check_bool): Likewise.
18150         (check_longlong): Likewise.
18151         (lrint_test_data): Add tests of infinite and NaN arguments.
18152         (lrint_tonearest_test_data): Likewise.
18153         (lrint_towardzero_test_data): Likewise.
18154         (lrint_downward_test_data): Likewise.
18155         (lrint_upward_test_data): Likewise.
18156         (llrint_test_data): Likewise.
18157         (llrint_tonearest_test_data): Likewise.
18158         (llrint_towardzero_test_data): Likewise.
18159         (llrint_downward_test_data): Likewise.
18160         (llrint_upward_test_data): Likewise.
18161         (lround_test_data): Likewise.
18162         (llround_test_data): Likewise.
18164         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18165         (ERRNO_UNCHANGED): Update value.
18166         (ERRNO_EDOM): Likewise.
18167         (ERRNO_ERANGE): Likewise.
18168         (NO_TEST_INLINE_FLOAT): New macro.
18169         (NO_TEST_INLINE_DOUBLE): Likewise.
18170         (enable_test): New function.
18171         (RUN_TEST_f_f): Check enable_test before running test.
18172         (RUN_TEST_2_f): Likewise.
18173         (RUN_TEST_fff_f): Likewise.
18174         (RUN_TEST_c_f): Likewise.
18175         (RUN_TEST_f_f1): Likewise.
18176         (RUN_TEST_fF_f1): Likewise.
18177         (RUN_TEST_fI_f1): Likewise.
18178         (RUN_TEST_ffI_f1): Likewise.
18179         (RUN_TEST_c_c): Likewise.
18180         (RUN_TEST_cc_c): Likewise.
18181         (RUN_TEST_f_i): Likewise.
18182         (RUN_TEST_f_i_tg): Likewise.
18183         (RUN_TEST_ff_i_tg): Likewise.
18184         (RUN_TEST_f_b): Likewise.
18185         (RUN_TEST_f_b_tg): Likewise.
18186         (RUN_TEST_f_l): Likewise.
18187         (RUN_TEST_f_L): Likewise.
18188         (RUN_TEST_fFF_11): Likewise.
18189         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18190         conditionals.
18191         (cosh_test_data): Likewise.
18192         (exp_test_data): Likewise.
18193         (expm1_test_data): Likewise.
18194         (hypot_test_data): Likewise.
18195         (pow_test_data): Likewise.
18196         (sinh_test_data): Likewise.
18197         (tanh_test_data): Likewise.
18198         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18199         flags argument.
18201         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18202         tests with quiet NaN input and output.
18203         (acosh_test_data): Likewise.
18204         (asin_test_data): Likewise.
18205         (asinh_test_data): Likewise.
18206         (atan_test_data): Likewise.
18207         (atanh_test_data): Likewise.
18208         (atan2_test_data): Likewise.
18209         (cbrt_test_data): Likewise.
18210         (cos_test_data): Likewise.
18211         (cosh_test_data): Likewise.
18212         (erf_test_data): Likewise.
18213         (erfc_test_data): Likewise.
18214         (exp_test_data): Likewise.
18215         (exp10_test_data): Likewise.
18216         (exp2_test_data): Likewise.
18217         (expm1_test_data): Likewise.
18218         (hypot_test_data): Likewise.
18219         (j0_test_data): Likewise.
18220         (j1_test_data): Likewise.
18221         (jn_test_data): Likewise.
18222         (lgamma_test_data): Likewise.
18223         (log_test_data): Likewise.
18224         (log10_test_data): Likewise.
18225         (log1p_test_data): Likewise.
18226         (log2_test_data): Likewise.
18227         (pow_test_data): Likewise.
18228         (scalb_test_data): Likewise.
18229         (sin_test_data): Likewise.
18230         (sincos_test_data): Likewise.
18231         (sinh_test_data): Likewise.
18232         (tan_test_data): Likewise.
18233         (tanh_test_data): Likewise.
18234         (tgamma_test_data): Likewise.
18235         (y0_test_data): Likewise.
18236         (y1_test_data): Likewise.
18237         (yn_test_data): Likewise.
18239         [BZ #16167]
18240         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18241         argument being NaN and avoid computations with second argument in
18242         that case.
18243         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18244         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18245         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18247 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18249         * locale/iso-639.def: Add Chitwani Tharu (the).
18251 2013-11-14  Andreas Schwab  <schwab@suse.de>
18253         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18254         word instead of empty string.
18256 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18259         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18261         (__fe_nomask_env): Likewise.
18263 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18265         * benchtests/bench-timing.h: Include time.h.
18267 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18269         [BZ #15997]
18270         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18271         to 3.4.0 for x32.
18272         * sysdeps/unix/sysv/linux/configure: Regenerated.
18274 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18276         [BZ #16151]
18277         * stdlib/strtod_l.c (round_and_return): Do not consider
18278         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18279         exponent one less than half the least subnormal exponent.
18280         * stdlib/test-strtod-round-data: Add more tests.
18281         * stdlib/tst-strtod-round.c (tests): Regenerated.
18283 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18285         [BZ #14143]
18286         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18287         (__fe_mask_env): Likewise.
18288         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18289         libm_hidden_proto and add function prototype.
18290         (__fe_mask_env): Add function prototype.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18292         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18294         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18296         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18298 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18300         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18301         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18303 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18305         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18306         of htab_find_slot().
18308 2013-11-11  David S. Miller  <davem@davemloft.net>
18310         [BZ #16150]
18311         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18312         symbol in the non-vis3 case in static builds.
18313         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18314         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18315         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18316         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18318 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18320         [BZ #387]
18321         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18322         it is empty.
18324 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18326         * benchtests/Makefile: Add bench-strtod.
18327         * benchtests/bench-strtod.c: New file: strtod benchtest
18329 2013-11-11  Andreas Schwab  <schwab@suse.de>
18331         [BZ #16153]
18332         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18333         terminating NUL in key length.
18335 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18337         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18338         Add artificial ODP entry for vDSO symbol for PPC64.
18339         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18340         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18342 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18344         [BZ #15374]
18345         * nss/getent.c (services_keys): Recognize services starting with digit.
18347 2013-11-06  David S. Miller  <davem@davemloft.net>
18349         [BZ #15985]
18350         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18351         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18353 2013-11-06  Will Newton  <will.newton@linaro.org>
18355         * manual/memory.texi (Malloc Examples): Remove register
18356         keyword from examples.
18358 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18360         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18362 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18364         [BZ #6981]
18365         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18366         depending on [__GCC_IEC_559 > 0].
18367         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18368         depending on [__GCC_IEC_559_COMPLEX > 0].
18370 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18372         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18373         to iso-639.def.
18375 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18377         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18379 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18381         [BZ #16112]
18382         * malloc/malloc (malloc_info): Do not handle first bin as
18383         special case.
18385 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18387         * locale/iso-639.def: Add Central Nahuatl (nhn).
18389 2013-11-01  Bruno Haible  <bruno@clisp.org>
18391         [BZ #7003]
18392         * manual/math.texi (BSD Random): Specify range upper bound as
18393         in POSIX.
18395 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18397         * locale/iso-639.def: Add Meadow Mari (mhr).
18399 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18401         [BZ #14752], [BZ #15763]
18402         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18403         Validate name.
18404         * rt/tst_shm.c: Add test for escaping directory.
18406 2013-10-31  Andreas Schwab  <schwab@suse.de>
18408         [BZ #15917]
18409         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18410         followed by 'x' as part of digit sequence.
18411         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18413 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18415         [BZ #16037]
18416         * configure.ac: allow GNU Make 4.0 and greater.
18417         * configure: Regenerated.
18419 2013-10-30  Will Newton  <will.newton@linaro.org>
18421         [BZ #16038]
18422         * malloc/hooks.c (memalign_check): Limit alignment to the
18423         maximum representable power of two.
18424         * malloc/malloc.c (__libc_memalign): Likewise.
18425         * malloc/tst-memalign.c (do_test): Add test for very
18426         large alignment values.
18427         * malloc/tst-posix_memalign.c (do_test): Likewise.
18429 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18431         [BZ #11087]
18432         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18433         (munmap_chunk): Likewise.
18434         (mremap_chunk): Likewise.
18436 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18438         [BZ #15799]
18439         * stdlib/div.c (div): Remove obsolete code.
18440         * stdlib/ldiv.c (ldiv): Likewise.
18441         * stdlib/lldiv.c (lldiv): Likewise.
18443 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18445         [BZ #16071]
18446         * nss/nss_files/files-XXX.c (get_contents_ret): New
18447         enumerator.
18448         (get_contents): New function.
18449         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18451 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18453         * configure.in: Moved to ...
18454         * configure.ac: ... here. Change reference to configure.in
18455         to configure.ac.
18456         * sysdeps/arm/preconfigure.ac: ... here.
18457         configure.in to configure.ac.
18458         * sysdeps/gnu/configure.in: Moved to ...
18459         * sysdeps/gnu/configure.ac: ... here.
18460         * sysdeps/i386/configure.in: Moved to ...
18461         * sysdeps/i386/configure.ac: ... here.
18462         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18463         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18464         * sysdeps/mach/configure.in: Moved to ...
18465         * sysdeps/mach/configure.ac: ... here.
18466         * sysdeps/mach/hurd/configure.in: Moved to ...
18467         * sysdeps/mach/hurd/configure.ac: ... here.
18468         * sysdeps/powerpc/configure.in: Moved to ...
18469         * sysdeps/powerpc/configure.ac: ... here.
18470         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18471         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18472         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18473         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18474         * sysdeps/s390/s390-32/configure.in: Moved to ...
18475         * sysdeps/s390/s390-32/configure.ac: ... here.
18476         * sysdeps/s390/s390-64/configure.in: Moved to ...
18477         * sysdeps/s390/s390-64/configure.ac: ... here.
18478         * sysdeps/sh/configure.in: Moved to ...
18479         * sysdeps/sh/configure.ac: ... here.
18480         * sysdeps/sparc/configure.in: Moved to ...
18481         * sysdeps/sparc/configure.ac: ... here.
18482         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18483         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18484         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18485         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18486         * sysdeps/x86_64/configure.in: Moved to ...
18487         * sysdeps/x86_64/configure.ac: ... here.
18488         * sysdeps/x86_64/preconfigure.in: Moved to ...
18489         * sysdeps/x86_64/preconfigure.ac: ... here.
18490         * aclocal.m4: Change reference to configure.in to configure.ac.
18491         * config.h.in: Likewise.
18492         * manual/install.texi: Likewise.
18493         * manual/maint.texi: Likewise.
18494         * Makefile: Likewise.
18495         * malloc/Makefile: Likewise.
18496         * nscd/Makefile: Likewise.
18497         * Makeconfig: Change reference to configure.in and
18498         preconfigure.in to configure.ac and preconfigure.ac
18499         respectively.
18500         * INSTALL: Regenerated.
18501         * configure: Likewise.
18502         * sysdeps/gnu/configure: Likewise.
18503         * sysdeps/i386/configure: Likewise.
18504         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18505         * sysdeps/mach/configure: Likewise.
18506         * sysdeps/mach/hurd/configure: Likewise.
18507         * sysdeps/powerpc/configure: Likewise.
18508         * sysdeps/powerpc/powerpc32/configure: Likewise.
18509         * sysdeps/powerpc/powerpc64/configure: Likewise.
18510         * sysdeps/s390/s390-32/configure: Likewise.
18511         * sysdeps/s390/s390-64/configure: Likewise.
18512         * sysdeps/sh/configure: Likewise.
18513         * sysdeps/sparc/configure: Likewise.
18514         * sysdeps/unix/sysv/linux/configure: Likewise.
18515         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18516         * sysdeps/x86_64/configure: Likewise.
18517         * sysdeps/x86_64/preconfigure: Likewise.
18519 2013-10-29  Andreas Schwab  <schwab@suse.de>
18521         * stdio-common/Makefile (tst-swscanf-ENV): Define.
18523 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18525         * benchtests/pow-inputs: Add new inputs.
18527         * benchtests/exp-inputs: Add new inputs.
18529         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18530         conditional check for return value.
18531         (__cos32): Likewise.
18533 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18535         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18536         to provide a boost for large inputs with word alignment.
18537         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18538         implementation based on optimized PPC64 strcpy.
18539         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18540         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18541         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18542         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18544 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18546         [BZ #2801]
18547         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18549 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18551         [BZ #14876]
18552         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18553         * time/tst-strptime.c (day_tests): Add testcase.
18555 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18557         [BZ #14029]
18558         * manual/pattern.texi: Acknowledge that fnmatch can fail.
18560 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
18562         [BZ #16074]
18563         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18564         MAP_FAILED on error.
18566 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18568         [BZ #16072]
18569         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18570         heap for large requests.
18572 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
18574         [BZ #9954]
18575         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18576         result if the result has no associated interface.
18577         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18578         interface for all 127.X.Y.Z addresses.
18580 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
18582         * locale/iso-639.def: Add Ligurian (lij)
18584 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
18586         [BZ #15825]
18587         * sunrpc/rpc_main.c: Document rpcgen -5.
18589 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18591         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18593 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18595         [BZ #10278]
18596         * posix/glob.c: Match only directories when trailing slash is present.
18597         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18598         (main): Add testcase.
18600 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18602         [BZ #15670]
18603         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18605 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18607         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18608         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18609         AUTH_DES and cindex for FIPS 140-2.
18610         (DES Encryption): Add cindex FIPS 46-3.
18612         * locale/locarchive.h (struct locarhandle): Add fname.
18613         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18614         if an optional argument was specified to --list-archive,
18615         otherwise NULL.
18616         * locale/programs/locarchive.c (show_archive_content): Take new
18617         argument fname and pass it via ah.fname to open_archive.
18618         * locale/programs/localedef.h: Update decl.
18619         (open_archive): If AH->fname is non-null, open that file
18620         rather than the default file name, and don't ignore ENOENT.
18621         (create_archive): Set AH.fname to NULL.
18622         (delete_locales_from_archive): Likewise.
18623         (add_locales_to_archive): Likewise.
18624         * locale/programs/locfile.c (write_all_categories): Likewise.
18626 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18627             Aldy Hernandez  <aldyh@redhat.com>
18629         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18630         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18631         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18632         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18633         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18634         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18635         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18636         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18637         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18638         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18639         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18640         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18641         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18642         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18643         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18644         Likewise.
18645         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18646         Likewise.
18647         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18648         Likewise.
18649         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18650         Likewise.
18651         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18652         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18653         Likewise.
18654         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18655         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18656         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18657         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18658         Likewise.
18659         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18660         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18661         * sysdeps/powerpc/preconfigure: Likewise.
18662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18663         Likewise.
18664         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18665         Replace contents of file by #include of <fenv_libc.h>.
18666         * sysdeps/powerpc/soft-fp/sfp-machine.h
18667         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18668         and <sys/prctl.h>.
18669         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18672         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18673         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18679         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18682         Allow copysignl PLT reference to be missing.
18684 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18685             Joseph Myers  <joseph@codesourcery.com
18687         [BZ #15948]
18688         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18689         single character.
18690         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18692 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18694         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18695         * elf/tst-tls1.c: Likewise.
18696         * elf/tst-tls10.h: Likewise.
18697         * elf/tst-tls14.c: Likewise.
18698         * elf/tst-tls2.c: Likewise.
18699         * elf/tst-tls3.c: Likewise.
18700         * elf/tst-tls4.c: Likewise.
18701         * elf/tst-tls5.c: Likewise.
18702         * elf/tst-tls6.c: Likewise.
18703         * elf/tst-tls7.c: Likewise.
18704         * elf/tst-tls8.c: Likewise.
18705         * elf/tst-tls9.c: Likewise.
18706         * elf/tst-tlsmod1.c: Likewise.
18707         * elf/tst-tlsmod13.c: Likewise.
18708         * elf/tst-tlsmod13a.c: Likewise.
18709         * elf/tst-tlsmod14a.c: Likewise.
18710         * elf/tst-tlsmod16a.c: Likewise.
18711         * elf/tst-tlsmod16b.c: Likewise.
18712         * elf/tst-tlsmod2.c: Likewise.
18713         * elf/tst-tlsmod3.c: Likewise.
18714         * elf/tst-tlsmod4.c: Likewise.
18715         * elf/tst-tlsmod5.c: Likewise.
18716         * elf/tst-tlsmod6.c: Likewise.
18718 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18720         [BZ #12486]
18721         * malloc/malloc.c: remove checks for statistics.
18723 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18725         [BZ #15277]
18726         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18727         * inet/tst-network.c: Add testcase.
18729 2013-10-17  Andreas Schwab  <schwab@suse.de>
18731         [BZ #15218]
18732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18733         to determine canonical name.
18735 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18737         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18738         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18739         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18740         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18742         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18743         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18744         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18745         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18747         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18748         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18749         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18750         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18751         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18752         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18755         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18756         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18760         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18761         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18762         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18763         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18764         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18765         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18766         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18767         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18769         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18770         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18771         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18772         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18773         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18774         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18775         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18776         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18779         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18780         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18785         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18786         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18787         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18788         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18789         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18790         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18791         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18792         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18793         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18794         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18796 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18798         [BZ #16041]
18799         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18800         make result into a quiet NaN.
18802 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18804         * soft-fp/adddf3.c: Fix horizontal whitespace.
18805         * soft-fp/addsf3.c: Likewise.
18806         * soft-fp/addtf3.c: Likewise.
18807         * soft-fp/divdf3.c: Likewise.
18808         * soft-fp/divsf3.c: Likewise.
18809         * soft-fp/divtf3.c: Likewise.
18810         * soft-fp/double.h: Likewise.
18811         * soft-fp/eqdf2.c: Likewise.
18812         * soft-fp/eqsf2.c: Likewise.
18813         * soft-fp/eqtf2.c: Likewise.
18814         * soft-fp/extenddftf2.c: Likewise.
18815         * soft-fp/extended.h: Likewise.
18816         * soft-fp/extendsfdf2.c: Likewise.
18817         * soft-fp/extendsftf2.c: Likewise.
18818         * soft-fp/extendxftf2.c: Likewise.
18819         * soft-fp/fixdfdi.c: Likewise.
18820         * soft-fp/fixdfsi.c: Likewise.
18821         * soft-fp/fixdfti.c: Likewise.
18822         * soft-fp/fixsfdi.c: Likewise.
18823         * soft-fp/fixsfsi.c: Likewise.
18824         * soft-fp/fixsfti.c: Likewise.
18825         * soft-fp/fixtfdi.c: Likewise.
18826         * soft-fp/fixtfsi.c: Likewise.
18827         * soft-fp/fixtfti.c: Likewise.
18828         * soft-fp/fixunsdfdi.c: Likewise.
18829         * soft-fp/fixunsdfsi.c: Likewise.
18830         * soft-fp/fixunsdfti.c: Likewise.
18831         * soft-fp/fixunssfdi.c: Likewise.
18832         * soft-fp/fixunssfsi.c: Likewise.
18833         * soft-fp/fixunssfti.c: Likewise.
18834         * soft-fp/fixunstfdi.c: Likewise.
18835         * soft-fp/fixunstfsi.c: Likewise.
18836         * soft-fp/fixunstfti.c: Likewise.
18837         * soft-fp/floatdidf.c: Likewise.
18838         * soft-fp/floatdisf.c: Likewise.
18839         * soft-fp/floatditf.c: Likewise.
18840         * soft-fp/floatsidf.c: Likewise.
18841         * soft-fp/floatsisf.c: Likewise.
18842         * soft-fp/floatsitf.c: Likewise.
18843         * soft-fp/floattidf.c: Likewise.
18844         * soft-fp/floattisf.c: Likewise.
18845         * soft-fp/floattitf.c: Likewise.
18846         * soft-fp/floatundidf.c: Likewise.
18847         * soft-fp/floatundisf.c: Likewise.
18848         * soft-fp/floatunditf.c: Likewise.
18849         * soft-fp/floatunsidf.c: Likewise.
18850         * soft-fp/floatunsisf.c: Likewise.
18851         * soft-fp/floatunsitf.c: Likewise.
18852         * soft-fp/floatuntidf.c: Likewise.
18853         * soft-fp/floatuntisf.c: Likewise.
18854         * soft-fp/floatuntitf.c: Likewise.
18855         * soft-fp/fmadf4.c: Likewise.
18856         * soft-fp/fmasf4.c: Likewise.
18857         * soft-fp/fmatf4.c: Likewise.
18858         * soft-fp/gedf2.c: Likewise.
18859         * soft-fp/gesf2.c: Likewise.
18860         * soft-fp/getf2.c: Likewise.
18861         * soft-fp/ledf2.c: Likewise.
18862         * soft-fp/lesf2.c: Likewise.
18863         * soft-fp/letf2.c: Likewise.
18864         * soft-fp/muldf3.c: Likewise.
18865         * soft-fp/mulsf3.c: Likewise.
18866         * soft-fp/multf3.c: Likewise.
18867         * soft-fp/negdf2.c: Likewise.
18868         * soft-fp/negsf2.c: Likewise.
18869         * soft-fp/negtf2.c: Likewise.
18870         * soft-fp/op-1.h: Likewise.
18871         * soft-fp/op-2.h: Likewise.
18872         * soft-fp/op-4.h: Likewise.
18873         * soft-fp/op-8.h: Likewise.
18874         * soft-fp/op-common.h: Likewise.
18875         * soft-fp/quad.h: Likewise.
18876         * soft-fp/single.h: Likewise.
18877         * soft-fp/soft-fp.h: Likewise.
18878         * soft-fp/sqrtdf2.c: Likewise.
18879         * soft-fp/sqrtsf2.c: Likewise.
18880         * soft-fp/sqrttf2.c: Likewise.
18881         * soft-fp/subdf3.c: Likewise.
18882         * soft-fp/subsf3.c: Likewise.
18883         * soft-fp/subtf3.c: Likewise.
18884         * soft-fp/truncdfsf2.c: Likewise.
18885         * soft-fp/trunctfdf2.c: Likewise.
18886         * soft-fp/trunctfsf2.c: Likewise.
18887         * soft-fp/trunctfxf2.c: Likewise.
18888         * soft-fp/unorddf2.c: Likewise.
18889         * soft-fp/unordsf2.c: Likewise.
18890         * soft-fp/unordtf2.c: Likewise.
18892 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18894         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18895         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18897 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18899         * elf/dl-libc.c: Clear initfini list after freeing.
18901 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18903         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18904         * soft-fp/addsf3.c: Likewise.
18905         * soft-fp/addtf3.c: Likewise.
18906         * soft-fp/divdf3.c: Likewise.
18907         * soft-fp/divsf3.c: Likewise.
18908         * soft-fp/divtf3.c: Likewise.
18909         * soft-fp/double.h: Likewise.
18910         * soft-fp/eqdf2.c: Likewise.
18911         * soft-fp/eqsf2.c: Likewise.
18912         * soft-fp/eqtf2.c: Likewise.
18913         * soft-fp/extenddftf2.c: Likewise.
18914         * soft-fp/extended.h: Likewise.
18915         * soft-fp/extendsfdf2.c: Likewise.
18916         * soft-fp/extendsftf2.c: Likewise.
18917         * soft-fp/extendxftf2.c: Likewise.
18918         * soft-fp/fixdfdi.c: Likewise.
18919         * soft-fp/fixdfsi.c: Likewise.
18920         * soft-fp/fixdfti.c: Likewise.
18921         * soft-fp/fixsfdi.c: Likewise.
18922         * soft-fp/fixsfsi.c: Likewise.
18923         * soft-fp/fixsfti.c: Likewise.
18924         * soft-fp/fixtfdi.c: Likewise.
18925         * soft-fp/fixtfsi.c: Likewise.
18926         * soft-fp/fixtfti.c: Likewise.
18927         * soft-fp/fixunsdfdi.c: Likewise.
18928         * soft-fp/fixunsdfsi.c: Likewise.
18929         * soft-fp/fixunsdfti.c: Likewise.
18930         * soft-fp/fixunssfdi.c: Likewise.
18931         * soft-fp/fixunssfsi.c: Likewise.
18932         * soft-fp/fixunssfti.c: Likewise.
18933         * soft-fp/fixunstfdi.c: Likewise.
18934         * soft-fp/fixunstfsi.c: Likewise.
18935         * soft-fp/fixunstfti.c: Likewise.
18936         * soft-fp/floatdidf.c: Likewise.
18937         * soft-fp/floatdisf.c: Likewise.
18938         * soft-fp/floatditf.c: Likewise.
18939         * soft-fp/floatsidf.c: Likewise.
18940         * soft-fp/floatsisf.c: Likewise.
18941         * soft-fp/floatsitf.c: Likewise.
18942         * soft-fp/floattidf.c: Likewise.
18943         * soft-fp/floattisf.c: Likewise.
18944         * soft-fp/floattitf.c: Likewise.
18945         * soft-fp/floatundidf.c: Likewise.
18946         * soft-fp/floatundisf.c: Likewise.
18947         * soft-fp/floatunsidf.c: Likewise.
18948         * soft-fp/floatunsisf.c: Likewise.
18949         * soft-fp/floatuntidf.c: Likewise.
18950         * soft-fp/floatuntisf.c: Likewise.
18951         * soft-fp/floatuntitf.c: Likewise.
18952         * soft-fp/fmadf4.c: Likewise.
18953         * soft-fp/fmasf4.c: Likewise.
18954         * soft-fp/fmatf4.c: Likewise.
18955         * soft-fp/gedf2.c: Likewise.
18956         * soft-fp/gesf2.c: Likewise.
18957         * soft-fp/getf2.c: Likewise.
18958         * soft-fp/ledf2.c: Likewise.
18959         * soft-fp/lesf2.c: Likewise.
18960         * soft-fp/letf2.c: Likewise.
18961         * soft-fp/muldf3.c: Likewise.
18962         * soft-fp/mulsf3.c: Likewise.
18963         * soft-fp/multf3.c: Likewise.
18964         * soft-fp/negdf2.c: Likewise.
18965         * soft-fp/negsf2.c: Likewise.
18966         * soft-fp/negtf2.c: Likewise.
18967         * soft-fp/op-1.h: Likewise.
18968         * soft-fp/op-2.h: Likewise.
18969         * soft-fp/op-4.h: Likewise.
18970         * soft-fp/op-8.h: Likewise.
18971         * soft-fp/op-common.h: Likewise.
18972         * soft-fp/quad.h: Likewise.
18973         * soft-fp/single.h: Likewise.
18974         * soft-fp/soft-fp.h: Likewise.
18975         * soft-fp/sqrtdf2.c: Likewise.
18976         * soft-fp/sqrtsf2.c: Likewise.
18977         * soft-fp/sqrttf2.c: Likewise.
18978         * soft-fp/subdf3.c: Likewise.
18979         * soft-fp/subsf3.c: Likewise.
18980         * soft-fp/subtf3.c: Likewise.
18981         * soft-fp/truncdfsf2.c: Likewise.
18982         * soft-fp/trunctfdf2.c: Likewise.
18983         * soft-fp/trunctfsf2.c: Likewise.
18984         * soft-fp/trunctfxf2.c: Likewise.
18985         * soft-fp/unorddf2.c: Likewise.
18986         * soft-fp/unordsf2.c: Likewise.
18987         * soft-fp/unordtf2.c: Likewise.
18989 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
18991         [BZ #15672]
18992         * misc/error.c (error_tail): Fix possible buffer overflow.
18994 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
18996         [BZ #13028]
18997         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18998         address.
19000 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19002         [BZ #832]
19003         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19004         testing pipefail option.
19006 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19008         * soft-fp/double.h: Indent preprocessor directives inside #if.
19009         * soft-fp/extended.h: Likewise.
19010         * soft-fp/op-2.h: Likewise.
19011         * soft-fp/op-4.h: Likewise.
19012         * soft-fp/op-common.h: Likewise.
19013         * soft-fp/quad.h: Likewise.
19014         * soft-fp/single.h: Likewise.
19015         * soft-fp/soft-fp.h: Likewise.
19017 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19019         * iconv/iconv_prog.c: Fix typos.
19020         * stdio-common/psiginfo-data.h: Likewise.
19022 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19024         [BZ #15764]
19025         * locale/setlocale.c: Fix typo.
19027 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19029         [BZ #16036]
19030         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19031         signaling NaN arguments.
19032         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19033         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19035         [BZ #14910]
19036         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19037         unordered operands.
19038         * soft-fp/gesf2.c (__gesf2): Likewise.
19039         * soft-fp/getf2.c (__getf2): Likewise.
19040         * soft-fp/ledf2.c (__ledf2): Likewise.
19041         * soft-fp/lesf2.c (__lesf2): Likewise.
19042         * soft-fp/letf2.c (__letf2): Likewise.
19044         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19045         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19046         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19047         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19048         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19049         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19050         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19051         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19052         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19053         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19054         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19055         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19056         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19057         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19058         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19059         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19060         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19061         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19062         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19063         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19064         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19065         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19066         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19067         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19068         * soft-fp/floattidf.c (__floattidf): Likewise.
19069         * soft-fp/floattisf.c (__floattisf): Likewise.
19070         * soft-fp/floattitf.c (__floattitf): Likewise.
19071         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19072         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19073         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19074         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19075         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19076         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19077         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19078         * soft-fp/gesf2.c (__gesf2): Likewise.
19079         * soft-fp/getf2.c (__getf2): Likewise.
19080         * soft-fp/ledf2.c (__ledf2): Likewise.
19081         * soft-fp/lesf2.c (__lesf2): Likewise.
19082         * soft-fp/letf2.c (__letf2): Likewise.
19084         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19085         Undefine and redefine.
19086         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19087         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19088         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19089         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19090         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19091         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19092         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19093         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19094         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19095         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19096         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19097         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19098         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19099         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19100         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19102         [BZ #16032]
19103         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19104         without decrementing exponent if mantissa >= that for the
19105         denominator, not >.
19106         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19107         denominator, not >.  Decrement exponent in < case instead of
19108         incrementing in >= case.
19109         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19110         without decrementing exponent if mantissa >= that for the
19111         denominator, not >.
19113         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19114         computing saturated result for unsigned overflow.
19116 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19117             Jeff Law  <law@redhat.com>
19119         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19120         (atan2Mp): Add systemtap probe marker.
19121         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19122         (__ieee754_log): Add systemtap probe marker.
19123         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19124         (atanMp): Add systemtap probe marker.
19125         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19126         (tanMp): Add systemtap probe marker.
19127         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19128         (__slowexp): Add systemtap probe marker.
19129         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19130         (__slowpow): Add systemtap probe marker.
19131         * manual/probes.texi: Document probes.
19133 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19135         [BZ #15362]
19136         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19137         written.
19138         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19139         written.
19140         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19141         written to buffer but not flushed.
19142         * libio/iofwrite_u.c:  Likewise.
19143         * libio/iopadn.c:  Return bytes returned even if EOF was
19144         encountered.
19145         * libio/iowpadn.c:  Likewise.
19146         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19147         if _IO_padn does not write the whole buffer.
19148         [!COMPILE_WPRINTF] (PAD): Likewise.
19150 2013-10-10  David S. Miller  <davem@davemloft.net>
19152         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19153         directory block.
19155 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19157         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19158         instead of FSF address.
19159         * soft-fp/fixdfti.c: Likewise.
19160         * soft-fp/fixsfti.c: Likewise.
19161         * soft-fp/fixtfti.c: Likewise.
19162         * soft-fp/fixunsdfti.c: Likewise.
19163         * soft-fp/fixunssfti.c: Likewise.
19164         * soft-fp/fixunstfti.c: Likewise.
19165         * soft-fp/floattidf.c: Likewise.
19166         * soft-fp/floattisf.c: Likewise.
19167         * soft-fp/floattitf.c: Likewise.
19168         * soft-fp/floatuntidf.c: Likewise.
19169         * soft-fp/floatuntisf.c: Likewise.
19170         * soft-fp/floatuntitf.c: Likewise.
19171         * soft-fp/trunctfxf2.c: Likewise.
19173         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19174         * soft-fp/fixdfti.c: Likewise.
19175         * soft-fp/fixsfti.c: Likewise.
19176         * soft-fp/fixtfti.c: Likewise.
19177         * soft-fp/fixunsdfti.c: Likewise.
19178         * soft-fp/fixunssfti.c: Likewise.
19179         * soft-fp/fixunstfti.c: Likewise.
19180         * soft-fp/floattidf.c: Likewise.
19181         * soft-fp/floattisf.c: Likewise.
19182         * soft-fp/floattitf.c: Likewise.
19183         * soft-fp/floatuntidf.c: Likewise.
19184         * soft-fp/floatuntisf.c: Likewise.
19185         * soft-fp/floatuntitf.c: Likewise.
19186         * soft-fp/trunctfxf2.c: Likewise.
19188 2013-10-10  David S. Miller  <davem@davemloft.net>
19190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19192 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19194         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19195         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19196         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19197         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19198         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19199         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19200         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19202         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19203         for NaNs before doing comparisons on argument.
19204         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19205         Likewise.
19207 2013-10-10  Will Newton  <will.newton@linaro.org>
19209         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19210         passed to _int_memalign does not overflow.
19212 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19214         * scripts/bench.pl: Add include-sources directive.
19215         * benchtests/README: Update documentation.
19217 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19219         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19220         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19221         instead of FP_INIT_ROUNDMODE.
19222         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19223         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19225         [BZ #16034]
19226         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19227         copy class of input value.
19228         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19229         not handle exceptions.
19230         * soft-fp/negsf2.c (__negsf2): Likewise.
19231         * soft-fp/negtf2.c (__negtf2): Likewise.
19232         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19234 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19236         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19237         semicolon.  From Linux kernel.
19239 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19241         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19243 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19245         [BZ #156]
19246         * manual/socket.texi: Added statement about buffer
19247         for gethostbyname2_r.
19249 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19251         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19252         Use .p2align directive instead, throughout.
19253         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19254         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19255         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19257         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19258         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19259         * sysdeps/x86_64/strchr.S: Likewise.
19260         * sysdeps/x86_64/strrchr.S: Likewise.
19262 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19264         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19266         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19268         * sysdeps/generic/math_private.h (__mpsin1): Remove
19269         declaration.
19270         (__mpcos1): Likewise.
19271         (__mpsin): New argument __range_reduce.
19272         (__mpcos): Likewise.
19273         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19274         (slow): Use __mpsin and __mpcos.
19275         (slow1): Likewise.
19276         (slow2): Likewise.
19277         (sloww): Likewise.
19278         (sloww1): Likewise.
19279         (sloww2): Likewise.
19280         (bsloww): Likewise.
19281         (bsloww1): Likewise.
19282         (bsloww2): Likewise.
19283         (cslow2): Likewise.
19284         (csloww): Likewise.
19285         (csloww1): Likewise.
19286         (csloww2): Likewise.
19287         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19288         range_reduce.  Merge in __mpsin1.
19289         (__mpcos): Likewise.
19290         (__mpsin1): Remove.
19291         (__mpcos1): Likewise.
19293 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19295         * locale/loadlocale.c (_nl_intern_locale_data): Use
19296         LOCFILE_ALIGNED_P.
19297         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19298         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19299         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19300         obstack data is appropriately aligned.
19301         (obstack_int32_grow_fast): Likewise.
19302         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19303         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19304         (add_locale_uint32_array): Likewise.
19306 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19308         * benchtests/Makefile: Remove ARGLIST and RET variables.
19309         ($(objpfx)bench-%.c): Pass only function name to the script.
19310         * benchtests/README: Update documentation.
19311         * benchtests/acos-inputs: Add new directives.
19312         * benchtests/acosh-inputs: Likewise.
19313         * benchtests/asin-inputs: Likewise.
19314         * benchtests/asinh-inputs: Likewise.
19315         * benchtests/atan-inputs: Likewise.
19316         * benchtests/atanh-inputs: Likewise.
19317         * benchtests/cos-inputs: Likewise.
19318         * benchtests/cosh-inputs: Likewise.
19319         * benchtests/exp-inputs: Likewise.
19320         * benchtests/log-inputs: Likewise.
19321         * benchtests/pow-inputs: Likewise.
19322         * benchtests/rint-inputs: Likewise.
19323         * benchtests/sin-inputs: Likewise.
19324         * benchtests/sinh-inputs: Likewise.
19325         * benchtests/tan-inputs: Likewise.
19326         * benchtests/tanh-inputs: Likewise.
19327         * scripts/bench.pl: Add support for new directives.
19329 2013-10-07  Alan Modra  <amodra@gmail.com>
19331         * README: Fix careless merge.
19333 2013-10-05  Alan Modra  <amodra@gmail.com>
19335         * NEWS: Mention powerpc64le support and bugs fixed.
19336         * README: Both big-endian and little-endian powerpc64 supported.
19338 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19340         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19341         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19342         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19343         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19345 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19347         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19348         match prototype.
19350 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19352         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19353         Move -mhard-float appending from
19354         ports/sysdeps/powerpc/powerpc32/Makefile.
19355         [$(with-fp) = yes] (ASFLAGS): Likewise.
19356         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19357         * sysdeps/powerpc/nofpu: Move directory from
19358         ports/sysdeps/powerpc/nofpu.
19359         * sysdeps/powerpc/soft-fp: Move directory from
19360         ports/sysdeps/powerpc/soft-fp.
19361         * sysdeps/powerpc/powerpc32/405: Move directory from
19362         ports/sysdeps/powerpc/powerpc32/405.
19363         * sysdeps/powerpc/powerpc32/440: Move directory from
19364         ports/sysdeps/powerpc/powerpc32/440.
19365         * sysdeps/powerpc/powerpc32/464: Move directory from
19366         ports/sysdeps/powerpc/powerpc32/464.
19367         * sysdeps/powerpc/powerpc32/476: Move directory from
19368         ports/sysdeps/powerpc/powerpc32/476.
19369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19370         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19372         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19374         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19376         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19378         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19379         * README: Update for powerpc-*-linux-gnu software floating point
19380         support in libc.
19382         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19383         case to powerpc/powerpc32*.
19384         * sysdeps/unix/sysv/linux/configure: Regenerated.
19386         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19387         (_FPU_MASK_OM): Define as 0x04.
19388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19390         0x00c10080.
19391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19392         0x0000003c.
19393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19396         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19397         getcontext_e500.
19398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19399         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19400         setcontext_e500.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19402         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19403         and setcontext_e500.
19405 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19407         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19409 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19411         * manual/threads.texi (Default Thread Attributes): Fix typo.
19413 2013-10-04  Will Newton  <will.newton@linaro.org>
19415         * malloc/Makefile: Add tst-memalign.
19416         * malloc/tst-memalign.c: New file.
19418         * malloc/tst-posix_memalign.c: Add comments.
19419         (do_test): Add comments and call free on all potentially
19420         allocated pointers. Add space after cast.
19422         * malloc/tst-pvalloc.c: Add comments.
19423         (do_test): Add comments and call free on all potentially
19424         allocated pointers. Remove duplicate check for NULL pointer.
19425         Add space after cast.
19427         * malloc/tst-valloc.c: Add comments.
19428         (do_test): Add comments and call free on all potentially
19429         allocated pointers. Remove duplicate check for NULL pointer.
19430         Add space after cast.
19432 2013-10-04  Alan Modra  <amodra@gmail.com>
19434         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19435         Use stdint types in rather than __attribute__((mode())).
19436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19438 2013-10-04  Alan Modra  <amodra@gmail.com>
19440         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19441         Correct handling of unaligned relocs for little-endian.
19442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19444 2013-10-04  Alan Modra  <amodra@gmail.com>
19446         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19447         * configure: Regenerate.
19448         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19449         * shlib-versions: Likewise.
19451 2013-10-04  Alan Modra  <amodra@gmail.com>
19453         * string/tester.c (test_memrchr): Increment reported test cycle.
19455 2013-10-04  Alan Modra  <amodra@gmail.com>
19457         * string/test-memcpy.c (do_one_test): When reporting errors, print
19458         string address and don't overrun end of string.
19460 2013-10-04  Alan Modra  <amodra@gmail.com>
19462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19463         insrdi.  Make better use of reg selection to speed exit slightly.
19464         Schedule entry path a little better.  Remove useless "are we done"
19465         checks on entry to main loop.  Handle wrapping around zero address.
19466         Correct main loop count.  Handle single left-over word from main
19467         loop inline rather than by using loop_small.  Remove extra word
19468         case in loop_small caused by wrong loop count.  Add little-endian
19469         support.
19470         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19471         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19472         cache hint.
19473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19474         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19475         support.  Avoid rlwimi.
19476         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19478 2013-10-04  Alan Modra  <amodra@gmail.com>
19480         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19481         insrdi.  Formatting.
19482         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19483         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19484         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19485         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19486         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19487         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19489 2013-10-04  Alan Modra  <amodra@gmail.com>
19491         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19492         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19493         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19494         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19495         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19496         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19497         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19498         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19499         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19500         use of regs.  Use power7 mtocrf.  Tidy function tails.
19502 2013-10-04  Alan Modra  <amodra@gmail.com>
19504         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19505         Formatting.  Consistently use rXXX register defines or rN defines.
19506         Use early exit labels that avoid restoring unused non-volatile regs.
19507         Make cr field use more consistent with rWORDn compares.  Rename
19508         regs used as shift registers for unaligned loop, using rN defines
19509         for short lifetime/multiple use regs.
19510         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19511         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19512         addi 1,1,64 to pop stack frame.  Simplify return value code.
19513         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19515 2013-10-04  Alan Modra  <amodra@gmail.com>
19517         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19518         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19519         rather than rlwimi.
19520         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19521         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19522         little-endian support.  Correct typos.
19523         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
19524         rather than rlwimi.
19525         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
19526         in loop and entry code to keep "and." results.
19527         (strchr): Add little-endian support.  Comment.  Move cntlzd
19528         earlier in tail.
19529         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19531 2013-10-04  Alan Modra  <amodra@gmail.com>
19533         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19534         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19535         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19536         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19538 2013-10-04  Alan Modra  <amodra@gmail.com>
19540         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19541         (rTMP): Define as r11.
19542         (strcmp): Add little-endian support.  Optimise tail.
19543         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19544         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19545         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19546         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19547         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19548         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19549         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19551 2013-10-04  Alan Modra  <amodra@gmail.com>
19553         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19554         little-endian support.  Remove unnecessary "are we done" tests.
19555         Handle "s" wrapping around zero and extremely large "size".
19556         Correct main loop count.  Handle single left-over word from main
19557         loop inline rather than by using small_loop.  Correct comments.
19558         Delete "zero" tail, use "end_max" instead.
19559         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19561 2013-10-04  Alan Modra  <amodra@gmail.com>
19563         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19564         support.  Don't branch over align.
19565         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19566         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19567         support.  Rearrange tmp reg use to suit.  Comment.
19568         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19570 2013-10-04  Alan Modra  <amodra@gmail.com>
19572         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19574 2013-10-04  Alan Modra  <amodra@gmail.com>
19576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19577         conditional form of branch and link when obtaining pc.
19578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19580 2013-10-04  Alan Modra  <amodra@gmail.com>
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19583         HIWORD/LOWORD.
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19587 2013-10-04  Alan Modra  <amodra@gmail.com>
19589         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19590         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19591         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19592         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19593         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19594         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19595         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19596         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19597         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19598         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19600 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19601             Alistair Popple <alistair@ozlabs.au.ibm.com>
19602             Alan Modra <amodra@gmail.com>
19604         [BZ #15723]
19605         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19606         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19607         _dl_hwcap access for little-endian.
19608         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19609         destroy vmx regs when saving unaligned.
19610         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19611         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19612         destroy vmx regs when saving unaligned.
19614 2013-10-04  Alan Modra  <amodra@gmail.com>
19616         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19617         Don't use a union to pack hi/low value.
19619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19621         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19622         for little-endian.
19623         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19624         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19625         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19626         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19627         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19629 2013-10-04  Alan Modra  <amodra@gmail.com>
19631         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19632         constants to usual value for .cst8 section, and remove redundant
19633         high address load.
19634         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19635         constant for 0x1p52.  Load little-endian words of double from
19636         correct stack offsets.
19638 2013-10-04  Alan Modra  <amodra@gmail.com>
19640         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19641         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19642         words of double from correct stack offsets.
19643         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19644         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19645         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19646         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19648         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19649         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19650         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19651         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19655         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19656         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19657         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19658         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19659         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19661 2013-10-04  Alan Modra  <amodra@gmail.com>
19663         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19664         64-bit int/double union.
19665         (_FPU_SETCW): Likewise.
19666         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19667         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19669 2013-10-04  Alan Modra  <amodra@gmail.com>
19671         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19672         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19674 2013-10-04  Alan Modra  <amodra@gmail.com>
19676         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19677         use vector int constants.
19678         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19680 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19682         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19683         array with long long.
19684         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19685         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19686         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19687         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19688         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19689         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19690         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19691         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19692         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19693         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19694         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19695         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19696         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19698 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19700         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19701         (__signbit): Likewise.  Correct for little-endian.
19702         (__signbitl): Call __signbit.
19703         (lrint): Correct for little-endian.
19704         (lrintf): Call lrint.
19706 2013-10-04  Alan Modra  <amodra@gmail.com>
19708         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19709         union 32-bit int array member with 64-bit int array.
19710         (t515, tm256): Double rather than long double.
19711         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19713 2013-10-04  Alan Modra  <amodra@gmail.com>
19715         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19716         Delete.
19717         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19719         version of math_ldbl.h.
19721 2013-10-04  Alan Modra  <amodra@gmail.com>
19723         [BZ #15734], [BZ #15735]
19724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19725         all uses of ieee875 long double macros and unions.  Simplify test
19726         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19727         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19728         normalize after ldbl_extract_mantissa, and don't add hidden bit
19729         already handled.  Don't treat low word of ieee854 mantissa like
19730         low word of IBM long double and mask off bit when testing for
19731         zero.
19732         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19733         all uses of ieee875 long double macros and unions.  Simplify tests
19734         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19735         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19736         two1022, instead use their values.  Recognise that tests for large
19737         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19738         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19739         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19740         test for 0.0L and nan.  Correct negation.
19741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19742         ieee875 long double macros and unions.  Correct output for large
19743         magnitude x.  Correct absolute value calculation.
19744         (__erfcl): Likewise.
19745         * math/libm-test.inc: Add tests for errors discovered in IBM long
19746         double versions of fmodl, remainderl, erfl and erfcl.
19748 2013-10-04  Alan Modra  <amodra@gmail.com>
19750         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19751         all uses of ieee854 long double macros and unions.  Simplify tests
19752         for long doubles that are fully specified by the high double.
19753         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19754         Likewise.
19755         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19756         Remove dead code too.
19757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19758         (__ieee754_ynl): Likewise.
19759         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19760         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19761         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19762         Remove dead code too.
19763         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19764         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19765         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19766         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19767         Simplify.
19768         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19769         Simplify.
19770         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19771         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19772         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19773         Comment on variable precision.
19774         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19775         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19776         Likewise.
19777         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19778         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19779         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19780         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19781         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19783 2013-10-04  Alan Modra  <amodra@gmail.com>
19785         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19787         all uses of ieee854 long double macros and unions.
19788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19789         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19792         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19793         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19794         Likewise.
19795         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19796         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19797         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19798         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19799         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19800         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19801         Simplify sign and nan test too.
19802         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19803         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19804         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19805         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19806         Likewise.
19807         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19808         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19809         Likewise.
19810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19811         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19812         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19813         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19814         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19817 2013-10-04  Alan Modra  <amodra@gmail.com>
19819         * stdio-common/printf_size.c (__printf_size): Don't use
19820         union ieee854_long_double in fpnum union.
19821         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19822         signbit macro to retrieve sign from long double.
19823         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19824         retrieve sign from long double.
19825         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19826         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19827         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19828         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19829         * math/test-misc.c (main): Don't use union ieee854_long_double.
19831 2013-10-04  Alan Modra  <amodra@gmail.com>
19833         [BZ #15680]
19834         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19835         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19836         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19837         calculation.  Remove unnecessary test for denormal exponent.
19838         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19839         Correct handling of denormals.  Avoid undefined shift behaviour.
19840         Correct normalisation of low mantissa when low double is denormal.
19841         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19842         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19843         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19844         Correct normalisation of low mantissa.  Test for overflow of high
19845         mantissa and normalise.
19846         (ldbl_nearbyint): Use more readable constant for two52.
19847         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19848         (__mpn_construct_long_double): Fix test for overflow of high
19849         mantissa and correct normalisation.  Avoid undefined shift.
19851 2013-10-04  Alan Modra  <amodra@gmail.com>
19853         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19854         (union ibm_extended_long_double): Define as an array of ieee754_double.
19855         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19856         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19857         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19858         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19859         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19860         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19862         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19863         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19864         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19865         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19867 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19869         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19870         page size instead of calling getpagesize.
19872         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19873         (LOCFILE_ALIGN_MASK): Likewise.
19874         (LOCFILE_ALIGN_UP): Likewise.
19875         (LOCFILE_ALIGNED_P): Likewise.
19876         * locale/programs/ld-collate.c (collate_output): Use the new
19877         macros instead of __alignof__ (int32_t).
19878         * locale/weight.h (findidx): Likewise.
19880 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19882         [BZ #431]
19883         * manual/string.texi: Fix strncat and wcsncat.
19885 2013-10-03  Brooks Moses  <bmoses@google.com>
19887         [BZ #15915]
19888         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19889         * Makerules: ...here, and adjust associated comments.
19891 2013-10-02  Will Newton  <will.newton@linaro.org>
19893         * malloc/Makefile: Add tst-pvalloc.
19894         * malloc/tst-pvalloc.c: New file.
19896 2013-10-02  Will Newton  <will.newton@linaro.org>
19898         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19899         improve test coverage.
19901 2013-10-02  Will Newton  <will.newton@linaro.org>
19903         * malloc/Makefile: Add tst-posix_memalign.
19904         * malloc/tst-posix_memalign.c: New file.
19906 2013-10-01  Eric Blake  <eblake@redhat.com>
19908         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19909         Use __THROWNL rather than __THROW on static functions.
19911 2013-09-30  Petr Machata  <pmachata@redhat.com>
19913         * elf/elf.h (R_AARCH64_ABS16): New macro.
19914         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19915         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19916         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19917         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19918         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19919         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19920         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19921         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19922         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19923         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19924         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19925         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19926         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19927         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19928         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19929         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19930         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19931         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19932         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19933         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19934         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19935         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19936         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19937         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19938         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19939         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19940         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19941         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19942         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19943         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19944         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19945         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19946         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19947         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19948         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19949         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19950         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19951         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19952         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19953         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19954         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19955         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19956         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19957         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19958         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19959         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19960         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19961         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19962         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19963         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19964         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19965         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19966         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19967         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19968         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19969         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19970         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19971         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19972         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19973         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19974         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19975         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19976         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19977         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19978         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19979         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19980         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19981         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19982         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19983         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19984         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19985         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19986         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19987         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19988         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19989         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19990         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19991         (R_AARCH64_TLSDESC_LDR): Likewise.
19992         (R_AARCH64_TLSDESC_ADD): Likewise.
19993         (R_AARCH64_TLSDESC_CALL): Likewise.
19995 2013-09-30  Andreas Schwab  <schwab@suse.de>
19997         [BZ #15048]
19998         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19999         the nss database lookup.
20000         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20003 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20005         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20007 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20009         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20010         ${Bash-specific parameter/pattern/string} parameter expansion.
20011         * sysdeps/unix/make-syscalls.sh: Likewise.
20013 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20015         * sysdeps/sh/stackguard-macros.h: New file.
20017 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20021         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20022         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20023         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20024         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20026 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20028         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20029         Fix thread ID register.
20031 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20033         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20034         [POSIX || UNIX98]: Require rather than permitting all symbols from
20035         <time.h>.
20036         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20037         element of struct sched_param.
20038         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20039         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20040         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20041         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20042         constant.
20044 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20046         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20047         argument calculation.
20049 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20051         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20052         Expect macro.
20053         [POSIX] (pthread_attr_t): Do not require type.
20054         [POSIX] (pthread_cond_t): Likewise.
20055         [POSIX] (pthread_condattr_t): Likewise.
20056         [POSIX] (pthread_key_t): Likewise.
20057         [POSIX] (pthread_mutex_t): Likewise.
20058         [POSIX] (pthread_mutexattr_t): Likewise.
20059         [POSIX] (pthread_once_t): Likewise.
20060         [POSIX] (pthread_t): Likewise.
20061         [POSIX-based standards] (pthread_atfork): Expect function.
20063 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20064             Richard Sandiford  <richard@codesourcery.com>
20066         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20067         (swap_endianness_p): New extern variable.
20068         (set_big_endian): New inline function.
20069         (maybe_swap_uint32): Likewise.
20070         (maybe_swap_uint32_array): Likewise.
20071         (maybe_swap_uint32_obstack): Likewise.
20072         * locale/programs/locfile.c: Include <stdbool.h>.
20073         (swap_endianness_p): New variable.
20074         (add_locale_uint32): Call maybe_swap_uint32.
20075         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20076         (write_locale_data): Call maybe_swap_uint32_array.
20077         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20078         maybe_swap_uint32.
20079         (obstack_int32_grow_fast): Likewise.
20080         (output_weightwc): Call maybe_swap_uint32_obstack.
20081         (collate_output): Likewise.
20082         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20083         (OPT_LITTLE_ENDIAN): Likewise.
20084         (options): Add --little-endian and --big-endian options.
20085         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20086         * locale/programs/locarchive.c: Include "locfile.h".
20087         (GET): New macro.
20088         (SET): Likewise.
20089         (INC): Likewise.
20090         (create_archive): Use the new macros to access fields of
20091         structures directly mapped from or written to locale archives.
20092         (oldlocrecentcmp): Likewise.
20093         (enlarge_archive): Likewise.
20094         (insert_name): Likewise.
20095         (add_alias): Likewise.
20096         (add_locale): Likewise.
20097         (delete_locales_from_archive): Likewise.
20098         (show_archive_content): Likewise.
20099         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20100         locale data.
20102 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20104         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20105         http://www.gnu.org/doc/freemanuals.texi.
20106         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20108 2013-09-24  Will Newton  <will.newton@linaro.org>
20110         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20111         macro.
20113 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20115         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20116         unsigned char.
20118 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20120         * manual/threads.texi (POSIX Threads): Fix a typo.
20122 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20124         [BZ #14547]
20125         * string/tst-strcoll-overflow.c: New test case.
20126         * string/Makefile (xtests): Add tst-strcoll-overflow.
20127         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20128         cache if string sizes may cause integer overflow.
20130         [BZ #14547]
20131         * string/strcoll_l.c (coll_seq): New members rule, idx,
20132         save_idx and back_us.
20133         (get_next_seq_nocache): New function.
20134         (do_compare_nocache): New function.
20135         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20136         when malloc fails.
20138 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20140         [BZ #15754]
20141         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20142         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20143         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20145         [BZ #15754]
20146         * elf/Makefile (tests): Add tst-ptrguard1.
20147         (tests-static): Add tst-ptrguard1-static.
20148         (tst-ptrguard1-ARGS): Define.
20149         (tst-ptrguard1-static-ARGS): Define.
20150         * elf/tst-ptrguard1.c: New file.
20151         * elf/tst-ptrguard1-static.c: New file.
20152         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20153         * sysdeps/i386/stackguard-macros.h: Likewise.
20154         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20155         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20156         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20157         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20158         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20159         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20161 2013-09-23  Hector Marco  <hecmargi@upv.es>
20162             Ismael Ripoll  <iripoll@disca.upv.es>
20163             Carlos O'Donell  <carlos@redhat.com>
20165         [BZ #15754]
20166         * sysdeps/generic/stackguard-macros.h: Define
20167         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20168         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20169         Define __pointer_chk_guard_local.
20170         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20171         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20173 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20175         [BZ #15859]
20176         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20178 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20180         * include/string.h (__ffs): Declare as hidden.
20181         * string/ffs.c (__ffs): Define as hidden.
20182         * sysdeps/i386/ffs.c (__ffs): Likewise.
20183         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20184         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20185         * sysdeps/s390/ffs.c (__ffs): Likewise.
20186         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20188 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20190         * NEWS: Mention malloc probes.
20192         * malloc/arena.c (new_heap): New memory_heap_new probe.
20193         (grow_heap): New memory_heap_more probe.
20194         (shrink_heap): New memory_heap_less probe.
20195         (heap_trim): New memory_heap_free probe.
20196         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20197         (systrim): New memory_sbrk_less probe.
20198         * manual/probes.texi: Document them.
20200         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20201         * manual/probes.texi: Document it.
20203         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20204         (__libc_realloc): Add memory_realloc_retry probe.
20205         (__libc_memalign): Add memory_memalign_retry probe.
20206         (__libc_valloc): Add memory_valloc_retry probe.
20207         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20208         (__libc_calloc): Add memory_calloc_retry probe.
20209         * manual/probes.texi: Document them.
20211         * malloc/arena.c (get_free_list): Add probe
20212         memory_arena_reuse_free_list.
20213         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20214         and memory_arena_reuse.
20215         (arena_get2) [!PER_THREAD]: Likewise.
20216         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20217         memory_arena_reuse_realloc.
20218         * manual/probes.texi: Document them.
20220         * malloc/malloc.c (__libc_free): Add
20221         memory_mallopt_free_dyn_thresholds probe.
20222         (__libc_mallopt): Add multiple memory_mallopt probes.
20223         * manual/probes.texi: Document them.
20225         * malloc/malloc.c: Include stap-probe.h.
20226         (__libc_mallopt): Add memory_mallopt probe.
20227         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20228         * manual/probes.texi: New.
20229         * manual/Makefile (chapters): Add probes.
20230         * manual/threads.texi: Set next node.
20232 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20234         [BZ #15963, #13985]
20235         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20236         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20237         Add `Chinese' to `nan' entry name.
20239 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20241         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20242         (POLYNOMIAL): Likewise.
20243         (TAYLOR_SINCOS): Likewise.
20244         (TAYLOR_SLOW): Likewise.
20245         (__sin): Use TAYLOR_SINCOS.
20246         (__cos): Likewise.
20247         (slow): Use TAYLOR_SLOW.
20248         (sloww): Likewise.
20249         (bsloww): Likewise.
20250         (csloww): Likewise.
20252 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20254         * stdlib/strtod_l.c: Fix buffer overrun.
20256 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20258         * benchtests/Makefile (bench): Add sincos.
20259         * benchtests/bench-sincos.c: New file.
20261         * math/libm-test.inc (cos_test_data): New test inputs.
20262         (sin_test_data): Likewise.
20264         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20265         macro.
20266         (__sin): Use it.
20267         (__cos): Likewise.
20268         (slow1): Likewise.
20269         (slow2): Likewise.
20270         (sloww1): Likewise.
20271         (sloww2): Likewise.
20272         (bsloww1): Likewise.
20273         (bsloww2): Likewise.
20274         (cslow2): Likewise.
20275         (csloww1): Likewise.
20276         (csloww2): Likewise.
20278         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20279         function.
20280         (__sin): Use it.
20281         (__cos): Likewise.
20283         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20284         gotos.
20285         (__cos): Likewise.
20287 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20289         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20290         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20291         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20292         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20293         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20294         * elf/cache.c (print_entry): Handle the new cache flags.
20296 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20297             Aldy Hernandez  <aldyh@redhat.com>
20299         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20300         Change condition to [_SOFT_FLOAT].
20301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20313         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20316         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20317         declaration.
20319 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20321         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20322         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20323         (__longjmp): Use LOAD_GP to load saved GPRs.
20324         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20325         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20326         (__sigsetjmp): Use SAVE_GP to save GPRs.
20328         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20329         Do not append -msoft-float.
20330         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20332 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20334         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20336 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20338         [BZ #15966]
20339         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20340         (_FPU_GETCW): Use initial "__" on variable and field names but not
20341         on macro parameter name.
20342         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20343         parentheses around reference to macro parameter.
20345 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20347         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20348         prototype.
20349         (ctype_startup): Use uint32_t in cast and sizeof for
20350         ctype->charnames.
20352 2013-09-11  Jia Liu  <proljc@gmail.com>
20354         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20355         __daddr_t_defined.
20356         [__FreeBSD__]: Likewise.
20358 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20361         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20362         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20363         (strchr): Remove __strchr_sse42 ifunc selection.
20364         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20365         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20367 2013-09-11  Will Newton  <will.newton@linaro.org>
20369         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20370         parameter to RES. Remove hardcoded 1000 value.
20371         * benchtests/bench-skeleton.c (main): Pass RES parameter
20372         to TIMING_INIT and multiply result by 1000.
20374 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20378 2013-09-11  Andreas Schwab  <schwab@suse.de>
20380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20381         if not defined.
20382         (O_TMPFILE) [__USE_GNU]: Define.
20383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20384         Define.
20386 2013-09-11  Will Newton  <will.newton@linaro.org>
20388         [BZ #15857]
20389         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20390         does not overflow.
20392 2013-09-11  Will Newton  <will.newton@linaro.org>
20394         [BZ #15856]
20395         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20396         does not overflow.
20398 2013-09-11  Will Newton  <will.newton@linaro.org>
20400         [BZ #15855]
20401         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20402         does not overflow.
20404 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20406         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20407         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20408         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20409         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20410         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20412 2013-09-10  Allan McRae  <allan@archlinux.org>
20414         [BZ #15748]
20415         * manual/arith.texi (Parsing of Floats): Clarify
20416         cross-reference.
20418         [BZ #15849]
20419         * manual/install.texi (Running make install): Mention
20420         --enable-pt-chown.
20421         * INSTALL: Regenerated.
20423 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20425         * csu/init-first.c (_init): Remove the !SHARED condition around
20426         FPU control word initialization.
20427         * elf/dl-support.c (_dl_fpu_control): New variable.
20428         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20429         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20430         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20431         * math/test-fpucw-static.c: New file.
20432         * math/test-fpucw-ieee.c: New file.
20433         * math/test-fpucw-ieee-static.c: New file.
20434         * math/Makefile (tests): Add `test-fpucw-ieee' and
20435         `$(tests-static)'.
20436         (tests-static): New variable.
20437         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20438         dependency to...
20439         [($(build-shared),yes)]
20440         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20441         ... this.
20442         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20443         New dependency.
20445 2013-09-09  Allan McRae  <allan@archlinux.org>
20447         [BZ #15939]
20448         * manual/string.texi (Collation Functions): Fix typo in
20449         strcoll example.
20450         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20452         [BZ #15893]
20453         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20455         [BZ #15892]
20456         * libio/memstream.c (open_memstream): Fix memory leak.
20457         * libio/wmemstream.c (open_wmemstream): Likewise.
20459         [BZ #15895]
20460         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20462 2013-09-09  Will Newton  <will.newton@linaro.org>
20464         * malloc/Makefile: Add tst-realloc to tests.
20465         * malloc/tst-realloc.c: New file.
20467 2013-09-09  Allan McRae  <allan@archlinux.org>
20469         [BZ #15844]
20470         * COPYING: Update from GNU website to fix FSF address.
20471         * COPYING.LIB: Likewise.
20473 2013-09-06  David S. Miller  <davem@davemloft.net>
20475         * po/zh_TW.po: Update Chinese (traditional) translation from
20476         translation project.
20478 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20479             Joseph Myers  <joseph@codesourcery.com>
20481         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20482         "localeinfo.h".
20483         (obstack_chunk_alloc): New macro.
20484         (obstack_chunk_free): Likewise.
20485         (record_offset): New function.
20486         (init_locale_data): Likewise.
20487         (align_locale_data): Likewise.
20488         (add_locale_empty): Likewise.
20489         (add_locale_raw_data): Likewise.
20490         (add_locale_raw_obstack): Likewise.
20491         (add_locale_string): Likewise.
20492         (add_locale_wstring): Likewise.
20493         (add_locale_uint32): Likewise.
20494         (add_locale_uint32_array): Likewise.
20495         (add_locale_char): Likewise.
20496         (start_locale_structure): Likewise.
20497         (end_locale_structure): Likewise.
20498         (start_locale_prelude): Likewise.
20499         (end_locale_prelude): Likewise.
20500         (write_locale_data): Take locale_file structure rather than an
20501         iovec.
20502         * locale/programs/locfile.h: Include "obstack.h".
20503         (struct locale_file): Change to store locale file contents instead
20504         of header.
20505         (init_locale_data): New prototype.
20506         (align_locale_data): Likewise.
20507         (add_locale_empty): Likewise.
20508         (add_locale_raw_data): Likewise.
20509         (add_locale_raw_obstack): Likewise.
20510         (add_locale_string): Likewise.
20511         (add_locale_wstring): Likewise.
20512         (add_locale_uint32): Likewise.
20513         (add_locale_uint32_array): Likewise.
20514         (add_locale_char): Likewise.
20515         (start_locale_structure): Likewise.
20516         (end_locale_structure): Likewise.
20517         (start_locale_prelude): Likewise.
20518         (end_locale_prelude): Likewise.
20519         (write_locale_data): Update prototype.
20520         * locale/programs/3level.h (struct TABLE): Remove result field.
20521         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20522         Use new locale_file interface.
20523         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20524         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20525         * locale/programs/ld-address.c (address_output): Use new
20526         locale_file interface.
20527         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20528         NO_ADD_LOCALE.
20529         (collate_finish): Don't call collseq_table_finalize.
20530         (collate_output): Use new locale_file interface.
20531         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20532         in file.
20533         (NO_FINALIZE): Change to NO_ADD_LOCALE.
20534         (TABLE): Move defines earlier in file.
20535         (ELEMENT): Likewise.
20536         (DEFAULT): Likewise.
20537         (wctrans_table_add): Move macro and inline function earlier in
20538         file.
20539         (struct wctype_table): Move type earlier in file.
20540         (add_locale_wctype_table): New static prototype.
20541         (struct locale_ctype_t): Use logical types instead of struct iovec
20542         pointers for members.
20543         (ctype_output): Use new locale_file interface.
20544         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
20545         new locale_file interface.
20546         (allocate_arrays): Update for use of new locale_file interface.
20547         * locale/programs/ld-identification.c (identification_output): Use
20548         new locale_file interface.
20549         * locale/programs/ld-measurement.c (measurement_output): Likewise.
20550         * locale/programs/ld-messages.c (messages_output): Likewise.
20551         * locale/programs/ld-monetary.c (monetary_output): Likewise.
20552         * locale/programs/ld-name.c (name_output): Likewise.
20553         * locale/programs/ld-numeric.c (numeric_output): Likewise.
20554         * locale/programs/ld-paper.c (paper_output): Likewise.
20555         * locale/programs/ld-telephone.c (telephone_output): Likewise.
20556         * locale/programs/ld-time.c (time_output): Likewise.
20558 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20560         * benchtests/Makefile: Add memrchr benchmark.
20561         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20562         benchmark as memrchr.
20563         * benchtests/bench-memrchr-ifunc.c: New file.
20564         * benchtests/bench-memrchr.c: New file.
20566 2013-09-06   Will Newton  <will.newton@linaro.org>
20568         * benchtests/Makefile (string-bench): Add memcpy.
20570 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
20571             Cong Wang  <amwang@redhat.com>
20573         [BZ #15850]
20574         * sysdeps/unix/sysv/linux/bits/in.h
20575         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20576         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20577         before __USE_KERNEL_IPV6_DEFS uses.
20578         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20579         IPPROTO_BEETPH.
20580         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20581         sockaddr_in6, or ipv6_mreq.
20583 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20585         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20586         memory access for final bytes in some large inputs.
20587         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20589 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20591         * string/test-memrchr.c: New file.
20592         * string/test-memrchr-ifunc.c: New file.
20593         * string/Makefile: Add new memrchr testcase.
20595 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20597         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20598         fanotify_init returns EPERM.
20600 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20602         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20603         errors.
20604         (top level): Treat second token from macro or constant entries for
20605         allowed headers as allowed.
20606         * include/complex.h: Condition internal declarations on
20607         [!_ISOMAC].
20608         * include/fenv.h: Condition include of <stdbool.h> and internal
20609         declarations on [!_ISOMAC].
20611 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20613         [BZ #15923]
20614         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20616 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20618         * configure.in (--enable-versioning): Remove configure option.
20619         (libc_cv_asm_symver_directive): Remove configure test.
20620         (libc_cv_ld_version_script_option): Likewise.
20621         (VERSIONING): Remove variable and AC_SUBST.
20622         (DO_VERSIONING): Remove AC_DEFINE.
20623         * configure: Regenerated.
20624         * config.h.in (DO_VERSIONING): Remove macro.
20625         * Makerules [$(versioning) = yes]: Change conditionals to
20626         [$(build-shared) = yes].
20627         * config.make.in (versioning): Remove variable.
20628         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20629         [$(build-shared) = yes].
20630         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20631         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20632         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20633         [$(build-shared) = yes].
20634         * extra-lib.mk [$(versioning) = yes]: Likewise.
20635         * hurd/Makefile [$(versioning) = yes]: Likewise.
20636         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20637         [SHARED].
20638         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20639         [SHARED].
20640         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20641         [SHARED && !NO_HIDDEN].
20642         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20643         [SHARED].
20644         [SHARED && DO_VERSIONING]: Likewise..
20645         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20646         [$(build-shared) = yes].
20647         * manual/install.texi (--disable-versioning): Remove
20648         documentation.
20649         * INSTALL: Regenerated.
20650         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20651         to [SHARED].
20652         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20653         [$(build-shared) = yes].
20654         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20655         * sysdeps/i386/i686/multiarch/strstr-c.c
20656         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20657         [SHARED && !NO_HIDDEN].
20658         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20659         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20660         * sysdeps/powerpc/powerpc32/dl-machine.c
20661         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20662         * sysdeps/powerpc/powerpc32/sysdep.h
20663         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20664         to [SHARED && PIC && !NO_HIDDEN].
20665         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20666         conditional to [SHARED].
20668 2013-09-04   Will Newton  <will.newton@linaro.org>
20670         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20671         * benchtests/bench-string.h: Include bench-timing.h instead
20672         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20673         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20674         call to HP_TIMING_DIFF_INIT.
20675         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20676         instead of hp-timing.h macros.
20677         * benchtests/bench-memchr.c: Likewise.
20678         * benchtests/bench-memcmp.c: Likewise.
20679         * benchtests/bench-memcpy.c: Likewise.
20680         * benchtests/bench-memmem.c: Likewise.
20681         * benchtests/bench-memmove.c: Likewise.
20682         * benchtests/bench-memset.c: Likewise.
20683         * benchtests/bench-rawmemchr.c: Likewise.
20684         * benchtests/bench-strcasecmp.c: Likewise.
20685         * benchtests/bench-strcasestr.c: Likewise.
20686         * benchtests/bench-strcat.c: Likewise.
20687         * benchtests/bench-strchr.c: Likewise.
20688         * benchtests/bench-strcmp.c: Likewise.
20689         * benchtests/bench-strcpy.c: Likewise.
20690         * benchtests/bench-strcpy_chk.c: Likewise.
20691         * benchtests/bench-strlen.c: Likewise.
20692         * benchtests/bench-strncasecmp.c: Likewise.
20693         * benchtests/bench-strncat.c: Likewise.
20694         * benchtests/bench-strncmp.c: Likewise.
20695         * benchtests/bench-strncpy.c: Likewise.
20696         * benchtests/bench-strnlen.c: Likewise.
20697         * benchtests/bench-strpbrk.c: Likewise.
20698         * benchtests/bench-strrchr.c: Likewise.
20699         * benchtests/bench-strspn.c: Likewise.
20700         * benchtests/bench-strstr.c: Likewise.
20702 2013-09-04  Will Newton  <will.newton@linaro.org>
20704         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20706 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20708         [BZ #15427]
20709         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20710         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20711         * math/libm-test.inc (lgamma_test_data): Add more tests.
20712         * sysdeps/i386/fpu/libm-test-ulps: Update.
20713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20715 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20717         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20719         Add ifunc.
20720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20721         Add strcmp-sse2-unaligned
20722         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20724 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20726         * Versions.def (libc): Add GLIBC_2.19.
20728 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20730         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20731         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20733 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20735         [BZ #14155]
20736         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20737         intermediate calculations in recurrence.
20738         (__ieee754_ynf): Likewise.
20739         * math/libm-test.inc (jn_test_data): Do not allow spurious
20740         underflow exception.  Add more tests.
20741         (yn_test_data): Add more tests.
20742         * sysdeps/i386/fpu/libm-test-ulps: Update.
20743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20745 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20747         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20749 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20751         * csu/init-first.c: Fix then/than typos.
20752         * locale/programs/ld-collate.c: Likewise.
20753         * locale/programs/linereader.h: Likewise.
20754         * manual/charset.texi: Likewise.
20755         * manual/filesys.texi: Likewise.
20756         * manual/stdio.texi: Likewise.
20757         * manual/string.texi: Likewise.
20758         * stdlib/fmtmsg.c: Likewise.
20759         * sysdeps/i386/stpncpy.S: Likewise.
20760         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20761         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20762         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20763         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20765 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20767         * elf/dl-open.c: Fix typos.
20768         * iconvdata/gbbig5.c: Likewise.
20769         * iconvdata/iso-2022-jp.c: Likewise.
20770         * iconv/gconv_int.h: Likewise.
20771         * iconv/loop.c: Likewise.
20772         * nis/rpcsvc/nis.h: Likewise.
20773         * resolv/ns_name.c: Likewise.
20774         * stdio-common/vfscanf.c: Likewise.
20775         * streams/stropts.h: Likewise.
20776         * sunrpc/rpc_thread.c: Likewise.
20777         * sysdeps/i386/strpbrk.S: Likewise.
20778         * sysdeps/ieee754/k_standard.c: Likewise.
20779         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20780         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20781         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20782         * sysdeps/mach/hurd/profil.c: Likewise.
20783         * sysdeps/s390/dl-procinfo.h: Likewise.
20784         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20785         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20786         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20787         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20788         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20790 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20792         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20795 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20797         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20798         aix specific files.
20799         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20800         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20801         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20802         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20803         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20804         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20805         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20806         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20808 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20809             Roland McGrath  <roland@hack.frob.com>
20811         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20812         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20814 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20816         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20817         __executable_start symbol instead of _start.
20819 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20821         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20822         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20823         Move macros to...
20824         * sysdeps/gnu/ldsodefs.h: ... this new file.
20826         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20827         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20828         instead of ELFOSABI_LINUX.
20830         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20831         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20832         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20833         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20834         Likewise.
20835         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20836         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20837         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20838         Likewise.
20839         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20840         (ibm_extended_long_double): Add ieee_nan member.
20841         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20842         (do_test): New function.
20844         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20845         TEST_TRUNC.
20846         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20847         functions, renamed from truncdfsf_test, trunctfsf_test,
20848         trunctfdf_test.
20849         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20850         functions.
20851         (do_test): Run all these.
20853 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20855         * argp/argp-help.c: Fix typos.
20856         * argp/argp-parse.c: Likewise.
20857         * debug/backtracesyms.c: Likewise.
20858         * elf/elf.h: Likewise.
20859         * malloc/malloc.c: Likewise.
20860         * nis/nis_print.c: Likewise.
20861         * resolv/res_comp.c: Likewise.
20862         * stdlib/stdlib.h: Likewise.
20863         * sunrpc/clnt_tcp.c: Likewise.
20864         * sunrpc/clnt_udp.c: Likewise.
20865         * sunrpc/clnt_unix.c: Likewise.
20866         * sysdeps/unix/bsd/ptsname.c: Likewise.
20867         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20870         Likewise.
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20872         Likewise.
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20874         Likewise.
20875         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20877 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20879         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20882 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20884         [BZ #15897]
20885         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20886         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20887         ($(objpfx)bug-dl-leaf): New rule.
20888         ($(objpfx)bug-dl-leaf.so): Likewise.
20889         ($(objpfx)bug-dl-leaf.out): Likewise.
20890         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20891         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20892         * dlfcn/bug-dl-leaf.c: New test.
20893         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20894         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20895         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20896         (dlclose): Likewise.
20897         (dlmopen): Likewise.
20899 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20901         * include/netdb.h [!_ISOMAC]:
20902         Don't include <tls.h>.
20903         (h_errno, __libc_h_errno): Move declaration and macros out of
20904         [_LIBC_REENTRANT].
20906         * include/resolv.h [_RESOLV_H_]:
20907         Don't include <tls.h>.
20908         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20909         * resolv/res_libc.c: Don't include <tls.h>.
20910         (_res): Use __attribute__ ((nocommon)) in place of
20911         __attribute__ ((section (".bss"))).
20913         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20914         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20916         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20918         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20919         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20921         * resolv/res_mkquery.c: Include <sys/time.h>.
20923         * inet/ifreq.c: Moved to ...
20924         * sysdeps/unix/ifreq.c: ... here.
20925         * inet/ifreq.c: New file, true stub version.
20927         * socket/sa_len.c: New file.
20928         * socket/Makefile (aux): Add it.
20929         * sysdeps/unix/sysv/linux/Makefile
20930         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20931         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20932         and #include <socket/sa_len.c>.
20933         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20934         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20936         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20937         * bits/socket.h: ... here.
20939         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20940         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20941         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20943 2013-08-27  Andreas Schwab  <schwab@suse.de>
20945         [BZ #15736]
20946         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20947         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20948         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20949         * string/test-strcasecmp.c (test_main): Run tests in several
20950         locales.
20951         * string/test-strncasecmp.c (test_main): Likewise.
20953         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20954         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20955         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20957         (__strncasecmp_ssse3) [PIC]: Likewise.
20959 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20961         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20963         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20964         instead of explicitly declaring xdecrypt.
20965         * nis/nss_nis/nis-publickey.c: Likewise.
20967 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20969         [BZ #15890]
20970         * nscd/aicache.c: Include res_hconf.h.
20971         (addhstaiX): Initialize res_hconf.
20973 2013-08-26  Andreas Schwab  <schwab@suse.de>
20975         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20976         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20978 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20980         * nscd/aicache.c (addhstaiX): Fix indentation.
20982 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20984         * configure.ac: Quote $build_pt_chown test.
20985         * configure: Regenerated.
20987 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
20989         [BZ #15532]
20990         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20991         * math/s_cexpf.c (__cexpf): Likewise.
20992         * math/s_cexpl.c (__cexpl): Likewise.
20993         * math/libm-test.inc (cexp_test_data): Correct expected return
20994         value for NaN + i0.  Add another test.
20996 2013-08-22  David S. Miller  <davem@davemloft.net>
20998         * po/ca.po: Update Catalan translation from translation project.
20999         * po/uk.po: Add Ukrainian translations from translation project.
21001 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #15797]
21004         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21005         is infinite, not alongside NaN test.
21006         * math/s_fdimf.c (__fdimf): Likewise.
21007         * math/s_fdiml.c (__fdiml): Likewise.
21008         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21009         errno is unchanged.
21011 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21013         * argp/argp-help.c: Fix typos.
21014         * crypt/speeds.c: Likewise.
21015         * csu/check_fds.c: Likewise.
21016         * elf/dl-load.c: Likewise.
21017         * elf/dl-open.c: Likewise.
21018         * elf/reldep3.c: Likewise.
21019         * elf/reldep.c: Likewise.
21020         * elf/sprof.c: Likewise.
21021         * iconv/iconv_charmap.c: Likewise.
21022         * iconv/skeleton.c: Likewise.
21023         * iconv/strtab.c: Likewise.
21024         * io/lockf64.c: Likewise.
21025         * libio/libioP.h: Likewise.
21026         * resolv/gai_notify.c: Likewise.
21027         * resolv/ns_name.c: Likewise.
21028         * resolv/ns_samedomain.c: Likewise.
21029         * resolv/res_send.c: Likewise.
21030         * stdlib/random.c: Likewise.
21031         * sunrpc/rpc/xdr.h: Likewise.
21032         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21033         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21034         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21035         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21036         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21037         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21039         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21040         * sysdeps/mach/hurd/check_fds.c: Likewise.
21041         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21042         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21043         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21044         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21045         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21046         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21047         * sysdeps/pthread/aio_notify.c: Likewise.
21048         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21049         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21050         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21052         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21054 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21056         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21057         version if bit_Slow_SSE4_2 is set.
21058         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21059         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21061 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21063         [BZ #15867]
21064         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21065         trampoline stack frame information.
21066         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21067         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21068         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21069         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21070         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21071         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21072         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21073         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21074         sa_flags value.
21075         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21076         interrupting a syscall and set with option SA_SIGINFO.
21078 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21080         [BZ #15531]
21081         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21082         argument is infinite.
21083         * math/s_cprojf.c (__cprojf): Likewise.
21084         * math/s_cprojl.c (__cprojl): Likewise.
21085         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21086         * math/libm-test.inc (cproj_test_data): Add more tests.
21088         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21090         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21091         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21092         size.  Use __ffs to determine corresponding shift.
21094 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21095             Roland McGrath  <roland@hack.frob.com>
21097         * Makefile (INSTALL): Remove trailing blank lines from output of
21098         makeinfo.
21100 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21102         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21103         Align 32 bit compat elf_greg to 8 bytes.
21105 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21107         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21109 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21111         * string/strcoll_l.c (coll_seq): New structure.
21112         (get_next_seq_cached): New function.
21113         (get_next_seq): New function.
21114         (do_compare): New function.
21115         (STRCOLL): Use GNU style definition.  Simplify implementation
21116         by using get_next_seq, get_next_seq_cached and do_compare.
21118 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21120         [BZ #14699]
21121         CVE-2013-4237
21122         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21123         member.
21124         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21125         member.
21126         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21127         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21128         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21129         conditional.
21130         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21131         GETDENTS_64BIT_ALIGNED.
21132         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21133         * manual/filesys.texi (Reading/Closing Directory): Document
21134         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21135         strongly.
21136         * manual/conf.texi (Limits for Files): Add portability note to
21137         NAME_MAX, PATH_MAX.
21138         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21140 2013-08-13  Andreas Schwab  <schwab@suse.de>
21142         [BZ #15749]
21143         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21144         of fabs.
21145         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21146         LDBL_MAX_EXP >= 16384]: Add tests for it.
21148 2013-08-12  David S. Miller  <davem@davemloft.net>
21150         * version.h (RELEASE): Set to "development".
21151         (VERSION): Set to "2.18.90".
21152         * NEWS: Add 2.19 section.
21154 2013-08-03  David S. Miller  <davem@davemloft.net>
21156         * po/ko.po: Update Korean translation from translation project.
21158 2013-08-01  David S. Miller  <davem@davemloft.net>
21160         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21161         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21162         Bilka.
21164 2013-07-30  David S. Miller  <davem@davemloft.net>
21166         * po/fr.po: Update French translation from translation project.
21168 2013-07-28  David S. Miller  <davem@davemloft.net>
21170         * po/cs.po: Update Czech translation from translation project.
21172         * po/sv.po: Update Swedish translation from translation project.
21174 2013-07-27  David S. Miller  <davem@davemloft.net>
21176         * po/eo.po: Update Esperanto translation from translation project.
21178         * po/vi.po: Update Vietnamese translation from translation project.
21180         * po/de.po: Update German translation from translation project.
21182 2013-07-26  David S. Miller  <davem@davemloft.net>
21184         * po/bg.po: Update Bulgarian translation from translation project.
21186         * po/nl.po: Update Dutch translation from translation project.
21187         * po/pl.po: Update Polish translation from translation project.
21188         * po/ru.po: Update Russian translation from translation project.
21190 2013-07-24  David S. Miller  <davem@davemloft.net>
21192         * po/libc.pot: Update.
21194 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21196         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21197         variable page size.
21198         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21199         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21200         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21202 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21204         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21206 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21207             Andreas Schwab  <schwab@suse.de>
21208             Roland McGrath  <roland@hack.frob.com>
21209             Joseph Myers  <joseph@codesourcery.com>
21210             Carlos O'Donell  <carlos@redhat.com>
21212         [BZ #15755]
21213         * config.h.in: Define HAVE_PT_CHOWN.
21214         * config.make.in (build-pt-chown): New variable.
21215         * configure.in (--enable-pt_chown): New configure option.
21216         * configure: Regenerate.
21217         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21218         build-pt-chown is enabled.
21219         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21220         pt_chown to fix pty ownership.
21221         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21222         CLOSE_ALL_FDS.
21223         * manual/install.texi (Configuring and compiling): Mention
21224         --enable-pt_chown. Add @findex for grantpt.
21225         * INSTALL: Regenerate.
21227 2013-07-20  David S. Miller  <davem@davemloft.net>
21229         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21230         difference between 32-bit and 64-bit.
21232 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21234         [BZ #15711]
21235         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21236         Avoid system header dependency with -ffreestanding.
21237         ($(objpfx)bits/syscall%d): Likewise.
21239 2013-07-13  David S. Miller  <davem@davemloft.net>
21241         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21242         underflows from atanl/atan2l due to bug 15319.
21243         (casinh_test_data): Likewise.
21245 2013-07-07  David S. Miller  <davem@davemloft.net>
21247         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21249 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21251         * sysdeps/i386/fpu/libm-test-ulps: Update.
21252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21256         * configure.in (--enable-lock-elision): Fix message text.
21257         * INSTALL: Regenerate.
21258         * configure: Regenerate.
21260 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21264 2013-07-03  Andreas Jaeger  <aj@suse.de>
21266         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21267         define.
21268         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21269         (ptrace_peeksiginfo_args): Add.
21270         (__ptrace_peeksiginfo_flags): Add.
21271         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21273         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21275 2013-07-03  Allan McRae  <allan@archlinux.org>
21277         * sysdeps/i386/fpu/libm-test-ulps: Update.
21279 2013-07-02  David S. Miller  <davem@davemloft.net>
21281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21283 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21287 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21289         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21292 2013-07-02  Andi Kleen <ak@linux.intel.com>
21294         * config.h.in (ENABLE_LOCK_ELISION): Add.
21295         * configure.in (--enable-lock-elision): Add option.
21296         * manual/install.texi: Document --enable lock elision.
21297         * configure: Regenerate
21298         * INSTALL: Regenerate.
21300 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21302         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21303         SSE4.2 strcasecmp for libc.a.
21304         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21306 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #13304]
21309         * soft-fp/op-common.h (_FP_FMA): New macro.
21310         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21311         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21312         (_FP_MUL_MEAT_1_imm): ... here.
21313         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21314         (_FP_MUL_MEAT_1_wide): ... here.
21315         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21316         (_FP_MUL_MEAT_1_hard): ... here.
21317         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21318         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21319         (_FP_MUL_MEAT_2_wide): ... here.
21320         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21321         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21322         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21323         (_FP_MUL_MEAT_2_gmp): ... here.
21324         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21325         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21326         (_FP_MUL_MEAT_4_wide): ... here.
21327         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21328         (_FP_MUL_MEAT_4_gmp): ... here.
21329         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21330         (_FP_WFRACBITS_DW_S): Likewise.
21331         (_FP_WFRACXBITS_DW_S): Likewise.
21332         (_FP_HIGHBIT_DW_S): Likewise.
21333         (FP_FMA_S): Likewise.
21334         (_FP_FRAC_HIGH_DW_S): Likewise.
21335         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21336         (_FP_WFRACBITS_DW_D): Likewise.
21337         (_FP_WFRACXBITS_DW_D): Likewise.
21338         (_FP_HIGHBIT_DW_D): Likewise.
21339         (FP_FMA_D): Likewise.
21340         (_FP_FRAC_HIGH_DW_D): Likewise.
21341         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21342         (_FP_WFRACBITS_DW_E): Likewise.
21343         (_FP_WFRACXBITS_DW_E): Likewise.
21344         (_FP_HIGHBIT_DW_E): Likewise.
21345         (FP_FMA_E): Likewise.
21346         (_FP_FRAC_HIGH_DW_E): Likewise.
21347         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21348         (_FP_WFRACBITS_DW_Q): Likewise.
21349         (_FP_WFRACXBITS_DW_Q): Likewise.
21350         (_FP_HIGHBIT_DW_Q): Likewise.
21351         (FP_FMA_Q): Likewise.
21352         (_FP_FRAC_HIGH_DW_Q): Likewise.
21353         * soft-fp/fmasf4.c: New file.
21354         * soft-fp/fmadf4.c: Likewise.
21355         * soft-fp/fmatf4.c: Likewise.
21357 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21360         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21361         Silvermont.
21362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21363         macro.
21364         (index_Slow_SSE4_2): Likewise.
21365         (index_Prefer_PMINUB_for_stringop): Likewise.
21366         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21367         bit_Slow_SSE4_2 is set.
21368         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21369         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21371 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21373         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21374         rtld_global._dl_hwcap2.
21375         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21376         POWER8.
21377         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21378         POWER8 feature descriptions defined in _dl_hwcap2.
21379         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21380         string handling for POWER8 feature bits.
21381         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21382         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21383         _dl_powerpc_cap_flags.
21384         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21385         * sysdeps/powerpc/rtld-global-offsets.sym
21386         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21387         _dl_hwcap2 in the rtld_global_ro structure.
21389 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21391         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21392         hardware capabilities in support of AT_HWCAP2.
21393         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21394         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21395         GLRO(dl_hwcap2).
21396         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21397         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21398         explicitly the unknown a_type display mechanism is used.
21399         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21400         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21401         struct member.
21402         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21403         to macro prototype for AT_HWCAP2 support.
21404         * sysdeps/i386/dl-procinfo.h: Likewise.
21405         * sysdeps/s390/dl-procinfo.h: Likewise.
21406         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21407         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21408         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21409         return -1 for unknown a_type display fallback.
21410         * sysdeps/sparc/dl-procinfo.h: Likewise.
21411         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21412         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21414 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21416         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21417         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21419 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21421         [BZ #12492]
21422         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21423         mprotect making __stack_prot writable.
21425 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21426             Joseph Myers  <joseph@codesourcery.com>
21428         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21429         as being properly aligned.
21431 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21433         * dlfcn/modstatic5.c: New file.
21434         * dlfcn/tststatic5.c: New file.
21435         * dlfcn/Makefile (tests): Add tststatic5.
21436         (tests-static): Likewise.
21437         (modules-names): Add modstatic5.
21438         (tststatic5-ENV): New variable.
21439         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21441         [BZ #15022]
21442         * elf/dl-support.c (_dl_main_map): New variable.
21443         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21444         (_dl_nns, _dl_load_adds): Set to 1.
21445         (_dl_initial_searchlist): Refer to _dl_main_map.
21446         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21447         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21448         call to _dl_get_origin.
21449         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21450         around call_map.
21451         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21452         * dlfcn/modstatic3.c: New file.
21453         * dlfcn/tststatic3.c: New file.
21454         * dlfcn/tststatic4.c: New file.
21455         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21456         (tests-static): Likewise.
21457         (modules-names): Add modstatic3.
21458         (tststatic3-ENV, tststatic4-ENV): New variables.
21459         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21460         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21462 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21464         * configure.in (CC): Require GCC version 4.4 or later.
21465         * configure: Regenerated.
21466         * manual/install.texi (Tools for Compilation): Update GCC version
21467         requirement.
21468         * INSTALL: Regenerated.
21470 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21472         [BZ #15674]
21473         * string/test-memcmp.c (check2): New.
21474         (main): Call check2.
21476         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21478 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21480         [BZ #15022]
21481         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21482         over to...
21483         (dl_open_worker) [!SHARED]: ... here.
21485 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21487         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21489 2013-06-25  Richard Henderson  <rth@redhat.com>
21491         * locale/programs/locarchive.c: Include <libc-internal.h>
21493 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21495         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21496         trailing whitespace removed.
21498 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21500         [BZ #10283]
21501         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21502         * locale/programs/locarchive.c: Include libc-mmap.h.
21503         (prepare_address_space): Take two new outputs (the mmap base and len).
21504         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21505         values.
21506         (create_archive): Declare new mmap base and len values for
21507         prepare_address_space, and store the result in ah.
21508         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21509         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21510         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21511         Declare new mmap base and len values for
21512         prepare_address_space, and store the result in new_ah.
21513         (open_archive): Declare new mmap base and len values for
21514         prepare_address_space, and store the result in ah.
21515         (close_archive): If ah->mmap_base is not NULL, use that and
21516         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21517         * sysdeps/generic/libc-mmap.h: New file.
21519 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21521         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21522         (ALIGN_UP): Likewise.
21523         (PTR_ALIGN_DOWN): Likewise.
21524         (PTR_ALIGN_UP): Likewise.
21526 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21528         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21529         entry mapped to PPC_PLATFORM_POWER8.
21530         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21531         POWER8.
21532         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21533         (_dl_string_platform): Add case for exporting platform position for
21534         POWER8.
21535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21536         search path to sysdeps/powerpc/powerpc32/power8 directory.
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21538         search path to sysdeps/powerpc/powerpc64/power8 directory.
21539         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21540         power7 directories.
21541         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21542         power7 directories.
21544 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21546         * INSTALL: Regenerate.
21548         * nscd/connections.c (nscd_init): Fix comment.
21550 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
21552         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21554         [BZ #15667]
21555         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21556         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21558 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21560         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21561         DL_DST_REQ_STATIC.
21562         (DL_DST_REQ_STATIC): Remove macro.
21564 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
21566         [BZ #7006]
21567         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21568         with a shift of 0 bits.
21570 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21572         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21573         $(tststatic-ENV).
21575 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21577         [BZ #15655]
21578         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21580 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21582         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21583         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21584         accepts -fno-tree-loop-distribute-patterns.
21585         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21586         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21587         recursive call.
21588         * string/memset.c (memset): Likewise.
21589         * string/test-memmove.c (simple_memmove): Disable loop transformation
21590         to library calls.
21591         * string/test-memset.c (simple_memset): Likewise.
21592         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21593         * benchtests/bench-memset.c (simple_memset): Likewise.
21594         * configure: Regenerated.
21596 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21598         * math/test-misc.c (main): Ignore fesetround failure when failures
21599         of subsequent rounding tests would be ignored.
21601         [BZ #15654]
21602         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21603         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21604         * math/fegetenv.c (__fegetenv): Return 0.
21605         * math/fegetexcept.c (fegetexcept): Return 0.
21606         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21607         FE_TONEAREST.
21608         * math/feholdexcpt.c (feholdexcept): Return 0.
21609         * math/fesetenv.c (__fesetenv): Return 0.
21610         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21611         argument FE_TONEAREST.
21612         * math/feupdateenv.c (__feupdateenv): Return 0.
21613         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21615 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21617         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21618         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21619         ($(objpfx)rtld-%.os rules): Use them.
21621 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21623         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21624         fields.
21626 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21628         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21629         length of target pattern, then descending length of dependency pattern.
21630         * configure.in (AWK): Require gawk 3.1.2 or newer.
21631         * manual/install.texi (Tools for Compilation): Say that we do.
21632         * configure: Regenerated.
21634         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21635         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21636         * scripts/sysd-rules.awk: ... this new script.
21637         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21638         than a glob-style pattern.
21640 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21642         * math/test-misc.c (main): Do not treat incorrectly rounded
21643         conversions as failure unless ROUNDING_TESTS passes.
21645 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21647         [BZ #15631]
21648         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21649         restore exception state around main square root computation, then
21650         check for inexactness explicitly.
21652         * math/libm-test.inc (fma_test_data): Add another test.
21654 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21656         * manual/threads.texi (Non-POSIX Extensions): New document
21657         node.  Document pthread_getattr_default_np and
21658         pthread_setattr_default_np.
21660         * Versions.def (libpthread): Add GLIBC_2.18.
21661         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21663         Likewise.
21664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21665         Likewise.
21666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21667         Likewise.
21668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21669         Likewise.
21670         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21671         Likewise.
21672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21673         Likewise.
21674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21675         Likewise.
21676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21677         Likewise.
21678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21679         Likewise.
21681 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21684         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21686 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21687             H.J. Lu  <hjl.tools@gmail.com>
21689         [BZ #15627]
21690         * sysdeps/x86_64/rtld-memset.c: Remove file.
21691         * sysdeps/x86_64/rtld-memset.S: New file.
21693 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21695         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21696         (test_in_one_mode): Take arguments for whether the rounding mode
21697         is supported for each floating-point type.
21698         (do_test): Pass new arguments to test_in_one_mode using
21699         ROUNDING_TESTS.
21701 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21703         * posix/tst-waitid.c (do_test): Distinguish different instances of
21704         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21705         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21706         before entering the kernel for waitpid.
21708 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21710         * NEWS: Fix note on clock function precision.  Text by Roland
21711         McGrath.
21713 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21715         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21716         it into place only when and if the sanity check passes.
21718 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21720         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21721         output for whether conversion result is exact.  Take argument
21722         indicating whether type is IBM long double.
21723         (round_for_all): Change need_exact field to ibm_ld.
21724         * stdlib/tst-strtod-round.c (struct exactness): New type.
21725         (struct test): Change bool ld_ok field to struct exactness exact.
21726         (TEST): Update all definitions for change to field.
21727         (tests): Regenerate array contents.
21728         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21729         field value.  Check for IBM long double here.
21730         (do_test): Update calls to test_in_one_mode.
21732 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21734         [BZ #12515]
21735         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21736         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21738 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21740         [BZ #15605]
21741         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21742         generated by the compiler on loop optimizations.
21743         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21744         general definitions.
21746 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21748         * math/bug-nextafter.c: Include <math-tests.h>.
21749         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21750         the relevant type.
21751         * math/bug-nexttoward.c: Include <math-tests.h>.
21752         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21753         the relevant type.
21754         * math/test-misc.c: Include <math-tests.h>.
21755         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21756         the relevant type.
21758 2013-06-12  Andreas Jaeger  <aj@suse.de>
21760         * po/ia.po: Update Interlingua translation from translation
21761         project.
21763 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21765         * include/fenv.h: Include stdbool.h.
21766         (struct rm_ctx): New structure.
21767         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21768         Define macro.
21769         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21770         (SET_RESTORE_ROUNDF): Likewise.
21771         (SET_RESTORE_ROUNDL): Likewise.
21772         (SET_RESTORE_ROUND_NOEX): Likewise.
21773         (SET_RESTORE_ROUND_NOEXF): Likewise.
21774         (SET_RESTORE_ROUND_NOEXL): Likewise.
21775         (SET_RESTORE_ROUND_53BIT): Likewise.
21776         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21777         (libc_feresetround_noexf_ctx): Likewise.
21778         (libc_feresetround_noexl_ctx): Likewise.
21779         (libc_feholdsetround_53bit_ctx): Likewise.
21780         (libc_feresetround_53bit_ctx): Likewise.
21781         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21782         (libc_feholdexcept_setround_sse_ctx): New function.
21783         (libc_fesetenv_sse_ctx): Likewise.
21784         (libc_feupdateenv_sse_ctx): Likewise.
21785         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21786         (libc_feholdexcept_setround_387_ctx): Likewise.
21787         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21788         (libc_feholdsetround_387_prec_ctx): Likewise.
21789         (libc_feholdsetround_387_ctx): Likewise.
21790         (libc_feholdsetround_387_53bit_ctx): Likewise.
21791         (libc_feholdsetround_sse_ctx): Likewise.
21792         (libc_feresetround_sse_ctx): Likewise.
21793         (libc_feresetround_387_ctx): Likewise.
21794         (libc_feupdateenv_387_ctx): Likewise.
21795         (libc_feholdexcept_setroundf_ctx): Define macro.
21796         (libc_fesetenvf_ctx): Likewise.
21797         (libc_feupdateenvf_ctx): Likewise.
21798         (libc_feholdsetroundf_ctx): Likewise.
21799         (libc_feresetroundf_ctx): Likewise.
21800         (libc_feholdexcept_setround_ctx): Likewise.
21801         (libc_fesetenv_ctx): Likewise.
21802         (libc_feupdateenv_ctx): Likewise.
21803         (libc_feholdsetround_ctx): Likewise.
21804         (libc_feresetround_ctx): Likewise.
21805         (libc_feholdexcept_setroundl_ctx): Likewise.
21806         (libc_feupdateenvl_ctx): Likewise.
21807         (libc_feholdsetroundl_ctx): Likewise.
21808         (libc_feresetroundl_ctx): Likewise.
21809         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21810         (libc_feresetround_53bit_ctx): Likewise.
21812 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21814         * locale/iso-639.def: Convert to UTF-8.
21816 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21818         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21819         (EXCEPTION_TESTS_double): Likewise.
21820         (EXCEPTION_TESTS_long_double): Likewise.
21821         (EXCEPTION_TESTS): Likewise.
21822         * math/libm-test.inc (test_exceptions): Only test exceptions if
21823         EXCEPTION_TESTS (FLOAT).
21825 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21827         * benchtests/Makefile (string-bench): Add strcpy_chk and
21828         stpcpy_chk.
21829         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21830         * benchtests/bench-stpcpy_chk.c: New file.
21831         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21832         * benchtests/bench-strcpy_chk.c: New file.
21833         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21834         code.
21835         (do_test): Likewise.
21837 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21839         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21840         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21841         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21842         with tabs where appropriate.
21843         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21844         dl-procinfo.h.
21845         [PPC_PLATFORM_PPC440]: Likewise.
21846         [PPC_PLATFORM_PPC464]: Likewise.
21847         [PPC_PLATFORM_PPC476]: Likewise.
21848         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21849         ppc464, and ppc476 platform strings merging from ports/
21850         dl-procinfo.h.
21852 2013-06-11  Andreas Schwab  <schwab@suse.de>
21854         [BZ #14991]
21855         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21856         (from_ucs4_idx): Regenerate.
21857         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21858         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21859         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21860         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21861         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21862         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21863         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21864         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21865         from FROM_LOOP and TO_LOOP specific macros.
21866         (BODY): Handle combining characters.
21867         * iconvdata/BIG5HKSCS.irreversible: Update.
21868         * iconvdata/BIG5HKSCS.precomposed: New file.
21869         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21870         characters.
21871         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21873 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21875         * include/sys/time.h: Fix indentation and add copyright header.
21877         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21878         (do_test): Likewise.
21879         * string/test-memchr.c (do_one_test): Likewise.
21880         (do_test): Likewise.
21881         * string/test-memcmp.c (do_one_test): Likewise.
21882         (do_test): Likewise.
21883         * string/test-memcpy.c (do_one_test): Likewise.
21884         (do_test): Likewise.
21885         * string/test-memmem.c (do_one_test): Likewise.
21886         (do_test): Likewise.
21887         (do_random_tests): Likewise.
21888         * string/test-memmove.c (do_one_test): Likewise.
21889         (do_test): Likewise.
21890         * string/test-memset.c (do_one_test): Likewise.
21891         (do_test): Likewise.
21892         * string/test-rawmemchr.c (do_one_test): Likewise.
21893         (do_test): Likewise.
21894         * string/test-strcasecmp.c (do_one_test): Likewise.
21895         (do_test): Likewise.
21896         * string/test-strcasestr.c (do_one_test): Likewise.
21897         (do_test): Likewise.
21898         * string/test-strcat.c (do_one_test): Likewise.
21899         (do_test): Likewise.
21900         * string/test-strchr.c (do_one_test): Likewise.
21901         (do_test): Likewise.
21902         * string/test-strcmp.c (do_one_test): Likewise.
21903         (do_test): Likewise.
21904         * string/test-strcpy.c (do_one_test): Likewise.
21905         (do_test): Likewise.
21906         * string/test-string.h: Likewise.
21907         (test_init): Likewise.
21908         * string/test-strlen.c (do_one_test): Likewise.
21909         (do_test): Likewise.
21910         * string/test-strncasecmp.c (do_one_test): Likewise.
21911         (do_test): Likewise.
21912         * string/test-strncat.c (do_one_test): Likewise.
21913         (do_test): Likewise.
21914         * string/test-strncmp.c (do_one_test): Likewise.
21915         (do_test_limit): Likewise.
21916         (do_test): Likewise.
21917         * string/test-strncpy.c (do_one_test): Likewise.
21918         (do_test): Likewise.
21919         * string/test-strnlen.c (do_one_test): Likewise.
21920         (do_test): Likewise.
21921         * string/test-strpbrk.c (do_one_test): Likewise.
21922         (do_test): Likewise.
21923         * string/test-strrchr.c (do_one_test): Likewise.
21924         (do_test): Likewise.
21925         * string/test-strspn.c (do_one_test): Likewise.
21926         (do_test): Likewise.
21927         * string/test-strstr.c (do_one_test): Likewise.
21928         (do_test): Likewise.
21930         * benchtests/Makefile (string-bench): Add string benchmarks.
21931         * benchtests/bench-bcopy-ifunc.c: New file.
21932         * benchtests/bench-bcopy.c: New file.
21933         * benchtests/bench-bzero-ifunc.c: New file.
21934         * benchtests/bench-bzero.c: New file.
21935         * benchtests/bench-memccpy-ifunc.c: New file.
21936         * benchtests/bench-memccpy.c: New file.
21937         * benchtests/bench-memchr-ifunc.c: New file.
21938         * benchtests/bench-memchr.c: New file.
21939         * benchtests/bench-memcmp-ifunc.c: New file.
21940         * benchtests/bench-memcmp.c: New file.
21941         * benchtests/bench-memmem-ifunc.c: New file.
21942         * benchtests/bench-memmem.c: New file.
21943         * benchtests/bench-memmove-ifunc.c: New file.
21944         * benchtests/bench-memmove.c: New file.
21945         * benchtests/bench-mempcpy-ifunc.c: New file.
21946         * benchtests/bench-mempcpy.c: New file.
21947         * benchtests/bench-memset-ifunc.c: New file.
21948         * benchtests/bench-memset.c: New file.
21949         * benchtests/bench-rawmemchr-ifunc.c: New file.
21950         * benchtests/bench-rawmemchr.c: New file.
21951         * benchtests/bench-stpcpy-ifunc.c: New file.
21952         * benchtests/bench-stpcpy.c: New file.
21953         * benchtests/bench-stpncpy-ifunc.c: New file.
21954         * benchtests/bench-stpncpy.c: New file.
21955         * benchtests/bench-strcasecmp-ifunc.c: New file.
21956         * benchtests/bench-strcasecmp.c: New file.
21957         * benchtests/bench-strcasestr-ifunc.c: New file.
21958         * benchtests/bench-strcasestr.c: New file.
21959         * benchtests/bench-strcat-ifunc.c: New file.
21960         * benchtests/bench-strcat.c: New file.
21961         * benchtests/bench-strchr-ifunc.c: New file.
21962         * benchtests/bench-strchr.c: New file.
21963         * benchtests/bench-strchrnul-ifunc.c: New file.
21964         * benchtests/bench-strchrnul.c: New file.
21965         * benchtests/bench-strcmp-ifunc.c: New file.
21966         * benchtests/bench-strcmp.c: New file.
21967         * benchtests/bench-strcpy-ifunc.c: New file.
21968         * benchtests/bench-strcpy.c: New file.
21969         * benchtests/bench-strcspn-ifunc.c: New file.
21970         * benchtests/bench-strcspn.c: New file.
21971         * benchtests/bench-strlen-ifunc.c: New file.
21972         * benchtests/bench-strlen.c: New file.
21973         * benchtests/bench-strncasecmp-ifunc.c: New file.
21974         * benchtests/bench-strncasecmp.c: New file.
21975         * benchtests/bench-strncat-ifunc.c: New file.
21976         * benchtests/bench-strncat.c: New file.
21977         * benchtests/bench-strncmp-ifunc.c: New file.
21978         * benchtests/bench-strncmp.c: New file.
21979         * benchtests/bench-strncpy-ifunc.c: New file.
21980         * benchtests/bench-strncpy.c: New file.
21981         * benchtests/bench-strnlen-ifunc.c: New file.
21982         * benchtests/bench-strnlen.c: New file.
21983         * benchtests/bench-strpbrk-ifunc.c: New file.
21984         * benchtests/bench-strpbrk.c: New file.
21985         * benchtests/bench-strrchr-ifunc.c: New file.
21986         * benchtests/bench-strrchr.c: New file.
21987         * benchtests/bench-strspn-ifunc.c: New file.
21988         * benchtests/bench-strspn.c: New file.
21989         * benchtests/bench-strstr-ifunc.c: New file.
21990         * benchtests/bench-strstr.c: New file.
21992         * benchtests/Makefile: Disable parallel execution of targets.
21993         (string-bench): Add memcpy.
21994         (benchset): New variable to store a list of benchmark sets.
21995         (bench-func): Renamed from bench.
21996         (bench-set): New target.
21997         (bench): Depend on bench-func and bench-set.
21998         * benchtests/README: Add section on benchmark sets.
21999         * benchtests/bench-memcpy-ifunc.c: New file.
22000         * benchtests/bench-memcpy.c: New file.
22001         * benchtests/bench-string.h: New file.
22003 2013-06-11  Andreas Schwab  <schwab@suse.de>
22005         [BZ #15577]
22006         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22007         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22008         values in the triple.
22009         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22010         terminator in the group key.
22012 2013-06-11  Andreas Jaeger  <aj@suse.de>
22014         * po/zh_TW.po: Update Chinese (traditional) translation from
22015         translation project.
22017 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22019         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22020         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22021         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22022         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22023         (clock_getcpuclockid): Likewise.
22024         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22025         Add weak_alias and libc_hidden_def.
22026         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22027         * rt/clock_gettime.c (clock_gettime): Rename to
22028         __clock_gettime.  Add weak_alias and libc_hidden_def.
22029         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22030         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22031         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22032         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22033         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22034         Likewise.
22035         * rt/clock_settime.c (clock_settime): Rename to
22036         __clock_settime.  Add weak_alias and libc_hidden_def.
22037         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22039 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22041         * mach/err_boot.sub: Remove trailing whitespace.
22042         * mach/err_ipc.sub: Likewise.
22043         * mach/err_mach.sub: Likewise.
22045         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22046         (ROUNDING_TESTS_double): Likewise.
22047         (ROUNDING_TESTS_long_double): Likewise.
22048         (ROUNDING_TESTS): Likewise.
22049         * math/libm-test.inc: Include <math-tests.h>.
22050         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22051         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22052         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22053         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22055 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22057         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22058         of assigning.
22060 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22062         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22063         otherwise empty TRANS lines.
22064         * sysdeps/gnu/errlist.c: Regenerated.
22066         * catgets/gencat.c (error_print): Use (void) in function
22067         definition.
22068         * crypt/crypt_util.c (__init_des): Likewise.
22069         * crypt/speeds.c (Stop): Likewise.
22070         (main): Likewise.
22071         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22072         * inet/ruserpass.c (token): Likewise.
22073         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22074         * intl/localealias.c (extend_alias_table): Likewise.
22075         * intl/plural-exp.c (init_germanic_plural): Likewise.
22076         * libio/fcloseall.c (__fcloseall): Likewise.
22077         * libio/genops.c (_IO_flush_all): Likewise.
22078         (_IO_flush_all_linebuffered): Likewise.
22079         (_IO_cleanup): Likewise.
22080         (_IO_iter_begin): Likewise.
22081         (_IO_iter_end): Likewise.
22082         (_IO_list_lock): Likewise.
22083         (_IO_list_unlock): Likewise.
22084         (_IO_list_resetlock): Likewise.
22085         * libio/getchar.c (getchar): Likewise.
22086         * libio/getchar_u.c (getchar_unlocked): Likewise.
22087         * libio/getwchar.c (getwchar): Likewise.
22088         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22089         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22090         * login/getpt.c (__getpt): Likewise.
22091         * login/tst-utmp.c (main): Likewise.
22092         * malloc/hooks.c (__malloc_check_init): Likewise.
22093         * malloc/malloc.c (__malloc_stats): Likewise.
22094         * malloc/mtrace.c (tr_break): Likewise.
22095         (mtrace): Likewise.
22096         (muntrace): Likewise.
22097         * misc/fstab.c (endfsent): Likewise.
22098         * misc/getclktck.c (__getclktck): Likewise.
22099         * misc/getdtsz.c (__getdtablesize): Likewise.
22100         * misc/gethostid.c (gethostid): Likewise.
22101         * misc/getpagesize.c (__getpagesize): Likewise.
22102         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22103         (__get_nprocs): Likewise.
22104         (__get_phys_pages): Likewise.
22105         (__get_avphys_pages): Likewise.
22106         * misc/getttyent.c (getttyent): Likewise.
22107         (setttyent): Likewise.
22108         (endttyent): Likewise.
22109         * misc/getusershell.c (getusershell): Likewise.
22110         (endusershell): Likewise.
22111         (setusershell): Likewise.
22112         (initshells): Likewise.
22113         * misc/hsearch.c (__hdestroy): Likewise.
22114         * misc/sync.c (sync): Likewise.
22115         * misc/syslog.c (closelog_internal): Likewise.
22116         (closelog): Likewise.
22117         * misc/ttyslot.c (ttyslot): Likewise.
22118         * misc/vhangup.c (vhangup): Likewise.
22119         * posix/fork.c (__fork): Likewise.
22120         * posix/getegid.c (__getegid): Likewise.
22121         * posix/geteuid.c (__geteuid): Likewise.
22122         * posix/getgid.c (__getgid): Likewise.
22123         * posix/getpid.c (__getpid): Likewise.
22124         * posix/getppid.c (__getppid): Likewise.
22125         * posix/getuid.c (__getuid): Likewise.
22126         * posix/pause.c (pause): Likewise.
22127         * posix/setpgrp.c (setpgrp): Likewise.
22128         * posix/setsid.c (__setsid): Likewise.
22129         * posix/test-vfork.c (noop): Likewise.
22130         * resolv/gethnamaddr.c (_endhtent): Likewise.
22131         (_gethtent): Likewise.
22132         (ht_endhostent): Likewise.
22133         (gethostent): Likewise.
22134         (dns_service): Likewise.
22135         * stdlib/drand48.c (drand48): Likewise.
22136         * stdlib/lrand48.c (lrand48): Likewise.
22137         * stdlib/mrand48.c (mrand48): Likewise.
22138         * stdlib/rand.c (rand): Likewise.
22139         * stdlib/random.c (__random): Likewise.
22140         * stdlib/setenv.c (clearenv): Likewise.
22141         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22142         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22143         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22144         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22145         (__get_nprocs): Likewise.
22146         (__get_phys_pages): Likewise.
22147         (__get_avphys_pages): Likewise.
22148         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22149         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22150         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22151         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22152         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22153         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22154         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22155         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22156         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22157         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22158         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22159         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22160         * sysdeps/posix/clock.c (clock): Likewise.
22161         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22162         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22163         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22164         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22165         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22167         (__get_nprocs_conf): Likewise.
22168         (__get_phys_pages): Likewise.
22169         (__get_avphys_pages): Likewise.
22170         * time/clock.c (clock): Likewise.
22171         * time/tzset.c (__tzname_max): Likewise.
22173 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22175         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22176         (__bswap_32): Do not use "register".
22177         * crypt/crypt.c (_ufc_doit_r): Likewise.
22178         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22179         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22180         * gmon/gmon.c (__monstartup): Likewise.
22181         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22182         * hurd/hurdmalloc.c (more_memory): Likewise.
22183         (malloc): Likewise.
22184         (free): Likewise.
22185         (realloc): Likewise.
22186         (malloc_fork_prepare): Likewise.
22187         (malloc_fork_parent): Likewise.
22188         (malloc_fork_child): Likewise.
22189         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22190         (_svcauth_des): Likewise.
22191         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22192         * inet/inet_net.c (inet_network): Likewise.
22193         * inet/inet_netof.c (inet_netof): Likewise.
22194         * inet/rcmd.c (__validuser2_sa): Likewise.
22195         * io/fts.c (fts_open): Likewise.
22196         (fts_load): Likewise.
22197         (fts_close): Likewise.
22198         (fts_read): Likewise.
22199         (fts_children): Likewise.
22200         (fts_build): Likewise.
22201         (fts_stat): Likewise.
22202         (fts_sort): Likewise.
22203         (fts_alloc): Likewise.
22204         (fts_lfree): Likewise.
22205         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22206         (_IO_file_xsgetn): Likewise.
22207         (_IO_file_xsgetn_mmap): Likewise.
22208         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22209         (_IO_cookie_write): Likewise.
22210         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22211         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22212         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22213         * malloc/obstack.c (_obstack_begin): Likewise.
22214         (_obstack_begin_1): Likewise.
22215         (_obstack_newchunk): Likewise.
22216         (_obstack_allocated_p): Likewise.
22217         (obstack_free): Likewise.
22218         (_obstack_memory_used): Likewise.
22219         * misc/getttyent.c (getttynam): Likewise.
22220         (getttyent): Likewise.
22221         (skip): Likewise.
22222         (value): Likewise.
22223         * misc/getusershell.c (initshells): Likewise.
22224         * misc/syslog.c (__vsyslog_chk): Likewise.
22225         * misc/ttyslot.c (ttyslot): Likewise.
22226         * nis/nis_hash.c (__nis_hash): Likewise.
22227         * posix/fnmatch_loop.c (FCT): Likewise.
22228         * posix/getconf.c (print_all): Likewise.
22229         (main): Likewise.
22230         * posix/getopt.c (exchange): Likewise.
22231         * posix/glob.c (globfree): Likewise.
22232         (prefix_array): Likewise.
22233         (__glob_pattern_type): Likewise.
22234         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22235         (NS_GET32): Likewise.
22236         (NS_PUT16): Likewise.
22237         (NS_PUT32): Likewise.
22238         * resolv/gethnamaddr.c (getanswer): Likewise.
22239         (gethostbyname2): Likewise.
22240         (gethostbyaddr): Likewise.
22241         (_gethtent): Likewise.
22242         (_gethtbyname2): Likewise.
22243         (_gethtbyaddr): Likewise.
22244         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22245         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22246         * resolv/res_init.c (__res_vinit): Likewise.
22247         (net_mask): Likewise.
22248         * resolv/res_mkquery.c (outchar): Likewise.
22249         (PRINT): Likewise.
22250         * stdio-common/printf_fp.c (outchar): Likewise.
22251         (PRINT): Likewise.
22252         * stdio-common/printf_fphex.c (outchar): Likewise.
22253         (PRINT): Likewise.
22254         * stdio-common/printf_size.c (outchar): Likewise.
22255         (PRINT): Likewise.
22256         * stdio-common/test_rdwr.c (main): Likewise.
22257         * stdio-common/tfformat.c (matches): Likewise.
22258         * stdio-common/vfprintf.c (outchar): Likewise.
22259         (printf_unknown): Likewise.
22260         (buffered_vfprintf): Likewise.
22261         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22262         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22263         (ReadFile): Likewise.
22264         * stdlib/qsort.c (SWAP): Likewise.
22265         (_quicksort): Likewise.
22266         * stdlib/setenv.c (__add_to_environ): Likewise.
22267         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22268         * stdlib/strtol_l.c (__strtol_l): Likewise.
22269         * stdlib/tst-strtod.c (main): Likewise.
22270         * stdlib/tst-strtol.c (main): Likewise.
22271         * stdlib/tst-strtoll.c (main): Likewise.
22272         * string/bits/string2.h (__strcmp_cc): Likewise.
22273         (__strcmp_cg): Likewise.
22274         (__strcspn_c1): Likewise.
22275         (__strcspn_c2): Likewise.
22276         (__strcspn_c3): Likewise.
22277         (__strspn_c1): Likewise.
22278         (__strspn_c2): Likewise.
22279         (__strspn_c3): Likewise.
22280         (__strsep_1c): Likewise.
22281         (__strsep_2c): Likewise.
22282         (__strsep_3c): Likewise.
22283         * string/memccpy.c (__memccpy): Likewise.
22284         * string/stpcpy.c (__stpcpy): Likewise.
22285         * string/strcmp.c (strcmp): Likewise.
22286         * string/strrchr.c (strrchr): Likewise.
22287         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22288         Likewise.
22289         * sysdeps/mach/hurd/getcwd.c
22290         (_hurd_canonicalize_directory_name_internal): Likewise.
22291         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22292         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22293         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22294         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22295         Likewise, in both definitions.
22296         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22297         definitions.
22298         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22299         64] (__bswap_64): Likewise.
22300         * time/test_time.c (main): Likewise.
22301         * time/tzfile.c (__tzfile_read): Likewise.
22302         (__tzfile_compute): Likewise.
22303         * time/tzset.c (__tzset_parse_tz): Likewise.
22304         (tzset_internal): Likewise.
22305         (compute_change): Likewise.
22306         * wcsmbs/wcscat.c (__wcscat): Likewise.
22307         * wcsmbs/wcschr.c (wcschr): Likewise.
22308         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22309         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22310         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22311         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22312         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22313         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22314         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22315         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22316         * wcsmbs/wmemset.c (wmemset): Likewise.
22318 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22320         * scripts/config.guess: Update to version 2013-05-16.
22321         * scripts/config.sub: Update to version 2013-04-24.
22322         * scripts/install-sh: Update to version 2011-11-20.07.
22323         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22324         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22326 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22328         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22329         * elf/sln.c: Likewise.
22330         * hurd/hurd/ioctl.h: Likewise.
22331         * hurd/hurdmalloc.c: Likewise.
22332         * hurd/xattr.c: Likewise.
22333         * include/shlib-compat.h: Likewise.
22334         * inet/ruserpass.c: Likewise.
22335         * libio/iofgets_u.c: Likewise.
22336         * libio/iofgetws_u.c: Likewise.
22337         * locale/programs/ld-identification.c: Likewise.
22338         * locale/programs/ld-time.c: Likewise.
22339         * mach/msg-destroy.c: Likewise.
22340         * nss/nss_files/files-netgrp.c: Likewise.
22341         * resolv/res_data.c: Likewise.
22342         * soft-fp/op-1.h: Likewise.
22343         * soft-fp/op-2.h: Likewise.
22344         * soft-fp/op-4.h: Likewise.
22345         * soft-fp/op-common.h: Likewise.
22346         * stdio-common/printf_fphex.c: Likewise.
22347         * stdlib/strtod_l.c: Likewise.
22348         * sunrpc/rpc/clnt.h: Likewise.
22349         * sysdeps/generic/framestate.c: Likewise.
22350         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22351         * sysdeps/i386/bsd-setjmp.S: Likewise.
22352         * sysdeps/i386/__longjmp.S: Likewise.
22353         * sysdeps/i386/setjmp.S: Likewise.
22354         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22355         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22356         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22357         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22359         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22363         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22364         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22365         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22366         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22367         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22368         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22369         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22370         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22371         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22372         * sysdeps/ieee754/support.c: Likewise.
22373         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22374         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22375         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22376         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22377         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22378         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22379         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22380         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22381         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22382         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22383         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22384         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22385         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22386         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22387         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22388         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22389         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22392 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22394         * posix/transbug.c: Remove executable mode.
22396 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22398         * crypt/speeds.c: Remove trailing whitespace.
22399         * dlfcn/default.c: Likewise.
22400         * elf/ifuncdep2.c: Likewise.
22401         * elf/ifuncmain1.c: Likewise.
22402         * elf/ifuncmain1vis.c: Likewise.
22403         * elf/testobj.h: Likewise.
22404         * elf/tst-stackguard1.c: Likewise.
22405         * gmon/sys/gmon.h: Likewise.
22406         * hurd/hurdmsg.c: Likewise.
22407         * hurd/new-fd.c: Likewise.
22408         * hurd/ports-get.c: Likewise.
22409         * iconvdata/ibm1008_420.c: Likewise.
22410         * inet/tst-getni1.c: Likewise.
22411         * inet/tst-getni2.c: Likewise.
22412         * libio/ioungetc.c: Likewise.
22413         * libio/wfiledoalloc.c: Likewise.
22414         * manual/libm-err-tab.pl: Likewise.
22415         * math/w_dremf.c: Likewise.
22416         * misc/ftruncate.c: Likewise.
22417         * posix/bug-glob2.c: Likewise.
22418         * posix/tst-pcre.c: Likewise.
22419         * posix/wait4.c: Likewise.
22420         * resolv/README: Likewise.
22421         * resolv/res_debug.h: Likewise.
22422         * resolv/tst-inet_ntop.c: Likewise.
22423         * setjmp/bug269-setjmp.c: Likewise.
22424         * soft-fp/extended.h: Likewise.
22425         * soft-fp/op-1.h: Likewise.
22426         * soft-fp/op-2.h: Likewise.
22427         * soft-fp/op-4.h: Likewise.
22428         * soft-fp/op-8.h: Likewise.
22429         * soft-fp/testit.c: Likewise.
22430         * stdio-common/bug16.c: Likewise.
22431         * stdlib/random.c: Likewise.
22432         * sunrpc/rpcsvc/rquota.x: Likewise.
22433         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22434         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22435         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22436         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22437         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22438         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22439         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22440         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22441         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22442         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22443         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22444         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22445         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22447         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22448         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22449         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22450         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22451         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22452         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22453         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22454         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22455         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22456         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22457         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22458         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22459         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22460         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22461         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22462         * sysdeps/ieee754/s_lib_version.c: Likewise.
22463         * sysdeps/mach/hurd/check_fds.c: Likewise.
22464         * sysdeps/mach/hurd/getsockname.c: Likewise.
22465         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22466         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22467         * sysdeps/powerpc/bits/link.h: Likewise.
22468         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22469         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22470         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22471         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22472         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22473         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22474         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22475         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22476         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22477         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22478         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22479         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22480         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22481         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22482         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22483         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22486         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22487         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22488         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22489         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22491         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22492         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22493         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22494         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22495         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22496         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22498         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22501         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22502         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22503         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22504         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22505         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22506         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22507         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22508         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22509         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22510         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22511         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22512         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22513         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22514         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22515         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22516         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22517         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22518         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22519         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22520         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22521         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22523         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22524         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22525         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22526         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22527         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22528         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22529         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22530         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22531         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22532         * sysdeps/powerpc/sysdep.h: Likewise.
22533         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22534         * sysdeps/s390/s390-64/sub_n.S: Likewise.
22535         * sysdeps/sh/dl-trampoline.S: Likewise.
22536         * sysdeps/sh/memset.S: Likewise.
22537         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22538         * sysdeps/sh/strlen.S: Likewise.
22539         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22540         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22541         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22542         * sysdeps/sparc/sparc32/rem.S: Likewise.
22543         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22544         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22545         * sysdeps/sparc/sparc32/strchr.S: Likewise.
22546         * sysdeps/sparc/sparc32/udiv.S: Likewise.
22547         * sysdeps/sparc/sparc32/urem.S: Likewise.
22548         * sysdeps/sparc/sparc64/add_n.S: Likewise.
22549         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22550         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22551         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22552         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22553         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22554         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22555         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22556         * sysdeps/unix/bsd/times.c: Likewise.
22557         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22558         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22562         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22563         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22564         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22565         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22566         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22567         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22568         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22569         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22570         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22571         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22572         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22573         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22574         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22575         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22576         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22577         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22578         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22579         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22580         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22581         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22582         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22583         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22584         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22585         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22586         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22587         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22588         * sysdeps/x86_64/strcspn.S: Likewise.
22590 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22592         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22593         generated file.  Regenerate properly from gen-translit.pl.
22594         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22595         locale/C-translit.h.
22597 2013-06-05  Andreas Schwab  <schwab@suse.de>
22599         [BZ #15100]
22600         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22601         week as 6 instead of -1.
22602         * time/tst-strptime.c (day_tests): Add test case.
22604 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22606         * sysdeps/generic/math_private.h
22607         (libc_feholdexcept_setround_53bit): Replace with
22608         libc_feholdsetround_53bit.
22609         (libc_feupdateenv_53bit): Replace with
22610         libc_feresetround_53bit.
22611         (SET_RESTORE_ROUND_53BIT): Adjust.
22613 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22615         * string/test-strchrnul.c: Add copyright header.
22617         * posix/tst-getaddrinfo4.c: Increase test timeout.
22619 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22621         [BZ #15536]
22622         * math/libm-test.inc (MAX_EXP): Remove
22623         (MIN_EXP): Define.
22624         (ulp): Use MIN_EXP - MANT_DIG.
22625         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22627 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22629         * po/be.po: Revert last change.
22630         * po/zh_CN.po: Likewise.
22631         * po/header.pot: Likewise.
22633 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22635         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22636         link-libc-deps to empty as target-specific variable.
22637         * Makerules (link-libc-args): New variable.
22638         (libc-for-link): Likewise.
22639         (link-libc-deps): Likewise.
22640         (lib%.so): Depend on $(link-libc-deps).  Link with
22641         $(link-libc-args).
22642         (build-module): Link with $(link-libc-args).
22643         (build-module-asneeded): Likewise.
22644         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22645         list of objects.
22646         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22647         target-specific variable.
22648         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22649         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22650         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22651         libc.
22652         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22653         libc and ld.so.
22654         ($(objpfx)libpcprofile.so): Likewise.
22655         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22656         libc_nonshared.a.
22657         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22658         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22659         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22660         $(link-libc-deps).
22661         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22662         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22663         * login/Makefile ($(objpfx)libutil.so): Likewise.
22664         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22665         * math/Makefile ($(objpfx)libm.so): Likewise.
22666         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22667         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22668         variable instead of depending directly on libc.
22669         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22670         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22671         $(link-libc-deps).
22672         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22673         libc.
22674         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22675         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22676         ($(objpfx)libanl.so): Likewise.
22677         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22678         ld.so.
22679         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22680         $(link-libc-deps).
22681         * sysdeps/i386/fpu/Makefile: Remove file.
22682         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22683         ($(objpfx)libm.so): Remove dependency on ld.so.
22685 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22687         [BZ # 15553]
22688         * nis/yp_xdr.c (XDRMAXNAME): Define.
22689         (XDRMAXRECORD): Define.
22690         (xdr_domainname): Use XDRMAXNAME.
22691         (xdr_mapname): Likewise.
22692         (xdr_peername): Likewise.
22693         (xdr_keydat): Use XDRMAXRECORD.
22694         (xdr_valdat): Likewise.
22696 2013-05-30  Jeff Law  <law@redhat.com>
22698         [BZ #14256]
22699         * manual/errno.texi (ESTALE): Update to account for more than
22700         just NFS file systems.
22701         * sysdeps/gnu/errlist.c: Regenerated.
22703 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22705         [BZ #15465]
22706         * elf/Makefile (tests): Add tst-null-argv.
22707         (modules-names):  Add tst-null-argv-lib.
22708         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22709         (tst-null-argv-ENV): Set environment for tst-null-argv.
22710         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22711         (RTLD_PROGNAME): New macro.
22712         * elf/tst-null-argv.c: New test case.
22713         * elf/tst-null-argv-lib.c: Library for test case.
22714         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22715         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22716         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22717         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22718         * elf/dl-init.c (call_init): Likewise.
22719         (_dl_init): Likewise.
22720         * elf/dl-load.c (print_search_path): Likewise.
22721         (_dl_map_object): Likewise.
22722         * elf/dl-lookup.c (do_lookup_x): Likewise.
22723         (add_dependency): Likewise.
22724         (_dl_lookup_symbol_x): Likewise.
22725         (_dl_debug_bindings): Likewise.
22726         * elf/dl-open.c (_dl_show_scope): Likewise.
22727         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22728         * elf/dl-version.c (match_symbol): Likewise.
22729         (_dl_check_map_versions): Likewise.
22730         * elf/rtld.c (dl_main): Likewise.
22731         (print_unresolved): Use RTLD_PROGNAME.
22732         (print_missing_version): Likewise.
22733         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22734         (elf_machine_rela): Likewise.
22735         * sysdeps/powerpc/powerpc32/dl-machine.c
22736         (__process_machine_rela): Likewise.
22737         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22738         Likewise.
22739         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22740         Likewise.
22741         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22742         Likewise.
22743         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22745         Likewise.
22746         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22747         Likewise.
22748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22750 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22752         * po/be.po: Add descriptive title.
22753         * po/zh_CN.po: Likewise.
22754         * po/header.pot: Likewise.
22756 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22758         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22759         error message.
22760         (enlarge_archive): Likewise.
22762 2013-05-28  Ben North  <ben@redfrontdoor.org>
22764         * manual/arith.texi (frexp): It is the magnitude of the return
22765         value which lies in [0.5, 1), not the return value itself.
22767 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22771 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22773         * stdio-common/bug26.c (main): Correct fscanf template.
22775         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22776         declare _dl_skip_args.
22778         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22779         Don't declare.
22781         * manual/platform.texi: Add missing @end deftypefun.
22783 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22785         [BZ #15529]
22786         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22787         bit of mantissa of 2^16382.
22788         * math/libm-test.inc (hypot_test_data): Add more tests.
22790         * math/libm-test.inc: Add drem and pow10 to list of tested
22791         functions.
22792         (pow10_test): New function.
22793         (drem_test): Likewise.
22794         (drem_test_tonearest): Likewise.
22795         (drem_test_towardzero): Likewise.
22796         (drem_test_downward): Likewise.
22797         (drem_test_upward): Likewise.
22798         (main): Call the new functions.
22800         * math/libm-test.inc (finite_test_data): Remove.
22801         (finite_test): Run tests from isfinite_test_data.
22802         (gamma_test_data): Remove.
22803         (gamma_test): Run tests from lgamma_test_data.
22804         * sysdeps/i386/fpu/libm-test-ulps: Update.
22805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22807 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22809         * manual/platform.texi: Add PowerPC PPR function set documentation.
22810         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22811         implementation.
22813 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22815         * math/libm-test.inc (MAX_EXP): Define.
22816         (ULPDIFF): Define.
22817         (ulp): New function.
22818         (check_float_internal): Use ULPDIFF.
22819         (cpow_test): Disable failing test.
22820         (check_ulp): Test ulp() implemetnation.
22821         (main): Call check_ulp before starting tests.
22823 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22825         * math/gen-libm-test.pl (generate_testfile): Do not handle
22826         START_DATA and END_DATA.
22827         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22828         END_DATA.
22829         (acos_tonearest_test_data): Likewise.
22830         (acos_towardzero_test_data): Likewise.
22831         (acos_downward_test_data): Likewise.
22832         (acos_upward_test_data): Likewise.
22833         (acosh_test_data): Likewise.
22834         (asin_test_data): Likewise.
22835         (asin_tonearest_test_data): Likewise.
22836         (asin_towardzero_test_data): Likewise.
22837         (asin_downward_test_data): Likewise.
22838         (asin_upward_test_data): Likewise.
22839         (asinh_test_data): Likewise.
22840         (atan_test_data): Likewise.
22841         (atanh_test_data): Likewise.
22842         (atan2_test_data): Likewise.
22843         (cabs_test_data): Likewise.
22844         (cacos_test_data): Likewise.
22845         (cacosh_test_data): Likewise.
22846         (carg_test_data): Likewise.
22847         (casin_test_data): Likewise.
22848         (casinh_test_data): Likewise.
22849         (catan_test_data): Likewise.
22850         (catanh_test_data): Likewise.
22851         (cbrt_test_data): Likewise.
22852         (ccos_test_data): Likewise.
22853         (ccosh_test_data): Likewise.
22854         (ceil_test_data): Likewise.
22855         (cexp_test_data): Likewise.
22856         (cimag_test_data): Likewise.
22857         (clog_test_data): Likewise.
22858         (clog10_test_data): Likewise.
22859         (conj_test_data): Likewise.
22860         (copysign_test_data): Likewise.
22861         (cos_test_data): Likewise.
22862         (cos_tonearest_test_data): Likewise.
22863         (cos_towardzero_test_data): Likewise.
22864         (cos_downward_test_data): Likewise.
22865         (cos_upward_test_data): Likewise.
22866         (cosh_test_data): Likewise.
22867         (cosh_tonearest_test_data): Likewise.
22868         (cosh_towardzero_test_data): Likewise.
22869         (cosh_downward_test_data): Likewise.
22870         (cosh_upward_test_data): Likewise.
22871         (cpow_test_data): Likewise.
22872         (cproj_test_data): Likewise.
22873         (creal_test_data): Likewise.
22874         (csin_test_data): Likewise.
22875         (csinh_test_data): Likewise.
22876         (csqrt_test_data): Likewise.
22877         (ctan_test_data): Likewise.
22878         (ctan_tonearest_test_data): Likewise.
22879         (ctan_towardzero_test_data): Likewise.
22880         (ctan_downward_test_data): Likewise.
22881         (ctan_upward_test_data): Likewise.
22882         (ctanh_test_data): Likewise.
22883         (ctanh_tonearest_test_data): Likewise.
22884         (ctanh_towardzero_test_data): Likewise.
22885         (ctanh_downward_test_data): Likewise.
22886         (ctanh_upward_test_data): Likewise.
22887         (erf_test_data): Likewise.
22888         (erfc_test_data): Likewise.
22889         (exp_test_data): Likewise.
22890         (exp_tonearest_test_data): Likewise.
22891         (exp_towardzero_test_data): Likewise.
22892         (exp_downward_test_data): Likewise.
22893         (exp_upward_test_data): Likewise.
22894         (exp10_test_data): Likewise.
22895         (exp2_test_data): Likewise.
22896         (expm1_test_data): Likewise.
22897         (fabs_test_data): Likewise.
22898         (fdim_test_data): Likewise.
22899         (finite_test_data): Likewise.
22900         (floor_test_data): Likewise.
22901         (fma_test_data): Likewise.
22902         (fma_towardzero_test_data): Likewise.
22903         (fma_downward_test_data): Likewise.
22904         (fma_upward_test_data): Likewise.
22905         (fmax_test_data): Likewise.
22906         (fmin_test_data): Likewise.
22907         (fmod_test_data): Likewise.
22908         (fpclassify_test_data): Likewise.
22909         (frexp_test_data): Likewise.
22910         (gamma_test_data): Likewise.
22911         (hypot_test_data): Likewise.
22912         (ilogb_test_data): Likewise.
22913         (isfinite_test_data): Likewise.
22914         (isgreater_test_data): Likewise.
22915         (isgreaterequal_test_data): Likewise.
22916         (isinf_test_data): Likewise.
22917         (isless_test_data): Likewise.
22918         (islessequal_test_data): Likewise.
22919         (islessgreater_test_data): Likewise.
22920         (isnan_test_data): Likewise.
22921         (isnormal_test_data): Likewise.
22922         (issignaling_test_data): Likewise.
22923         (isunordered_test_data): Likewise.
22924         (j0_test_data): Likewise.
22925         (j1_test_data): Likewise.
22926         (jn_test_data): Likewise.
22927         (ldexp_test_data): Likewise.
22928         (lgamma_test_data): Likewise.
22929         (lrint_test_data): Likewise.
22930         (lrint_tonearest_test_data): Likewise.
22931         (lrint_towardzero_test_data): Likewise.
22932         (lrint_downward_test_data): Likewise.
22933         (lrint_upward_test_data): Likewise.
22934         (llrint_test_data): Likewise.
22935         (llrint_tonearest_test_data): Likewise.
22936         (llrint_towardzero_test_data): Likewise.
22937         (llrint_downward_test_data): Likewise.
22938         (llrint_upward_test_data): Likewise.
22939         (log_test_data): Likewise.
22940         (log10_test_data): Likewise.
22941         (log1p_test_data): Likewise.
22942         (log2_test_data): Likewise.
22943         (logb_test_data): Likewise.
22944         (logb_downward_test_data): Likewise.
22945         (lround_test_data): Likewise.
22946         (llround_test_data): Likewise.
22947         (modf_test_data): Likewise.
22948         (nearbyint_test_data): Likewise.
22949         (nextafter_test_data): Likewise.
22950         (nexttoward_test_data): Likewise.
22951         (pow_test_data): Likewise.
22952         (pow_tonearest_test_data): Likewise.
22953         (pow_towardzero_test_data): Likewise.
22954         (pow_downward_test_data): Likewise.
22955         (pow_upward_test_data): Likewise.
22956         (remainder_test_data): Likewise.
22957         (remainder_tonearest_test_data): Likewise.
22958         (remainder_towardzero_test_data): Likewise.
22959         (remainder_downward_test_data): Likewise.
22960         (remainder_upward_test_data): Likewise.
22961         (remquo_test_data): Likewise.
22962         (rint_test_data): Likewise.
22963         (rint_tonearest_test_data): Likewise.
22964         (rint_towardzero_test_data): Likewise.
22965         (rint_downward_test_data): Likewise.
22966         (rint_upward_test_data): Likewise.
22967         (round_test_data): Likewise.
22968         (scalb_test_data): Likewise.
22969         (scalbn_test_data): Likewise.
22970         (scalbln_test_data): Likewise.
22971         (signbit_test_data): Likewise.
22972         (sin_test_data): Likewise.
22973         (sin_tonearest_test_data): Likewise.
22974         (sin_towardzero_test_data): Likewise.
22975         (sin_downward_test_data): Likewise.
22976         (sin_upward_test_data): Likewise.
22977         (sincos_test_data): Likewise.
22978         (sinh_test_data): Likewise.
22979         (sinh_tonearest_test_data): Likewise.
22980         (sinh_towardzero_test_data): Likewise.
22981         (sinh_downward_test_data): Likewise.
22982         (sinh_upward_test_data): Likewise.
22983         (sqrt_test_data): Likewise.
22984         (tan_test_data): Likewise.
22985         (tan_tonearest_test_data): Likewise.
22986         (tan_towardzero_test_data): Likewise.
22987         (tan_downward_test_data): Likewise.
22988         (tan_upward_test_data): Likewise.
22989         (tanh_test_data): Likewise.
22990         (tgamma_test_data): Likewise.
22991         (trunc_test_data): Likewise.
22992         (y0_test_data): Likewise.
22993         (y1_test_data): Likewise.
22994         (yn_test_data): Likewise.
22995         (significand_test_data): Likewise.
22997         * math/gen-libm-test.pl (@functions): Remove variable.
22998         (generate_testfile): Don't handle START and END lines.
22999         * math/libm-test.inc (START): New macro.
23000         (END): Likewise.
23001         (END_COMPLEX): Likewise.
23002         (acos_test): Use END macro without arguments.
23003         (acos_test_tonearest): Likewise.
23004         (acos_test_towardzero): Likewise.
23005         (acos_test_downward): Likewise.
23006         (acos_test_upward): Likewise.
23007         (acosh_test): Likewise.
23008         (asin_test): Likewise.
23009         (asin_test_tonearest): Likewise.
23010         (asin_test_towardzero): Likewise.
23011         (asin_test_downward): Likewise.
23012         (asin_test_upward): Likewise.
23013         (asinh_test): Likewise.
23014         (atan_test): Likewise.
23015         (atanh_test): Likewise.
23016         (atan2_test): Likewise.
23017         (cabs_test): Likewise.
23018         (cacos_test): Use END_COMPLEX macro without arguments.
23019         (cacosh_test): Likewise.
23020         (carg_test): Use END macro without arguments.
23021         (casin_test): Use END_COMPLEX macro without arguments.
23022         (casinh_test): Likewise.
23023         (catan_test): Likewise.
23024         (catanh_test): Likewise.
23025         (cbrt_test): Use END macro without arguments.
23026         (ccos_test): Use END_COMPLEX macro without arguments.
23027         (ccosh_test): Likewise.
23028         (ceil_test): Use END macro without arguments.
23029         (cexp_test): Use END_COMPLEX macro without arguments.
23030         (cimag_test): Use END macro without arguments.
23031         (clog_test): Use END_COMPLEX macro without arguments.
23032         (clog10_test): Likewise.
23033         (conj_test): Likewise.
23034         (copysign_test): Use END macro without arguments.
23035         (cos_test): Likewise.
23036         (cos_test_tonearest): Likewise.
23037         (cos_test_towardzero): Likewise.
23038         (cos_test_downward): Likewise.
23039         (cos_test_upward): Likewise.
23040         (cosh_test): Likewise.
23041         (cosh_test_tonearest): Likewise.
23042         (cosh_test_towardzero): Likewise.
23043         (cosh_test_downward): Likewise.
23044         (cosh_test_upward): Likewise.
23045         (cpow_test): Use END_COMPLEX macro without arguments.
23046         (cproj_test): Likewise.
23047         (creal_test): Use END macro without arguments.
23048         (csin_test): Use END_COMPLEX macro without arguments.
23049         (csinh_test): Likewise.
23050         (csqrt_test): Likewise.
23051         (ctan_test): Likewise.
23052         (ctan_test_tonearest): Likewise.
23053         (ctan_test_towardzero): Likewise.
23054         (ctan_test_downward): Likewise.
23055         (ctan_test_upward): Likewise.
23056         (ctanh_test): Likewise.
23057         (ctanh_test_tonearest): Likewise.
23058         (ctanh_test_towardzero): Likewise.
23059         (ctanh_test_downward): Likewise.
23060         (ctanh_test_upward): Likewise.
23061         (erf_test): Use END macro without arguments.
23062         (erfc_test): Likewise.
23063         (exp_test): Likewise.
23064         (exp_test_tonearest): Likewise.
23065         (exp_test_towardzero): Likewise.
23066         (exp_test_downward): Likewise.
23067         (exp_test_upward): Likewise.
23068         (exp10_test): Likewise.
23069         (exp2_test): Likewise.
23070         (expm1_test): Likewise.
23071         (fabs_test): Likewise.
23072         (fdim_test): Likewise.
23073         (finite_test): Likewise.
23074         (floor_test): Likewise.
23075         (fma_test): Likewise.
23076         (fma_test_towardzero): Likewise.
23077         (fma_test_downward): Likewise.
23078         (fma_test_upward): Likewise.
23079         (fmax_test): Likewise.
23080         (fmin_test): Likewise.
23081         (fmod_test): Likewise.
23082         (fpclassify_test): Likewise.
23083         (frexp_test): Likewise.
23084         (gamma_test): Likewise.
23085         (hypot_test): Likewise.
23086         (ilogb_test): Likewise.
23087         (isfinite_test): Likewise.
23088         (isgreater_test): Likewise.
23089         (isgreaterequal_test): Likewise.
23090         (isinf_test): Likewise.
23091         (isless_test): Likewise.
23092         (islessequal_test): Likewise.
23093         (islessgreater_test): Likewise.
23094         (isnan_test): Likewise.
23095         (isnormal_test): Likewise.
23096         (issignaling_test): Likewise.
23097         (isunordered_test): Likewise.
23098         (j0_test): Likewise.
23099         (j1_test): Likewise.
23100         (jn_test): Likewise.
23101         (ldexp_test): Likewise.
23102         (lgamma_test): Likewise.
23103         (lrint_test): Likewise.
23104         (lrint_test_tonearest): Likewise.
23105         (lrint_test_towardzero): Likewise.
23106         (lrint_test_downward): Likewise.
23107         (lrint_test_upward): Likewise.
23108         (llrint_test): Likewise.
23109         (llrint_test_tonearest): Likewise.
23110         (llrint_test_towardzero): Likewise.
23111         (llrint_test_downward): Likewise.
23112         (llrint_test_upward): Likewise.
23113         (log_test): Likewise.
23114         (log10_test): Likewise.
23115         (log1p_test): Likewise.
23116         (log2_test): Likewise.
23117         (logb_test): Likewise.
23118         (logb_test_downward): Likewise.
23119         (lround_test): Likewise.
23120         (llround_test): Likewise.
23121         (modf_test): Likewise.
23122         (nearbyint_test): Likewise.
23123         (nextafter_test): Likewise.
23124         (nexttoward_test): Likewise.
23125         (pow_test): Likewise.
23126         (pow_test_tonearest): Likewise.
23127         (pow_test_towardzero): Likewise.
23128         (pow_test_downward): Likewise.
23129         (pow_test_upward): Likewise.
23130         (remainder_test): Likewise.
23131         (remainder_test_tonearest): Likewise.
23132         (remainder_test_towardzero): Likewise.
23133         (remainder_test_downward): Likewise.
23134         (remainder_test_upward): Likewise.
23135         (remquo_test): Likewise.
23136         (rint_test): Likewise.
23137         (rint_test_tonearest): Likewise.
23138         (rint_test_towardzero): Likewise.
23139         (rint_test_downward): Likewise.
23140         (rint_test_upward): Likewise.
23141         (round_test): Likewise.
23142         (scalb_test): Likewise.
23143         (scalbn_test): Likewise.
23144         (scalbln_test): Likewise.
23145         (signbit_test): Likewise.
23146         (sin_test): Likewise.
23147         (sin_test_tonearest): Likewise.
23148         (sin_test_towardzero): Likewise.
23149         (sin_test_downward): Likewise.
23150         (sin_test_upward): Likewise.
23151         (sincos_test): Likewise.
23152         (sinh_test): Likewise.
23153         (sinh_test_tonearest): Likewise.
23154         (sinh_test_towardzero): Likewise.
23155         (sinh_test_downward): Likewise.
23156         (sinh_test_upward): Likewise.
23157         (sqrt_test): Likewise.
23158         (tan_test): Likewise.
23159         (tan_test_tonearest): Likewise.
23160         (tan_test_towardzero): Likewise.
23161         (tan_test_downward): Likewise.
23162         (tan_test_upward): Likewise.
23163         (tanh_test): Likewise.
23164         (tgamma_test): Likewise.
23165         (trunc_test): Likewise.
23166         (y0_test): Likewise.
23167         (y1_test): Likewise.
23168         (yn_test): Likewise.
23169         (significand_test): Likewise.
23171 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23173         [BZ #15381]
23174         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23176 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23178         [BZ #14894]
23179         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23180         __ppc_mdoio and __ppc_mdoom.
23181         * manual/platform.texi: Document new functions __ppc_yield,
23182         __ppc_mdoio and __ppc_mdoom.
23184 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23186         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23187         (main): Mention "tls" pseudo-hwcap is legacy.
23188         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23190 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23192         * math/gen-libm-test.pl (parse_args): Output only string of
23193         arguments as text for test name, not full call or descriptions of
23194         tests for extra outputs.
23195         (generate_testfile): Do not pass function name to parse_args.
23196         Generate this_func variable from START.
23197         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23198         field to arg_str.
23199         (struct test_ff_f_data): Likewise.
23200         (test_ff_f_data_nexttoward): Likewise.
23201         (struct test_fi_f_data): Likewise.
23202         (struct test_fl_f_data): Likewise.
23203         (struct test_if_f_data): Likewise.
23204         (struct test_fff_f_data): Likewise.
23205         (struct test_c_f_data): Likewise.
23206         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23207         (struct test_fF_f1_data): Likewise.
23208         (struct test_ffI_f1_data): Likewise.
23209         (struct test_c_c_data): Rename test_name field to arg_str.
23210         (struct test_cc_c_data): Likewise.
23211         (struct test_f_i_data): Likewise.
23212         (struct test_ff_i_data): Likewise.
23213         (struct test_f_l_data): Likewise.
23214         (struct test_f_L_data): Likewise.
23215         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23216         and extra2_name.
23217         (COMMON_TEST_SETUP): New macro.
23218         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23219         (COMMON_TEST_CLEANUP): Likewise.
23220         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23221         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23222         macros.
23223         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23224         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23225         macros.
23226         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23227         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23228         cleanup macros.
23229         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23230         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23231         macros.
23232         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23233         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23234         macros.
23235         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23236         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23237         cleanup macros.
23238         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23239         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23240         cleanup macros.
23241         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23242         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23243         cleanup macros.
23244         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23245         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23246         macros.
23247         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23248         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23249         macros.
23250         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23251         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23252         macros.
23253         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23254         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23255         cleanup macros.
23256         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23257         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23258         cleanup macros.
23259         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23260         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23261         macros.
23262         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23263         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23264         cleanup macros.
23265         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23266         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23267         macros.
23268         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23269         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23270         macros.
23271         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23272         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23273         cleanup macros.
23274         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23276 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23278         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23279         to _sifields.sigfault.
23280         (si_addr_lsb): Define new macro.
23281         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23282         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23283         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23285 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23287         [BZ #15441]
23288         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23289         returns -1.
23290         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23291         null return -1.
23292         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23293         loading the domain.
23295 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23297         * math/gen-libm-test.pl (parse_args): Do not include expected
23298         result in test name.
23299         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23300         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23301         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23302         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23303         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23306 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23308         * benchtests/Makefile: Sort function entries.
23310         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23311         tanh, asinh, acosh, atanh.
23312         * benchtests/acos-inputs: New file.
23313         * benchtests/acosh-inputs: New file.
23314         * benchtests/asin-inputs: New file.
23315         * benchtests/asinh-inputs: New file.
23316         * benchtests/atanh-inputs: New file.
23317         * benchtests/cosh-inputs: New file.
23318         * benchtests/log-inputs: New file.
23319         * benchtests/sinh-inputs: New file.
23320         * benchtests/tanh-inputs: New file.
23322 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23324         [BZ #15339]
23325         * posix/tst-getaddrinfo4.c: New test.
23326         * posix/Makefile (tests): Add it.
23328 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23330         [BZ #15339]
23331         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23332         when no services were used.
23333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23334         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23336 2013-05-21  Andreas Schwab  <schwab@suse.de>
23338         [BZ #15014]
23339         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23340         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23341         successful.
23342         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23343         redundant variable declarations and reallocation of buffer when
23344         parsing as IPv6 address.  Always set NSS status when called from
23345         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23346         buffer too small.  Correct computation of needed size.
23347         * nss/Makefile (tests): Add test-digits-dots.
23348         * nss/test-digits-dots.c: New test.
23350 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23352         * benchtests/Makefile: Remove instructions for adding
23353         benchmark tests.
23354         * benchtests/README: New file to explain how to execute and
23355         enhance the benchmark tests.
23357 2013-05-21  Andreas Schwab  <schwab@suse.de>
23359         [BZ #15493]
23360         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23361         * setjmp/tst-sigsetjmp.c: New test.
23363 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23365         * sysdeps/x86_64/memset.S (memset): New implementation.
23366         (__bzero): Likewise.
23367         (__memset_tail): New function.
23369 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23371         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23372         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23373         __memcpy_sse2_unaligned ifunc selection.
23374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23375         Add memcpy-sse2-unaligned.S.
23376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23377         Add: __memcpy_sse2_unaligned.
23379 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23381         [BZ #15490]
23382         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23383         math_force_eval before restoring floating-point envrionment.
23384         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23385         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23386         Likewise.
23387         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23388         <math_private.h>.
23389         (__nearbyintl): Use math_force_eval before restoring
23390         floating-point environment.
23391         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23393         * math/gen-libm-test.pl (special_functions): Remove.
23394         (parse_args): Don't handle TEST_extra.  Handle functions with no
23395         return value.
23396         * math/libm-test.inc (struct test_sincos_data): Replace with
23397         struct test_fFF_11_data.
23398         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23399         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23400         (sincos_test_data): Change element type to struct
23401         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23402         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23403         RUN_TEST_LOOP_sincos.
23404         * math/README.libm-test: Don't mention special handling of
23405         individual functions.
23406         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23407         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23408         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23409         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23410         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23413         * math/gen-libm-test.pl (get_variable): Remove function.
23414         (parse_args): Don't show pointer parameters to call in test
23415         names.  Use "extra output N" in test names for extra outputs
23416         rather than naming variables.
23418 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23420         [BZ #15488]
23421         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23422         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23423         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23424         double tests.
23425         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23426         disable.
23427         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23428         check_long_double.
23430         * math/gen-libm-test.pl (@tests): Remove variable.
23431         ($count): Likewise.
23432         (new_test): Remove function.
23433         (show_exceptions): New function.
23434         (special_functions): Use show_exceptions instead of new_test.
23435         (parse_args): Likewise.
23436         (generate_testfile): Pass only function name in generated call to
23437         print_max_error or print_complex_max_error.
23438         (get_ulps): Do not handle complex tests specially.
23439         (output_test): Rename to ...
23440         (get_all_ulps_for_test): ... this.  Return a string rather than
23441         printing to a file.  Require ulps to be present.
23442         (output_ulps): Generate arrays rather than #defines.
23443         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23444         (struct ulp_data): New type.
23445         (BUILD_COMPLEX_ULP): Remove macro.
23446         (compare_ulp_data): New function.
23447         (find_ulps): Likewise.
23448         (find_test_ulps): Likewise.
23449         (find_function_ulps): Likewise.
23450         (find_complex_function_ulps): Likewise.
23451         (print_max_error): Determine allowed ulps using
23452         find_function_ulps.
23453         (print_complex_max_error): Determine allowed ulps using
23454         find_complex_function_ulps.
23455         (check_float_internal): Determine max ulps using find_test_ulps.
23456         (check_float): Do not take max_ulp parameter.  Update call to
23457         check_float_internal.
23458         (check_complex): Likewise.
23459         (check_int): Do not take max_ulp parameter.
23460         (check_long): Likewise.
23461         (check_bool): Likewise.
23462         (check_longlong): Likewise.
23463         (struct test_f_f_data): Remove max_ulp field.
23464         (struct test_ff_f_data): Likewise.
23465         (struct test_ff_f_data_nexttoward): Likewise.
23466         (struct test_fi_f_data): Likewise.
23467         (struct test_fl_f_data): Likewise.
23468         (struct test_if_f_data): Likewise.
23469         (struct test_fff_f_data): Likewise.
23470         (struct test_c_f_data): Likewise.
23471         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23472         (struct test_fF_f1_data): Likewise.
23473         (struct test_ffI_f1_data): Likewise.
23474         (struct test_c_c_data): Remove max_ulp field.
23475         (struct test_cc_c_data): Likewise.
23476         (struct test_f_i_data): Likewise.
23477         (struct test_ff_i_data): Likewise.
23478         (struct test_f_l_data): Likewise.
23479         (struct test_f_L_data): Likewise.
23480         (struct test_sincos_data): Likewise.
23481         (RUN_TEST_f_f): Do not handle ulps.
23482         (RUN_TEST_LOOP_f_f): Likewise.
23483         (RUN_TEST_2_f): Likewise.
23484         (RUN_TEST_LOOP_2_f): Likewise.
23485         (RUN_TEST_fff_f): Likewise.
23486         (RUN_TEST_LOOP_fff_f): Likewise.
23487         (RUN_TEST_c_f): Likewise.
23488         (RUN_TEST_LOOP_c_f): Likewise.
23489         (RUN_TEST_f_f1): Likewise.
23490         (RUN_TEST_LOOP_f_f1): Likewise.
23491         (RUN_TEST_fF_f1): Likewise.
23492         (RUN_TEST_LOOP_fF_f1): Likewise.
23493         (RUN_TEST_fI_f1): Likewise.
23494         (RUN_TEST_LOOP_fI_f1): Likewise.
23495         (RUN_TEST_ffI_f1): Likewise.
23496         (RUN_TEST_LOOP_ffI_f1): Likewise.
23497         (RUN_TEST_c_c): Likewise.
23498         (RUN_TEST_LOOP_c_c): Likewise.
23499         (RUN_TEST_cc_c): Likewise.
23500         (RUN_TEST_LOOP_cc_c): Likewise.
23501         (RUN_TEST_f_i): Likewise.
23502         (RUN_TEST_LOOP_f_i): Likewise.
23503         (RUN_TEST_f_i_tg): Likewise.
23504         (RUN_TEST_LOOP_f_i_tg): Likewise.
23505         (RUN_TEST_ff_i_tg): Likewise.
23506         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23507         (RUN_TEST_f_b): Likewise.
23508         (RUN_TEST_LOOP_f_b): Likewise.
23509         (RUN_TEST_f_b_tg): Likewise.
23510         (RUN_TEST_LOOP_f_b_tg): Likewise.
23511         (RUN_TEST_f_l): Likewise.
23512         (RUN_TEST_LOOP_f_l): Likewise.
23513         (RUN_TEST_f_L): Likewise.
23514         (RUN_TEST_LOOP_f_L): Likewise.
23515         (RUN_TEST_sincos): Likewise.
23516         (RUN_TEST_LOOP_sincos): Likewise.
23518 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23520         [BZ #15480]
23521         [BZ #15485]
23522         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23523         main case of finite arguments, set rounding mode to FE_TONEAREST
23524         and discard exceptions.
23525         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23526         exceptions.
23527         (remainder_tonearest_test_data): New variable.
23528         (remainder_test_tonearest): New function.
23529         (remainder_towardzero_test_data): New variable.
23530         (remainder_test_towardzero): New function.
23531         (remainder_downward_test_data): New variable.
23532         (remainder_test_downward): New function.
23533         (remainder_upward_test_data): New variable.
23534         (remainder_test_upward): New function.
23535         (main): Call the new test functions.
23537         * math/libm-test.inc (struct test_f_f1_data): Remove field
23538         extra_init.
23539         (struct test_fF_f1_data): Likewise.
23540         (struct test_ffI_f1_data): Likewise.
23541         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
23542         based on value of EXTRA_EXPECTED.
23543         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23544         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
23545         EXTRA_VAR based on value of EXTRA_EXPECTED.
23546         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23547         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
23548         EXTRA_VAR based on value of EXTRA_EXPECTED.
23549         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23550         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
23551         EXTRA_VAR based on value of EXTRA_EXPECTED.
23552         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23553         * math/gen-libm-test.pl (parse_args): Don't output initializers
23554         for extra output values.
23556         * math/libm-test.inc (check_int): Expect result to be exactly
23557         equal to expected value and do not handle ulps.
23558         (check_long): Likewise.
23559         (check_longlong): Likewise.
23561         * math/libm-test.inc (ceil_test_data): Test for "inexact"
23562         exceptions.
23563         (cimag_test_data): Likewise.
23564         (conj_test_data): Likewise.
23565         (copysign_test_data): Likewise.
23566         (cproj_test_data): Likewise.
23567         (creal_test_data): Likewise.
23568         (fabs_test_data): Likewise.
23569         (fdim_test_data): Likewise.
23570         (finite_test_data): Likewise.
23571         (floor_test_data): Likewise.
23572         (fmax_test_data): Likewise.
23573         (fmin_test_data): Likewise.
23574         (fmod_test_data): Likewise.
23575         (fpclassify_test_data): Likewise.
23576         (frexp_test_data): Likewise.
23577         (ilogb_test_data): Likewise.
23578         (isfinite_test_data): Likewise.
23579         (isgreater_test_data): Likewise.
23580         (isgreaterequal_test_data): Likewise.
23581         (isinf_test_data): Likewise.
23582         (isless_test_data): Likewise.
23583         (islessequal_test_data): Likewise.
23584         (islessgreater_test_data): Likewise.
23585         (isnan_test_data): Likewise.
23586         (isnormal_test_data): Likewise.
23587         (issignaling_test_data): Likewise.
23588         (isunordered_test_data): Likewise.
23589         (ldexp_test_data): Likewise.
23590         (lrint_test_data): Likewise.
23591         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23592         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23593         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23594         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23595         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23596         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23597         test input.
23598         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23599         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23600         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23601         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23602         that test input.
23603         (lrint_downward_test_data): Test for "inexact" exceptions.
23604         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23605         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23606         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23607         test input.
23608         (lrint_upward_test_data): Test for "inexact" exceptions.
23609         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23610         test input.
23611         (llrint_test_data): Test for "inexact" exceptions.
23612         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23613         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23614         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23615         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23616         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23617         (llrint_downward_test_data): Test for "inexact" exceptions.
23618         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23619         (llrint_upward_test_data): Test for "inexact" exceptions.
23620         (logb_test_data): Likewise.
23621         (logb_downward_test_data): Likewise.
23622         (nextafter_test_data): Likewise.
23623         (nexttoward_test_data): Likewise.
23624         (remainder_test_data): Likewise.
23625         (remquo_test_data): Likewise.
23626         (scalbn_test_data): Likewise.
23627         (scalbln_test_data): Likewise.
23628         (signbit_test_data): Likewise.
23629         (sqrt_test_data): Likewise.
23630         (significand_test_data): Likewise.
23632 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23634         [BZ #15424]
23635         * benchtests/bench-modf.c (struct args): Mark arg0 as
23636         volatile.
23637         * scripts/bench.pl: Mark members of struct args as volatile.
23639 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23641         [BZ # 15497]
23642         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23643         negative infinity on POWER6 or lower.
23644         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23646 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23648         [BZ #15442]
23649         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23650         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23651         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23652         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23653         (_FP_SETQNAN): New macro.
23654         (_FP_SETQNAN_SEMIRAW): Likewise.
23655         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23656         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23657         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23658         (FP_EXTEND): Use _FP_FRAC_SNANP.
23659         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23660         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23661         into account.
23662         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23663         New macro.
23664         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23665         Likewise.
23667 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23669         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23670         with DIVIDE_BY_ZERO_EXCEPTION.
23671         (gamma_test_data): Likewise.
23672         (lgamma_test_data): Likewise.
23673         (log_test_data): Likewise.
23674         (log10_test_data): Likewise.
23675         (log2_test_data): Likewise.
23676         (tgamma_test_data): Likewise.
23678         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23679         (acos_test_tonearest): Likewise.
23680         (acos_test_towardzero): Likewise.
23681         (acos_test_downward): Likewise.
23682         (acos_test_upward): Likewise.
23683         (acosh_test): Likewise.
23684         (asin_test): Likewise.
23685         (asin_test_tonearest): Likewise.
23686         (asin_test_towardzero): Likewise.
23687         (asin_test_downward): Likewise.
23688         (asin_test_upward): Likewise.
23689         (asinh_test): Likewise.
23690         (atan_test): Likewise.
23691         (atanh_test): Likewise.
23692         (atan2_test): Likewise.
23693         (cabs_test): Likewise.
23694         (cacos_test): Likewise.
23695         (cacosh_test): Likewise.
23696         (casin_test): Likewise.
23697         (casinh_test): Likewise.
23698         (catan_test): Likewise.
23699         (catanh_test): Likewise.
23700         (cbrt_test): Likewise.
23701         (ccos_test): Likewise.
23702         (ccosh_test): Likewise.
23703         (cexp_test): Likewise.
23704         (clog_test): Likewise.
23705         (clog10_test): Likewise.
23706         (cos_test): Likewise.
23707         (cos_test_tonearest): Likewise.
23708         (cos_test_towardzero): Likewise.
23709         (cos_test_downward): Likewise.
23710         (cos_test_upward): Likewise.
23711         (cosh_test): Likewise.
23712         (cosh_test_tonearest): Likewise.
23713         (cosh_test_towardzero): Likewise.
23714         (cosh_test_downward): Likewise.
23715         (cosh_test_upward): Likewise.
23716         (cpow_test): Likewise.
23717         (csin_test): Likewise.
23718         (csinh_test): Likewise.
23719         (csqrt_test): Likewise.
23720         (ctan_test): Likewise.
23721         (ctan_test_tonearest): Likewise.
23722         (ctan_test_towardzero): Likewise.
23723         (ctan_test_downward): Likewise.
23724         (ctan_test_upward): Likewise.
23725         (ctanh_test): Likewise.
23726         (ctanh_test_tonearest): Likewise.
23727         (ctanh_test_towardzero): Likewise.
23728         (ctanh_test_downward): Likewise.
23729         (ctanh_test_upward): Likewise.
23730         (erf_test): Likewise.
23731         (erfc_test): Likewise.
23732         (exp_test): Likewise.
23733         (exp_test_tonearest): Likewise.
23734         (exp_test_towardzero): Likewise.
23735         (exp_test_downward): Likewise.
23736         (exp_test_upward): Likewise.
23737         (exp10_test): Likewise.
23738         (exp2_test): Likewise.
23739         (expm1_test): Likewise.
23740         (fmod_test): Likewise.
23741         (gamma_test): Likewise.
23742         (hypot_test): Likewise.
23743         (j0_test): Likewise.
23744         (j1_test): Likewise.
23745         (jn_test): Likewise.
23746         (lgamma_test): Likewise.
23747         (log_test): Likewise.
23748         (log10_test): Likewise.
23749         (log1p_test): Likewise.
23750         (log2_test): Likewise.
23751         (logb_test_downward): Likewise.
23752         (pow_test): Likewise.
23753         (pow_test_tonearest): Likewise.
23754         (pow_test_towardzero): Likewise.
23755         (pow_test_downward): Likewise.
23756         (pow_test_upward): Likewise.
23757         (remainder_test): Likewise.
23758         (remquo_test): Likewise.
23759         (sin_test): Likewise.
23760         (sin_test_tonearest): Likewise.
23761         (sin_test_towardzero): Likewise.
23762         (sin_test_downward): Likewise.
23763         (sin_test_upward): Likewise.
23764         (sincos_test): Likewise.
23765         (sinh_test): Likewise.
23766         (sinh_test_tonearest): Likewise.
23767         (sinh_test_towardzero): Likewise.
23768         (sinh_test_downward): Likewise.
23769         (sinh_test_upward): Likewise.
23770         (sqrt_test): Likewise.
23771         (tan_test): Likewise.
23772         (tan_test_tonearest): Likewise.
23773         (tan_test_towardzero): Likewise.
23774         (tan_test_downward): Likewise.
23775         (tan_test_upward): Likewise.
23776         (tanh_test): Likewise.
23777         (tgamma_test): Likewise.
23778         (y0_test): Likewise.
23779         (y1_test): Likewise.
23780         (yn_test): Likewise.
23782         * math/gen-libm-test.pl (adjust_arg): Remove function.
23783         (special_function): Remove argument $in_func.  Only handle
23784         generating output for tables of tests, not inside functions.
23785         (parse_args): Likewise.
23786         (generate_testfile): Remove variable $in_func.  Update call to
23787         parse_args.
23788         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23789         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23790         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23791         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23792         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23793         (MAX_VALUE_INIT): Rename macro to max_value.
23794         (MIN_VALUE_INIT): Rename macro to min_value.
23795         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23796         (plus_zero): Remove variable.
23797         (minus_zero): Likewise.
23798         (plus_infty): Likewise.
23799         (minus_infty): Likewise.
23800         (qnan_value): Likewise.
23801         (max_value): Likewise.
23802         (min_value): Likewise.
23803         (min_subnorm_value): Likewise.
23805 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23807         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23808         uint64_t or uint32_t usage.
23809         * crypt/sha256-block.c: Likewise.
23810         * crypt/sha256-crypt.c: Likewise.
23811         * crypt/sha256.c: Likewise.
23812         * crypt/sha512-block.c: Likewise.
23813         * crypt/sha512-crypt.c: Likewise.
23814         * crypt/sha512.c: Likewise.
23815         * debug/backtrace-tst.c: Likewise.
23816         * debug/pcprofiledump.c: Likewise.
23817         * elf/cache.c: Likewise.
23818         * elf/dl-cache.c: Likewise.
23819         * elf/dl-misc.c: Likewise.
23820         * elf/dl-profile.c: Likewise.
23821         * elf/dl-support.c: Likewise.
23822         * elf/ldconfig.c: Likewise.
23823         * elf/sprof.c: Likewise.
23824         * iconv/dummy-repertoire.c: Likewise.
23825         * iconv/iconv_charmap.c: Likewise.
23826         * iconv/skeleton.c: Likewise.
23827         * iconvdata/8bit-generic.c: Likewise.
23828         * iconvdata/cp737.h: Likewise.
23829         * iconvdata/cp775.h: Likewise.
23830         * iconvdata/ibm1008.h: Likewise.
23831         * iconvdata/ibm1025.h: Likewise.
23832         * iconvdata/ibm1046.h: Likewise.
23833         * iconvdata/ibm1097.h: Likewise.
23834         * iconvdata/ibm1112.h: Likewise.
23835         * iconvdata/ibm1122.h: Likewise.
23836         * iconvdata/ibm1123.h: Likewise.
23837         * iconvdata/ibm1124.h: Likewise.
23838         * iconvdata/ibm1129.h: Likewise.
23839         * iconvdata/ibm1130.h: Likewise.
23840         * iconvdata/ibm1132.h: Likewise.
23841         * iconvdata/ibm1133.h: Likewise.
23842         * iconvdata/ibm1137.h: Likewise.
23843         * iconvdata/ibm1140.h: Likewise.
23844         * iconvdata/ibm1141.h: Likewise.
23845         * iconvdata/ibm1142.h: Likewise.
23846         * iconvdata/ibm1143.h: Likewise.
23847         * iconvdata/ibm1144.h: Likewise.
23848         * iconvdata/ibm1145.h: Likewise.
23849         * iconvdata/ibm1146.h: Likewise.
23850         * iconvdata/ibm1147.h: Likewise.
23851         * iconvdata/ibm1148.h: Likewise.
23852         * iconvdata/ibm1149.h: Likewise.
23853         * iconvdata/ibm1153.h: Likewise.
23854         * iconvdata/ibm1154.h: Likewise.
23855         * iconvdata/ibm1155.h: Likewise.
23856         * iconvdata/ibm1156.h: Likewise.
23857         * iconvdata/ibm1157.h: Likewise.
23858         * iconvdata/ibm1158.h: Likewise.
23859         * iconvdata/ibm1160.h: Likewise.
23860         * iconvdata/ibm1161.h: Likewise.
23861         * iconvdata/ibm1162.h: Likewise.
23862         * iconvdata/ibm1163.h: Likewise.
23863         * iconvdata/ibm1164.h: Likewise.
23864         * iconvdata/ibm1166.h: Likewise.
23865         * iconvdata/ibm1167.h: Likewise.
23866         * iconvdata/ibm12712.h: Likewise.
23867         * iconvdata/ibm1390.h: Likewise.
23868         * iconvdata/ibm1399.h: Likewise.
23869         * iconvdata/ibm16804.h: Likewise.
23870         * iconvdata/ibm4517.h: Likewise.
23871         * iconvdata/ibm4899.h: Likewise.
23872         * iconvdata/ibm4909.h: Likewise.
23873         * iconvdata/ibm4971.h: Likewise.
23874         * iconvdata/ibm5347.h: Likewise.
23875         * iconvdata/ibm803.h: Likewise.
23876         * iconvdata/ibm856.h: Likewise.
23877         * iconvdata/ibm901.h: Likewise.
23878         * iconvdata/ibm902.h: Likewise.
23879         * iconvdata/ibm9030.h: Likewise.
23880         * iconvdata/ibm9066.h: Likewise.
23881         * iconvdata/ibm921.h: Likewise.
23882         * iconvdata/ibm922.h: Likewise.
23883         * iconvdata/ibm9448.h: Likewise.
23884         * iconvdata/isiri-3342.h: Likewise.
23885         * iconvdata/jis0201.h: Likewise.
23886         * include/link.h: Likewise.
23887         * include/netdb.h: Likewise.
23888         * inet/check_native.c: Likewise.
23889         * inet/check_pf.c: Likewise.
23890         * inet/getipv4sourcefilter.c: Likewise.
23891         * inet/getnameinfo.c: Likewise.
23892         * inet/getsourcefilter.c: Likewise.
23893         * inet/htonl.c: Likewise.
23894         * inet/setipv4sourcefilter.c: Likewise.
23895         * inet/setsourcefilter.c: Likewise.
23896         * inet/test-inet6_opt.c: Likewise.
23897         * inet/tst-network.c: Likewise.
23898         * locale/C-collate.c: Likewise.
23899         * locale/C-ctype.c: Likewise.
23900         * locale/C-time.c: Likewise.
23901         * locale/C-translit.h: Likewise.
23902         * locale/loadarchive.c: Likewise.
23903         * locale/programs/3level.h: Likewise.
23904         * locale/programs/charmap.c: Likewise.
23905         * locale/programs/charmap.h: Likewise.
23906         * locale/programs/ld-address.c: Likewise.
23907         * locale/programs/ld-collate.c: Likewise.
23908         * locale/programs/ld-ctype.c: Likewise.
23909         * locale/programs/ld-identification.c: Likewise.
23910         * locale/programs/ld-measurement.c: Likewise.
23911         * locale/programs/ld-messages.c: Likewise.
23912         * locale/programs/ld-monetary.c: Likewise.
23913         * locale/programs/ld-name.c: Likewise.
23914         * locale/programs/ld-numeric.c: Likewise.
23915         * locale/programs/ld-paper.c: Likewise.
23916         * locale/programs/ld-telephone.c: Likewise.
23917         * locale/programs/ld-time.c: Likewise.
23918         * locale/programs/linereader.c: Likewise.
23919         * locale/programs/locale.c: Likewise.
23920         * locale/programs/locarchive.c: Likewise.
23921         * locale/programs/locfile.h: Likewise.
23922         * locale/programs/repertoire.c: Likewise.
23923         * locale/programs/simple-hash.c: Likewise.
23924         * locale/programs/simple-hash.h: Likewise.
23925         * malloc/memusage.c: Likewise.
23926         * malloc/memusagestat.c: Likewise.
23927         * nis/nis_defaults.c: Likewise.
23928         * nis/nis_hash.c: Likewise.
23929         * nis/nis_print.c: Likewise.
23930         * nis/nis_xdr.c: Likewise.
23931         * nscd/connections.c: Likewise.
23932         * nscd/hstcache.c: Likewise.
23933         * nscd/nscd_gethst_r.c: Likewise.
23934         * nscd/nscd_getserv_r.c: Likewise.
23935         * nscd/nscd_helper.c: Likewise.
23936         * nscd/servicescache.c: Likewise.
23937         * nss/makedb.c: Likewise.
23938         * nss/nss_db/db-XXX.c: Likewise.
23939         * nss/nss_db/db-initgroups.c: Likewise.
23940         * nss/nss_db/db-netgrp.c: Likewise.
23941         * nss/nss_files/files-network.c: Likewise.
23942         * nss/nss_files/files-parse.c: Likewise.
23943         * posix/bug-regex5.c: Likewise.
23944         * posix/fnmatch_loop.c: Likewise.
23945         * posix/regcomp.c: Likewise.
23946         * posix/regexec.c: Likewise.
23947         * posix/tst-rfc3484-2.c: Likewise.
23948         * posix/tst-rfc3484-3.c: Likewise.
23949         * posix/tst-rfc3484.c: Likewise.
23950         * resolv/nss_dns/dns-canon.c: Likewise.
23951         * resolv/nss_dns/dns-network.c: Likewise.
23952         * resolv/res_init.c: Likewise.
23953         * resolv/res_mkquery.c: Likewise.
23954         * resolv/tst-aton.c: Likewise.
23955         * stdlib/cxa_atexit.c: Likewise.
23956         * stdlib/cxa_finalize.c: Likewise.
23957         * stdlib/gen-fpioconst.c: Likewise.
23958         * stdlib/strtol_l.c: Likewise.
23959         * string/tst-endian.c: Likewise.
23960         * sunrpc/auth_des.c: Likewise.
23961         * sunrpc/clnt_udp.c: Likewise.
23962         * sunrpc/rtime.c: Likewise.
23963         * sunrpc/svcauth_des.c: Likewise.
23964         * sunrpc/xdr.c: Likewise.
23965         * sunrpc/xdr_intXX_t.c: Likewise.
23966         * sunrpc/xdr_rec.c: Likewise.
23967         * sysdeps/generic/ldconfig.h: Likewise.
23968         * sysdeps/generic/ldsodefs.h: Likewise.
23969         * sysdeps/generic/memusage.h: Likewise.
23970         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23971         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23972         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23973         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23974         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23975         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23976         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23977         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23978         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23979         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23980         * sysdeps/posix/getaddrinfo.c: Likewise.
23981         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23982         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23983         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23984         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23985         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23986         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23987         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23988         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23989         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23990         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23991         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23992         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23993         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23994         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23995         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23996         * sysdeps/x86_64/dl-tls.h: Likewise.
23997         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23998         * time/alt_digit.c: Likewise.
23999         * time/era.c: Likewise.
24000         * wcsmbs/tst-c16c32-1.c: Likewise.
24002 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24004         * math/libm-test.inc (struct test_sincos_data): New type.
24005         (RUN_TEST_LOOP_sincos): New macro.
24006         (sincos_test_data): New variable.
24007         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24009 2013-05-16  Richard Henderson  <rth@redhat.com>
24011         * math/atest-exp2.c (LIMB64): New macro.
24012         (CONSTSZ): New macro.
24013         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24014         (hexdig): Move ...
24015         (print_mpn_fp): ... to function scope.
24016         (read_mpn_hex): Remove.
24017         (get_log2): Remove.
24018         (exp2_mpn): Use mp_log2.
24019         (main): Use mp_exp1.
24021 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24023         * math/libm-test.inc: Remove comment about not testing "inexact"
24024         exceptions.
24025         (INEXACT_EXCEPTION): New macro.
24026         (NO_INEXACT_EXCEPTION): Likewise.
24027         (INVALID_EXCEPTION_OK): Update value.
24028         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24029         (OVERFLOW_EXCEPTION_OK): Likewise.
24030         (UNDERFLOW_EXCEPTION_OK): Likewise.
24031         (IGNORE_ZERO_INF_SIGN): Likewise.
24032         (ERRNO_UNCHANGED): Likewise.
24033         (ERRNO_EDOM): Likewise.
24034         (ERRNO_ERANGE): Likewise.
24035         (test_exceptions): Handle testing "inexact" exceptions.
24036         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24037         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24038         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24039         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24040         INEXACT_EXCEPTION.
24041         (rint_towardzero_test_data): Likewise.
24042         (rint_downward_test_data): Likewise.
24043         (rint_upward_test_data): Likewise.
24045         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24046         with OVERFLOW_EXCEPTION.
24047         (exp10_test_data): Likewise.
24048         (exp2_test_data): Likewise.
24049         (expm1_test_data): Likewise.
24050         (lgamma_test_data): Likewise.
24051         (pow_test_data): Likewise.
24052         (tgamma_test_data): Likewise.
24053         (yn_test_data): Remove duplicate test of overflow.
24055         * math/libm-test.inc (struct test_cc_c_data): New type.
24056         (RUN_TEST_LOOP_cc_c): New macro.
24057         (cpow_test_data): New variable.
24058         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24060         * math/libm-test.inc (struct test_f_L_data): New type.
24061         (RUN_TEST_LOOP_f_L): New macro.
24062         (llrint_test_data): New variable.
24063         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24064         (llrint_tonearest_test_data): New variable.
24065         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24066         (llrint_towardzero_test_data): New variable.
24067         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24068         (llrint_downward_test_data): New variable.
24069         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24070         (llrint_upward_test_data): New variable.
24071         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24072         (llround_test_data): New variable.
24073         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24075 2013-05-13  Peter Collingbourne  <pcc@google.com>
24077         * math/atest-exp2.c (get_log2): Remove const attribute.
24079 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24081         * math/libm-test.inc (struct test_f_l_data): New type.
24082         (RUN_TEST_LOOP_f_l): New macro.
24083         (lrint_test_data): New variable.
24084         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24085         (lrint_tonearest_test_data): New variable.
24086         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24087         (lrint_towardzero_test_data): New variable.
24088         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24089         (lrint_downward_test_data): New variable.
24090         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24091         (lrint_upward_test_data): New variable.
24092         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24093         (lround_test_data): New variable.
24094         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24096 2013-05-15  Peter Collingbourne  <pcc@google.com>
24098         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24099         (EXTRACT_WORDS64) Use where appropriate.
24100         (INSERT_WORDS64) Likewise.
24102         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24103         constraints with x constraints.
24104         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24106         * malloc/obstack.c (_obstack_compat): Add initializer.
24108 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24110         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24111         si_trapno and add si_addr_lsb to _sifields.sigfault.
24112         (si_trapno): Remove macro.
24113         (si_addr_lsb): Define new macro.
24114         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24116 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24118         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24119         instead of TEST_f_l.
24120         (llrint_test_tonearest): Likewise.
24121         (llrint_test_towardzero): Likewise.
24122         (llrint_test_downward): Likewise.
24123         (llrint_test_upward): Likewise.
24124         (llround_test): Likewise.
24126         * math/libm-test.inc (struct test_f_i_data): Add comment.
24127         (RUN_TEST_LOOP_f_b): New macro.
24128         (RUN_TEST_LOOP_f_b_tg): Likewise.
24129         (finite_test_data): New variable.
24130         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24131         (isfinite_test_data): New variable.
24132         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24133         (isinf_test_data): New variable.
24134         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24135         (isnan_test_data): New variable.
24136         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24137         (isnormal_test_data): New variable.
24138         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24139         (issignaling_test_data): New variable.
24140         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24141         (signbit_test_data): New variable.
24142         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24144         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24145         with INVALID_EXCEPTION.
24146         (acosh_test_data): Likewise.
24147         (asin_test_data): Likewise.
24148         (atanh_test_data): Likewise.
24149         (fmod_test_data): Likewise.
24150         (log_test_data): Likewise.
24151         (log10_test_data): Likewise.
24152         (log2_test_data): Likewise.
24153         (pow_test_data): Likewise.
24154         (sqrt_test_data): Likewise.
24155         (y0_test_data): Likewise.
24156         (y1_test_data): Likewise.
24157         (yn_test_data): Likewise.
24159         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24160         function contents.
24162         * math/libm-test.inc (struct test_ff_i_data): New type.
24163         (RUN_TEST_LOOP_ff_i_tg): New macro.
24164         (isgreater_test_data): New variable.
24165         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24166         (isgreaterequal_test_data): New variable.
24167         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24168         (isless_test_data): New variable.
24169         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24170         (islessequal_test_data): New variable.
24171         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24172         (islessgreater_test_data): New variable.
24173         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24174         (isunordered_test_data): New variable.
24175         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24177 2013-05-14  David S. Miller  <davem@davemloft.net>
24179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24181 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24183         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24185         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24186         extra_test to int.
24187         (struct test_f_i_data): Change type of max_ulp to int.
24189         * math/libm-test.inc (test_ffI_f1_data): New type.
24190         (RUN_TEST_LOOP_ffI_f1): New macro.
24191         (remquo_test_data): New variable.
24192         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24194         * setjmp/tst-setjmp-fp.c: New file.
24195         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24196         (link-libm): New variable.
24197         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24199         * math/libm-test.inc (struct test_f_i_data): New type.
24200         (RUN_TEST_LOOP_f_i): New macro.
24201         (RUN_TEST_LOOP_f_i_tg): Likewise.
24202         (fpclassify_test_data): New variable.
24203         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24204         (ilogb_test_data): New variable.
24205         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24207         * math/libm-test.inc (scalbln_test): Correct function name in END
24208         call.
24210         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24211         (RUN_TEST_LOOP_fI_f1): New macro.
24212         (frexp_test_data): New variable.
24213         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24215         * math/libm-test.inc (struct test_fF_f1_data): New type.
24216         (RUN_TEST_LOOP_fF_f1): New macro.
24217         (modf_test_data): New variable.
24218         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24220         * math/libm-test.inc (struct test_f_f1_data): New type.
24221         (RUN_TEST_LOOP_f_f1): New macro.
24222         (gamma_test_data): New variable.
24223         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24224         (lgamma_test_data): New variable.
24225         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24227 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24229         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24230         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24231         (main): Comment "tls" pseudo-hwcap.
24233 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24235         * math/libm-test.inc (struct test_fl_f_data): New type.
24236         (RUN_TEST_LOOP_fl_f): New variable.
24237         (scalbln_test_data): New variable.
24238         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24240         * math/libm-test.inc (struct test_fi_f_data): New type.
24241         (RUN_TEST_LOOP_fi_f): New macro.
24242         (ldexp_test_data): New variable.
24243         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24244         (scalbn_test_data): New variable.
24245         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24247         * math/libm-test.inc (struct test_c_f_data): New type.
24248         (RUN_TEST_LOOP_c_f): New macro.
24249         (cabs_test_data): New variable.
24250         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24251         (carg_test_data): New variable.
24252         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24253         (cimag_test_data): New variable.
24254         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24255         (creal_test_data): New variable.
24256         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24258         * math/libm-test.inc (struct test_if_f_data): New type.
24259         (RUN_TEST_LOOP_if_f): New macro.
24260         (jn_test_data): New variable.
24261         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24262         (yn_test_data): New variable.
24263         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24265         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24267 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24269         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24270         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24272 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24274         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24275         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24276         (bench-deps): Add bench-timing.h.
24277         * benchtests-bench-skeleton.c: Include bench-timing.h.
24278         (main): Use TIMING_* macros instead of clock_gettime.
24279         * benchtests/bench-timing.h: New file.
24281         [BZ #14582]
24282         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24283         Renamed from _LIB_VERSION.
24284         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24286 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24288         * math/libm-test.inc (struct test_fff_f_data): New type.
24289         (RUN_TEST_LOOP_fff_f): New macro.
24290         (fma_test_data): New variable.
24291         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24292         (fma_towardzero_test_data): New variable.
24293         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24294         (fma_downward_test_data): New variable.
24295         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24296         (fma_upward_test_data): New variable.
24297         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24299         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24300         (struct test_c_c_data): New type.
24301         (RUN_TEST_LOOP_c_c): New macro.
24302         (cacos_test_data): New variable.
24303         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24304         (cacosh_test_data): New variable.
24305         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24306         (casin_test_data): New variable.
24307         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24308         (casinh_test_data): New variable.
24309         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24310         (catan_test_data): New variable.
24311         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24312         (catanh_test_data): New variable.
24313         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24314         (ccos_test_data): New variable.
24315         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24316         (ccosh_test_data): New variable.
24317         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24318         (cexp_test_data): New variable.
24319         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24320         (clog_test_data): New variable.
24321         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24322         (clog10_test_data): New variable.
24323         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24324         (conj_test_data): New variable.
24325         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24326         (cproj_test_data): New variable.
24327         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24328         (csin_test_data): New variable.
24329         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24330         (csinh_test_data): New variable.
24331         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24332         (csqrt_test_data): New variable.
24333         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24334         (ctan_test_data): New variable.
24335         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24336         (ctan_tonearest_test_data): New variable.
24337         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24338         (ctan_towardzero_test_data): New variable.
24339         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24340         (ctan_downward_test_data): New variable.
24341         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24342         (ctan_upward_test_data): New variable.
24343         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24344         (ctanh_test_data): New variable.
24345         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24346         (ctanh_tonearest_test_data): New variable.
24347         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24348         (ctanh_towardzero_test_data): New variable.
24349         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24350         (ctanh_downward_test_data): New variable.
24351         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24352         (ctanh_upward_test_data): New variable.
24353         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24354         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24355         of BUILD_COMPLEX.
24357         * math/libm-test.inc (struct test_ff_f_data): New type.
24358         (struct test_ff_f_data_nexttoward): Likewise.
24359         (RUN_TEST_LOOP_2_f): New macro.
24360         (RUN_TEST_LOOP_ff_f): Likewise.
24361         (atan2_test_data): New variable.
24362         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24363         (copysign_test_data): New variable.
24364         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24365         (fdim_test_data): New variable.
24366         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24367         (fmax_test_data): New variable.
24368         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24369         (fmin_test_data): New variable.
24370         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24371         (fmod_test_data): New variable.
24372         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24373         (hypot_test_data): New variable.
24374         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24375         (nextafter_test_data): New variable.
24376         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24377         (nexttoward_test_data): New variable.
24378         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24379         (pow_test_data): New variable.
24380         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24381         (pow_tonearest_test_data): New variable.
24382         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24383         (pow_towardzero_test_data): New variable.
24384         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24385         (pow_downward_test_data): New variable.
24386         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24387         (pow_upward_test_data): New variable.
24388         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24389         (remainder_test_data): New variable.
24390         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24391         (scalb_test_data): New variable.
24392         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24393         * sysdeps/i386/fpu/libm-test-ulps: Update.
24395 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24397         * math/libm-test.inc (fma_test): Use max_value instead of local
24398         variable fltmax.
24399         (nextafter_test): Likewise.
24401         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24402         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24403         (acos_downward_test_data): New variable.
24404         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24405         (acos_upward_test_data): New variable.
24406         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24407         (acosh_test_data): New variable.
24408         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24409         (asin_test_data): New variable.
24410         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24411         (asin_tonearest_test_data): New variable.
24412         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24413         (asin_towardzero_test_data): New variable.
24414         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24415         (asin_downward_test_data): New variable.
24416         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24417         (asin_upward_test_data): New variable.
24418         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24419         (asinh_test_data): New variable.
24420         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24421         (atan_test_data): New variable.
24422         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24423         (atanh_test_data): New variable.
24424         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24425         (cbrt_test_data): New variable.
24426         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24427         (ceil_test_data): New variable.
24428         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24429         (cos_test_data): New variable.
24430         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24431         (cos_tonearest_test_data): New variable.
24432         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24433         (cos_towardzero_test_data): New variable.
24434         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24435         (cos_downward_test_data): New variable.
24436         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24437         (cos_upward_test_data): New variable.
24438         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24439         (cosh_test_data): New variable.
24440         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24441         (cosh_tonearest_test_data): New variable.
24442         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24443         (cosh_towardzero_test_data): New variable.
24444         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24445         (cosh_downward_test_data): New variable.
24446         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24447         (cosh_upward_test_data): New variable.
24448         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24449         (erf_test_data): New variable.
24450         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24451         (erfc_test_data): New variable.
24452         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24453         (exp_test_data): New variable.
24454         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24455         (exp_tonearest_test_data): New variable.
24456         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24457         (exp_towardzero_test_data): New variable.
24458         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24459         (exp_downward_test_data): New variable.
24460         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24461         (exp_upward_test_data): New variable.
24462         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24463         (exp10_test_data): New variable.
24464         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24465         (exp2_test_data): New variable.
24466         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24467         (expm1_test_data): New variable.
24468         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24469         (fabs_test_data): New variable.
24470         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24471         (floor_test_data): New variable.
24472         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24473         (j0_test_data): New variable.
24474         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24475         (j1_test_data): New variable.
24476         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24477         (log_test_data): New variable.
24478         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24479         (log10_test_data): New variable.
24480         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24481         (log1p_test_data): New variable.
24482         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24483         (log2_test_data): New variable.
24484         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24485         (logb_test_data): New variable.
24486         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24487         (logb_downward_test_data): New variable.
24488         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24489         (nearbyint_test_data): New variable.
24490         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24491         (rint_test_data): New variable.
24492         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24493         (rint_tonearest_test_data): New variable.
24494         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24495         (rint_towardzero_test_data): New variable.
24496         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24497         (rint_downward_test_data): New variable.
24498         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24499         (rint_upward_test_data): New variable.
24500         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24501         (round_test_data): New variable.
24502         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24503         (sin_test_data): New variable.
24504         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24505         (sin_tonearest_test_data): New variable.
24506         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24507         (sin_towardzero_test_data): New variable.
24508         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24509         (sin_downward_test_data): New variable.
24510         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24511         (sin_upward_test_data): New variable.
24512         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24513         (sinh_test_data): New variable.
24514         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24515         (sinh_tonearest_test_data): New variable.
24516         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24517         (sinh_towardzero_test_data): New variable.
24518         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24519         (sinh_downward_test_data): New variable.
24520         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24521         (sinh_upward_test_data): New variable.
24522         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24523         (sqrt_test_data): New variable.
24524         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24525         (tan_test_data): New variable.
24526         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24527         (tan_tonearest_test_data): New variable.
24528         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24529         (tan_towardzero_test_data): New variable.
24530         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24531         (tan_downward_test_data): New variable.
24532         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24533         (tan_upward_test_data): New variable.
24534         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24535         (tanh_test_data): New variable.
24536         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24537         (tgamma_test_data): New variable.
24538         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24539         (trunc_test_data): New variable.
24540         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24541         (y0_test_data): New variable.
24542         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24543         (y1_test_data): New variable.
24544         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24545         (significand_test_data): New variable.
24546         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24548 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
24550         [BZ #12387]
24551         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24553 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24555         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24557 2013-05-10  Andreas Jaeger  <aj@suse.de>
24559         [BZ #15448]
24560         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24561         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24563 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24565         * math/gen-libm-test.pl (adjust_arg): New function.
24566         (special_functions): Handle generating output in both functions
24567         and arrays.
24568         (parse_args): Likewise.
24569         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
24570         $in_func argument to parse_args.
24571         * math/libm-test.inc (struct test_f_f_data): New type.
24572         (IF_ROUND_INIT_): New macro.
24573         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24574         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24575         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24576         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24577         (ROUND_RESTORE_): Likewise.
24578         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24579         (ROUND_RESTORE_FE_TONEAREST): Likewise.
24580         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24581         (ROUND_RESTORE_FE_UPWARD): Likewise.
24582         (RUN_TEST_LOOP_f_f): New macro.
24583         (acos_test_data): New variable.
24584         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24585         (acos_tonearest_test_data): New variable.
24586         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24588 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24590         * benchtests/bench-skeleton.c (startup): Fix coding style.
24592 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24594         [BZ #6809]
24595         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24596         negative infinity argument.
24597         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24598         negative infinity argument.
24599         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24600         negative infinity argument.
24601         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24602         domain errors.
24604 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24606         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24607         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24608         * iconv/iconv_prog.c (main): Likewise.
24609         * locale/programs/charmap-dir.c (charmap_readdir)
24610         (fopen_uncompressed): Likewise.
24611         * locale/programs/locfile.c (siblings_uncached)
24612         (write_locale_data): Use lstat64 instead of lstat.
24613         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24614         stat.
24616 2013-05-10  Andreas Jaeger  <aj@suse.de>
24618         [BZ #15395]
24619         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24620         localization.
24621         Include <locale.h>.
24623 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24625         * elf/dl-close.c (_dl_close_worker): Add comments.
24627 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #15359]
24630         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24631         high part of pi/2.
24632         (__ieee754_rem_pio2l): Update comments.
24634         [BZ #15429]
24635         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24636         high part of pi/2.
24637         (__ieee754_rem_pio2l): Update comments.
24639         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24640         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24642         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24643         M_PI_4l.
24645         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24646         (M_PI_34_LOG10El): Likewise.
24647         (M_PI2_LOG10El): Likewise.
24648         (M_PI4_LOG10El): Likewise.
24649         (M_PI_LOG10El): Likewise.
24651 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24655 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24657         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24658         (MINUS_ZERO_INIT): Likewise.
24659         (PLUS_INFTY_INIT): Likewise.
24660         (MINUS_INFTY_INIT): Likewise.
24661         (QNAN_VALUE_INIT): Likewise.
24662         (MAX_VALUE_INIT): Likewise.
24663         (MIN_VALUE_INIT): Likewise.
24664         (MIN_SUBNORM_VALUE_INIT): Likewise.
24665         (plus_zero): Initialize with PLUS_ZERO_INIT.
24666         (minus_zero): Initialize with MINUS_ZERO_INIT.
24667         (plus_infty): Initialize with PLUS_INFTY_INIT.
24668         (minus_infty): Initialize with MINUS_INFTY_INIT.
24669         (qnan_value): Initialize with QNAN_VALUE_INIT.
24670         (max_value): Initialize with MAX_VALUE_INIT.
24671         (min_value): Initialize with MIN_VALUE_INIT.
24672         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24674         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24675         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24676         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24677         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24679         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24680         (RUN_TEST_2_f): Likewise.
24681         (RUN_TEST_ff_f): Likewise.
24682         (RUN_TEST_fi_f): Likewise.
24683         (RUN_TEST_fl_f): Likewise.
24684         (RUN_TEST_fff_f): Likewise.
24685         (RUN_TEST_c_f): Likewise.
24686         (RUN_TEST_f_f1): Likewise.
24687         (RUN_TEST_fF_f1): Likewise.
24688         (RUN_TEST_fI_f1): Likewise.
24689         (RUN_TEST_ffI_f1): Likewise.
24690         (RUN_TEST_c_c): Likewise.
24691         (RUN_TEST_cc_c): Likewise.
24692         (RUN_TEST_f_i): Likewise.
24693         (RUN_TEST_f_i_tg): Likewise.
24694         (RUN_TEST_ff_i_tg): Likewise.
24695         (RUN_TEST_f_b): Likewise.
24696         (RUN_TEST_f_b_tg): Likewise.
24697         (RUN_TEST_f_l): Likewise.
24698         (RUN_TEST_f_L): Likewise.
24699         (RUN_TEST_sincos): Likewise.
24700         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24701         whether to show exceptions.  Do not include ");\n" in return
24702         value.
24703         (special_functions): Output call to RUN_TEST_sincos instead of
24704         check_float calls.  Update calls to new_test.
24705         (parse_args): Output call to single RUN_TEST_* macro instead of
24706         check_* calls and other assignments.  Update calls to new_test.
24708         [BZ #2546]
24709         [BZ #2560]
24710         [BZ #5159]
24711         [BZ #15426]
24712         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24713         input to result for tgamma overflow.
24714         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24715         (gamma_coeff): New variable.
24716         (NCOEFF): New macro.
24717         (gamma_positive): New function.
24718         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24719         underflow here.  Use gamma_positive instead of exp (lgamma) for
24720         other arguments.
24721         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24722         (gamma_coeff): New variable.
24723         (NCOEFF): New macro.
24724         (gammaf_positive): New function.
24725         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24726         underflow here.  Use gamma_positive instead of exp (lgamma) for
24727         other arguments.
24728         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24729         (gamma_coeff): New variable.
24730         (NCOEFF): New macro.
24731         (gammal_positive): New function.
24732         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24733         underflow here.  Use gamma_positive instead of exp (lgamma) for
24734         other arguments.
24735         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24736         (gamma_coeff): New variable.
24737         (NCOEFF): New macro.
24738         (gammal_positive): New function.
24739         (__ieee754_gammal_r): Handle positive infinity, overflow and
24740         underflow here.  Handle NaN the same as positive infinity.  Remove
24741         check x < 0xffffffff for negative integers.  Use gamma_positive
24742         instead of exp (lgamma) for other arguments.
24743         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24744         (gamma_coeff): New variable.
24745         (NCOEFF): New macro.
24746         (gammal_positive): New function.
24747         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24748         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24749         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24750         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24751         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24752         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24753         * sysdeps/generic/math_private.h (__gamma_productf): New
24754         prototype.
24755         (__gamma_product): Likewise.
24756         (__gamma_productl): Likewise.
24757         * math/Makefile (libm-calls): Add gamma_product.
24758         * math/libm-test.inc (tgamma_test): Add more tests.
24759         * sysdeps/i386/fpu/libm-test-ulps: Update.
24760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24762 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24764         * benchtests/bench-skeleton.c (main): Preheat CPU.
24766 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24768         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24770 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24772         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24773         and _dl_skip_args_internal.
24775 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24777         * manual/message.texi (Message Translation): Talk about users.
24778         Message to key mapping impacts design.
24780 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24782         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24784         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24786         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24787         * sysdeps/wordsize-64/glob64.c: ... here.
24789         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24790         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24791         New macros.
24793         * debug/getlogin_r_chk.c: Moved to ...
24794         * login/getlogin_r_chk.c: ... here.
24795         * debug/Makefile (routines): Move getlogin_r_chk to ...
24796         * login/Makefile (routines): ... here.
24797         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24798         * login/Versions (libc: GLIBC_2.4): ... here.
24800         * io/poll.c (__poll): Renamed from poll.
24801         Add libc_hidden_def.
24802         (poll): Define as weak alias.
24804         * debug/ptsname_r_chk.c: Moved to ...
24805         * login/ptsname_r_chk.c: ... here.
24806         * debug/Makefile (routines): Move ptsname_r_chk to ...
24807         * login/Makefile (routines): ... here.
24808         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24809         * login/Versions (libc: GLIBC_2.4): ... here.
24811         * posix/getlogin.c: Moved to ...
24812         * login/getlogin.c: ... here.
24813         * posix/getlogin_r.c: Moved to ...
24814         * login/getlogin_r.c: ... here.
24815         * posix/getlogin_r.c: Moved to ...
24816         * login/getlogin_r.c: ... here.
24817         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24818         * login/Makefile (routines): ... here.
24819         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24820         * login/Versions (libc: GLIBC_2.0): ... here.
24822         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24823         (setrlimit): Define as weak alias.
24825         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24826         Call __ names for open, ftruncate, and close.
24827         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24828         (truncate): Define as weak alias.
24830 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24832         * math/gen-libm-test.pl (parse_args): Initialize x before each
24833         test of frexp, modf and remquo.
24835         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24836         test signgam value.
24838 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24840         [BZ #15418]
24841         [BZ #15419]
24842         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24843         internal tests.
24844         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24846 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24848         * elf/dl-writev.h: New file.
24849         * elf/dl-misc.c: Include it.
24850         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24851         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24853 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24855         * math/libm-test.inc (noXFails): Remove variable.
24856         (noXPasses): Likewise.
24857         (BUILD_COMPLEX_INT): Remove macro.
24858         (print_screen): Remove xfail argument.
24859         (print_screen_max_error): Likewise.
24860         (update_stats): Likewise.
24861         (print_max_error): Likewise.  Update calls to other affected
24862         functions.
24863         (print_complex_max_error): Likewise.
24864         (test_single_exception): Update calls to print_screen.
24865         (test_single_errno): Likewise.
24866         (check_float_internal): Remove xfail argument.  Update calls to
24867         other affected functions.
24868         (check_float): Likewise.
24869         (check_complex): Likewise.
24870         (check_int): Likewise.
24871         (check_long): Likewise.
24872         (check_bool): Likewise.
24873         (check_longlong): Likewise.
24874         (main): Don't print noXFails and noXPasses.
24875         * math/gen-libm-test.pl (top level): Don't mention expected
24876         failure handling in comment.
24877         (new_test): Don't handle expected failures.
24878         (parse_args): Don't mention expected failure handling in comment.
24879         (generate_testfile): Don't handle expected failures.
24880         (parse_ulps): Likewise.
24881         (print_ulps_file): Likewise.
24882         (get_failure): Remove function.
24883         (output_test): Don't handle expected failures.
24884         * make/README.libm-test: Don't mention expected failure handling.
24886         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24887         (minus_zero): Likewise.
24888         (plus_infty): Likewise.
24889         (minus_infty): Likewise.
24890         (qnan_value): Likewise.
24891         (max_value): Likewise.
24892         (min_value): Likewise.
24893         (min_subnorm_value): Likewise.
24894         (initialize): Do not initialize those variables dynamically.
24896 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24898         * io/open.c (__open_2): Moved to ...
24899         * io/open_2.c: ... this new file.
24900         * io/open64.c (__open64_2): Moved to ...
24901         * io/open64_2.c: ... this new file.
24902         * io/openat.c (__openat_2): Moved to ...
24903         * io/openat_2.c: ... this new file.
24904         * io/openat64.c (__openat64_2): Moved to ...
24905         * io/openat64_2.c: ... this new file.
24906         * io/Makefile (routines): Add them.
24907         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24908         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24909         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24910         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24911         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24912         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24913         (__openat64): Add hidden_ver.
24914         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24915         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24917         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24918         Separately conditionalize setting of GLRO(dl_sysinfo) so
24919         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24920         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24922 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24924         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24925         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24926         definition.
24927         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24928         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24929         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24930         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24931         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24933 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24935         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24936         test signgam value.
24938         * math/libm-test.inc (hypot_test): Do not use
24939         IGNORE_ZERO_INF_SIGN.
24941 2013-05-03  Andreas Jaeger  <aj@suse.de>
24943         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24944         Linux 3.9.
24945         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24946         (PF_MAX): Adjust for VSOCK change.
24948 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24952 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24954         [BZ #15264]
24955         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24956         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24957         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24959 2013-05-02  David S. Miller  <davem@davemloft.net>
24961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24963 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24965         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24967 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24969         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24971 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24973         [BZ #14952]
24974         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24975         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24976         Use __attribute__ ((__gnu_inline__)).
24977         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24978         Don't use __attribute__ ((__gnu_inline__)).
24980 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24982         [BZ #15423]
24983         * math/s_catan.c (__catan): Handle small real or imaginary part of
24984         input specially to avoid spurious underflow.
24985         * math/s_catanf.c (__catanf): Likewise.
24986         * math/s_catanh.c (__catanh): Likewise.
24987         * math/s_catanhf.c (__catanhf): Likewise.
24988         * math/s_catanhl.c (__catanhl): Likewise.
24989         * math/s_catanl.c (__catanl): Likewise.
24990         * math/libm-test.inc (catan_test): Add more tests.
24991         (catanh_test): Likewise.
24992         * sysdeps/i386/fpu/libm-test-ulps: Update.
24993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24999 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25001         [BZ #15416]
25002         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25003         accurately for denominator in atan2.
25004         * math/s_catanf.c (__catanf): Likewise.
25005         * math/s_catanh.c (__catanh): Likewise.
25006         * math/s_catanhf.c (__catanhf): Likewise.
25007         * math/s_catanhl.c (__catanhl): Likewise.
25008         * math/s_catanl.c (__catanl): Likewise.
25009         * math/libm-test.inc (catan_test): Add more tests.
25010         (catanh_test): Likewise.
25011         * sysdeps/i386/fpu/libm-test-ulps: Update.
25012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25014 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25016         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25018         * benchtests/Makefile (bench): Remove slow benchmarks.
25019         * benchtests/atan-inputs: Add slow benchmark inputs.
25020         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25021         (BENCH_FUNC): Accept variant offset.
25022         (VARIANT): Define.
25023         * benchtests/bench-skeleton.c (main): Run benchmark for each
25024         variant.
25025         * benchtests/cos-inputs: Add slow benchmark inputs.
25026         * benchtests/exp-inputs: Likewise.
25027         * benchtests/pow-inputs: Likewise.
25028         * benchtests/sin-inputs: Likewise.
25029         * benchtests/slowatan-inputs: Remove.
25030         * benchtests/slowatan.c: Remove.
25031         * benchtests/slowcos-inputs: Remove.
25032         * benchtests/slowcos.c: Remove.
25033         * benchtests/slowexp-inputs: Remove.
25034         * benchtests/slowexp.c: Remove.
25035         * benchtests/slowpow-inputs: Remove.
25036         * benchtests/slowpow.c: Remove.
25037         * benchtests/slowsin-inputs: Remove.
25038         * benchtests/slowsin.c: Remove.
25039         * benchtests/slowtan-inputs: Remove.
25040         * benchtests/slowtan.c: Remove.
25041         * benchtests/tan-inputs: Add slow benchmark inputs.
25042         * scripts/bench.pl: Parse comments and directives.
25044         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25045         in CPPFLAGS.
25046         ($(objpfx)bench-%.c): Remove *-ITER.
25047         * benchtests/bench-modf.c: Remove definition of ITER.
25048         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25049         (main): Loop for DURATION seconds instead of fixed number of
25050         iterations.
25051         * scripts/bench.pl: Don't expect iterations in parameters.
25053 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25055         * io/fchdir.c (__fchdir): Renamed from fchdir.
25056         (fchdir): Define as weak alias.
25058 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25060         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25061         (ERRNO_EDOM): Likewise.
25062         (ERRNO_ERANGE): Likewise.
25063         (noErrnoTests): New variable.
25064         (init_max_error): Set errno to 0.
25065         (test_single_errno): New function.
25066         (test_errno): Likewise.
25067         (check_float_internal): Call test_errno.  Set errno to 0.
25068         (check_complex): Refer to errno tests in comment.
25069         (check_int): Call test_errno.  Set errno to 0.
25070         (check_long): Likewise.
25071         (check_bool): Likewise.
25072         (check_longlong): Likewise.
25073         (cos_test): Use ERRNO_* flags for errno tests instead of
25074         check_int.
25075         (expm1_test): Likewise.
25076         (fmod_test): Likewise.
25077         (ilogb_test): Likewise.
25078         (lgamma_test): Likewise.
25079         (pow_test): Likewise.
25080         (remainder_test): Likewise.
25081         (sin_test): Likewise.
25082         (tan_test): Likewise.
25083         (yn_test): Likewise.
25084         (initialize): Set errno to 0.
25085         (main): Print number of errno tests.
25086         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25088 2013-04-29  Andreas Jaeger  <aj@suse.de>
25090         [BZ #15084]
25091         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25092         and RES_USEVC.
25094         [BZ #15085]
25095         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25096         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25097         unimplemented.
25099         [BZ #15380]
25100         * stdlib/random.c (__initstate): Return NULL if
25101         __initstate fails.
25103         [BZ #15086]
25104         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25105         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25106         RES_SNGLKUPREOP.
25108 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25112 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25114         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25115         of individual tests.
25116         (casin_test): Likewise.
25117         (casinh_test): Likewise.
25119 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25121         [BZ #15409]
25122         * math/s_catan.c (__catan): Handle arguments with large real or
25123         imaginary part separately without squaring.
25124         * math/s_catanf.c (__catanf): Likewise.
25125         * math/s_catanh.c (__catanh): Likewise.
25126         * math/s_catanhf.c (__catanhf): Likewise.
25127         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25128         and redefine.
25129         (__catanhl): Handle arguments with large real or imaginary part
25130         separately without squaring.
25131         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25132         and redefine.
25133         (__catanl): Handle arguments with large real or imaginary part
25134         separately without squaring.
25135         * math/libm-test.inc (catan_test): Add more tests.
25136         (catanh_test): Likewise.
25137         * sysdeps/i386/fpu/libm-test-ulps: Update.
25138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25140 2013-04-27  Andreas Jaeger  <aj@suse.de>
25142         [BZ #15007]
25143         * stdlib/stdlib.h: Update guards for qecvt.
25144         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25145         <stdlib.h>.
25147 2013-04-27  Allan McRae  <allan@archlinux.org>
25149         * sysdeps/i386/fpu/libm-test-ulps: Update.
25151 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25153         [BZ #15406]
25154         * math/s_catan.c: Include <float.h>.
25155         (__catan): Ensure underflow exception occurs for underflowed
25156         result.
25157         * math/s_catanf.c: Include <float.h>.
25158         (__catanf): Ensure underflow exception occurs for underflowed
25159         result.
25160         * math/s_catanh.c: Include <float.h>.
25161         (__catanh): Ensure underflow exception occurs for underflowed
25162         result.
25163         * math/s_catanhf.c: Include <float.h>.
25164         (__catanhf): Ensure underflow exception occurs for underflowed
25165         result.
25166         * math/s_catanhl.c: Include <float.h>.
25167         (__catanhl): Ensure underflow exception occurs for underflowed
25168         result.
25169         * math/s_catanl.c: Include <float.h>.
25170         (__catanl): Ensure underflow exception occurs for underflowed
25171         result.
25172         * math/libm-test.inc (catan_test): Add more tests.
25173         (catanh_test): Likewise.
25175         [BZ #15405]
25176         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25177         underflowed result.
25178         * math/s_ccoshf.c (__ccoshf): Likewise.
25179         * math/s_ccoshl.c (__ccoshl): Likewise.
25180         * math/s_csin.c (__csin): Likewise.
25181         * math/s_csinf.c (__csinf): Likewise.
25182         * math/s_csinh.c (__csinh): Likewise.
25183         * math/s_csinhf.c (__csinhf): Likewise.
25184         * math/s_csinhl.c (__csinhl): Likewise.
25185         * math/s_csinl.c (__csinl): Likewise.
25186         * math/libm-test.inc (ccos_test): Add more tests.
25187         (ccosh_test): Likewise.
25188         (csin_test): Likewise.
25189         (csinh_test): Likewise.
25191 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25193         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25194         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25195         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25196         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25197         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25198         powerpc/power5+/fpu folders.
25199         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25202 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25206 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25208         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25209         additions to variable.
25210         [$(config-machine) = x86_64] (modules-names): Likewise.
25211         ($(objpfx)tst-audit3): Remove dependency.
25212         ($(objpfx)tst-audit3.out): Likewise.
25213         ($(objpfx)tst-audit4): Likewise.
25214         ($(objpfx)tst-audit4.out): Likewise.
25215         ($(objpfx)tst-audit5): Likewise.
25216         ($(objpfx)tst-audit5.out): Likewise.
25217         ($(objpfx)tst-audit6): Likewise.
25218         ($(objpfx)tst-audit6.out): Likewise.
25219         ($(objpfx)tst-audit7): Likewise.
25220         ($(objpfx)tst-audit7.out): Likewise.
25221         (tst-audit3-ENV): Remove variable.
25222         (tst-audit4-ENV): Likewise.
25223         (tst-audit5-ENV): Likewise.
25224         (tst-audit6-ENV): Likewise.
25225         (tst-audit7-ENV): Likewise.
25226         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25227         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25228         addition to variable.
25229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25232         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25234         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25235         tst-audit3, tst-audit4 and tst-audit5.
25236         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25237         tst-audit6 and tst-audit7.
25238         [$(subdir) = elf] (modules-names): Add audit modules for those
25239         tests.
25240         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25241         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25242         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25243         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25244         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25245         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25246         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25247         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25248         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25249         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25250         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25251         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25252         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25253         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25254         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25255         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25256         Likewise.
25257         [$(subdir) = elf && $(config-cflags-avx) = yes]
25258         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25259         [$(subdir) = elf && $(config-cflags-avx) = yes]
25260         (CFLAGS-tst-auditmod4a.c): Likewise.
25261         [$(subdir) = elf && $(config-cflags-avx) = yes]
25262         (CFLAGS-tst-auditmod4b.c): Likewise.
25263         [$(subdir) = elf && $(config-cflags-avx) = yes]
25264         (CFLAGS-tst-auditmod6b.c): Likewise.
25265         [$(subdir) = elf && $(config-cflags-avx) = yes]
25266         (CFLAGS-tst-auditmod6c.c): Likewise.
25267         [$(subdir) = elf && $(config-cflags-avx) = yes]
25268         (CFLAGS-tst-auditmod7b.c): Likewise.
25269         * elf/tst-audit3.c: Move to ...
25270         * sysdeps/x86_64/tst-audit3.c: ... here.
25271         * elf/tst-audit4.c: Move to ...
25272         * sysdeps/x86_64/tst-audit4.c: ... here.
25273         * elf/tst-audit5.c: Move to ...
25274         * sysdeps/x86_64/tst-audit5.c: ... here.
25275         * elf/tst-audit6.c: Move to ...
25276         * sysdeps/x86_64/tst-audit6.c: ... here.
25277         * elf/tst-audit7.c: Move to ...
25278         * sysdeps/x86_64/tst-audit7.c: ... here.
25279         * elf/tst-auditmod3a.c: Move to ...
25280         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25281         * elf/tst-auditmod3b.c: Move to ...
25282         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25283         * elf/tst-auditmod4a.c: Move to ...
25284         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25285         * elf/tst-auditmod4b.c: Move to ...
25286         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25287         * elf/tst-auditmod5a.c: Move to ...
25288         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25289         * elf/tst-auditmod5b.c: Move to ...
25290         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25291         * elf/tst-auditmod6a.c: Move to ...
25292         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25293         * elf/tst-auditmod6b.c: Move to ...
25294         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25295         * elf/tst-auditmod6c.c: Move to ...
25296         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25297         * elf/tst-auditmod7a.c: Move to ...
25298         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25299         * elf/tst-auditmod7b.c: Move to ...
25300         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25302 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25304         [BZ #15366]
25305         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25306         define unconditionally.
25307         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25308         define unconditionally.
25309         (INT8_C, INT16_C, etc.): Likewise.
25311 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25313         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25314         __ehdr_start with hidden visibility.
25316         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25318 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25320         * math/libm-test.inc (cos_test): Use accurate hex constants.
25321         (sincost_test): Likewise.
25323 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25325         * math/libm-test.inc (catan_test): Add more tests.
25326         (catanh_test): Likewise.
25328         * math/s_catanf.c (__catanf): Use suffixed floating-point
25329         constants.
25330         * math/s_catanhf.c (__catanhf): Likewise.
25331         * math/s_catanhl.c (__catanhl): Likewise.
25332         * math/s_catanl.c (__catanl): Likewise.
25334         [BZ #15394]
25335         * math/s_catan.c (__catan): Calculate imaginary part of result
25336         with log1p not log unless computing log of number close to 0.
25337         * math/s_catanf.c (__catanf): Likewise.
25338         * math/s_catanl.c (__catanl): Likewise.
25339         * math/s_catanh.c (__catanh): Calculate real part of result with
25340         log1p not log unless computing log of number close to 0.
25341         * math/s_catanhf.c (__catanhf): Likewise.
25342         * math/s_catanhl.c (__catanhl): Likewise.
25343         * math/libm-test.inc (catan_test): Add more tests.
25344         (catanh_test): Likewise.
25345         * sysdeps/i386/fpu/libm-test-ulps: Update.
25346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25348 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25350         * benchtests/Makefile: Mention files in which fast and slow
25351         paths of math functions are implemented.
25353 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25355         * sysdeps/posix/timespec_get.c: New file.
25357 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25359         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25360         POWER.
25361         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25362         for POWER.
25363         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25364         powerpc/power5/fpu folders.
25365         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25366         * benchtests/Makefile: Add modf testcase.
25367         * benchtests/bench-modf.c: New file: Benchmark test for mo
25369 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25371         [BZ #14888]
25372         * time/Makefile (tests): Add tst-strptime-whitespace.
25373         * time/strptime_l.c (get_number): Use ISSPACE.
25374         (__strptime_internal): Likewise.
25375         * time/tst-strptime-whitespace.c: New test case.
25377 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25379         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25380         member.
25381         (_nss_files_init): Set it here.
25383 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25385         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25386         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25387         unsigned.
25389 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25391         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25393 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25395         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25396         size just once.
25398 2013-04-21  David S. Miller  <davem@davemloft.net>
25400         * po/ru.po: Update Russion translation from translation project.
25402 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25404         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25405         and setfsgid.
25407 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25409         * configure.in: Remove i386 configure warning. Remove i386 case.
25410         * configure: Regenerate.
25411         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25412         Add example to error message.
25413         * sysdeps/i386/configure: Regenerate.
25415 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25417         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25418         slowtan.
25419         * benchtests/cos-inputs: New file.
25420         * benchtests/slowcos-inputs: New file.
25421         * benchtests/slowcos.c: New file.
25422         * benchtests/slowtan-inputs: New file.
25423         * benchtests/slowtan.c: New file.
25424         * benchtests/tan-inputs: New file.
25426 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25428         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25429         considered kosher.
25431 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25433         * benchtests/Makefile: Include cppflags-iterator.mk to add
25434         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25436         * Makefile.in (bench-clean): New target.
25437         * benchtests/Makefile (bench-clean): Likewise.
25439 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25441         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25443 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25445         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25447 2013-04-15  Andreas Schwab  <schwab@suse.de>
25449         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25450         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25451         * nscd/pwdcache.c (cache_addpw): Likewise.
25452         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25453         more than recsize.
25455 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25457         * benchtests/Makefile (bench): Write all output to
25458         bench-out.tmp together.
25460 2013-04-15  Andreas Schwab  <schwab@suse.de>
25462         * nscd/nscd.c (main): Don't fork again after closing files.
25464 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25466         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25468         * benchtests/Rules (bench-deps): Collect dependencies into a
25469         single variable.  Add Makefile to dependencies.
25470         ($(objpfx)bench-%.c): Depend on bench-deps.
25472 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25473             Xavier Roche  <roche+kml2@exalead.com>
25475         [BZ #15361]
25476         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25477         just that it's a file descriptor.
25478         * manual/llio.texi (Synchronizing AIO Operations): Update description
25479         for EBADF error from aio_fsync.
25481 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25483         * Rules (bench): Move target definition...
25484         * benchtests/Makefile: ... here.
25486 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25488         * math/libm-test.inc (cos_test): Fix PI/2 test.
25489         (sincos_test): Likewise.
25490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25491         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25493 2013-04-11  Andreas Schwab  <schwab@suse.de>
25495         [BZ #13988]
25496         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25497         accept exponent character only when digits were seen.
25498         * stdio-common/Makefile (tests): Add bug26.
25499         * stdio-common/bug26.c: New file.
25501         [BZ #14293]
25502         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25503         non-freeable.
25505 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25507         * Makeconfig (rtld-prefix): Define built linker prefix.
25508         * Rules (run-bench): Use it.
25509         * math/Makefile (run-regen-ulps): Likewise.
25511         * Rules (bench): Remove eval.
25513 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25514             Roland McGrath  <roland@hack.frob.com>
25515             Ondrej Bilka  <neleai@seznam.cz>
25517         [BZ #15346]
25518         * time/getdate.c: Include ctype.h and alloca.h.
25519         (__getdate_r): Trim leading and trailing spaces of input.
25520         * time/tst-getdate.c (tests): Add tests with leading and
25521         trailing spaces.
25523 2013-04-08  Roland McGrath  <roland@hack.frob.com>
25525         [BZ #14280]
25526         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25527         when computing value.
25529 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25531         * math/README.libm-test (How can I generate "libm-test-ulps"?):
25532         Use testrun.sh to run libm tests.
25534         [BZ #15309]
25535         * elf/dl-open.c (dl_open_worker): memset all of seen array.
25537 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
25539         [BZ #15264]
25540         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25542 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25544         * Makefile.in (regen-ulps): New target.
25545         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25546         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25547         [ifneq (no,$(PERL)] (regen-ulps): New target.
25548         [ifeq (no,$(PERL)] (regen-ulps): New target.
25549         * math/libm-test.inc (ulps_file_name): Define.
25550         (output_dir): New variable.
25551         (options): Add "output-dir" option.
25552         (parse_opt): Handle 'o' case.
25553         (main): If output_dir is non-NULL use it as a prefix
25554         otherwise use "".
25555         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25557 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25559         [BZ #10060, #10062]
25560         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25561         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25562         fail configure if __sync_val_compare_and_swap is not inlined.
25563         * sysdeps/i386/configure: Regenerate.
25564         * configure.in: Build for i686 when configured for i386.
25565         * configure: Regenerate.
25566         * README: Remove i386 reference.
25568 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25570         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25573 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25575         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25576         (lmsnanval): New variables.
25577         (F): Add conversion tests.
25578         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25579         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25581         * stdio-common/tstdiomisc.c (F): Properly collect individual
25582         tests' results.
25584         [BZ #14686, #15336]
25585         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25586         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25587         Instead, use input NaN values or generate a qNaN by arithmetic
25588         operation.  Also fix bugs to comply with the standard.
25589         * math/libm-test.inc (remainder_test): Add more tests.
25591         [BZ #15335, #15342]
25592         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25594         input NaN values or generate a qNaN by arithmetic operation.
25596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25597         unreachable code.
25599         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25600         definitions.
25602 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25604         [BZ #14478]
25605         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25606         underflowed result.
25607         * math/s_cexpf.c (__cexpf): Likewise.
25608         * math/s_cexpl.c (__cexpl): Likewise.
25609         * math/libm-test.inc (cexp_test): Add more tests.
25611 2013-04-03  Andreas Schwab  <schwab@suse.de>
25613         [BZ #15330]
25614         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25615         order arrays from heap if bigger than alloca cutoff.
25617 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25619         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25620         (SNAN_TESTS_double): Refer to GCC PR56831.
25621         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25622         GCC PR56828.
25624 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25626         * Rules (bench): Move bench.out after the run is complete.
25628         * Rules (bench): Echo currently running benchmark.
25630         * benchtests/Makefile (bench): Add atan and slowatan.
25631         * benchtests/atan-inputs: New file.
25632         * benchtests/slowatan-inputs: New file.
25633         * benchtests/slowatan.c: New file.
25635         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25636         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25637         its value.
25639         [BZ #15305]
25640         * sysdeps/unix/sysv/linux/kernel-features.h
25641         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25642         __ASSUME_XFS_RESTRICTED_CHOWN.
25643         * sysdeps/unix/sysv/linux/pathconf.c
25644         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25645         Save and restore errno.
25647 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25649         [BZ #15327]
25650         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25651         arguments using __kernel_casinh.
25652         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25653         arguments using __kernel_casinhf.
25654         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25655         arguments using __kernel_casinhl.
25656         * math/libm-test.inc (cacosh_test): Add more tests.
25657         * sysdeps/i386/fpu/libm-test-ulps: Update.
25658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25660 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25662         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25665         * bench/Makefile (bench): Add sin and slowsin.
25666         * benchtests/sin-inputs: New file.
25667         * benchtests/slowsin-inputs: New file.
25668         * benchtests/slowsin.c: New file.
25670         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25671         (bench): Add slowexp and slowpow.
25672         (exp-ITER): Increase iterations.
25673         (pow-ITER): Likewise.
25674         * benchtests/exp-inputs: Change input.
25675         * benchtests/pow-inputs: Likewise.
25676         * benchtests/slowexp-inputs: New file.
25677         * benchtests/slowexp.c: New file.
25678         * benchtests/slowpow-inputs: New file.
25679         * benchtests/slowpow.c: New file.
25681 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25683         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25684         instructions.
25685         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25686         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25687         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25688         * benchtests/Makefile: Add rint benchtest.
25689         * benchtests/rint-inputs: Input for rint benchtest.
25691 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25693         * Versions.def (libm): Add GLIBC_2.18.
25694         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25695         hidden libm prototypes.
25696         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25697         * math/Makefile (libm-calls): Add s_issignaling.
25698         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25699         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25700         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25701         declaration.
25702         * math/math.h [__USE_GNU] (issignaling): New macro.
25703         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25704         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25705         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25706         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25707         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25708         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25709         * manual/arith.texi (issignaling): New section.
25710         * manual/libm-err-tab.pl (@all_functions): Update comment.
25711         * math/gen-libm-test.pl (parse_args): Apply special handling for
25712         issignaling.
25713         * math/libm-test.inc (print_float, issignaling_test): New
25714         functions.
25715         (check_float_internal): Add issignaling checks.
25716         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25717         default definition.
25718         * sysdeps/powerpc/math-tests.h: New file.
25719         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25720         tests.
25721         * math/test-snan.c (TEST_FUNC): Likewise.
25723 2013-03-30  David S. Miller  <davem@davemloft.net>
25725         * po/de.po: Update from translation team.
25727 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25729         [BZ #10357]
25730         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25731         imaginary part less than 1.0 and real part less than 0.5
25732         specially.
25733         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25734         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25735         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25736         (cacos_test): Add more tests.
25737         (casin_test): Likewise.
25738         (casinh_test): Likewise.
25739         * sysdeps/i386/fpu/libm-test-ulps: Update.
25740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25742 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25744         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25745         ONE with its value.
25747         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25748         (__pow_mp): Replace ONE and MONE with their values.
25749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25750         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25751         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25752         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25753         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25754         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25756         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25758         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25759         (__pow_mp): Replace ZERO and MZERO with their values.
25760         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25761         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25762         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25763         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25764         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25765         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25766         (__sqr): Likewise.
25768         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25770         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25772 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25774         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25775         Declare with __attribute__ ((weak)).
25776         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25777         Call __call_tls_dtors only if it's not NULL.
25779 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25781         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25782         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25783         magic __ehdr_start linker symbol if it's defined.
25784         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25785         them up here if it was already done.
25787         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25788         (_dl_aux_init): Use const in cast when setting it.
25789         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25790         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25791         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25793         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25794         Declare them here.
25795         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25796         * csu/libc-tls.c: Nor here.
25797         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25799         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25800         (__libc_message): Never call vsyslog.
25802 2013-03-28  Alan Modra  <amodra@gmail.com>
25804         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25805         Define as empty.
25806         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25807         Likewise.
25809 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25811         [BZ #15214]
25812         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25813         underflow.
25814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25816 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25818         [BZ #15304]
25819         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25820         Don't add gid passed as argument.
25822         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25824 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25826         [BZ #15307]
25827         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25828         imaginary part between 1.0 and 1.5 and real part less than 0.5
25829         specially.
25830         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25831         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25832         * math/libm-test.inc (cacos_test): Add more tests.
25833         (casin_test): Likewise.
25834         (casinh_test): Likewise.
25835         * sysdeps/i386/fpu/libm-test-ulps: Update.
25836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25838 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25840         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25841         constants.
25842         (norm): Likewise.
25843         (denorm): Likewise.
25844         (__dbl_mp): Likewise.
25845         (add_magnitudes): Likewise.
25846         (sub_magnitudes): Likewise.
25847         (__add): Likewise.
25848         (__sub): Likewise.
25849         (__mul): Likewise.
25850         (__sqr): Likewise.
25851         (__inv): Likewise.
25852         (__dvd): Likewise.
25854         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25855         commented code.
25856         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25857         (__dubcos): Likewise.
25858         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25859         (__ieee754_acos): Likewise.
25860         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25861         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25862         (__exp1): Likewise.
25863         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25865         (log1): Likewise.
25866         (my_log2): Likewise.
25867         (checkint): Likewise.
25868         * sysdeps/ieee754/dbl-64/e_remainder.c
25869         (__ieee754_remainder): Likewise.
25870         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25872         (bsloww): Likewise.
25873         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25875         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25876         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25877         MANTISSA_STORE_T to store computations on mantissa.  Use
25878         macros for rounding and division.
25879         (denorm): Likewise.
25880         (__dbl_mp): Likewise.
25881         (add_magnitudes): Likewise.
25882         (sub_magnitudes): Likewise.
25883         (__mul): Likewise.
25884         (__sqr): Likewise.
25885         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25886         powers of two in terms of TWOPOW macro.
25887         (mp_no): Make type of mantissa as MANTISSA_T.
25888         [!RADIXI]: Define RADIXI.
25889         [!TWO52]: Define TWO52.
25890         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25892 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25894         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25895         llroundl symbol when building for PPC32.
25897 2013-03-24  Mark H Weaver  <mhw@netris.org>
25899         * manual/arith.texi (Normalization Functions): Fix prototypes for
25900         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25902 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25904         [BZ #13889]
25905         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25906         high value to check if expl overflow.
25907         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25908         to check for underflow and overflow.
25909         * math/libm-test.inc: Add exp test.
25911 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25913         [BZ #11120]
25914         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25915         with NOT_IN_libc.
25917 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25919         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25920         symbol.
25922 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25924         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25925         wrap blocks consisting of several statements.
25927         * sysdeps/generic/math-tests.h: New file.
25928         * sysdeps/i386/fpu/math-tests.h: Likewise.
25929         * math/test-snan.c: Include it.
25930         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25932 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25934         [BZ #15285]
25935         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25936         (__ieee754_j0l): Do not improve calculations using cos of twice
25937         input for inputs above LDBL_MAX / 2.0L.
25938         (__ieee754_y0l): Likewise.
25939         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25940         (__ieee754_j1l): Do not improve calculations using cos of twice
25941         input for inputs above LDBL_MAX / 2.0L.
25942         (__ieee754_y1l): Likewise.
25943         * math/libm-test.inc (j0_test): Add another test.
25944         (j1_test): Likewise.
25945         (y0_test): Likewise.
25946         (y1_test): Likewise.
25947         * sysdeps/i386/fpu/libm-test-ulps: Update.
25949 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25951         * Rules ($(objpfx)bench-%.c): Include code from a C source
25952         file.
25954 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25956         [BZ #15287]
25957         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25958         imaginary part 1.0 and real part less than 0.5 specially.
25959         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25960         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25961         * math/libm-test.inc (cacos_test): Add more tests.
25962         (casin_test): Likewise.
25963         (casinh_test): Likewise.
25964         * sysdeps/i386/fpu/libm-test-ulps: Update.
25965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25967 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25969         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25970         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25972 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25974         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25975         * config.make.in (config-cflags-sse4): Remove variable.
25976         (config-cflags-avx): Likewise.
25977         (config-cflags-sse2avx): Likewise.
25978         (config-cflags-novzeroupper): Likewise.
25979         (config-asflags-i686): Likewise.
25980         (have-mfma4): Likewise.
25981         (have-as-vis3): Likewise.
25982         (MIG): Likewise.
25983         * configure.in (MIG): Do not AC_SUBST.
25984         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25985         (libc_cv_cc_sse4): Do not AC_SUBST.
25986         (libc_cv_cc_avx): Likewise.
25987         (libc_cv_cc_sse2avx): Likewise.
25988         (libc_cv_cc_novzeroupper): Likewise.
25989         (libc_cv_cc_fma4): Likewise.
25990         (libc_cv_as_i686): Likewise.
25991         (libc_cv_sparc_as_vis3): Likewise.
25992         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25993         LIBC_CONFIG_VAR.
25994         (config-asflags-i686): Likewise.
25995         (config-cflags-avx): Likewise.
25996         (config-cflags-sse2avx): Likewise.
25997         (have-mfma4): Likewise.
25998         (config-cflags-novzeroupper): Likewise.
25999         * sysdeps/mach/configure.in (MIG): Likewise.
26000         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26001         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26002         LIBC_CONFIG_VAR.
26003         (config-cflags-avx): Likewise.
26004         (config-cflags-sse2avx): Likewise.
26005         (have-mfma4): Likewise.
26006         (config-cflags-novzeroupper): Likewise.
26007         * configure: Regenerated.
26008         * sysdeps/i386/configure: Likewise.
26009         * sysdeps/mach/configure: Likewise.
26010         * sysdeps/sparc/configure: Likewise.
26011         * sysdeps/x86_64/configure: Likewise.
26013 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26015         [BZ #14812]
26016         * locale/programs/localedef.c (options): Put N_ translation marker
26017         on argument names, not just descriptions.
26019 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26021         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26023 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26025         [BZ #14176]
26026         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26028 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26030         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26031         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26032         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26033         [!BEFORE_ABORT] (before_abort): New function.
26034         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26035         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26036         (writev_for_fatal): New function.
26037         (WRITEV_FOR_FATAL): New macro; call that.
26038         (backtrace_and_maps): New function.
26039         (BEFORE_ABORT): New macro; call that.
26040         (struct str_list): Type removed.
26041         (__libc_message, __libc_fatal): Functions removed.
26042         Include <sysdeps/posix/libc_fatal.c> instead.
26044 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26046         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26047         constants.
26048         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26049         double constants.
26051 2013-03-19  Andreas Schwab  <schwab@suse.de>
26053         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26054         * sysdeps/gnu/configure: Regenerate.
26056         * configure.in: Substitute libc_cv_rtlddir.
26057         * configure: Regenerate.
26058         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26059         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26060         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26061         * elf/Makefile (install-others, CFLAGS-interp.c)
26062         (ldso_install, common-ldd-rewrite): Likewise.
26063         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26064         $(inst_slibdir)/$(rtld-installed-name).
26065         * scripts/rellns-sh: Add -p option.
26066         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26067         for source.
26069 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26071         * manual/nptl.texi: Renamed to ...
26072         * manual/threads.texi: ... this.
26073         * manual/Makefile (chapters): Update.
26075 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26077         [BZ #14812]
26078         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26079         on argument names, not just descriptions.
26080         * malloc/memusagestat.c (options): Likewise.
26081         * nss/getent.c (options): Likewise.
26083 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26085         [BZ #14812]
26086         * iconv/iconv_prog.c (options): Put N_ translation marker
26087         on argument names, not just descriptions.
26088         * iconv/iconvconfig.c (options): Likewise.
26090 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26092         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26093         implementation which is faster on all x86_64 architectures.
26094         Tested on AMD, Intel Nehalem, SNB, IVB.
26095         * sysdeps/x86_64/strnlen.S: Likewise.
26097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26098         Remove all multiarch strlen and strnlen versions.
26099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26100         Remove strlen and strnlen related parts.
26102         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26103         Inline strlen part.
26104         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26106         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26107         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26108         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26109         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26110         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26111         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26113 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26115         * manual/memory.texi (Malloc Tunable Parameters):
26116         Sort parameters alphabetically. Add comments for missing entries.
26118 2013-03-17  David S. Miller  <davem@davemloft.net>
26120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26122 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26124         [BZ #15283]
26125         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26126         for arguments at most half maximum finite value.
26127         * math/libm-test.inc (j0_test): Add more tests.
26128         (j1_test): Likewise.
26129         (y0_test): Likewise.
26130         (y1_test): Likewise.
26131         * sysdeps/i386/fpu/libm-test-ulps: Update.
26132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26134         [BZ #14155]
26135         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26136         1 / x and functions P and Q for arguments above 0x1p256L.
26137         (__ieee754_y0l): Likewise.
26138         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26139         (__ieee754_y1l): Likewise.
26140         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26141         (j1_test): Likewise.
26142         (y0_test): Likewise.
26143         (y1_test): Likewise.
26145 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26147         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26148         variable.
26150 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26152         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26153         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26154         zero since it's initialized to EXEC_PAGESIZE.
26156         * sysdeps/unix/sysv/linux/ldsodefs.h
26157         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26158         * sysdeps/generic/ldsodefs.h: ... here.
26160 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26162         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26164         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26165         math/test-snan.c.
26166         * math/test-snan.c: Renamed from
26167         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26168         * math/Makefile (tests): Add test-snan.
26169         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26170         test-powerpc-snan.
26172         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26173         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26174         functions.
26175         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26176         __builtin_nan family of functions.
26177         * math/libm-test.inc (initialize): Initialize qnan_value with
26178         __builtin_nan family of functions.
26179         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26180         Remove variables.
26181         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26182         Remove functions.
26183         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26184         storage class.  Initialize qNaN_var and sNaN_var with
26185         __builtin_nan and __builtin_nans families of functions,
26186         respectively.
26188         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26189         (sqrt_test): Remove duplicate test with qNaN input.
26190         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26191         (round_test, signbit_test, significand_test): Note missing +/-Inf
26192         as well as qNaN tests.
26194         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26195         qNaN_var.  Fix a few strings, too.
26196         * math/libm-test.inc (nan_value): Rename to qnan_value.
26197         * math/gen-libm-test.pl (%beautify): Adjust to that.
26198         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26199         * math/test-misc.c (main): Likewise.
26200         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26201         to __qnan_bytes, and __qnan_union, respectively.
26202         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26203         Likewise.
26204         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26205         and lqnanval, respectively.
26206         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26207         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26208         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26209         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26211         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26212         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26213         doubles.
26215         * math/test-misc.c (main): Fix copy'n'pastos.
26216         * misc/tst-efgcvt.c (special): Likewise.
26218         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26219         Remove declarations.
26221 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26223         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26224         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26225         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26226         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26228 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26230         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26231         macro to return vdso values correctly in IFUNC implementations.
26232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26233         Optimization by using IFUNC.
26235 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26236             Richard Henderson  <rth@redhat.com>
26237             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26239         * Makefile.in (bench): New target.
26240         * NEWS: Mention the benchmark framework.
26241         * Rules (bench): Likewise.
26242         (binaries-bench): Generate binaries for functions to
26243         benchmark.
26244         * benchtests/Makefile: New makefile for benchmark tests.
26245         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26246         programs.
26247         * benchtests/exp-inputs: New input file for EXP function.
26248         * benchtests/pow-inputs: New input file for POW function.
26249         * scripts/bench.pl: New script to generate source files for
26250         benchmark programs.
26252 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26254         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26255         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26256         computations on mantissa.  Use macros for rounding and
26257         division.
26258         (denorm): Likewise.
26259         (__dbl_mp): Likewise.
26260         (add_magnitudes): Likewise.
26261         (sub_magnitudes): Likewise.
26262         (__mul): Likewise.
26263         (__sqr): Likewise.
26264         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26265         powers of two in terms of TWOPOW macro.
26266         (mp_no): Make type of mantissa as MANTISSA_T.
26267         [!RADIXI]: Define RADIXI.
26268         [!TWO52]: Define TWO52.
26269         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26271         * manual/nptl.texi (cindex): Modify threads to pthreads.
26273 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26275         * sysdeps/x86_64/preconfigure: Regenerated.
26277 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26279         [BZ #14155]
26280         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26281         0x1p28 and above.
26282         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26283         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26284         0x1p28 and above.
26285         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26286         * math/libm-test.inc (j0_test): Do not allow one spurious
26287         underflow exception.
26288         (y1_test): Likewise.
26290 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26292         * manual/Makefile (chapters): Add nptl.
26293         * manual/debug.texi (Debugging Support): Add link to Threads
26294         chapter.
26295         * manual/nptl.texi: New file.
26297         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26299 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26301         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26302         for non-NULL pointer before the memory validity test. Pointed
26303         out by Holger Brunck <holger.brunck@keymile.com>.
26305 2013-03-13  Andreas Schwab  <schwab@suse.de>
26307         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26308         instead of .os.
26310 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26312         * timezone/zic.c: Update from tzcode 2013b.
26314 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26316         * manual/install.texi (Configuring and compiling):
26317         Mention i686 and i586.
26318         * INSTALL: Regenerate.
26320 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26322         * sysdeps/init_array/elf-init.c: New file.
26323         * csu/elf-init.c
26324         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26325         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26327         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26328         __gmon_start__ as global, but as static with a .preinit_array pointer.
26329         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26330         * sysdeps/init_array/crti.S: New file, empty except for comments.
26331         * sysdeps/init_array/crtn.S: Likewise.
26333 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26335         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26336         definining bcopy.
26337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26338         Remove Prefer_SSE_for_memop.
26339         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26340         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26341         HAS_PREFER_SSE_FOR_MEMOP.
26342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26343         memset-x86-64.
26344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26345         Remove bzero, memset ifunc support.
26346         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26347         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26348         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26349         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26351 2013-03-11  Andreas Schwab  <schwab@suse.de>
26353         [BZ #15234]
26354         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26355         by SHLIB_COMPAT.
26356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26357         (GLIBC_2.16): Remove pthread_atfork.
26359 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26361         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26362         (ptestcases.h): Likewise.
26364 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26366         * Makeconfig ($(common-objpfx)config.status): Depend on
26367         sysdeps/*/preconfigure{,.in} too.
26369 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26371         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26372         (__free_hook): Use void * instead of __malloc_ptr_t.
26373         (__malloc_hook): Likewise.
26374         (__realloc_hook): Likewise.
26375         (__memalign_hook): Likewise.
26376         (__after_morecore_hook): Likewise.
26377         * malloc/arena.c (save_malloc_hook): Likewise.
26378         (save_free_hook): Likewise.
26379         * malloc/hooks.c (malloc_hook_ini): Likewise.
26380         (realloc_hook_ini): Likewise.
26381         (memalign_hook_ini): Likewise.
26382         * malloc/malloc.c (malloc_hook_ini): Likewise.
26383         (realloc_hook_ini): Likewise.
26384         (memalign_hook_ini): Likewise.
26385         (__free_hook): Likewise.
26386         (__malloc_hook): Likewise.
26387         (__realloc_hook): Likewise.
26388         (__memalign_hook): Likewise.
26389         (__libc_malloc): Likewise.
26390         (__libc_free): Likewise.
26391         (__libc_realloc): Likewise.
26392         (__libc_memalign): Likewise.
26393         (__libc_valloc): Likewise.
26394         (__libc_pvalloc): Likewise.
26395         (__libc_calloc): Likewise.
26396         (__posix_memalign): Likewise.
26397         * malloc/morecore.c (__sbrk): Likewise.
26398         (__default_morecore): Likewise.
26400         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26402         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26403         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26404         __malloc_ptrdiff_t.
26406         * malloc/malloc.h (__malloc_size_t): Remove macro.
26407         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26408         __malloc_size_t.
26409         (old_memalign_hook): Likewise.
26410         (old_realloc_hook): Likewise.
26411         (struct hdr): Likewise.
26412         (flood): Likewise.
26413         (mallochook): Likewise.
26414         (memalignhook): Likewise.
26415         (reallochook): Likewise.
26416         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26417         (tr_old_realloc_hook): Likewise.
26418         (tr_old_memalign_hook): Likewise.
26419         (tr_mallochook): Likewise.
26420         (tr_reallochook): Likewise.
26421         (tr_memalignhook): Likewise.
26423 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26425         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26426         default_ldbl_pack and using as default implementation.
26427         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26428         implementation.
26429         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26430         redundant definition.
26431         (ldbl_insert_mantissa): Likewise.
26432         (ldbl_canonicalize): Likewise.
26433         (ldbl_nearbyint): Likewise.
26434         (ldbl_pack): Rename to ldbl_pack_ppc.
26435         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26436         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26437         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26439 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26442         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26443         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26444         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26446         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26447         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26448         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26450 2013-03-07  Andreas Jaeger  <aj@suse.de>
26452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26453         bits/mman-linux.h.
26455 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26457         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26458         Include mpa.h and declare __MPEXP.
26459         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26460         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26461         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26462         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26463         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26464         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26465         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26467         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26468         (__slowpow): Use long double EXPL and LOGL functions to
26469         compute POW.
26470         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26471         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26472         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26473         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26474         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26475         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26478         intermediate variable to calculate exponent.
26479         (__sqr): Likewise.
26480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26481         Likewise.
26482         (__sqr): Likewise.
26484         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26485         [!NO__SQR]: Define __sqr.
26486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26487         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26488         sysdeps/ieee754/dbl-64/mpa.c.
26489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26491         [BZ #12723]
26492         * posix/Makefile (tests): Add tst-pathconf.
26493         * posix/tst-pathconf.c: New test case.
26494         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26495         _PC_PIPE_BUF.
26496         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26498 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26500         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26502 2013-03-06  Andreas Jaeger  <aj@suse.de>
26504         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26505         definition via __MAP_ANONYMOUS.
26507         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26508         it's not part of Linux headers.
26510         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26511         (MAP_HUGE_MASK): Define.
26513         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26514         Define.
26515         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26516         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26517         Define.
26518         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26519         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26520         Define.
26521         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26523         Define.
26524         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26526         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26527         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26528         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26529         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26530         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26531         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26533         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26534         Handle f2fs.
26536         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26537         Handle f2fs and efivarfs.
26539         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26540         f2fs.
26542         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26543         (EFIVARFS_MAGIC): Add.
26544         (F2FS_LINK_MAX): Add.
26546 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26548         * stdio-common/vfprintf.c: Replace __builtin_expect with
26549         __glibc_unlikely.
26551 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
26553         [BZ #13550]
26554         * sysdeps/generic/bp-sym.h: Remove file.
26555         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26556         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26557         <bp-sym.h> and <bp-asm.h>.
26558         (__longjmp): Don't use BP_SYM.
26559         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26560         and <bp-asm.h>.
26561         (memcpy): Don't use BP_SYM.
26562         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26563         <bp-sym.h> and <bp-asm.h>.
26564         (memcpy): Don't use BP_SYM.
26565         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26566         <bp-asm.h>.
26567         (memcpy): Don't use BP_SYM.
26568         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26569         <bp-asm.h>.
26570         (memset): Don't use BP_SYM.
26571         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26572         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26573         (__bzero): Don't use BP_SYM.
26574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26576         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26577         <bp-sym.h> and <bp-asm.h>.
26578         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26579         pointers.
26580         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26581         <bp-sym.h> and <bp-asm.h>.
26582         (memcpy): Don't use BP_SYM.
26583         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26584         <bp-sym.h> and <bp-asm.h>.
26585         (memset): Don't use BP_SYM.
26586         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26587         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26588         (__bzero): Don't use BP_SYM.
26589         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26590         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26591         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26592         <bp-sym.h> and <bp-asm.h>.
26593         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26594         pointers.
26595         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26596         <bp-sym.h> and <bp-asm.h>.
26597         (memcpy): Don't use BP_SYM.
26598         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26599         <bp-sym.h> and <bp-asm.h>.
26600         (memset): Don't use BP_SYM.
26601         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26602         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26603         (__bzero): Don't use BP_SYM.
26604         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26605         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26606         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26607         <bp-sym.h> and <bp-asm.h>.
26608         (__memchr): Don't use BP_SYM.
26609         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26610         <bp-sym.h> and <bp-asm.h>.
26611         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26612         pointers.
26613         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26614         <bp-sym.h> and <bp-asm.h>.
26615         (memcpy): Don't use BP_SYM.
26616         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26617         <bp-sym.h> and <bp-asm.h>.
26618         (__mempcpy): Don't use BP_SYM.
26619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26620         <bp-sym.h> and <bp-asm.h>.
26621         (__memrchr): Don't use BP_SYM.
26622         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26623         <bp-sym.h> and <bp-asm.h>.
26624         (memset): Don't use BP_SYM.
26625         (__bzero): Likewise.
26626         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26627         <bp-sym.h> and <bp-asm.h>.
26628         (__rawmemchr): Don't use BP_SYM.
26629         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26630         <bp-sym.h> and <bp-asm.h>.
26631         (__STRCMP): Don't use BP_SYM.
26632         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26633         <bp-sym.h> and <bp-asm.h>.
26634         (strchr): Don't use BP_SYM.
26635         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26636         <bp-sym.h> and <bp-asm.h>.
26637         (__strchrnul): Don't use BP_SYM.
26638         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26639         <bp-sym.h> and <bp-asm.h>.
26640         (strlen): Don't use BP_SYM.
26641         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26642         <bp-sym.h> and <bp-asm.h>.
26643         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26644         pointers.
26645         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26646         <bp-sym.h> and <bp-asm.h>.
26647         (__strnlen): Don't use BP_SYM.
26648         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26649         <bp-sym.h> and <bp-asm.h>.
26650         (__GI__setjmp): Don't use BP_SYM.
26651         (_setjmp): Likewise.
26652         (__sigsetjmp): Likewise.
26653         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26654         (L(start_addresses)): Don't use BP_SYM.
26655         (_start): Likewise.
26656         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26657         <bp-asm.h>.
26658         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26659         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26660         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26661         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26662         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26663         <bp-asm.h>.
26664         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26665         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26666         about bounded pointers.
26667         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26668         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26669         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26670         <bp-asm.h>.
26671         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26672         about bounded pointers.  Remove GKM FIXME comments.
26673         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26674         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26675         <bp-asm.h>.
26676         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26677         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26678         Remove GKM FIXME comments.
26679         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26680         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26681         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26682         <bp-asm.h>.
26683         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26684         about bounded pointers.  Remove GKM FIXME comment.
26685         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26686         and <bp-asm.h>.
26687         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26688         pointers.
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26690         <bp-sym.h> and <bp-asm.h>.
26691         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26693         <bp-sym.h> and <bp-asm.h>.
26694         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26695         comment.
26697 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26699         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26700         call free(NULL).
26702 2013-03-05  David S. Miller  <davem@davemloft.net>
26704         * po/es.po: Update from translation team.
26706 2013-03-05  Andreas Jaeger  <aj@suse.de>
26708         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26709         <bits/mman-linux.h>.
26710         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26711         is fine.
26712         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26713         <bits/mman-linux.h> to end of file.
26714         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26715         is fine.
26716         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26717         <bits/mman-linux.h> to end of file.
26718         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26719         is fine.
26720         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26721         <bits/mman-linux.h> to end of file.
26723         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26724         (MCL_CURRENT, MCL_FUTURE): Define here.
26726 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26728         [BZ #15232]
26729         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26730         attribute_hidden.
26731         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26733 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26735         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26736         fourth parameter needed for rt_sigprocmask syscall.
26737         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26738         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26739         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26740         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26741         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26742         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26744 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26746         [BZ #13550]
26747         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26748         comment about bounded pointers.
26749         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26750         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26752 2013-03-04  Andreas Jaeger  <aj@suse.de>
26754         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26755         common definitions.
26757         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26758         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26759         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26760         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26761         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26764 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26766         [BZ #15055]
26767         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26768         __ieee754_sqrl instead of __sqrl.
26770 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26772         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26773         * sysdeps/powerpc/fpu_control.h: ... here.
26774         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26775         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26776         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26777         * sysdeps/powerpc/bits/mathinline.h: ... here.
26779 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26781         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26782         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26783         to just [NEED_DL_SYSINFO_DSO].
26784         * elf/dl-support.c: Likewise.
26785         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26786         * elf/rtld.c (dl_main): Likewise.
26787         * elf/setup-vdso.h (setup_vdso): Likewise.
26788         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26789         * sysdeps/unix/sysv/linux/dl-sysdep.c
26790         (_dl_discover_osversion): Likewise.
26792 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26794         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26795         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26797 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26799         * NEWS: Mention libm performance improvements and non-x86 PI
26800         futex support.
26802         * csu/libc-start.c (__pthread_initialize_minimal): Change
26803         function arguments.
26804         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26806 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26808         [BZ #13550]
26809         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26810         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26811         <bp-sym.h> and <bp-asm.h>.
26812         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26813         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26814         and <bp-asm.h>.
26815         (memcpy): Don't use BP_SYM.
26816         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26817         <bp-asm.h>.
26818         (__mpn_add_n): Don't use BP_SYM.
26819         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26820         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26821         and <bp-asm.h>.
26822         (__mpn_addmul_1): Don't use BP_SYM.
26823         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26824         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26825         <bp-sym.h>.
26826         (_setjmp): Don't use BP_SYM.
26827         (__novmx_setjmp): Likewise.
26828         (__GI__setjmp): Likewise.
26829         (__vmx_setjmp): Likewise.
26830         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26831         <bp-sym.h>.
26832         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26833         (__bzero): Don't use BP_SYM.
26834         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26835         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26836         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26837         <bp-sym.h> and <bp-asm.h>.
26838         (memcpy): Don't use BP_SYM.
26839         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26840         <bp-sym.h> and <bp-asm.h>.
26841         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26842         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26843         <bp-sym.h> and <bp-asm.h>.
26844         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26845         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26846         <bp-asm.h>.
26847         (__mpn_lshift): Don't use BP_SYM.
26848         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26849         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26850         <bp-asm.h>.
26851         (memset): Don't use BP_SYM.
26852         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26853         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26854         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26855         <bp-asm.h>.
26856         (__mpn_mul_1): Don't use BP_SYM.
26857         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26858         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26859         <bp-sym.h> and <bp-asm.h>.
26860         (memcmp): Don't use BP_SYM.
26861         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26862         <bp-sym.h> and <bp-asm.h>.
26863         (memcpy): Don't use BP_SYM.
26864         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26865         <bp-sym.h> and <bp-asm.h>.
26866         (memset): Don't use BP_SYM.
26867         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26868         <bp-sym.h> and <bp-asm.h>.
26869         (strncmp): Don't use BP_SYM.
26870         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26871         <bp-sym.h> and <bp-asm.h>.
26872         (memcpy): Don't use BP_SYM.
26873         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26874         <bp-sym.h> and <bp-asm.h>.
26875         (memset): Don't use BP_SYM.
26876         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26877         <bp-sym.h> and <bp-asm.h>.
26878         (__memchr): Don't use BP_SYM.
26879         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26880         <bp-sym.h> and <bp-asm.h>.
26881         (memcmp): Don't use BP_SYM.
26882         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26883         <bp-sym.h> and <bp-asm.h>.
26884         (memcpy): Don't use BP_SYM.
26885         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26886         <bp-sym.h> and <bp-asm.h>.
26887         (__mempcpy): Don't use BP_SYM.
26888         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26889         <bp-sym.h> and <bp-asm.h>.
26890         (__memrchr): Don't use BP_SYM.
26891         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26892         <bp-sym.h> and <bp-asm.h>.
26893         (memset): Don't use BP_SYM.
26894         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26895         <bp-sym.h> and <bp-asm.h>.
26896         (__rawmemchr): Don't use BP_SYM.
26897         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26898         <bp-sym.h> and <bp-asm.h>.
26899         (__STRCMP): Don't use BP_SYM.
26900         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26901         <bp-sym.h> and <bp-asm.h>.
26902         (strchr): Don't use BP_SYM.
26903         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26904         <bp-sym.h> and <bp-asm.h>.
26905         (__strchrnul): Don't use BP_SYM.
26906         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26907         <bp-sym.h> and <bp-asm.h>.
26908         (strlen): Don't use BP_SYM.
26909         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26910         <bp-sym.h> and <bp-asm.h>.
26911         (strncmp): Don't use BP_SYM.
26912         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26913         <bp-sym.h> and <bp-asm.h>.
26914         (__strnlen): Don't use BP_SYM.
26915         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26916         <bp-asm.h>.
26917         (__mpn_rshift): Don't use BP_SYM.
26918         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26919         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26920         <bp-sym.h> and <bp-asm.h>.
26921         (__sigsetjmp): Don't use BP_SYM.
26922         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26923         (L(start_addresses)): Don't use BP_SYM.
26924         (_start): Likewise.
26925         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26926         <bp-asm.h>.
26927         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26928         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26929         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26930         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26931         <bp-asm.h>.
26932         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26933         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26934         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26935         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26936         <bp-asm.h>.
26937         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26938         comments.
26939         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26940         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26941         <bp-asm.h>.
26942         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26943         FIXME comments.
26944         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26945         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26946         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26947         <bp-asm.h>.
26948         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26949         comment.
26950         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26951         and <bp-asm.h>.
26952         (strncmp): Don't use BP_SYM,
26953         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26954         <bp-asm.h>.
26955         (__mpn_sub_n): Don't use BP_SYM.
26956         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26957         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26958         and <bp-asm.h>.
26959         (__mpn_submul_1): Don't use BP_SYM.
26960         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26962         <bp-sym.h> and <bp-asm.h>.
26963         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26965         <bp-sym.h> and <bp-asm.h>.
26966         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26967         comment.
26969 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26972         Use ZK to minimize writes to Z.
26973         (sub_magnitudes): Simplify code a bit.
26974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26975         Use ZK to minimize writes to Z.
26976         (sub_magnitudes): Simplify code a bit.
26978 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26980         * csu/gmon-start.c: Add special exception to license text.
26982 2013-02-27  Richard Henderson  <rth@redhat.com>
26984         * scripts/config.guess: Update from config.git.
26985         * scripts/config.sub: Likewise.
26987 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26989         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26991         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26993         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26995         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26997         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26999 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27001         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27002         [$(build-shared = yes].
27004 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27006         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27007         (__mul): Reduce iterations for calculating mantissa.
27009         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27010         MPTWO.
27011         (__mpranred): Likewise.
27013         [BZ #15160]
27014         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27015         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27017 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27019         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27020         Define __attribute__.
27022 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27024         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27025         unused.
27026         * posix/regex_internal.h (__attribute): Remove.
27027         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27028         (re_string_context_at): Likewise.
27029         (bitset_not): Use __attribute__ and mark function as possibly
27030         unused.
27031         (bitset_merge): Likewise.
27032         (bitset_mask): Likewise.
27033         (re_string_char_size_at): Likewise.
27034         (re_string_wchar_at): Likewise.
27035         (re_string_elem_size_at): Likewise.
27037 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27039         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27040         code.
27041         (cc32): Likewise.
27043         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27044         (__acr): Likewise.
27045         (__cpy): Likewise.
27046         (norm): Likewise.
27047         (denorm): Likewise.
27048         (__dbl_mp): Likewise.
27049         (add_magnitudes): Likewise.
27050         (sub_magnitudes): Likewise.
27051         (__mul): Likewise.
27052         (__inv): Likewise.
27054         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27055         style.
27057         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27058         style.
27060         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27061         code.
27063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27064         up changes with default code.
27065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27066         Likewise.
27068 2013-02-24  Allan McRae  <allan@archlinux.org>
27070         * manual/socket.texi (The Internet Namespace): Order menu items
27071         to match that in the file.
27073         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27074         node listing of the info page menu.
27076 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27078         [BZ #13550]
27079         * sysdeps/i386/bp-asm.h: Remove file.
27080         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27081         (PARMS): Do not use macros from bp-asm.h.
27082         (S1): Likewise.
27083         (S2): Likewise.
27084         (SIZE): Likewise.
27085         (__mpn_add_n): Do not use BP_SYM
27086         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27087         "bp-asm.h".
27088         (PARMS): Do not use macros from bp-asm.h.
27089         (S1): Likewise.
27090         (SIZE): Likewise.
27091         (__mpn_addmul_1): Do not use BP_SYM
27092         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27093         "bp-asm.h".
27094         (PARMS): Do not use macros from bp-asm.h.
27095         (SIGMSK): Likewise.
27096         (_setjmp): Likewise.  Do not use BP_SYM.
27097         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27098         "bp-asm.h".
27099         (PARMS): Do not use macros from bp-asm.h.
27100         (SIGMSK): Likewise.
27101         (setjmp): Likewise.  Do not use BP_SYM.
27102         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27103         "bp-asm.h".
27104         (PARMS): Do not use macros from bp-asm.h.
27105         (__frexp): Do not use BP_SYM.
27106         (frexp): Likewise.
27107         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27108         "bp-asm.h".
27109         (PARMS): Do not use macros from bp-asm.h.
27110         (__frexpf): Do not use BP_SYM.
27111         (frexpf): Likewise.
27112         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27113         "bp-asm.h".
27114         (PARMS): Do not use macros from bp-asm.h.
27115         (__frexpl): Do not use BP_SYM.
27116         (frexpl): Likewise.
27117         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27118         "bp-asm.h".
27119         (PARMS): Do not use macros from bp-asm.h.
27120         (__remquo): Do not use BP_SYM.
27121         (remquo): Likewise.
27122         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27123         "bp-asm.h".
27124         (PARMS): Do not use macros from bp-asm.h.
27125         (__remquof): Do not use BP_SYM.
27126         (remquof): Likewise.
27127         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27128         "bp-asm.h".
27129         (PARMS): Do not use macros from bp-asm.h.
27130         (__remquol): Do not use BP_SYM.
27131         (remquol): Likewise.
27132         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27133         "bp-asm.h".
27134         (PARMS): Do not use macros from bp-asm.h.
27135         (DEST): Likewise.
27136         (SRC): Likewise.
27137         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27138         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27139         "bp-asm.h".
27140         (PARMS): Do not use macros from bp-asm.h.
27141         (strlen): Do not use BP_SYM.
27142         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27143         "bp-asm.h".
27144         (PARMS): Do not use macros from bp-asm.h.
27145         (S1): Likewise.
27146         (S2): Likewise.
27147         (SIZE): Likewise.
27148         (__mpn_add_n): Do not use BP_SYM.
27149         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27150         "bp-asm.h".
27151         (PARMS): Do not use macros from bp-asm.h.
27152         (S1): Likewise.
27153         (SIZE): Likewise.
27154         (__mpn_addmul_1): Do not use BP_SYM.
27155         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27156         weak_alias.
27157         (bzero): Likewise.
27158         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27159         "bp-asm.h".
27160         (PARMS): Do not use macros from bp-asm.h.
27161         (S): Likewise.
27162         (SIZE): Likewise.
27163         (__mpn_lshift): Do not use BP_SYM.
27164         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27165         "bp-asm.h".
27166         (PARMS): Do not use macros from bp-asm.h.
27167         (DEST): Likewise.
27168         (SRC): Likewise.
27169         (LEN): Likewise.
27170         (memcpy): Likewise.  Do not use BP_SYM.
27171         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27172         libc_hidden_def and weak_alias.
27173         (mempcpy): Do not use BP_SYM in weak_alias.
27174         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27175         "bp-asm.h".
27176         (PARMS): Do not use macros from bp-asm.h.
27177         (DEST): Likewise.
27178         (LEN): Likewise.
27179         [!BZERO_P] (CHR): Likewise.
27180         (memset): Likewise.  Do not use BP_SYM.
27181         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27182         "bp-asm.h".
27183         (PARMS): Do not use macros from bp-asm.h.
27184         (S1): Likewise.
27185         (SIZE): Likewise.
27186         (__mpn_mul_1): Do not use BP_SYM.
27187         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27188         "bp-asm.h".
27189         (PARMS): Do not use macros from bp-asm.h.
27190         (S): Likewise.
27191         (SIZE): Likewise.
27192         (__mpn_rshift): Do not use BP_SYM.
27193         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27194         "bp-asm.h".
27195         (PARMS): Do not use macros from bp-asm.h.
27196         (STR): Likewise.
27197         (CHR): Likewise.
27198         (strchr): Likewise.  Do not use BP_SYM.
27199         (index): Do not use BP_SYM in weak_alias.
27200         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27201         "bp-asm.h".
27202         (PARMS): Do not use macros from bp-asm.h.
27203         (DEST): Likewise.
27204         (SRC): Likewise.
27205         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27206         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27207         "bp-asm.h".
27208         (PARMS): Do not use macros from bp-asm.h.
27209         (strlen): Do not use BP_SYM.
27210         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27211         "bp-asm.h".
27212         (PARMS): Do not use macros from bp-asm.h.
27213         (S1): Likewise.
27214         (S2): Likewise.
27215         (SIZE): Likewise.
27216         (__mpn_sub_n): Do not use BP_SYM.
27217         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27218         "bp-asm.h".
27219         (PARMS): Do not use macros from bp-asm.h.
27220         (S1): Likewise.
27221         (SIZE): Likewise.
27222         (__mpn_submul_1): Do not use BP_SYM.
27223         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27224         "bp-asm.h".
27225         (PARMS): Do not use macros from bp-asm.h.
27226         (S1): Likewise.
27227         (S2): Likewise.
27228         (SIZE): Likewise.
27229         (__mpn_add_n): Do not use BP_SYM.
27230         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27231         weak_alias.
27232         (bzero): Likewise.
27233         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27234         "bp-asm.h".
27235         (PARMS): Do not use macros from bp-asm.h.
27236         (BLK2): Likewise.
27237         (LEN): Likewise.
27238         (memcmp): Do not use BP_SYM.
27239         (bcmp): Do not use BP_SYM in weak_alias.
27240         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27241         "bp-asm.h".
27242         (PARMS): Do not use macros from bp-asm.h.
27243         (DEST): Likewise.
27244         (SRC): Likewise.
27245         (LEN): Likewise.
27246         (memcpy): Likewise.  Do not use BP_SYM.
27247         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27248         "bp-asm.h".
27249         (PARMS): Do not use macros from bp-asm.h.
27250         (DEST): Likewise.
27251         (SRC): Likewise.
27252         (LEN): Likewise.
27253         (memmove): Likewise.  Do not use BP_SYM.
27254         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27255         "bp-asm.h".
27256         (PARMS): Do not use macros from bp-asm.h.
27257         (DEST): Likewise.
27258         (SRC): Likewise.
27259         (LEN): Likewise.
27260         (__mempcpy): Likewise.  Do not use BP_SYM.
27261         (mempcpy): Do not use BP_SYM in weak_alias.
27262         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27263         "bp-asm.h".
27264         (PARMS): Do not use macros from bp-asm.h.
27265         (DEST): Likewise.
27266         (LEN): Likewise.
27267         [!BZERO_P] (CHR): Likewise.
27268         (memset): Likewise.  Do not use BP_SYM.
27269         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27270         "bp-asm.h".
27271         (PARMS): Do not use macros from bp-asm.h.
27272         (STR2): Likewise.
27273         (strcmp): Do not use BP_SYM.
27274         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27275         "bp-asm.h".
27276         (PARMS): Do not use macros from bp-asm.h.
27277         (STR): Likewise.
27278         (DELIM): Likewise.
27279         [USE_AS_STRTOK_R] (SAVE): Likewise.
27280         (FUNCTION): Likewise.  Do not use BP_SYM.
27281         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27282         aliases.
27283         (strtok_r): Likewise.
27284         (__GI___strtok_r): Likewise.
27285         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27286         (PARMS): Do not use macros from bp-asm.h.
27287         (S): Likewise.
27288         (SIZE): Likewise.
27289         (__mpn_lshift): Do not use BP_SYM.
27290         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27291         (PARMS): Do not use macros from bp-asm.h.
27292         (STR): Likewise.
27293         (CHR): Likewise.
27294         (__memchr): Do not use BP_SYM.
27295         (memchr): Do not use BP_SYM in weak_alias.
27296         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27297         (PARMS): Do not use macros from bp-asm.h.
27298         (BLK2): Likewise.
27299         (LEN): Likewise.
27300         (memcmp): Do not use BP_SYM.
27301         (bcmp): Do not use BP_SYM in weak_alias.
27302         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27303         (PARMS): Do not use macros from bp-asm.h.
27304         (S1): Likewise.
27305         (SIZE): Likewise.
27306         (__mpn_mul_1): Do not use BP_SYM.
27307         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27308         "bp-asm.h".
27309         (PARMS): Do not use macros from bp-asm.h.
27310         (STR): Likewise.
27311         (CHR): Likewise.
27312         (__rawmemchr): Do not use BP_SYM.
27313         (rawmemchr): Do not use BP_SYM in weak_alias.
27314         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27315         (PARMS): Do not use macros from bp-asm.h.
27316         (S): Likewise.
27317         (SIZE): Likewise.
27318         (__mpn_rshift): Do not use BP_SYM.
27319         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27320         (PARMS): Do not use macros from bp-asm.h.
27321         (SIGMSK): Likewise.
27322         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27323         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27324         (_start): Do not use BP_SYM.
27325         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27326         (PARMS): Do not use macros from bp-asm.h.
27327         (DEST): Likewise.
27328         (SRC): Likewise.
27329         (__stpcpy): Likewise.  Do not use BP_SYM.
27330         (stpcpy): Do not use BP_SYM in weak_alias.
27331         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27332         "bp-asm.h".
27333         (PARMS): Do not use macros from bp-asm.h.
27334         (DEST): Likewise.
27335         (SRC): Likewise.
27336         (LEN): Likewise.
27337         (__stpncpy): Likewise.  Do not use BP_SYM.
27338         (stpncpy): Do not use BP_SYM in weak_alias.
27339         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27340         (PARMS): Do not use macros from bp-asm.h.
27341         (STR): Likewise.
27342         (CHR): Likewise.
27343         (strchr): Likewise.  Do not use BP_SYM.
27344         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27345         "bp-asm.h".
27346         (PARMS): Do not use macros from bp-asm.h.
27347         (STR): Likewise.
27348         (CHR): Likewise.
27349         (__strchrnul): Likewise.  Do not use BP_SYM.
27350         (strchrnul): Do not use BP_SYM in weak_alias.
27351         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27352         "bp-asm.h".
27353         (PARMS): Do not use macros from bp-asm.h.
27354         (STOP): Likewise.
27355         (strcspn): Do not use BP_SYM.
27356         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27357         "bp-asm.h".
27358         (PARMS): Do not use macros from bp-asm.h.
27359         (STR): Likewise.
27360         (STOP): Likewise.
27361         (strpbrk): Likewise.  Do not use BP_SYM.
27362         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27363         "bp-asm.h".
27364         (PARMS): Do not use macros from bp-asm.h.
27365         (STR): Likewise.
27366         (CHR): Likewise.
27367         (strrchr): Likewise.  Do not use BP_SYM.
27368         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27369         (PARMS): Do not use macros from bp-asm.h.
27370         (SKIP): Likewise.
27371         (strspn): Do not use BP_SYM.
27372         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27373         (PARMS): Do not use macros from bp-asm.h.
27374         (STR): Likewise.
27375         (DELIM): Likewise.
27376         (SAVE): Likewise.
27377         (FUNCTION): Likewise.  Do not use BP_SYM.
27378         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27379         aliases.
27380         (strtok_r): Likewise.
27381         (__GI___strtok_r): Likewise.
27382         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27383         (PARMS): Do not use macros from bp-asm.h.
27384         (S1): Likewise.
27385         (S2): Likewise.
27386         (SIZE): Likewise.
27387         (__mpn_sub_n): Do not use BP_SYM.
27388         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27389         "bp-asm.h".
27390         (PARMS): Do not use macros from bp-asm.h.
27391         (S1): Likewise.
27392         (SIZE): Likewise.
27393         (__mpn_submul_1): Do not use BP_SYM.
27394         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27395         <bp-sym.h>.
27396         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27397         and <bp-asm.h>.
27398         (PARMS): Do not use macros from bp-asm.h.
27399         (FLAGS): Likewise.
27400         (PTID): Likewise.
27401         (TLS): Likewise.
27402         (CTID): Likewise.
27403         (__clone): Do not use BP_SYM.
27404         (clone): Do not use BP_SYM in weak_alias.
27405         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27406         and <bp-asm.h>.
27407         (PARMS): Do not use macros from bp-asm.h.
27408         (LEN): Likewise.
27409         (__mmap64): Do not use BP_SYM.
27410         (mmap64): Do not use BP_SYM in weak_alias.
27411         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27412         <bp-sym.h> and <bp-asm.h>.
27413         (PARMS): Do not use macros from bp-asm.h.
27414         (__posix_fadvise64_l64): Do not use BP_SYM.
27415         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27416         (PARMS): Do not use macros from bp-asm.h.
27417         (NSOPS): Likewise.
27418         (semtimedop): Do not use BP_SYM.
27419         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27420         and <bp-asm.h>.
27422 2013-02-21  Allan McRae  <allan@archlinux.org>
27424         * manual/message.texi (Charset conversion in gettext):
27425         Move @end statement to beginning of line.
27427 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27430         static.
27431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27432         Likewise.
27434         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27435         (denorm): Likewise.
27436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27439 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27441         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27442         tail-call to the resolved function if pltexit isn't needed.
27444 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27447         or Y being zero as being unlikely.
27448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27449         Likewise.
27451 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27453         * manual/nss.texi (System Databases and Name Service Switch):
27454         Remove frobnicate @pxref.
27456 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27458         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27459         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27461 2013-02-20  Petr Machata  <pmachata@redhat.com>
27463         * elf/elf.h (R_ARM_TARGET1): New macro.
27464         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27465         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27466         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27467         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27468         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27469         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27470         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27471         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27472         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27473         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27474         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27475         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27476         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27477         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27478         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27479         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27480         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27481         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27482         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27483         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27484         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27485         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27486         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27487         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27488         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27489         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27490         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27491         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27492         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27493         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27494         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27495         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27496         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27497         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27498         (R_ARM_THM_GOT_BREL12): Likewise.
27499         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27500         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27501         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27502         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27503         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27504         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27505         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27506         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27507         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27509 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27511         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27512         __attribute_used__ to __attribute__ ((unused)).
27514 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27516         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27517         powerpc mpa.c.
27518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27519         comment formatting.
27520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27522 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #13550]
27525         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27526         Remove macro.
27527         (ENTER): Remove both macro definitions.
27528         (LEAVE): Likewise.
27529         (CHECK_BOUNDS_LOW): Likewise.
27530         (CHECK_BOUNDS_HIGH): Likewise.
27531         (CHECK_BOUNDS_BOTH): Likewise.
27532         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27533         (RETURN_BOUNDED_POINTER): Likewise.
27534         (RETURN_NULL_BOUNDED_POINTER): Likewise.
27535         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27536         (POP_ERRNO_LOCATION_RETURN): Likewise.
27537         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27538         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27539         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27540         macros.
27541         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27542         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27543         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27544         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27545         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27546         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27547         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27548         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27549         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27550         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27551         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27552         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27553         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27554         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27555         removed macros.
27556         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27557         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27558         macros.
27559         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27560         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27561         * sysdeps/i386/i586/memset.S (memset): Likewise.
27562         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27563         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27564         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27565         macros.
27566         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27567         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27568         Change uses of L(2) to L(out).
27569         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27570         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27571         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27572         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27573         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27574         removed macros.
27575         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27576         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27577         macros.
27578         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27579         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27580         (RETURN): Do not use macro LEAVE.
27581         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27582         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27583         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27584         * sysdeps/i386/i686/memset.S (memset): Likewise.
27585         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27586         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27587         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27588         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27589         Likewise.
27590         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27591         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27592         L(1_2) and L(1_3) into L(1).
27593         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27594         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27595         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27596         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27597         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27598         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27599         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27600         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27601         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27602         macros.
27603         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27604         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27605         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27606         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27607         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27608         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27609         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27610         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27611         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27612         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27613         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27614         * sysdeps/i386/strspn.S (strspn): Likewise.
27615         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27616         conditional code.
27617         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27618         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27619         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27620         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27621         L(1_3) into L(1_1).
27622         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27623         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27624         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27625         macros.
27626         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27628 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27630         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27631         macro.
27633 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27635         * math/atest-exp.c (exp_mpn): Remove ROUND.
27636         * math/atest-exp2.c (exp_mpn): Likewise.
27637         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27639         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27640         * stdlib/tst-tls-atexit-lib.c: Likewise.
27641         * stdlib/tst-tls-atexit.c: Likewise.
27643 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27645         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27646         and __attribute_alloc_size__.
27648 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27650         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27651         __attribute_alloc_size__.
27652         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27653         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27655 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27657         * include/programs/xmalloc.h: New file.
27658         * catgets/gencat.c: Include it.
27659         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27660         * elf/pldd.c: Likewise.
27661         * iconv/iconv_charmap.c: Likewise.
27662         * iconv/iconvconfig.c: Likewise.
27663         * iconv/strtab.c: Likewise.
27664         * locale/programs/locale.c: Likewise.
27665         * locale/programs/localedef.h: Likewise.
27666         * locale/programs/simple-hash.c: Likewise.
27667         * nscd/nscd.h: Likewise.
27668         * nss/makedb.c: Likewise.
27669         * sysdeps/generic/ldconfig.h: Likewise.
27671 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27673         * Versions.def: Add GLIBC_2.18.
27674         * include/link.h (struct link_map): New member l_tls_dtor_count.
27675         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27676         (__call_tls_dtors): Likewise.
27677         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27678         __cxa_thread_atexit_impl.
27679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27680         Likewise.
27681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27682         Likewise.
27683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27684         Likewise.
27685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27686         Likewise.
27687         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27689         Likewise.
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27691         Likewise.
27692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27694         Likewise.
27695         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27696         (tests): Add test case tst-tls-atexit.
27697         (modules-names): Add shared library for tst-tls-atexit.
27698         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27699         (GLIBC_PRIVATE): Add __call_tls_dtors.
27700         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27701         for libstdc++.
27702         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27703         * stdlib/tst-tls-atexit.c: New test case.
27704         * stdlib/tst-tls-atexit-lib.c: New test case.
27706         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27708         * elf/Versions (ld): Add _dl_find_dso_for_object.
27709         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27710         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27711         (dl_open_worker): Use _dl_find_dso_for_object.
27712         * elf/dl-sym.c (do_sym): Likewise.
27713         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27715 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27717         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27718         Syntactic changes only.
27719         (_dl_runtime_profile): Do a tail-call to the resolved function.
27721 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27723         [BZ #13550]
27724         * sysdeps/x86_64/bp-asm.h: Remove file.
27725         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27726         <bp-sym.h> and <bp-asm.h>.
27727         (__clone): Do not use BP_SYM.
27728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27729         <bp-sym.h> and <bp-asm.h>.
27730         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27731         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27732         "bp-asm.h".
27733         (_setjmp): Do not use BP_SYM.
27734         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27735         "bp-asm.h".
27736         (setjmp): Do not use BP_SYM.
27737         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27738         libc_hidden_def.
27739         (mempcpy): Do not use BP_SYM in weak_alias.
27740         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27741         "bp-asm.h".
27742         (strchr): Do not use BP_SYM.
27743         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27744         "bp-asm.h".
27745         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27746         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27747         (_start): Do not use BP_SYM.
27748         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27749         "bp-asm.h".
27750         (strcat): Do not use BP_SYM.
27751         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27752         "bp-asm.h".
27753         (STRCMP): Do not use BP_SYM.
27754         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27755         "bp-asm.h".
27756         (STRCPY): Do not use BP_SYM.
27757         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27758         "bp-asm.h".
27759         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27760         "bp-asm.h".
27761         (FUNCTION): Do not use BP_SYM.
27762         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27763         weak_alias.
27764         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27766 2013-02-17  Andreas Jaeger  <aj@suse.de>
27768         * time/Versions: Sort entries.
27769         * string/Versions: Likewise.
27770         * resolv/Versions: Likewise.
27771         * posix/Versions: Likewise.
27772         * iconv/Versions: Likewise.
27773         * elf/Versions: Likewise.
27774         * wcsmbs/Versions: Likewise.
27776 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27778         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27779         loop termination condition.
27781         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27782         variable to calculate EZ.
27783         (__sqr): Likewise.
27785         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27786         the lower precision input.
27788 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27790         [BZ #13550]
27791         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27792         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27793         (run-via-rtld-prefix): Do not handle %-bp tests.
27794         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27795         (all-object-suffixes): Remove .ob.
27796         (bppfx): Remove variable.
27797         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27798         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27799         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27800         [$(build-bounded) = yes] (libtype.ob): Likewise.
27801         * Makerules (elide-routines.ob): Remove variable.
27802         (do-tests-clean): Do not handle *-bp.out.
27803         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27804         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27805         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27806         (tests): Do not include $(tests-bp.out).
27807         (xtests): Do not include $(xtests-bp.out).
27808         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27809         [$(build-bounded) = yes] ($(addprefix
27810         $(objpfx),$(binaries-bounded))): Remove rule.
27811         ($(objpfx)%-bp.out): Remove rule.
27812         * config.make.in (build-bounded): Remove variable.
27813         * crypt/Makefile [$(build-bounded) = yes]
27814         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27815         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27816         append to variable.
27817         [$(build-bounded) = yes] (install-lib): Likewise.
27818         [$(build-bounded) = yes] (generated): Likewise.
27819         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27820         Remove rule.
27821         * intl/Makefile [$(build-bounded) = yes]
27822         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27823         * math/Makefile [$(build-bounded) = yes]
27824         ($(tests:%=$(objpfx)%-bp): Likewise.
27825         * misc/Makefile [$(build-bounded) = yes]
27826         ($(objpfx)tst-tsearch-bp): Likewise.
27827         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27828         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27829         Remove dependency.
27830         * string/Makefile (o-objects.ob): Remove variable.
27831         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27832         (CFLAGS-.ob): Remove variable.
27833         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27834         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27835         both definitions of variable.
27836         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27837         (ASFLAGS-.ob): Remove variable.
27839 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27841         [BZ #13550]
27842         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27843         Remove __BOUNDED_POINTERS__ from condition.
27844         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27845         * string/bits/string2.h [!__NO_STRING_INLINES &&
27846         !__BOUNDED_POINTERS__]: Likewise.
27847         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27848         Likewise.
27849         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27850         Remove conditional code.
27851         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27852         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27853         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27854         condition.
27856         [BZ #13550]
27857         * csu/libc-start.c: Do not include <bp-sym.h>.
27858         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27859         * elf/dl-open.c: Do not include <bp-sym.h>.
27860         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27861         * math/fegetenv.c: Do not include <bp-sym.h>.
27862         (fegetenv): Do not use BP_SYM in versioned symbols.
27863         * nptl/sysdeps/pthread/bits/libc-lockP.h
27864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27865         <bp-sym.h>.
27866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27867         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27869         (__pthread_mutex_destroy): Likewise.
27870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27871         (__pthread_mutex_lock): Likewise.
27872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27873         (__pthread_mutex_trylock): Likewise.
27874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27875         (__pthread_mutex_unlock): Likewise.
27876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27877         (__pthread_mutexattr_init): Likewise.
27878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27879         (__pthread_mutexattr_destroy): Likewise.
27880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27881         (__pthread_mutexattr_settype): Likewise.
27882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27883         (__pthread_rwlock_init): Likewise.
27884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27885         (__pthread_rwlock_destroy): Likewise.
27886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27887         (__pthread_rwlock_rdlock): Likewise.
27888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27889         (__pthread_rwlock_tryrdlock): Likewise.
27890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27891         (__pthread_rwlock_wrlock): Likewise.
27892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27893         (__pthread_rwlock_trywrlock): Likewise.
27894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27895         (__pthread_rwlock_unlock): Likewise.
27896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27897         (__pthread_key_create): Likewise.
27898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27899         (__pthread_setspecific): Likewise.
27900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27901         (__pthread_getspecific): Likewise.
27902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27903         Likewise.
27904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27905         (_pthread_cleanup_push_defer): Likewise.
27906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27907         (_pthread_cleanup_pop_restore): Likewise.
27908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27909         (pthread_setcancelstate): Likewise.
27910         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27911         <bp-sym.h>.
27912         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27913         (memchr): Do not use BP_SYM in weak_alias.
27914         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27915         (fegetenv): Do not use BP_SYM in versioned symbols.
27916         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27917         (fesetenv): Do not use BP_SYM in versioned symbols.
27918         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27919         (feupdateenv): Do not use BP_SYM in versioned symbols.
27920         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27921         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27922         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27923         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27924         (open64): Do not use BP_SYM in weak_alias.
27925         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27926         (fegetenv): Do not use BP_SYM in versioned symbols.
27927         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27928         (fesetenv): Do not use BP_SYM in versioned symbols.
27929         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27930         (feupdateenv): Do not use BP_SYM in versioned symbols.
27931         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27932         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27933         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27934         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27935         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27936         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27937         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27938         <bp-sym.h>.
27939         (__libc_start_main): Do not use BP_SYM.
27941 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27944         redundant return line.
27945         (norm): Likewise.
27946         (denorm): Likewise.
27947         (dbl_mp): Likewise.
27948         (sub_magnitudes): Likewise.
27949         (__add): Likewise.
27950         (__sub): Likewise.
27951         (__mul): Likewise.
27952         (__inv): Likewise.
27953         (__dvd): Likewise.
27954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27955         (norm): Likewise.
27956         (denorm): Likewise.
27957         (dbl_mp): Likewise.
27958         (sub_magnitudes): Likewise.
27959         (__add): Likewise.
27960         (__sub): Likewise.
27961         (__mul): Likewise.
27962         (__inv): Likewise.
27963         (__dvd): Likewise.
27965         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27966         instead of __mul.
27967         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27968         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27969         (cc32): Likewise.
27971         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27972         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27974         of __mul for squares.
27975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27976         function
27977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27978         Likewise.
27979         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27980         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27982 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27984         [BZ #13550]
27985         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27986         code.
27987         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27988         prototype or function definition.  Rename ubp_* variables and
27989         parameters.  Remove argv definitions conditional on
27990         [__BOUNDED_POINTERS__].
27991         * debug/backtrace.c (__backtrace): Do not use __unbounded.
27992         * elf/dl-runtime.c (_dl_fixup): Likewise.
27993         * include/set-hooks.h (RUN_HOOK): Likewise.
27994         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27995         definition.
27996         * string/strcpy.c (strcpy): Do not use __unbounded.
27997         * sysdeps/generic/frame.h (struct layout): Likewise.
27998         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27999         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28000         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28001         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28002         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28003         (__backtrace): Likewise.
28004         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28005         use __ptrvalue.
28006         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28007         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28008         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28009         Likewise.
28010         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28011         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28012         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28013         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28014         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28015         Do not use __unbounded.
28016         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28017         Rename __unboundedrlimits parameter to rlimits in prototype.
28018         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28019         Do not use __unbounded.
28020         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28021         not use __ptrvalue.
28022         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28023         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28024         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28025         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28026         __ptrvalue or __unbounded.
28027         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28028         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28029         use __unbounded.
28030         (__new_msgctl): Do not use __ptrvalue.
28031         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28032         __unbounded.
28033         (__libc_msgrcv): Do not use __ptrvalue.
28034         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28035         startup_info): Do not use __unbounded.
28036         (__libc_start_main): Likewise.  Rename ubp_* variables and
28037         parameters.  Remove argv definitions conditional on
28038         [__BOUNDED_POINTERS__].
28039         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28040         __ptrvalue.
28041         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28042         use __unbounded.
28043         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28044         or __ptrvalue.
28045         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28046         use __unbounded.
28047         (__new_shmctl): Do not use __ptrvalue.
28048         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28049         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28050         Likewise.
28051         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28052         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28053         (__libc_sigaction): Likewise.
28054         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28055         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28056         Likewise.
28057         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28059 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28061         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28063         * string/mempcpy.c: Implement by calling memcpy.
28065 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28070         evaluation.
28072         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28073         values in the mantissa.
28075         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28076         minimize writes to Z.
28077         (sub_magnitudes): Simplify code a bit.
28079 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28081         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28082         from the message.  The linker prefixes all warnings with that already.
28084 2013-02-12  Andreas Schwab  <schwab@suse.de>
28086         [BZ #15078]
28087         * posix/regexec.c (extend_buffers): Add parameter min_len.
28088         (check_matching): Pass minimum needed length.
28089         (clean_state_log_if_needed): Likewise.
28090         (get_subexp): Likewise.
28091         * posix/Makefile (tests): Add bug-regex34.
28092         (bug-regex34-ENV): Define.
28093         * posix/bug-regex34.c: New file.
28095         [BZ #11561]
28096         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28097         elements compare against the byte sequence of it, not its name.
28098         * posix/Makefile (tests): Add bug-regex35.
28099         (bug-regex35-ENV): Define.
28100         * posix/bug-regex35.c: New file.
28102 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28104         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28105         comment.
28106         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28107         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28108         (CHECK_EOL): Add undef.
28110 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28112         * bits/stdlib-bsearch.h: New file.
28113         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28114         * stdlib/stdlib.h: Likewise.
28116 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28118         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28119         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28120         declaration.
28121         * manual/search.texi (Array Search Function): Add missing const in
28122         lfind prototype.
28123         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28124         declaration to use rlim_t.
28125         (Basic Scheduling Functions): Remove erroneous const from
28126         sched_getparam prototype.  Remove erroneous * from
28127         sched_get_priority_max and sched_get_priority_min prototypes.
28128         (Resource Usage): Fix summary @comment on vtimes to refer to
28129         sys/vtimes.h rather than vtimes.h.
28130         Add missing *s in vtimes prototype.
28131         (Limits on Resources): Fix ulimit prototype to return long int.
28132         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28133         prototypes to use long int rather than double.
28134         (BSD Random): Fix initstate and setstate to use char *, not void *.
28135         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28136         prototype to make second argument 'struct aiocb64 *const[]'.
28137         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28138         (Status of AIO Operations): Remove erroneous const in aio_return and
28139         aio_return64 prototypes.
28140         (Synchronizing I/O): Fix sync prototype to return void.
28141         * manual/startup.texi (Suboptions): Remove an erroneous const in
28142         getsubopt prototype.
28143         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28144         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28145         use size_t rather than int.
28146         (Scanning All Users): Likewise for getpwent_r.
28147         (Setting Groups): Add missing const to setgroups prototype.
28148         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28149         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28150         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28151         'const void *' rather than 'const char *'.
28152         (Host Address Functions): Likewise for inet_ntop.
28153         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28154         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28155         ssize_t for return value.
28156         (Sending Data): Likewise for send, sendto, sendmsg.
28157         (Socket Option Functions): Add a missing const in setsockopt prototype.
28158         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28159         use wchar_t for the argument.
28160         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28161         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28162         take no arguments.
28163         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28164         double/float/long double for second argument.
28165         Fix return types of significand, significandf, significandl.
28166         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28167         argument in fchmod prototype.
28168         (File Owner): Use uid_t and gid_t in fchown prototype.
28169         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28170         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28171         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28172         use 'const struct dirent **' as argument types to CMP function pointer
28173         argument.
28174         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28175         (File Times): Fix summary magic @comment for struct utimbuf and utime
28176         to refer to utime.h, not time.h.
28177         * manual/string.texi (Argz Functions): Add missing const in
28178         argz_extract and argz_next prototypes.
28179         (Finding Tokens in a String): Likewise for basename.
28180         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28181         (Copying and Concatenation): Fix typo in wmemmove prototype.
28182         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28183         (Signal Stack): Remove erroneous const in sigstack prototype.
28184         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28185         prototype.
28186         (Simple Calendar Time): Likewise for stime.
28187         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28188         prototype.
28189         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28190         say sys/sysctl.h instead.
28191         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28192         and vsyslog prototypes.
28194 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28196         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28197         Remove.
28199 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28201         * misc/sys/mman.h: Fix typo in mremap comment.
28203 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28205         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28206         the '\0' terminator.
28208 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28210         [BZ #13550]
28211         * debug/segfault.c: Don't include <bp-checks.h>.
28212         * sysdeps/generic/bp-checks.h: Remove file.
28213         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28214         (__GETDENTS): Don't use CHECK_N.
28215         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28216         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28217         (__getgroups): Don't use CHECK_N.
28218         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28219         (setgroups): Don't use CHECK_N.
28220         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28221         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28222         (__libc_msgrcv): Don't use CHECK_N.
28223         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28224         (__libc_msgsnd): Don't use CHECK_N.
28225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28226         <bp-checks.h>.
28227         (__libc_pread): Don't use CHECK_N.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28229         include <bp-checks.h>.
28230         (__libc_pread64): Don't use CHECK_N.
28231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28232         include <bp-checks.h>.
28233         (__libc_pwrite): Don't use CHECK_N.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28235         include <bp-checks.h>.
28236         (__libc_pwrite64): Don't use CHECK_N.
28237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28238         <bp-checks.h>.
28239         (__libc_pread): Don't use CHECK_N.
28240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28241         include <bp-checks.h>.
28242         (__libc_pread64): Don't use CHECK_N.
28243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28244         include <bp-checks.h>.
28245         (__libc_pwrite): Don't use CHECK_N.
28246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28247         include <bp-checks.h>.
28248         (__libc_pwrite64): Don't use CHECK_N.
28249         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28250         (do_pread): Don't use CHECK_N.
28251         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28252         (do_pread64): Don't use CHECK_N.
28253         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28254         (do_pwrite): Don't use CHECK_N.
28255         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28256         (do_pwrite64): Don't use CHECK_N.
28257         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28258         (__libc_readv): Don't use CHECK_N.
28259         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28260         (semop): Don't use CHECK_N.
28261         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28262         <bp-checks.h>.
28263         (semtimedop): Don't use CHECK_N.
28264         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28265         (__libc_pread): Don't use CHECK_N.
28266         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28267         <bp-checks.h>.
28268         (__libc_pread64): Don't use CHECK_N.
28269         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28270         <bp-checks.h>.
28271         (__libc_pwrite): Don't use CHECK_N.
28272         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28273         <bp-checks.h>.
28274         (__libc_pwrite64): Don't use CHECK_N.
28275         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28276         <bp-checks.h>.
28277         (__libc_msgrcv): Don't use CHECK_N.
28278         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28279         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28280         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28281         (__libc_writev): Don't use CHECK_N.
28283 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28285         * string/strcpy.c: Removed unused variable.
28287         * Makeconfig (+sysdep-includes): Define with := rather than =.
28288         Use an existing include/ subdir of each sysdeps dir before it.
28290 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28292         * nscd/connection.c (register_traced_file): Comment function.
28293         [HAVE_INOTIFY] (union __inev): Define.
28294         [HAVE_INOTIFY] (inotify_check_files): New function.
28295         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28296         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28297         clear_db_cache.
28298         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28300 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28302         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28303         loaded if not already and that a failure is permanent.
28305 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28307         [BZ #15006]
28308         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28309         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28311 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28313         [BZ #13550]
28314         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28315         (CHECK_1_NULL_OK): Likewise.
28316         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28317         (__fxstat): Do not use CHECK_1.
28318         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28319         <bp-checks.h>.
28320         (___fxstat64): Do not use CHECK_1.
28321         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28322         <bp-checks.h>.
28323         (__fxstatat): Do not use CHECK_1.
28324         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28325         <bp-checks.h>.
28326         (__fxstatat64): Do not use CHECK_1.
28327         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28328         <bp-checks.h>.
28329         (__fxstat): Do not use CHECK_1.
28330         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28331         <bp-checks.h>.
28332         (__fxstatat): Do not use CHECK_1.
28333         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28334         <bp-checks.h>.
28335         (__getresgid): Do not use CHECK_1.
28336         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28337         <bp-checks.h>.
28338         (__getresuid): Do not use CHECK_1.
28339         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28340         <bp-checks.h>.
28341         (__lxstat): Do not use CHECK_1.
28342         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28343         <bp-checks.h>.
28344         (__old_msgctl): Do not use CHECK_1.
28345         (__new_msgctl): Likewise.
28346         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28347         <bp-checks.h>.
28348         (__new_setrlimit): Do not use CHECK_1.
28349         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28350         <bp-checks.h>.
28351         (__old_shmctl): Do not use CHECK_1.
28352         (__new_shmctl): Likewise.
28353         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28354         <bp-checks.h>.
28355         (__xstat): Do not use CHECK_1.
28356         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28357         (__lxstat): Do not use CHECK_1.
28358         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28359         <bp-checks.h>.
28360         (___lxstat64): Do not use CHECK_1.
28361         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28362         (__old_msgctl): Do not use CHECK_1.
28363         (__new_msgctl): Likewise.
28364         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28365         <bp-checks.h>.
28366         (__gettimeofday): Do not use CHECK_1.
28367         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28368         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28369         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28370         <bp-checks.h>.
28371         (__gettimeofday): Do not use CHECK_1.
28372         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28373         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28374         (__new_shmctl): Do not use CHECK_1.
28375         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28376         <bp-checks.h>.
28377         (do_sigtimedwait): Do not use CHECK_1.
28378         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28379         <bp-checks.h>.
28380         (do_sigwaitinfo): Do not use CHECK_1.
28381         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28382         <bp-checks.h>.
28383         (msgctl): Do not use CHECK_1.
28384         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28385         <bp-checks.h>.
28386         (shmctl): Do not use CHECK_1.
28387         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28388         (ustat): Do not use CHECK_1.
28389         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28390         <bp-checks.h>.
28391         (__fxstat): Do not use CHECK_1.
28392         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28393         <bp-checks.h>.
28394         (__fxstatat): Do not use CHECK_1.
28395         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28396         <bp-checks.h>.
28397         (__lxstat): Do not use CHECK_1.
28398         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28399         <bp-checks.h>.
28400         (__xstat): Do not use CHECK_1.
28401         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28402         (__xstat): Do not use CHECK_1.
28403         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28404         (___xstat64): Do not use CHECK_1.
28406         [BZ #13550]
28407         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28408         definitions.
28409         (CHECK_BOUNDS_HIGH): Likewise.
28410         * string/strcpy.c: Do not include <bp-checks.h>.
28411         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28413 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28415         * nscd/nscd-client.h (__nscd_drop_map_ref):
28416         Add __attribute__ ((unused)).
28417         * nis/nss-nisplus.h (niserr2nss): Likewise.
28419         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28420         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28422         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28423         Remove inline keyword.
28424         * include/rounding-mode.h (round_away): Likewise.
28425         * libio/wfileops.c (adjust_wide_data): Likewise.
28426         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28427         (__m128i_strloadu_tolower): Likewise.
28428         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28429         (__m128i_strloadu_tolower): Likewise.
28430         * time/mktime.c (ydhms_diff): Likewise.
28431         * locale/elem-hash.h (elem_hash): Likewise.
28432         * locale/setlocale.c (setdata): Likewise.
28433         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28434         (re_string_wchar_at): Likewise.
28435         (bitset_not, bitset_merge, bitset_mask): Likewise.
28436         [!(__GNUC__ > 3)] (inline): Remove macro.
28437         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28438         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28439         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28440         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28441         * string/memcmp.c (memcmp_bytes): Likewise.
28442         * locale/programs/locarchive.c (compute_hashval): Likewise.
28443         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28444         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28445         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28446         * nss/getent.c (print_rpc, print_protocols): Likewise.
28447         (print_passwd, print_group, print_aliases): Likewise.
28448         * nis/nss-nisplus.h (niserr2nss): Likewise.
28449         * nscd/connections.c (restart_p): Likewise.
28450         Change return type to bool.
28452 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28454         * Makeconfig (all-Depend-files): Add existing
28455         $(sorted-subdirs:=/Depend) files.
28456         (all-subdirs): Remove nss.
28457         * sysdeps/unix/inet/Subdirs: Add it here instead.
28458         * hesiod/Depend: New file.
28460         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28461         instead of calling alloca.
28463         * io/lseek.c (__lseek): Rename to __libc_lseek.
28464         Define __lseek as an alias.
28466         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28468 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28470         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28471         else clause and remove check for non-standard endianness.
28473 2013-02-04  David S. Miller  <davem@davemloft.net>
28475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28477 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28479         [BZ #13550]
28480         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28481         (__ubp_memchr): Remove prototype.
28482         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28483         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28484         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28485         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28486         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28487         Remove alias.
28488         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28489         (__ubp_memchr): Likewise.
28490         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28491         (__ubp_memchr): Likewise.
28492         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28493         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28494         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28495         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28496         CHECK_STRING.
28497         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28498         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28499         (__getcwd): Do not use CHECK_STRING.
28500         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28501         <bp-checks.h>.
28502         (__real_chown): Do not use CHECK_STRING.
28503         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28504         <bp-checks.h>.
28505         (fchownat): Do not use CHECK_STRING.
28506         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28507         CHECK_STRING.
28508         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28509         <bp-checks.h>.
28510         (__lchown): Do not use CHECK_STRING.
28511         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28512         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28513         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28514         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28516         include <bp-checks.h>.
28517         (truncate64): Do not use CHECK_STRING.
28518         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28519         <bp-checks.h>.
28520         (__real_chown): Do not use CHECK_STRING.
28521         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28522         <bp-checks.h>.
28523         (__lchown): Do not use CHECK_STRING.
28524         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28525         <bp-checks.h>.
28526         (__chown): Do not use CHECK_STRING.
28527         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28528         <bp-checks.h>.
28529         (truncate64): Do not use CHECK_STRING.
28530         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28531         Likewise.
28532         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28533         (__xmknod): Do not use CHECK_STRING.
28534         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28535         <bp-checks.h>.
28536         (__xmknodat): Do not use CHECK_STRING.
28537         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28538         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28540 2013-02-04  Andreas Schwab  <schwab@suse.de>
28542         [BZ #14142]
28543         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28544         * include/netdb.h: Likewise for h_errno.
28545         * elf/tst-stackguard1.c: Include <tls.h>.
28547 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
28549         * elf/link.h (struct link_map): Extend the l_addr comment.
28550         * include/link.h (struct link_map): Likewise.
28552 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
28554         [BZ #13550]
28555         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28556         (BOUNDED_1): Remove macro.
28557         * debug/backtrace.c: Don't include <bp-checks.h>.
28558         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28559         (__backtrace): Likewise.
28560         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28561         <bp-checks.h>.
28562         (__backtrace): Don't use BOUNDED_1.
28563         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28564         <bp-checks.h>.
28565         (__backtrace): Don't use BOUNDED_1.
28566         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28567         (__backtrace): Don't use BOUNDED_1.
28568         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28569         (shmat): Don't use BOUNDED_N.
28571 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
28573         [BZ #13550]
28574         * sysdeps/generic/bp-start.h: Remove file.
28575         * csu/libc-start.c: Don't include <bp-start.h>.
28576         (LIBC_START_MAIN): Set up __environ directly instead of using
28577         INIT_ARGV_and_ENVIRON.
28578         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28579         <bp-start.h>.
28581         [BZ #13550]
28582         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28583         definitions.
28584         (CHECK_FCNTL): Likewise.
28585         (CHECK_N_PAGES): Likewise.
28587         [BZ #13550]
28588         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28589         definitions.
28590         (CHECK_SIGSET_NULL_OK): Likewise.
28591         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28592         <bp-checks.h>.
28593         (sigpending): Don't use CHECK_SIGSET.
28594         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28595         <bp-checks.h>.
28596         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28597         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28598         <bp-checks.h>.
28599         (do_sigsuspend): Don't use CHECK_SIGSET.
28600         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28601         use CHECK_SIGSET.
28602         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28603         (do_sigwait): Don't use CHECK_SIGSET.
28604         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28605         use CHECK_SIGSET.
28606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28607         include <bp-checks.h>.
28608         (sigpending): Don't use CHECK_SIGSET.
28609         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28610         include <bp-checks.h>.
28611         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28612         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28613         <bp-checks.h>.
28614         (sigpending): Don't use CHECK_SIGSET.
28615         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28616         <bp-checks.h>.
28617         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28619         [BZ #13550]
28620         * sysdeps/generic/bp-semctl.h: Remove file.
28621         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28622         <bp-checks.h> and <bp-semctl.h>.
28623         (__old_semctl): Don't use CHECK_SEMCTL.
28624         (__new_semctl): Likewise.
28625         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28626         and <bp-semctl.h>.
28627         (__old_semctl): Don't use CHECK_SEMCTL.
28628         (__new_semctl): Likewise.
28629         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28630         <bp-checks.h> and <bp-semctl.h>.
28631         (__old_semctl): Don't use CHECK_SEMCTL.
28632         (__new_semctl): Likewise.
28633         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28634         <bp-checks.h> and <bp-semctl.h>.
28635         (semctl): Don't use CHECK_SEMCTL.
28637         [BZ #13550]
28638         * Makerules (elide-bp-thunks): Remove variable.
28639         (elide-routines.oS): Don't use $(elide-bp-thunks).
28640         (elide-routines.os): Likewise.
28641         (elide-routines.o): Likewise.
28642         (elide-routines.op): Likewise.
28643         (elide-routines.og): Likewise.
28644         (objects): Don't use $(bp-thunks).
28645         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28646         include.
28647         (common-generated): Do not add s-proto-bp.d.
28648         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28649         (int): Likewise.
28650         (typ): Likewise.
28651         Do not generate makefile rules for bounded-pointer thunks.
28652         * sysdeps/generic/bp-thunks.h: Remove file.
28653         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28654         * sysdeps/unix/s-proto-bp.S: Likewise.
28656         [BZ #15062]
28657         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28658         parts of result separately when argument is not close to line from
28659         -i to i and one part of argument is small.
28660         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28661         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28662         * math/libm-test.inc (cacos_test): Add more tests.
28663         (casin_test): Likewise.
28664         (casinh_test): Likewise.
28665         * sysdeps/i386/fpu/libm-test-ulps: Update.
28666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28668 2013-01-31  David S. Miller  <davem@davemloft.net>
28670         * po/de.po: Update from translation team.
28672 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28674         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28676 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28678         * configure.in (_AC_PROG_CC_C89): New definition.
28679         * configure: Regenerate.
28681         * configure.in (AC_PROG_CPP): New definition.
28682         * configure: Regenerate.
28684 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28686         * debug/tst-backtrace.h: New file.
28687         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28688         (ret): Remove variable.
28689         (x): Likewise.
28690         (FAIL): Remove macro.
28691         (NO_INLINE): Likewise.
28692         (fn1): Use match function instead of strstr.
28693         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28694         (ret): Remove variable.
28695         (x): Likewise.
28696         (FAIL): Remove macro.
28697         (NO_INLINE): Likewise.
28698         (fn): Use match function instead of strstr.
28699         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28700         (ret): Remove variable.
28701         (x): Likewise.
28702         (FAIL): Remove macro.
28703         (NO_INLINE): Likewise.
28704         (handle_signal): Use match function instead of strstr.
28705         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28706         (ret): Remove variable.
28707         (x): Likewise.
28708         (FAIL): Remove macro.
28709         (NO_INLINE): Likewise.
28710         (handle_signal): Use match function instead of strstr.
28712 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28714         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28716 2013-01-23  David S. Miller  <davem@davemloft.net>
28718         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28719         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28720         argument of CAS if possible.
28721         * sysdeps/sparc/sparc64/bits/atomic.h
28722         (__arch_compare_and_exchange_val_32_acq): Likewise.
28723         (__arch_compare_and_exchange_val_64_acq): Likewise.
28725 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28727         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28728         * sysdeps/posix/ulimit.c: ... this.
28729         Include <limits.h>.
28730         * sysdeps/unix/bsd/ulimit.c: Remove file.
28732 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28734         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28735         (LDFLAGS-tst-array5): Likewise.
28737 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28739         [BZ #15036]
28740         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28741         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28742         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28743         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28745 2013-01-21  David S. Miller  <davem@davemloft.net>
28747         * sysdeps/sparc/backtrace.c: New file.
28748         * sysdeps/sparc/sparc32/backtrace.h: New file.
28749         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28750         * sysdeps/sparc/sparc64/backtrace.h: New file.
28751         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28752         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28753         -funwind-tables.
28755 2013-01-21  Andreas Schwab  <schwab@suse.de>
28757         [BZ #15020]
28758         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28759         closed its stdout.
28761 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28764         "mpa2.h".
28765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28767 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28768             Mark Mitchell  <mark@codesourcery.com>
28769             Tom de Vries  <tom@codesourcery.com>
28770             Paul Pluzhnikov  <ppluzhnikov@google.com>
28772         * debug/tst-backtrace2.c: New file.
28773         * debug/tst-backtrace3.c: Likewise.
28774         * debug/tst-backtrace4.c: Likewise.
28775         * debug/tst-backtrace5.c: Likewise.
28776         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28777         (CFLAGS-tst-backtrace3.c): Likewise.
28778         (CFLAGS-tst-backtrace4.c): Likewise.
28779         (CFLAGS-tst-backtrace5.c): Likewise.
28780         (LDFLAGS-tst-backtrace2): Likewise.
28781         (LDFLAGS-tst-backtrace3): Likewise.
28782         (LDFLAGS-tst-backtrace4): Likewise.
28783         (LDFLAGS-tst-backtrace5): Likewise.
28784         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28785         tst-backtrace4 and tst-backtrace5.
28787 2013-01-18  Anton Blanchard  <anton@samba.org>
28788             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28790         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28791         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28792         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28793         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28795         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28796         "+r" and remove output regs list as redundant.  Add explicit inline
28797         asm to specify register of return val to work around compiler codegen
28798         bug.  Remove (int) cast on return value.  Add return type parameter to
28799         use in macro so that this macro does not truncate return value for
28800         64-bit values.
28801         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28802         pass to INTERNAL_VSYSCALL_NCS.
28803         (INLINE_VSYSCALL): Add 'long int' as return type to
28804         INTERNAL_VSYSCALL_NCS macro invocation.
28805         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28806         INTERNAL_VSYSCALL_NCS macro invocation.
28807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28809 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28811         [BZ #14496]
28812         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28813         Fix application of SIMD FP exception mask.
28815         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28816         mp_no from a power of two.
28817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28818         __mpexp_twomm1.  Use __pow_mp.
28820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28821         multiplication.
28823 2013-01-17  David S. Miller  <davem@davemloft.net>
28825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28827 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28829         [BZ #15023]
28830         * include/complex.h: Condition contents on [!_COMPLEX_H].
28831         (__kernel_casinhf): New prototype.
28832         (__kernel_casinh): Likewise.
28833         (__kernel_casinhl): Likewise.
28834         * math/Makefile (libm_calls): Add k_casinh.
28835         * math/k_casinh.c: New file.
28836         * math/k_casinhf.c: Likewise.
28837         * math/k_casinhl.c: Likewise.
28838         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28839         finite nonzero arguments.
28840         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28841         finite nonzero arguments.
28842         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28843         finite nonzero arguments.
28844         * math/s_casinh.c: Do not include <float.h>.
28845         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28846         * math/s_casinhf.c: Do not include <float.h>.
28847         (__casinhf): Move code for finite nonzero arguments to
28848         k_casinhf.c.
28849         * math/s_casinhl.c: Do not include <float.h>.
28850         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28851         redefine.
28852         (__casinhl): Move code for finite nonzero arguments to
28853         k_casinhl.c.
28854         * math/libm-test.inc (cacos_test): Add more tests.
28855         * sysdeps/i386/fpu/libm-test-ulps: Update.
28856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28858 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28860         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28861         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28862         [!HAVE_MREMAP]: Remove [defined linux] case.
28863         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28865 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28867         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28869 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28871         * elf/elf.h (R_386_SIZE32): New relocation.
28872         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28873         R_386_SIZE32.
28874         (elf_machine_rela): Likewise.
28875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28876         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28878 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28880         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28881         (FP_FAST_FMA): Do not define.
28882         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28883         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28884         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28885         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28886         !_SOFT_FLOAT]: Likewise.
28887         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28888         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28889         value.
28890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28891         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28892         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28893         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28894         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28895         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28896         file.
28898 2013-01-16  Andreas Schwab  <schwab@suse.de>
28900         [BZ #14327]
28901         * include/stdlib.h (__mktemp): Add declaration.
28902         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28903         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28905 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28907         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28908         definitions.
28909         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28910         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28911         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28912         definitions here.
28913         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28914         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28915         definitions.
28916         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28917         and ONE.
28918         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28919         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28920         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28921         definitions.
28922         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28923         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28924         definitions.
28925         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28927         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28929 2013-01-15  David S. Miller  <davem@davemloft.net>
28931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28932         trunc{,f} to libm-sysdep_routes.
28933         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28935         file.
28936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28938         file.
28939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28940         file.
28941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28943         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28944         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28945         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28946         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28947         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28948         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28951         nearbyint{,f} to libm-sysdep_routes.
28952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28954         New file.
28955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28956         file.
28957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28958         New file.
28959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28960         file.
28961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28964         file.
28965         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28966         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28967         file.
28968         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28969         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28970         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28972         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28973         libc_feholdexcept and libc_fesetenv.
28975 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28977         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28979 2013-01-14  David S. Miller  <davem@davemloft.net>
28981         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28982         (SPARC_ASM_VIS2_IFUNC): Likewise.
28983         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28985         use of 'siam' instruction.
28986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28987         Likewise.
28988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28989         Likewise.
28990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28991         Likewise.
28992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28997         file.
28998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28999         file.
29000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29001         file.
29002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29003         file.
29004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29009         new VIS2 routines.
29010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29013         Likewise.
29014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29017         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29019         routines to libm-sysdep_routines.
29020         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29023         fdim/fdimf to libm-sysdep_routines.
29024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29025         file.
29026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29028         file.
29029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29032         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29033         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29034         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29035         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29037 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29039         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29040         to optimize copies.
29042         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29047         local variable MPTWO.
29048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29049         Likewise.
29051 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29053         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29054         GLOB_NOESCAPE.
29056 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29058         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29060 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29062         * manual/pattern.texi (glob_t): Document gl_flags.
29063         (glob64_t): Likewise.
29065 2013-01-11  David S. Miller  <davem@davemloft.net>
29067         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29068         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29069         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29070         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29071         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29072         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29073         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29074         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29075         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29076         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29077         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29078         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29079         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29081         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29082         sparc V9 rather than using V8 code.
29083         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29084         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29086         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29087         Move to...
29088         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29089         Here.
29091 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29093         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29094         not in the main loop.
29095         * configure: Regenerated.
29097 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29099         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29100         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29101         to just #else.
29102         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29103         [!__GLIBC_HAVE_LONG_LONG] case.
29104         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29105         condition to just #else.
29106         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29107         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29108         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29109         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29110         unconditional.
29111         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29112         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29113         #elif condition to just #else.
29114         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29115         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29116         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29117         #elif condition to just #else.
29119 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29121         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29122         (EF_MIPS_ARCH_64): Fix value.
29123         (EF_MIPS_ARCH_32R2): New.
29124         (EF_MIPS_ARCH_64R2): New.
29126 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29128         * Makeconfig (+link-pie-before-libc): New.
29129         (+link-pie-after-libc): Likewise.
29130         (+link-pie-tests): Likewise.
29131         (+link-pie): Rewritten.
29132         (link-before-libc): Remove $(config-LDFLAGS).
29133         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29134         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29135         (config-LDFLAGS): Renamed to ...
29136         (rtld-LDFLAGS): This.
29137         (rtld-tests-LDFLAGS): New macro.
29138         (link-libc-rpath-link): Likewise.
29139         (link-libc-tests-rpath-link): Likewise.
29140         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29141         (link-libc): Prepand $(link-libc-rpath-link).
29142         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29143         (test-program-prefix): New macro.
29144         (test-via-rtld-prefix): Likewise.
29145         (test-program-cmd): Likewise.
29146         (host-test-program-cmd): Likewise.
29147         * Makefile ($(common-objpfx)testrun.sh): Replace
29148         $(run-program-prefix) with $(test-program-prefix).
29149         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29150         $(rtld-LDFLAGS).
29151         ($(common-objpfx)shlib.lds): Likewise.
29152         (build-module-helper): Likewise.
29153         ($(common-objpfx)format.lds): Likewise.
29154         * Rules (binaries-pie-tests): New.
29155         (binaries-pie-notests): Likewise.
29156         (binaries-pie): Rewritten.
29157         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29158         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29159         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29160         (make-test-out): Replace $(host-built-program-cmd) with
29161         $(host-test-program-cmd).
29162         * config.make.in (build-hardcoded-path-in-tests): New variable.
29163         * configure.in (--enable-hardcoded-path-in-tests): New configure
29164         option.
29165         (hardcoded_path_in_tests): New AC_SUBST.
29166         * configure: Regenerated.
29167         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29168         $(built-program-cmd) with $(test-program-cmd).
29169         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29170         (test_program_cmd): This.
29171         * elf/Makefile ($(objpfx)order.out): Run test with
29172         $(test-program-prefix).
29173         ($(objpfx)order2.out): Likewise.
29174         ($(objpfx)tst-initorder.out): Likewise.
29175         ($(objpfx)tst-initorder2.out): Likewise.
29176         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29177         $(test-program-cmd).
29178         ($(objpfx)tst-array1-static.out): Likewise.
29179         ($(objpfx)tst-array2.out): Likewise.
29180         ($(objpfx)tst-array3.out): Likewise.
29181         ($(objpfx)tst-array4.out): Likewise.
29182         ($(objpfx)tst-array5.out): Likewise.
29183         ($(objpfx)tst-array5-static.out): Likewise.
29184         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29185         $(test-program-cmd).
29186         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29187         $(run-program-prefix) with $(test-program-prefix).
29188         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29189         (test_program_prefix): This.
29190         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29191         $(run-program-prefix) with $(test-program-prefix).
29192         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29193         (test_program_prefix): This.
29194         * iconvdata/tst-tables.sh: Likewise.
29195         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29196         $(run-program-prefix) with $(test-program-prefix).
29197         ($(objpfx)tst-translit.out): Likewise.
29198         ($(objpfx)tst-gettext2.out): Likewise.
29199         ($(objpfx)tst-gettext4.out): Likewise.
29200         ($(objpfx)tst-gettext6.out): Likewise.
29201         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29202         (test_program_prefix): This.
29203         * intl/tst-gettext2.sh: Likewise.
29204         * intl/tst-gettext4.sh  Likewise.
29205         * intl/tst-gettext6.sh: Likewise.
29206         * intl/tst-translit.sh: Likewise.
29207         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29208         with $(test-program-cmd).
29209         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29210         $(run-program-prefix) with $(test-program-prefix).
29211         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29212         (test_program_prefix): This.
29213         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29214         $(run-program-prefix) with $(test-program-prefix).
29215         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29216         (test_program_prefix): This.
29217         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29218         * posix/Makefile ($(objpfx)globtest.out): Replace
29219         $(run-via-rtld-prefix) and $(test-wrapper) with
29220         $(test-program-prefix) and $(test-via-rtld-prefix).
29221         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29222         $(test-program-prefix).
29223         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29224         $(host-test-program-cmd).
29225         (tst-spawn-ARGS): Likewise.
29226         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29227         $(test-program-prefix).
29228         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29229         (test_via_rtld_prefix): This.
29230         (test_wrapper): Renamed to ...
29231         (test_program_prefix): This.
29232         (run_program_prefix): Replaced by test_program_prefix.
29233         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29234         (test_program_prefix): This.
29235         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29236         with $(host-test-program-cmd).
29237         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29238         $(run-program-prefix) with $(test-program-prefix).
29239         ($(objpfx)tst-printf.out): Likewise.
29240         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29241         $(test-program-cmd).
29242         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29243         (test_program_prefix): This.
29244         * stdio-common/tst-unbputc.sh: Likewise.
29245         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29246         $(run-program-prefix) with $(test-program-prefix).
29247         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29248         (test_program_prefix): This.
29249         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29250         $(built-program-cmd) with $(test-program-cmd).
29252 2013-01-11  Andreas Jaeger  <aj@suse.de>
29254         [BZ #15003]
29255         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29256         value. Sync with Linux 3.7.
29258 2013-01-10  David S. Miller  <davem@davemloft.net>
29260         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29261         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29262         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29264 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29266         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29267         never set.
29268         * configure: Regenerated.
29270 2013-01-10  David S. Miller  <davem@davemloft.net>
29272         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29273         sparc V9 rather than using V8 code.
29274         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29275         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29277 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29279         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29280         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29281         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29282         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29283         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29284         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29285         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29286         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29287         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29288         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29289         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29290         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29291         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29292         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29293         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29294         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29295         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29296         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29297         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29298         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29299         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29300         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29301         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29302         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29303         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29304         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29305         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29307 2013-01-10  David S. Miller  <davem@davemloft.net>
29309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29311 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29313         * posix/Makefile (tests-static): New variable.
29314         (tests): Add $(tests-static).
29315         (tst-exec-static-ARGS): New variable.
29316         (tst-spawn-static-ARGS): Likewise.
29317         * posix/tst-exec-static.c: New file.
29318         * posix/tst-spawn-static.c: Likewise.
29319         * posix/tst-exec.c: Support run directly.
29320         * posix/tst-spawn.c: Likewise.
29322 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29324         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29325         long.
29326         * math/bits/mathcalls.h (llrint): Likewise.
29327         (llround): Likewise.
29328         * stdlib/stdlib.h (struct drand48_data): Likewise.
29329         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29330         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29331         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29332         Likewise.
29333         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29334         Likewise.
29335         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29336         (elf_greg_t): Likewise.
29337         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29338         (__jmp_buf): Likewise.
29339         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29340         definitions.
29341         (llrint): Likewise, for all definitions.
29342         (llrintl): Likewise.
29344         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29345         Remove [__GNUC__] condition.
29346         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29347         condition to just [__USE_ISOC99].
29348         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29350 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29352         [BZ #14200]
29353         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29354         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29355         defined.
29356         (_POSIX_V6_ILP32_OFF32): Likewise.
29357         (_XBS5_ILP32_OFF32): Likewise.
29358         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29359         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29361 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29363         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29366         doubles __mpexp_twomm1.  Adjust usage.
29367         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29368         Remove.
29370 2013-01-10  Andreas Schwab  <schwab@suse.de>
29372         [BZ #14964]
29373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29374         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29376 2013-01-09  David S. Miller  <davem@davemloft.net>
29378         [BZ #15003]
29379         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29380         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29381         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29382         (TCP_FASTOPEN): Define.
29383         (tcp_repair_opt): New structure.
29384         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29385         enum values.
29386         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29387         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29388         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29389         (tcp_cookie_transactions): New structure.
29391 2013-01-09  Anton Blanchard  <anton@samba.org>
29393         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29394         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29395         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29396         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29398 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29400         * include/features.h (__USE_ANSI): Remove.
29402 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29404         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29406         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29408 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29410         * sysdeps/s390/fpu/libm-test-ulps: Update.
29412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29414         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29415         (__acr): Likewise.
29416         (__cpy): Likewise.
29417         (norm): Likewise.
29418         (denorm): Likewise.
29419         (__mp_dbl): Likewise.
29420         (__dbl_mp): Likewise.
29421         (add_magnitudes): Likewise.
29422         (sub_magnitudes): Likewise.
29423         (__add): Likewise.
29424         (__sub): Likewise.
29425         (__mul): Likewise.
29426         (__inv): Likewise.
29427         (__dvd): Likewise.
29428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29429         (__acr): Likewise.
29430         (__cpy): Likewise.
29431         (norm): Likewise.
29432         (denorm): Likewise.
29433         (__mp_dbl): Likewise.
29434         (__dbl_mp): Likewise.
29435         (add_magnitudes): Likewise.
29436         (sub_magnitudes): Likewise.
29437         (__add): Likewise.
29438         (__sub): Likewise.
29439         (__mul): Likewise.
29440         (__inv): Likewise.
29441         (__dvd): Likewise.
29442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29443         (__acr): Likewise.
29444         (__cpy): Likewise.
29445         (norm): Likewise.
29446         (denorm): Likewise.
29447         (__mp_dbl): Likewise.
29448         (__dbl_mp): Likewise.
29449         (add_magnitudes): Likewise.
29450         (sub_magnitudes): Likewise.
29451         (__add): Likewise.
29452         (__sub): Likewise.
29453         (__mul): Likewise.
29454         (__inv): Likewise.
29455         (__dvd): Likewise.
29457 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29459         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29460         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29461         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29462         2 && __USE_EXTERN_INLINES]: Likewise.
29464 2013-01-08  Andreas Jaeger  <aj@suse.de>
29466         [BZ# 14985]
29467         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29468         Remove.
29469         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29470         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29472 2013-01-07  Anton Blanchard  <anton@samba.org>
29474         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29475         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29476         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29477         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29478         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29479         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29480         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29481         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29483         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29484         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29486         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29487         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29488         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29489         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29490         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29491         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29492         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29493         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29494         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29495         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29497         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29498         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29499         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29500         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29501         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29502         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29503         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29504         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29506         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29507         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29508         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29509         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29510         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29511         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29512         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29513         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29514         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29515         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29516         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29518 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29520         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29521         (__MALLOC_PMT): Likewise.
29522         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29523         [__GNUC__], only on [_LIBC].
29524         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29525         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29526         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29527         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29528         forward declaration.
29529         (realloc_hook_ini): Likewise.
29530         (memalign_hook_ini): Likewise.
29531         (__libc_memalign): Do not use __MALLOC_PMT in variable
29532         declaration.
29533         (__libc_valloc): Likewise.
29534         (__libc_pvalloc): Likewise.
29535         (__libc_calloc): Likewise.
29536         (__posix_memalign): Likewise.
29538         [BZ #14996]
29539         * math/s_casinh.c: Include <float.h>.
29540         (__casinh): Do not do computation with squaring and square root
29541         for large arguments.
29542         * math/s_casinhf.c: Include <float.h>.
29543         (__casinhf): Do not do computation with squaring and square root
29544         for large arguments.
29545         * math/s_casinhl.c: Include <float.h>.
29546         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29547         (__casinhl): Do not do computation with squaring and square root
29548         for large arguments.
29549         * math/libm-test.inc (casin_test): Add more tests.
29550         (casinh_test): Likewise.
29551         * sysdeps/i386/fpu/libm-test-ulps: Update.
29552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
29556         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29557         (__x86_64_raw_data_cache_size): Likewise.
29558         (__x86_64_data_cache_size_half): Likewise.
29559         (__x86_64_raw_data_cache_size_half): Likewise.
29560         (__x86_64_shared_cache_size): Likewise.
29561         (__x86_64_raw_shared_cache_size): Likewise.
29562         (__x86_64_shared_cache_size_half): Likewise.
29563         (__x86_64_raw_shared_cache_size_half): Likewise.
29564         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29565         to ...
29566         (__x86_data_cache_size): This.
29567         (__x86_64_raw_data_cache_size): Renamed to ...
29568         (__x86_raw_data_cache_size): This.
29569         (__x86_64_data_cache_size_half): Renamed to ...
29570         (__x86_data_cache_size_half): This.
29571         (__x86_64_raw_data_cache_size_half): Renamed to ...
29572         (__x86_raw_data_cache_size_half): This.
29573         (__x86_64_shared_cache_size): Renamed to ...
29574         (__x86_shared_cache_size): This.
29575         (__x86_64_raw_shared_cache_size): Renamed to ...
29576         (__x86_raw_shared_cache_size): This.
29577         (__x86_64_shared_cache_size_half): Renamed to ...
29578         (__x86_shared_cache_size_half): This.
29579         (__x86_64_raw_shared_cache_size_half): Renamed to ...
29580         (__x86_raw_shared_cache_size_half): This.
29581         * sysdeps/x86_64/memcpy.S: Updated.
29582         * sysdeps/x86_64/memset.S: Likewise.
29583         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29584         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29585         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29587 2013-01-04  David S. Miller  <davem@davemloft.net>
29589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29591 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29593         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29594         1 to avoid redefinition warning.
29595         (__USE_GNU): Don't define.
29596         (init_signaling_nan): Protoize.
29598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29600 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29602         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29604         (__cpymn): Likewise.
29605         (norm): Remove commented code.
29606         (denorm): Likewise.
29607         (__mp_dbl): Likewise.
29608         (__inv): Likewise.
29609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29610         (__cpymn): Likewise.
29611         (norm): Remove commented code.
29612         (denorm): Likewise.
29613         (__mp_dbl): Likewise.
29614         (__inv): Likewise.
29616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29617         mp_no value for 1.0 and 2.0.
29618         (norm): Use RADIXI instead of radixi.d.
29619         (denorm): Likewise.
29620         (__mul): Use 0.0 instead of zero.d.
29621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29622         mp_no value for 1.0 and 2.0.
29623         (norm): Use RADIXI instead of radixi.d.
29624         (denorm): Likewise.
29625         (__mul): Use 0.0 instead of zero.d.
29627 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29629         [BZ #14994]
29630         * math/s_casinh.c (__casinh): Reduce finite argument to first
29631         quadrant then set signs of results at the end.
29632         * math/s_casinhf.c (__casinhf): Likewise.
29633         * math/s_casinhl.c (__casinhl): Likewise.
29634         * math/libm-test.inc (casin_test): Add more tests.
29635         (casinh_test): Likewise.
29636         * sysdeps/i386/fpu/libm-test-ulps: Update.
29637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29639 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29641         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29643         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29645         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29646         declarations.
29647         (denorm): Likewise.
29648         (__mp_dbl): Likewise.
29649         (__inv): Likewise.
29651         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29652         and adjust the header comment.
29654         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29655         variable name from declaration.
29657 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29660         Initialize COMMON_CPUID_INDEX_7 element.
29661         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29662         (CPUID_RTM): Likewise.
29663         (HAS_RTM): Likewise.
29664         (COMMON_CPUID_INDEX_7): New enum.
29666 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29668         [BZ #14981]
29669         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29670         size is zero, record memory as freed.
29672 2013-01-03  Andreas Jaeger  <aj@suse.de>
29674         * po/ia.po: Add new Interlingua translation.
29676 2012-01-03  Allan McRae  <allan@archlinux.org>
29678         * locale/programs/localedef.c: Fix description of '--posix' flag.
29680 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29682         * NEWS: Update dates in second copyright notice.
29683         * README: Update copyright dates in example.
29684         * manual/libc.texinfo: Update copyright dates.
29685         * scripts/test-installation.pl: Update copyright date in --version
29686         output.
29688         * hurd/ctty-input.c: Fix copyright notice formatting.
29689         * hurd/ctty-output.c: Likewise.
29690         * hurd/dtable.c: Likewise.
29691         * hurd/hurd-raise.c: Likewise.
29692         * hurd/hurdprio.c: Likewise.
29693         * hurd/msgportdemux.c: Likewise.
29694         * misc/sys/file.h: Likewise.
29695         * misc/sys/ioctl.h: Likewise.
29696         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29697         * sysdeps/mach/hurd/chdir.c: Likewise.
29698         * sysdeps/mach/hurd/fchdir.c: Likewise.
29699         * sysdeps/mach/hurd/rename.c: Likewise.
29700         * sysdeps/mach/hurd/rmdir.c: Likewise.
29701         * sysdeps/mach/hurd/seekdir.c: Likewise.
29702         * sysdeps/mach/hurd/setsid.c: Likewise.
29703         * sysdeps/posix/wait3.c: Likewise.
29705         * All files with FSF copyright notices: Update copyright dates
29706         using scripts/update-copyrights.
29707         * intl/plural.c: Regenerated.
29708         * locale/programs/charmap-kw.h: Likewise.
29709         * locale/programs/locfile-kw.h: Likewise.
29711 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29713         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29714         four values.
29716         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29717         calculation loop and add branch prediction.
29719         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29720         check access beyond bounds of m1np.
29722         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29723         MPTWO.
29724         (__inv): Remove local variable MPTWO to use the global
29725         constant.
29726         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29728         variable MPTWO.
29729         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29730         MP3HALFS static const.
29732 2013-01-01  David S. Miller  <davem@davemloft.net>
29734         * po/ca.po: Update from translation team.
29736 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29738         * scripts/update-copyrights: New file.
29739         * Makeconfig: Reformat copyright notice.
29740         * ctype/ctype.h: Likewise.
29741         * debug/swprintf_chk.c: Likewise.
29742         * elf/dl-cache.c: Likewise.
29743         * elf/dl-debug.c: Likewise.
29744         * elf/dl-object.c: Likewise.
29745         * grp/initgroups.c: Likewise.
29746         * hurd/Makefile: Likewise.
29747         * hurd/hurd/signal.h: Likewise.
29748         * hurd/hurdfault.c: Likewise.
29749         * hurd/hurdioctl.c: Likewise.
29750         * hurd/hurdlookup.c: Likewise.
29751         * hurd/intr-msg.c: Likewise.
29752         * iconv/gconv_open.c: Likewise.
29753         * libio/swprintf.c: Likewise.
29754         * locale/lc-ctype.c: Likewise.
29755         * locale/nl_langinfo.c: Likewise.
29756         * mach/Machrules: Likewise.
29757         * mach/Makefile: Likewise.
29758         * malloc/obstack.h: Likewise.
29759         * manual/Makefile: Likewise.
29760         * manual/tsort.awk: Likewise.
29761         * misc/bits/stab.def: Likewise.
29762         * nis/nis_print_group_entry.c: Likewise.
29763         * nis/nis_table.c: Likewise.
29764         * nis/nss_compat/compat-pwd.c: Likewise.
29765         * nis/nss_compat/compat-spwd.c: Likewise.
29766         * po/Makefile: Likewise.
29767         * posix/fnmatch.c: Likewise.
29768         * posix/regex.h: Likewise.
29769         * resolv/Makefile: Likewise.
29770         * resolv/nss_dns/dns-network.c: Likewise.
29771         * resolv/res_hconf.c: Likewise.
29772         * scripts/gen-sorted.awk: Likewise.
29773         * soft-fp/soft-fp.h: Likewise.
29774         * stdio-common/printf.h: Likewise.
29775         * stdlib/monetary.h: Likewise.
29776         * stdlib/random.c: Likewise.
29777         * stdlib/random_r.c: Likewise.
29778         * sysdeps/generic/Makefile: Likewise.
29779         * sysdeps/gnu/Makefile: Likewise.
29780         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29782         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29784         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29787         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29790         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29791         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29792         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29793         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29803         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29804         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29805         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29806         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29807         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29808         * sysdeps/mach/hurd/errnos.awk: Likewise.
29809         * sysdeps/mach/hurd/fork.c: Likewise.
29810         * sysdeps/mach/hurd/getcwd.c: Likewise.
29811         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29812         * sysdeps/mach/hurd/mmap.c: Likewise.
29813         * sysdeps/mach/hurd/utimes.c: Likewise.
29814         * sysdeps/mach/hurd/xmknod.c: Likewise.
29815         * sysdeps/posix/profil.c: Likewise.
29816         * sysdeps/posix/readdir_r.c: Likewise.
29817         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29818         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29819         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29820         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29822         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29823         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29824         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29826         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29827         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29828         * sysdeps/pthread/lio_listio.c: Likewise.
29829         * sysdeps/sparc/dl-procinfo.h: Likewise.
29830         * sysdeps/unix/i386/sysdep.S: Likewise.
29831         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29832         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29833         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29834         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29836         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29837         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29838         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29839         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29840         * sysdeps/wordsize-32/divdi3.c: Likewise.
29841         * time/sys/time.h: Likewise.
29842         * wcsmbs/Makefile: Likewise.
29844 2013-01-01  David S. Miller  <davem@davemloft.net>
29846         * po/fr.po: Update from translation team.
29848         * catgets/gencat.c: Update copyright year.
29849         * csu/version.c: Likewise.
29850         * debug/catchsegv.sh: Likewise.
29851         * debug/pcprofiledump.c: Likewise.
29852         * debug/xtrace.sh: Likewise.
29853         * elf/ldconfig.c: Likewise.
29854         * elf/ldd.bash.in: Likewise.
29855         * elf/pldd.c: Likewise.
29856         * elf/sotruss.ksh: Likewise.
29857         * elf/sprof.c: Likewise.
29858         * iconv/iconv_prog.c: Likewise.
29859         * iconv/iconvconfig.c: Likewise.
29860         * locale/programs/locale.c: Likewise.
29861         * locale/programs/localedef.c: Likewise.
29862         * login/programs/pt_chown.c: Likewise.
29863         * malloc/memusage.sh: Likewise.
29864         * malloc/memusagestat.c: Likewise.
29865         * malloc/mtrace.pl: Likewise.
29866         * nscd/nscd.c: Likewise.
29867         * nss/getent.c: Likewise.
29868         * nss/makedb.c: Likewise.
29869         * posix/getconf.c: Likewise.
29871 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29873         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29874         numbers.
29876 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29878         * math/bits/mathcalls.h (modf): Use __nonnull.
29880 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29882         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29883         (split): Use macro CN instead of the bare value.
29884         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29885         could be used.
29886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29887         instead of the bare value.
29888         (power1): Likewise.
29890 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29892         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29893         __ATAN_TWOM.
29894         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29896         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29897         their values.
29898         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29899         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29900         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29901         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29903 2012-12-28  Andreas Jaeger  <aj@suse.de>
29905         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29906         values are from Linux 3.7.
29908         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29909         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29911 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29913         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29914         TRUE case.
29916         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29917         (norm): Likewise.
29918         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29919         variables with preprocessor constants.
29920         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29921         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29922         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29924 2012-12-27  Bruno Haible  <bruno@clisp.org>
29926         [BZ #14317]
29927         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29928         only if needed.
29930 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29933         and use variable directly.
29934         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29936         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29937         MPONE.
29938         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29939         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29940         variable MPONE.
29941         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29943         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29944         include directive.  Remove local variable MPONE.
29945         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29946         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29947         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29949 2012-12-25  David S. Miller  <davem@davemloft.net>
29951         * version.h (RELEASE): Set to "development".
29952         (VERSION): Set to "2.17.90".
29953         * NEWS: Add 2.18 section.
29955 2012-12-21  David S. Miller  <davem@davemloft.net>
29957         * po/hr.po: Update from translation team.
29959 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29961         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29963 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29965         * NEWS:  Mention new memcpy for MIPS.
29967 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29969         * manual/contrib.texi (Contributors): Spelling correction.
29971 2012-12-15  David S. Miller  <davem@davemloft.net>
29973         * po/ru.po: Update from translation team.
29975 2012-12-13  David S. Miller  <davem@davemloft.net>
29977         * NEWS: Mention IFUNC testsuite enhancements.
29979         * po/pl.po: Update from translation team.
29980         * po/bg.po: Likewise.
29982         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29983         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29985 2012-12-11  David S. Miller  <davem@davemloft.net>
29987         * po/sv.po: Update from translation team.
29989         * po/vi.po: Update from translation team.
29991         * po/cs.po: Update from translation team.
29993         * po/de.po: Update from translation team.
29994         * po/eo.po: Likewise.
29995         * po/nl.po: Likewise.
29997 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29999         [BZ #14246]
30000         * manual/argp.texi (Argp Helper Functions): Move node to follow
30001         Argp Parsing State.
30003         [BZ #14872]
30004         * manual/conf.texi (Limits on File System Capacity): Mention if
30005         terminating null is included in the max size.
30007 2012-12-10  Andreas Jaeger  <aj@suse.de>
30009         * po/cs.po: Update from translation team.
30011 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30013         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30014         void pointer and cast to uintptr_t.
30015         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30016         path.
30017         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30018         * sysdeps/s390/s390-64/memset.S: Likewise.
30020 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30022         [BZ #14833]
30023         * menual/message.texi (Message Translation): Fix typos.
30024         (Helper programs for gettext): Likewise.
30026 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30028         [BZ #14898]
30029         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30030         Change to -1.
30032 2012-12-07  David S. Miller  <davem@davemloft.net>
30034         * po/libc.pot: Update.
30036 2012-12-07  Richard Henderson  <rth@redhat.com>
30038         [BZ #10114]
30039         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30040         normal/normal case to before the switch.
30041         (_FP_DIV): Likewise.
30043 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30044             Mike Frysinger  <vapier@gentoo.org>
30046         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30047         check for __NR_fadvise64_64.
30049 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30051         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30052         0, not just to plain "0" as a statement.
30053         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30054         with cw.
30056 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30058         * NEWS: Use sourceware.org in Bugzilla URL.
30060 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30063         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30065         * stdio-common/tst-put-error.c (do_test): Add newline to the
30066         padded test to ensure flush.
30068 2012-12-05  Jeff Law  <law@redhat.com>
30070         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30072 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30074         * README: Don't refer to ports add-on as distributed separately.
30075         Mention AArch64 in list of systems supported in the ports add-on.
30077         * LICENSES: Add more non-FSF copyright and license notices.
30079         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30080         ((unused)).
30082         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30084         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30085         10000 as width of padded output.
30087 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30089         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30091         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30092         variable LX with __attribute__ ((unused)).
30093         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30094         Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30098         with __attribute__ ((unused)).
30100 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30102         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30104 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30106         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30107         (CFLAGS-nldbl-acos.c): New variable.
30108         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30109         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30110         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30111         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30112         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30113         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30114         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30115         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30116         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30117         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30118         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30119         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30120         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30121         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30122         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30123         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30124         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30125         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30126         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30127         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30128         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30129         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30130         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30131         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30132         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30133         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30134         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30135         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30136         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30137         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30138         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30139         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30140         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30141         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30142         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30143         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30144         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30145         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30146         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30147         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30148         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30149         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30150         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30151         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30152         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30153         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30154         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30155         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30156         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30157         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30158         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30159         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30160         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30161         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30162         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30163         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30164         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30165         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30166         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30167         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30168         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30169         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30170         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30171         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30172         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30173         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30174         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30175         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30176         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30177         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30178         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30179         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30180         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30181         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30182         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30183         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30184         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30185         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30186         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30187         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30188         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30189         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30190         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30191         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30192         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30193         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30194         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30195         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30196         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30197         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30198         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30199         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30200         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30201         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30202         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30203         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30204         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30207         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30209         [BZ #14914]
30210         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30211         whole low double instead of just low 47 bits when splitting values
30212         into two parts.
30214 2012-12-03  Allan McRae  <allan@archlinux.org>
30216         * manual/stdio.texi (Predefined Printf Handlers): Remove
30217         @hsep and @vsep usage.
30219 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30221         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30222         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30224 2012-12-03  Jeff Law  <law@redhat.com>
30226         * time/sys/time.h (settimeofday): Do not mark TV argument
30227         as __nonnull.
30229 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30231         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30232         when currently writing and seek to current position when not.
30233         * libio/Makefile (tests): Remove bug-fclose1.
30234         * libio/bug-fclose1.c: Delete.
30236 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30238         * manual/arith.texi (feenableexcept): Fix typo.
30239         (fedisableexcept): Likewise.
30241 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30243         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30244         second, differently-typed declaration, rather than a cast.
30246 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30248         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30249         * include/rpc/svc.h: ... here.
30251 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30253         [BZ #13013]
30254         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30255         depending n and resplen2 to catch cases where answer
30256         equals answerp2.
30258 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30260         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30261         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30263 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30265         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30267 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30269         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30271 2012-11-28  Jeff Law  <law@redhat.com>
30273         [BZ #13761]
30274         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30275         dataset_temporary.  Track alloca usage into alloca_used.
30276         If dataset is large allocate and release it via malloc/free.
30278 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30280         [BZ #14197]
30281         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30283 2012-11-28  David S. Miller  <davem@davemloft.net>
30285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30287 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30289         [BZ #14803]
30290         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30291         of pi/2 rounded to nearest to 64 bits.
30292         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30293         nearest to 64 bits.
30294         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30295         bits.
30297 2012-11-28  Jeff Law <law@redhat.com>
30298             Martin Osvald <mosvald@redhat.com>
30300         [BZ #14889]
30301         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30302         * sunrpc/svc.c: Include time.h.
30303         (__svc_accept_failed): New function.
30304         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30305         any reason other than EINTR, call __svc_accept_failed.
30306         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30307         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30309 2012-11-28  Andreas Schwab  <schwab@suse.de>
30311         * scripts/abilist.awk: Also handle indirect functions in .opd
30312         section.
30314 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30316         [BZ #13881]
30317         * sysdeps/x86/fpu/powl_helper.c: New file.
30318         * sysdeps/x86/fpu/Makefile: Likewise.
30319         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30320         (p3): New object.
30321         (__ieee754_powl): Use __powl_helper for finite arguments except
30322         integer exponents below 8.
30323         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30324         (p3): New object.
30325         (__ieee754_powl): Use __powl_helper for finite arguments except
30326         integer exponents below 8.
30327         * math/libm-test.inc (pow_test): Add more tests and enable some
30328         previously disabled tests.
30329         * sysdeps/i386/fpu/libm-test-ulps: Update.
30330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30332 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30333             Carlos O'Donell  <carlos_odonell@mentor.com>
30335         * nss/makedb.c (is_prime): Assert that input is odd and greater
30336         than 4.  Note that fact in a comment too.
30337         (next_prime): Add 4 to input.
30339 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30341         [BZ #11741]
30342         * libio/Makefile (tests): Add test case tst-fwrite-error.
30343         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30344         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30345         * libio/tst-fwrite-error.c: New test case.
30347 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30349         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30350         before casting to void *.
30351         * include/libc-internal.h (__pointer_type): New macro.
30352         (__integer_if_pointer_type_sub): Likewise.
30353         (__integer_if_pointer_type): Likewise.
30354         (cast_to_integer): Likewise.
30355         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30356         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30357         before casting to atomic64_t.
30358         (atomic_exchange_acq): Likewise.
30359         (__arch_exchange_and_add_body): Likewise.
30360         (__arch_add_body): Likewise.
30361         (atomic_add_negative): Likewise.
30362         (atomic_add_zero): Likewise.
30364 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30366         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30367         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30368         (add_fdes): Likewise.
30369         (linear_search_fdes): Likewise.
30370         (binary_search_unencoded_fdes): Likewise.
30372 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30374         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30376 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30378         * configure.in: Autodetect C++ header directories.
30379         * configure: Regenerated.
30381 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30383         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30385 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30389 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30391         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30392         LDBL_MANT_DIG == 106]: Disable some tests.
30393         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30394         Likewise.
30395         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30396         Likewise.
30398         [BZ #14871]
30399         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30400         input for small inputs.  Return +/- pi/2 for large inputs.
30401         * math/libm-test.inc (atan_test): Add more tests.
30403         * sysdeps/generic/unwind-dw2-fde-glibc.c
30404         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30405         __attribute__ ((unused)).
30407         [BZ #14645]
30408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30409         x * y if x and y are nonzero and z is zero.
30411         [BZ #14811]
30412         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30413         nonzero exponents with absolute value below 0x1p-117 to +/-
30414         0x1p-117.
30416         [BZ #14869]
30417         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30418         up arguments below 2**-450, not just those below 2**-500.
30419         * math/libm-test.inc (hypot_test): Add another test.
30421         [BZ #14868]
30422         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30423         Return a+b for ratio over 2**120, not 2**60.
30424         * math/libm-test.inc (hypot_test): Add another test.
30426         * math/libm-test.inc (clog_test): Use
30427         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30428         (clog10_test): Likewise.
30430         [BZ #6778]
30431         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30433 2012-11-22  Andreas Schwab  <schwab@suse.de>
30435         * sysdeps/i386/fpu/libm-test-ulps: Update.
30437 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30439         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30440         printf output with newline.
30442 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30444         [BZ #14865]
30445         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30446         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30447         -z nodlopen, -z initfirst and -z execstack support.
30448         * configure: Regenerated.
30450         * elf/elf.h (DF_1_NODIRECT): New macro.
30451         (DF_1_IGNMULDEF): Likewise.
30452         (DF_1_NOKSYMS): Likewise.
30453         (DF_1_NOHDR): Likewise.
30454         (DF_1_EDITED): Likewise.
30455         (DF_1_NORELOC): Likewise.
30456         (DF_1_SYMINTPOSE): Likewise.
30457         (DF_1_GLOBAUDIT): Likewise.
30458         (DF_1_SINGLETON): Likewise.
30459         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30460         DT_1_SUPPORTED_MASK bits.
30461         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30463 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30465         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30467 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30469         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30470         macro.
30472         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30473         (sendmmsg): Move declarations...
30474         * socket/sys/socket.h: ... here.
30475         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30476         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30477         include it from...
30478         * socket/recvmmsg.c: ... this new file.
30479         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30480         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30481         definition of __sendmmsg hidden.
30482         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30483         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30484         Move ENOSYS stub into and include it from...
30485         * socket/sendmmsg.c: ... this new file.
30486         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30487         (sysdep_routines): Move recvmmsg and sendmmsg...
30488         * socket/Makefile (routines): ... here.
30489         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30490         (GLIBC_PRIVATE): Add __sendmmsg.
30491         * include/sys/socket.h (__sendmmsg): Add declarations.
30492         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30493         sendmmsg.
30495 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30497         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30498         variable I1 with __attribute__ ((unused)).
30499         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30501 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30503         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30504         DUMMY variables with __attribute__ ((unused)).
30506         * bits/byteswap.h: Include <bits/types.h>.
30507         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30509 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30511         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30512         string_t.  Do not manually set errno.
30513         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30514         length with __strnlen.  Make sure to both set errno and return it on
30515         failure.
30517 2012-11-19  David S. Miller  <davem@davemloft.net>
30519         With help from Joseph Myers.
30520         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30521         very large arguments properly.
30522         * math/libm-test.inc (atan_test): New tests.
30523         (atan2_test): New tests.
30524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30527 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30529         [BZ #14856]
30530         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30531         Define to 3.
30533         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30534         [POSIX] (EADDRNOTAVAIL): Likewise.
30535         [POSIX] (EAFNOSUPPORT): Likewise.
30536         [POSIX] (EALREADY): Likewise.
30537         [POSIX] (ECONNABORTED): Likewise.
30538         [POSIX] (ECONNREFUSED): Likewise.
30539         [POSIX] (ECONNRESET): Likewise.
30540         [POSIX] (EDESTADDRREQ): Likewise.
30541         [POSIX] (EDQUOT): Likewise.
30542         [POSIX] (EHOSTUNREACH): Likewise.
30543         [POSIX] (EIDRM): Likewise.
30544         [POSIX] (EISCONN): Likewise.
30545         [POSIX] (ELOOP): Likewise.
30546         [POSIX] (EMULTIHOP): Likewise.
30547         [POSIX] (ENETDOWN): Likewise.
30548         [POSIX] (ENETUNREACH): Likewise.
30549         [POSIX] (ENOBUFS): Likewise.
30550         [POSIX] (ENODATA): Likewise.
30551         [POSIX] (ENOLINK): Likewise.
30552         [POSIX] (ENOMSG): Likewise.
30553         [POSIX] (ENOPROTOOPT): Likewise.
30554         [POSIX] (ENOSR): Likewise.
30555         [POSIX] (ENOSTR): Likewise.
30556         [POSIX] (ENOTCONN): Likewise.
30557         [POSIX] (ENOTSOCK): Likewise.
30558         [POSIX] (EOPNOTSUPP): Likewise.
30559         [POSIX] (EOVERFLOW): Likewise.
30560         [POSIX] (EPROTO): Likewise.
30561         [POSIX] (EPROTONOSUPPORT): Likewise.
30562         [POSIX] (EPROTOTYPE): Likewise.
30563         [POSIX] (ESTALE): Likewise.
30564         [POSIX] (ETIME): Likewise.
30565         [POSIX] (ETXTBSY): Likewise.
30566         [POSIX] (EWOULDBLOCK): Likewise.
30567         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30568         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30569         [POSIX] (SEEK_CUR): Likewise.
30570         [POSIX] (SEEK_END): Likewise.
30571         [POSIX || UNIX98] (mode_t): Do not require.
30572         [POSIX] (off_t): Likewise.
30573         [POSIX] (pid_t): Likewise.
30574         [POSIX] (sys/stat.h): Do not allow header.
30575         [POSIX] (unistd.h): Likewise.
30576         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30577         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30578         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30579         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30580         require.
30581         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30582         sigevent): Specify elements.
30583         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30584         entry.
30585         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30586         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30588         * conform/data/cpio.h-data [POSIX]: Disable whole file.
30589         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30590         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30591         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30592         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30593         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30594         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30595         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30596         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30597         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30598         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30599         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30600         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30601         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30602         Likewise.
30603         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30604         Likewise.
30605         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30606         Likewise.
30607         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30608         Likewise.
30609         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30610         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30611         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30612         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30613         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30614         Specify lower bound on value.
30615         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30616         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30617         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30618         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30619         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30620         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30621         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30622         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30623         value.
30624         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30625         as optional.
30626         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30627         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30628         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30629         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30630         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30631         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30632         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30633         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30634         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30635         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30636         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30637         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30638         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30639         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30640         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30641         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30642         entry.
30643         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30644         optional.
30645         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30646         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30647         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30648         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30649         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30650         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30651         Likewise.
30652         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30653         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30654         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30655         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30656         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30657         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30658         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30659         as optional.
30660         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30661         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30662         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30663         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30664         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30665         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30666         specify as optional.
30667         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30668         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30669         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30670         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30671         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30672         [XPG3] (NL_LANGMAX): Likewise.
30673         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30674         [POSIX || XPG3] (NL_NMAX): Likewise.
30675         [POSIX || XPG3] (NL_SETMAX): Likewise.
30676         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30677         [XPG3] (NZERO): Likewise.
30678         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30679         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30680         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30681         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30682         (REG_ERANGE): Expect.
30683         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30684         optional-constant.
30685         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30686         Use (void) in prototype.
30687         [POSIX] (*_t): Allow.
30688         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30689         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30690         (WRDE_BADVAL): Expect.
30692         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30693         expect.
30694         [XPG3 || XPG4] (O_RSYNC): Likewise.
30695         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30696         Likewise.
30697         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30698         [XPG3 || XPG4] (sigqueue): Likewise.
30699         [XPG3 || XPG4] (sigtimedwait): Likewise.
30700         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30701         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30702         [XPG3 || XPG4] (vsnprintf): Likewise.
30703         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30704         Likewise.
30705         [XPG3 || XPG4] (blksize_t): Likewise.
30706         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30707         Likewise.
30708         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30709         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30710         [XPG3 || XPG4] (struct itimerspec): Likewise.
30711         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30712         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30713         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30714         [XPG3 || XPG4] (clockid_t): Likewise.
30715         [XPG3 || XPG4] (timer_t): Likewise.
30716         [XPG3 || XPG4] (clock_getres): Likewise.
30717         [XPG3 || XPG4] (clock_gettime): Likewise.
30718         [XPG3 || XPG4] (clock_settime): Likewise.
30719         [XPG3 || XPG4] (nanosleep): Likewise.
30720         [XPG3 || XPG4] (timer_create): Likewise.
30721         [XPG3 || XPG4] (timer_delete): Likewise.
30722         [XPG3 || XPG4] (timer_gettime): Likewise.
30723         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30724         [XPG3 || XPG4] (timer_settime): Likewise.
30725         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30726         [XPG3 || XPG4] (getlogin_r): Likewise.
30727         [XPG3 || XPG4] (pread): Likewise.
30728         [XPG3 || XPG4] (pthread_atfork): Likewise.
30729         [XPG3 || XPG4] (pwrite): Likewise.
30731         [BZ #14835]
30732         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30733         <bits/siginfo.h>.
30735 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30737         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30738         finalizing MALLSTREAM.
30740         * sysdeps/mach/hurd/syncfs.c: New file.
30742 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30744         [BZ #14719]
30745         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30746         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30747         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30748         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30749         (_nss_dns_gethostbyname4_r): Likewise.
30750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30751         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30753 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30755         [BZ #13763]
30756         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30758 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30760         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30761         * elf/cache.c (print_entry): Print ",AArch64" for
30762         FLAG_AARCH64_LIB64
30764         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30765         * elf/cache.c (print_entry): Print ",hard-float" for
30766         FLAG_ARM_LIBHF.
30768 2012-11-18  David S. Miller  <davem@davemloft.net>
30770         With help from Joseph Myers.
30771         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30772         cutoff to 2**-13.
30773         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30774         cutoff to 2**-25.
30775         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30776         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30777         small.
30778         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30779         * math/libm-test.inc (y0_test): New tests.
30780         (y1_test): New tests.
30781         * sysdeps/i386/fpu/libm-test-ulps: Update.
30782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30785 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30787         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30788         64-bit targets.
30789         * configure: Regenerated.
30791 2012-11-17  David S. Miller  <davem@davemloft.net>
30793         [BZ #14811]
30794         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30795         nonzero exponents with absolute value below 0x1p-128 to +/-
30796         0x1p-128.
30798 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30800         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30802         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30804         * posix/getconf-speclist.c: New file.
30805         * posix/posix-envs.def: Likewise.
30806         * posix/confstr.c (START_ENV_GROUP): New macro.
30807         (END_ENV_GROUP): Likewise.
30808         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30809         (KNOWN_PRESENT_ENV_STRING): Likewise.
30810         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30811         (UNKNOWN_ENVIRONMENT): Likewise.
30812         (confstr): Include posix-envs.def instead of handling
30813         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30814         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30815         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30816         (END_ENV_GROUP): Likewise.
30817         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30818         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30819         (UNKNOWN_ENVIRONMENT): Likewise.
30820         (__sysconf): Include posix-envs.def instead of handling associated
30821         cases directly here.
30822         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30823         preprocessing getconf-speclist.c rather than running getconf or
30824         generating empty file.
30826 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30828         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30830 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30832         [BZ #14672]
30833         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30835 2012-11-16  David S. Miller  <davem@davemloft.net>
30837         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30838         smaller than LDBL_EPSILON/2.0L, just return xm1.
30840 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30842         * elf/tst-array1.c (init): Set constructor priority to 1000.
30843         (fini): Set destructor priority to 1000.
30844         * elf/tst-array2dep.c: Likewise.
30846 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30848         [BZ #11741]
30849         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30850         (_IO_new_file_xsputn): Also return EOF if none of the input
30851         data was written when overflow failed.
30852         * libio/iopadn.c (_IO_padn): Likewise.
30853         * libio/iowpadn.c (_IO_wpadn): Likewise.
30854         * stdio-common/tst-put-error.c: Add copyright notice.
30855         (do_test): Add case for printing padded string.
30856         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30857         _IO_padn returned error.
30858         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30859         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30860         return EOF.
30862 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30864         * libio/libioP.h: Add comment note that the references to C++
30865         bits are now obsolete.
30867 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30869         * math/libm-test.inc (check_complex): Use asprintf.
30871 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30873         * debug/pcprofiledump.c (print_version): Update copyright year.
30874         * malloc/memusagestat.c (print_version): Likewise.
30876 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30878         [BZ #14831]
30879         * elf/Makefile (tests): Add tst-audit8.
30880         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30881         ($(objpfx)tst-audit8.out): New target.
30882         (tst-audit8-ENV): New variable.
30883         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30884         audit if l_reloc_result is NULL.
30885         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30886         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30887         * elf/tst-audit8.c: New file.
30889 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30891         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30892         * misc/Makefile (CFLAGS-select.c): Define.
30893         * posix/Makefile (CFLAGS-pause.c): Define.
30895 2012-11-13  David S. Miller  <davem@davemloft.net>
30897         * crypt/Makefile: Move test targets after toplevel Rules
30898         inclusion.  Grab any necessary sysdep routines when linking.
30899         * crypt/md5.c (md5_process_block): Remove define, we will always
30900         name it __md5_process_block.
30901         (md5_finish_ctx): Update md5_process_block call.
30902         (md5_stream): Likewise.
30903         (md5_process_bytes): Likewise.
30904         (md5_process_block): Rename to __md5_process_block and move to ...
30905         * crypt/md5-block.c: ... here.
30906         * crypt/sha256.c (sha256_process_block): Move to ...
30907         * crypt/sha256-block.c: ... here.
30908         * crypt/sha512.c (sha512_process_block): Move to ...
30909         * crypt/sha512-block.c: ... here.
30910         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30911         path.
30912         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30913         * sysdeps/sparc/sparc64/multiarch/Makefile
30914         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30915         crypt subdir.
30916         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30917         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30918         multiarch changes.
30919         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30920         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30921         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30922         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30923         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30924         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30925         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30926         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30927         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30928         file.
30929         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30930         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30931         file.
30932         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30934 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30936         * timezone/tzselect.ksh: Update from tzcode git revision
30937         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30938         * timezone/zdump.c: Likewise.
30939         * timezone/zic.c: Likewise.
30940         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30941         in TZVERSION setting, not $(PKGVERSION).
30942         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30943         REPORT_BUGS_TO settings.
30945         [BZ #14838]
30946         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30947         macro.
30949 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30951         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30952         detection to immediately after _FP_ROUND().
30953         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30954         bits are 0.
30956 2012-11-11  David S. Miller  <davem@davemloft.net>
30958         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30959         inttypes.h
30960         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30961         __close rather than their public counterparts.
30963 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30965         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30966         file.
30967         [UNIX98] (sem_timedwait): Do not expect.
30968         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30969         [XPG4 || UNIX98] (sockatmark): Do not expect.
30970         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30971         (clock_getcpuclockid): Do not expect.
30972         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30973         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30974         Do not expect.
30975         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30976         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30977         [UNIX98] (vwscanf): Likewise.
30978         [UNIX98] (vswscanf): Likewise.
30980 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30982         * timezone/version.h: Remove file.
30983         * timezone/README: Do not refer to version.h.
30984         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30985         $(objpfx)version.h.
30986         ($(objpfx)zdump.o): Likewise.
30987         ($(objpfx)version.h): New target.
30989         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30990         2012i.
30991         * timezone/README: Don't mention modification to tzselect.ksh.
30992         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30993         work on unmodified tzselect.ksh.  Substitute version numbers in
30994         tzselect.ksh.
30996         * Makefile (format-me): Remove.
30997         (INSTALL): Adjust indentation.  Use commands directly instead of
30998         using $(format-me).
31000         * aclocal.m4 (ACX_PKGVERSION): New macro.
31001         (ACX_BUGURL): Likewise.
31002         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31003         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31004         (REPORT_BUGS_TO): Likewise.
31005         * configure: Regenerated.
31006         * config.h.in (PKGVERSION): New macro.
31007         (REPORT_BUGS_TO): Likewise.
31008         * config.make.in (PKGVERSION): New variable.
31009         (PKGVERSION_TEXI): Likewise.
31010         (REPORT_BUGS_TO): Likewise.
31011         (REPORT_BUGS_TEXI): Likewise.
31012         * Makefile (format-me): Use -I$(common-objpfx)manual.
31013         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31014         ($(common-objpfx)manual/%): New target.
31015         (manual/%): Remove target.
31016         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31017         (print_version): Use PKGVERSION.
31018         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31019         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31020         and REPORT_BUGS_TO.
31021         ($(objpfx)xtrace): Likewise.
31022         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31023         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31024         (print_version): Use PKGVERSION.
31025         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31026         (do_version): Use PKGVERSION.
31027         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31028         REPORT_BUGS_TO.
31029         (common-ldd-rewrite): Likewise.
31030         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31031         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31032         (print_version): Use PKGVERSION.
31033         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31034         * elf/pldd.c (argp_program_bug_address): Remove variable.
31035         (more_help): New function.
31036         (argp): Use more_help.
31037         (print_version): Use PKGVERSION.
31038         * elf/sln.c (main): Use PKGVERSION.
31039         (usage): Use REPORT_BUGS_TO.
31040         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31041         (top level): Use PKGVERSION.
31042         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31043         (print_version): Use PKGVERSION.
31044         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31045         (print_version): Use PKGVERSION.
31046         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31047         (print_version): Use PKGVERSION.
31048         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31049         (print_version): Use PKGVERSION.
31050         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31051         (print_version): Use PKGVERSION.
31052         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31053         (print_version): Use PKGVERSION.
31054         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31055         and BUGURL.
31056         ($(objpfx)memusage): Likewise.
31057         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31058         (do_version): Use PKGVERSION.
31059         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31060         (print_version): Use PKGVERSION.
31061         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31062         ($PKGVERSION): New variable.
31063         ($REPORT_BUGS_TO): Likewise.
31064         (usage): Use $REPORT_BUGS_TO.
31065         (top level): Use $PKGVERSION.
31066         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31067         ($(objpfx)pkgvers.texi): New rule.
31068         ($(objpfx)stamp-pkgvers): Likewise.
31069         * manual/install.texi: Include pkgvers.texi.
31070         (--with-pkgversion): Document new configure option.
31071         (--with-bugurl): Likewise.
31072         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31073         than necessarily for this particular distribution.  Use
31074         REPORT_BUGS_TO for where to report bugs.
31075         * INSTALL: Regenerated.
31076         * manual/libc.texinfo: Include pkgvers.texi.
31077         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31078         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31079         (print_version): Use PKGVERSION.
31080         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31081         (print_version): Use PKGVERSION.
31082         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31083         (print_version): Use PKGVERSION.
31084         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31085         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31086         macro.
31087         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31088         (print_version): Use PKGVERSION.
31089         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31090         (print_version): Use PKGVERSION.
31091         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31092         and PKGVERSION.
31094         * timezone/checktab.awk: Update from tzcode 2012i.
31095         * timezone/ialloc.c: Likewise.
31096         * timezone/private.h: Likewise.
31097         * timezone/scheck.c: Likewise.
31098         * timezone/tzfile.h: Likewise.
31099         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31100         (TZVERSION): Hardcode tzcode version number.
31101         * timezone/zdump.c: Update from tzcode 2012i.
31102         * timezone/zic.c: Likewise.
31103         * timezone/version.h: New file.
31104         * timezone/README: Describe version.h.  Update upstream location.
31106         [BZ #14824]
31107         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31108         (mktemp): Enable declaration.
31109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31113         Likewise.
31114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31115         Likewise.
31116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31117         Likewise.
31118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31119         Likewise.
31120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31121         Likewise.
31122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31123         Likewise.
31125         [BZ #14821]
31126         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31127         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31128         for copies of such integer values.
31129         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31130         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31132 2012-11-09  Andreas Jaeger  <aj@suse.de>
31134         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31135         definitions and declarations that are provided by
31136         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31138 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31140         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31141         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31142         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31143         definition.
31145 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31147         * elf/elf.h: Update comment before AArch64 relocations.
31149 2012-11-07  David S. Miller  <davem@davemloft.net>
31151         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31152         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31153         (__start_context): Declare.
31154         (__makecontext_ret): Delete.
31155         (__makecontext): Hook up __start_context instead of
31156         __makecontext_ret.
31157         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31158         (sysdep_routines): Add __start_context when in stdlib.
31160 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31162         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31163         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31164         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31165         hardcoded "nm".
31166         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31167         (READELF): New variable.  Use it instead of hardcoded "readelf".
31169 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31171         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31172         * sysdeps/x86/Makefile: Here.
31173         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31174         * sysdeps/x86/tst-xmmymm.sh: This.
31176 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31178         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31179         expectations.
31180         [UNIX98] (pthread_barrier_t): Do not expect.
31181         [UNIX98] (pthread_barrierattr_t): Likewise.
31182         [UNIX98] (pthread_spinlock_t): Likewise.
31183         [UNIX98] (pthread_barrier_destroy): Likewise.
31184         [UNIX98] (pthread_barrier_init): Likewise.
31185         [UNIX98] (pthread_barrier_wait): Likewise.
31186         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31187         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31188         [UNIX98] (pthread_barrierattr_init): Likewise.
31189         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31190         [UNIX98] (pthread_getcpuclockid): Likewise.
31191         [UNIX98] (pthread_mutex_timedlock): Likewise.
31192         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31193         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31194         [UNIX98] (pthread_sigmask): Likewise.
31195         [UNIX98] (pthread_spin_destroy): Likewise.
31196         [UNIX98] (pthread_spin_init): Likewise.
31197         [UNIX98] (pthread_spin_lock): Likewise.
31198         [UNIX98] (pthread_spin_trylock): Likewise.
31199         [UNIX98] (pthread_spin_unlock): Likewise.
31200         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31201         Do not expect.
31202         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31203         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31204         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31205         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31206         [XPG3 || XPG4] (pthread_key_t): Likewise.
31207         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31208         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31209         [XPG3 || XPG4] (pthread_once_t): Likewise.
31210         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31211         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31212         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31213         [XPG3 || XPG4] (pthread_t): Likewise.
31215         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31216         not expect.
31217         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31219         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31220         Change function return type to int.
31222         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31223         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31224         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31225         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31226         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31227         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31228         [!POSIX] (posix_madvise): Likewise.
31229         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31230         && !UNIX98].
31231         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31232         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31233         (mode_t): Likewise.
31234         (posix_mem_offset): Likewise.
31235         (posix_typed_mem_get_info): Likewise.
31236         (posix_typed_mem_open): Likewise.
31238         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31239         Change condition to [XOPEN2K8].
31241         * conform/conformtest.pl: Preprocess allow-header data with -x c
31242         instead of from stdin.
31243         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31244         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31245         [C99-based standards] (cerfc): Likewise.
31246         [C99-based standards] (cexp2): Likewise.
31247         [C99-based standards] (cexpm1): Likewise.
31248         [C99-based standards] (clog10): Likewise.
31249         [C99-based standards] (clog1p): Likewise.
31250         [C99-based standards] (clog2): Likewise.
31251         [C99-based standards] (clgamma): Likewise.
31252         [C99-based standards] (ctgamma): Likewise.
31253         [C99-based standards] (cerff): Likewise.
31254         [C99-based standards] (cerfcf): Likewise.
31255         [C99-based standards] (cexp2f): Likewise.
31256         [C99-based standards] (cexpm1f): Likewise.
31257         [C99-based standards] (clog10f): Likewise.
31258         [C99-based standards] (clog1pf): Likewise.
31259         [C99-based standards] (clog2f): Likewise.
31260         [C99-based standards] (clgammaf): Likewise.
31261         [C99-based standards] (ctgammaf): Likewise.
31262         [C99-based standards] (cerfl): Likewise.
31263         [C99-based standards] (cerfcl): Likewise.
31264         [C99-based standards] (cexp2l): Likewise.
31265         [C99-based standards] (cexpm1l): Likewise.
31266         [C99-based standards] (clog10l): Likewise.
31267         [C99-based standards] (clog1pl): Likewise.
31268         [C99-based standards] (clog2l): Likewise.
31269         [C99-based standards] (clgammal): Likewise.
31270         [C99-based standards] (ctgammal): Likewise.
31271         * conform/data/inttypes.h-data [C99-based standards]: Include
31272         stdint.h-data.  Remove all expectations for stdint.h contents.
31273         [C99-based standards] (PRI*): Do not allow.
31274         [C99-based standards] (SCN*): Likewise.
31275         [C99-based standards] (*_t): Likewise.
31276         [C99-based-standards] (PRId8): Expect macro.
31277         [C99-based-standards] (PRIi8): Likewise.
31278         [C99-based-standards] (PRIo8): Likewise.
31279         [C99-based-standards] (PRIu8): Likewise.
31280         [C99-based-standards] (PRIx8): Likewise.
31281         [C99-based-standards] (PRIX8): Likewise.
31282         [C99-based-standards] (SCNd8): Likewise.
31283         [C99-based-standards] (SCNi8): Likewise.
31284         [C99-based-standards] (SCNo8): Likewise.
31285         [C99-based-standards] (SCNu8): Likewise.
31286         [C99-based-standards] (SCNx8): Likewise.
31287         [C99-based-standards] (PRIdLEAST8): Likewise.
31288         [C99-based-standards] (PRIiLEAST8): Likewise.
31289         [C99-based-standards] (PRIoLEAST8): Likewise.
31290         [C99-based-standards] (PRIuLEAST8): Likewise.
31291         [C99-based-standards] (PRIxLEAST8): Likewise.
31292         [C99-based-standards] (PRIXLEAST8): Likewise.
31293         [C99-based-standards] (SCNdLEAST8): Likewise.
31294         [C99-based-standards] (SCNiLEAST8): Likewise.
31295         [C99-based-standards] (SCNoLEAST8): Likewise.
31296         [C99-based-standards] (SCNuLEAST8): Likewise.
31297         [C99-based-standards] (SCNxLEAST8): Likewise.
31298         [C99-based-standards] (PRIdFAST8): Likewise.
31299         [C99-based-standards] (PRIiFAST8): Likewise.
31300         [C99-based-standards] (PRIoFAST8): Likewise.
31301         [C99-based-standards] (PRIuFAST8): Likewise.
31302         [C99-based-standards] (PRIxFAST8): Likewise.
31303         [C99-based-standards] (PRIXFAST8): Likewise.
31304         [C99-based-standards] (SCNdFAST8): Likewise.
31305         [C99-based-standards] (SCNiFAST8): Likewise.
31306         [C99-based-standards] (SCNoFAST8): Likewise.
31307         [C99-based-standards] (SCNuFAST8): Likewise.
31308         [C99-based-standards] (SCNxFAST8): Likewise.
31309         [C99-based-standards] (PRId16): Likewise.
31310         [C99-based-standards] (PRIi16): Likewise.
31311         [C99-based-standards] (PRIo16): Likewise.
31312         [C99-based-standards] (PRIu16): Likewise.
31313         [C99-based-standards] (PRIx16): Likewise.
31314         [C99-based-standards] (PRIX16): Likewise.
31315         [C99-based-standards] (SCNd16): Likewise.
31316         [C99-based-standards] (SCNi16): Likewise.
31317         [C99-based-standards] (SCNo16): Likewise.
31318         [C99-based-standards] (SCNu16): Likewise.
31319         [C99-based-standards] (SCNx16): Likewise.
31320         [C99-based-standards] (PRIdLEAST16): Likewise.
31321         [C99-based-standards] (PRIiLEAST16): Likewise.
31322         [C99-based-standards] (PRIoLEAST16): Likewise.
31323         [C99-based-standards] (PRIuLEAST16): Likewise.
31324         [C99-based-standards] (PRIxLEAST16): Likewise.
31325         [C99-based-standards] (PRIXLEAST16): Likewise.
31326         [C99-based-standards] (SCNdLEAST16): Likewise.
31327         [C99-based-standards] (SCNiLEAST16): Likewise.
31328         [C99-based-standards] (SCNoLEAST16): Likewise.
31329         [C99-based-standards] (SCNuLEAST16): Likewise.
31330         [C99-based-standards] (SCNxLEAST16): Likewise.
31331         [C99-based-standards] (PRIdFAST16): Likewise.
31332         [C99-based-standards] (PRIiFAST16): Likewise.
31333         [C99-based-standards] (PRIoFAST16): Likewise.
31334         [C99-based-standards] (PRIuFAST16): Likewise.
31335         [C99-based-standards] (PRIxFAST16): Likewise.
31336         [C99-based-standards] (PRIXFAST16): Likewise.
31337         [C99-based-standards] (SCNdFAST16): Likewise.
31338         [C99-based-standards] (SCNiFAST16): Likewise.
31339         [C99-based-standards] (SCNoFAST16): Likewise.
31340         [C99-based-standards] (SCNuFAST16): Likewise.
31341         [C99-based-standards] (SCNxFAST16): Likewise.
31342         [C99-based-standards] (PRId32): Likewise.
31343         [C99-based-standards] (PRIi32): Likewise.
31344         [C99-based-standards] (PRIo32): Likewise.
31345         [C99-based-standards] (PRIu32): Likewise.
31346         [C99-based-standards] (PRIx32): Likewise.
31347         [C99-based-standards] (PRIX32): Likewise.
31348         [C99-based-standards] (SCNd32): Likewise.
31349         [C99-based-standards] (SCNi32): Likewise.
31350         [C99-based-standards] (SCNo32): Likewise.
31351         [C99-based-standards] (SCNu32): Likewise.
31352         [C99-based-standards] (SCNx32): Likewise.
31353         [C99-based-standards] (PRIdLEAST32): Likewise.
31354         [C99-based-standards] (PRIiLEAST32): Likewise.
31355         [C99-based-standards] (PRIoLEAST32): Likewise.
31356         [C99-based-standards] (PRIuLEAST32): Likewise.
31357         [C99-based-standards] (PRIxLEAST32): Likewise.
31358         [C99-based-standards] (PRIXLEAST32): Likewise.
31359         [C99-based-standards] (SCNdLEAST32): Likewise.
31360         [C99-based-standards] (SCNiLEAST32): Likewise.
31361         [C99-based-standards] (SCNoLEAST32): Likewise.
31362         [C99-based-standards] (SCNuLEAST32): Likewise.
31363         [C99-based-standards] (SCNxLEAST32): Likewise.
31364         [C99-based-standards] (PRIdFAST32): Likewise.
31365         [C99-based-standards] (PRIiFAST32): Likewise.
31366         [C99-based-standards] (PRIoFAST32): Likewise.
31367         [C99-based-standards] (PRIuFAST32): Likewise.
31368         [C99-based-standards] (PRIxFAST32): Likewise.
31369         [C99-based-standards] (PRIXFAST32): Likewise.
31370         [C99-based-standards] (SCNdFAST32): Likewise.
31371         [C99-based-standards] (SCNiFAST32): Likewise.
31372         [C99-based-standards] (SCNoFAST32): Likewise.
31373         [C99-based-standards] (SCNuFAST32): Likewise.
31374         [C99-based-standards] (SCNxFAST32): Likewise.
31375         [C99-based-standards] (PRId64): Likewise.
31376         [C99-based-standards] (PRIi64): Likewise.
31377         [C99-based-standards] (PRIo64): Likewise.
31378         [C99-based-standards] (PRIu64): Likewise.
31379         [C99-based-standards] (PRIx64): Likewise.
31380         [C99-based-standards] (PRIX64): Likewise.
31381         [C99-based-standards] (SCNd64): Likewise.
31382         [C99-based-standards] (SCNi64): Likewise.
31383         [C99-based-standards] (SCNo64): Likewise.
31384         [C99-based-standards] (SCNu64): Likewise.
31385         [C99-based-standards] (SCNx64): Likewise.
31386         [C99-based-standards] (PRIdLEAST64): Likewise.
31387         [C99-based-standards] (PRIiLEAST64): Likewise.
31388         [C99-based-standards] (PRIoLEAST64): Likewise.
31389         [C99-based-standards] (PRIuLEAST64): Likewise.
31390         [C99-based-standards] (PRIxLEAST64): Likewise.
31391         [C99-based-standards] (PRIXLEAST64): Likewise.
31392         [C99-based-standards] (SCNdLEAST64): Likewise.
31393         [C99-based-standards] (SCNiLEAST64): Likewise.
31394         [C99-based-standards] (SCNoLEAST64): Likewise.
31395         [C99-based-standards] (SCNuLEAST64): Likewise.
31396         [C99-based-standards] (SCNxLEAST64): Likewise.
31397         [C99-based-standards] (PRIdFAST64): Likewise.
31398         [C99-based-standards] (PRIiFAST64): Likewise.
31399         [C99-based-standards] (PRIoFAST64): Likewise.
31400         [C99-based-standards] (PRIuFAST64): Likewise.
31401         [C99-based-standards] (PRIxFAST64): Likewise.
31402         [C99-based-standards] (PRIXFAST64): Likewise.
31403         [C99-based-standards] (SCNdFAST64): Likewise.
31404         [C99-based-standards] (SCNiFAST64): Likewise.
31405         [C99-based-standards] (SCNoFAST64): Likewise.
31406         [C99-based-standards] (SCNuFAST64): Likewise.
31407         [C99-based-standards] (SCNxFAST64): Likewise.
31408         [C99-based-standards] (PRIdMAX): Likewise.
31409         [C99-based-standards] (PRIiMAX): Likewise.
31410         [C99-based-standards] (PRIoMAX): Likewise.
31411         [C99-based-standards] (PRIuMAX): Likewise.
31412         [C99-based-standards] (PRIxMAX): Likewise.
31413         [C99-based-standards] (PRIXMAX): Likewise.
31414         [C99-based-standards] (SCNdMAX): Likewise.
31415         [C99-based-standards] (SCNiMAX): Likewise.
31416         [C99-based-standards] (SCNoMAX): Likewise.
31417         [C99-based-standards] (SCNuMAX): Likewise.
31418         [C99-based-standards] (SCNxMAX): Likewise.
31419         [C99-based-standards] (PRIdPTR): Likewise.
31420         [C99-based-standards] (PRIiPTR): Likewise.
31421         [C99-based-standards] (PRIoPTR): Likewise.
31422         [C99-based-standards] (PRIuPTR): Likewise.
31423         [C99-based-standards] (PRIxPTR): Likewise.
31424         [C99-based-standards] (PRIXPTR): Likewise.
31425         [C99-based-standards] (SCNdPTR): Likewise.
31426         [C99-based-standards] (SCNiPTR): Likewise.
31427         [C99-based-standards] (SCNoPTR): Likewise.
31428         [C99-based-standards] (SCNuPTR): Likewise.
31429         [C99-based-standards] (SCNxPTR): Likewise.
31430         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31431         allow.
31432         * conform/data/stdint.h-data: Update comments to clarify
31433         requirements.
31434         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31435         type.
31436         [C99-based standards] (INT8_MAX): Likewise.
31437         [C99-based standards] (INT16_MIN): Likewise.
31438         [C99-based standards] (INT16_MAX): Likewise.
31439         [C99-based standards] (INT32_MIN): Likewise.
31440         [C99-based standards] (INT32_MAX): Likewise.
31441         [C99-based standards] (INT64_MIN): Likewise.
31442         [C99-based standards] (INT64_MAX): Likewise.
31443         [C99-based standards] (UINT8_MAX): Likewise.
31444         [C99-based standards] (UINT16_MAX): Likewise.
31445         [C99-based standards] (UINT32_MAX): Likewise.
31446         [C99-based standards] (UINT64_MAX): Likewise.
31447         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31448         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31449         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31450         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31451         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31452         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31453         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31454         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31455         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31456         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31457         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31458         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31459         [C99-based standards] (INT_FAST8_MIN): Likewise.
31460         [C99-based standards] (INT_FAST8_MAX): Likewise.
31461         [C99-based standards] (INT_FAST16_MIN): Likewise.
31462         [C99-based standards] (INT_FAST16_MAX): Likewise.
31463         [C99-based standards] (INT_FAST32_MIN): Likewise.
31464         [C99-based standards] (INT_FAST32_MAX): Likewise.
31465         [C99-based standards] (INT_FAST64_MIN): Likewise.
31466         [C99-based standards] (INT_FAST64_MAX): Likewise.
31467         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31468         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31469         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31470         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31471         [C99-based standards] (INTPTR_MIN): Likewise.
31472         [C99-based standards] (INTPTR_MAX): Likewise.
31473         [C99-based standards] (UINTPTR_MAX): Likewise.
31474         [C99-based standards] (INTMAX_MIN): Likewise.
31475         [C99-based standards] (INTMAX_MAX): Likewise.
31476         [C99-based standards] (UINTMAX_MAX): Likewise.
31477         [C99-based standards] (PTRDIFF_MIN): Likewise.
31478         [C99-based standards] (PTRDIFF_MAX): Likewise.
31479         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31480         [C99-based standards] (SIZE_MAX): Likewise.
31481         [C99-based standards] (WCHAR_MAX): Likewise.
31482         [C99-based standards] (WINT_MAX): Likewise.
31483         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31484         constraint on value.
31485         [C99-based standards] (WCHAR_MIN): Likewise.
31486         [C99-based standards] (WINT_MIN): Likewise.
31487         [C99-based standards] (*_t): Allow.
31488         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31489         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31490         Include math.h-data and complex.h-data.  Remove all expectations
31491         of math.h and complex.h contents.
31492         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31493         at end of line.
31494         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31495         (struct tm): Expect tag.
31496         [C99-based-standards] (wcstof): Expect function.
31497         [C99-based-standards] (wcstold): Likewise.
31498         [C99-based-standards] (wcstoll): Likewise.
31499         [C99-based-standards] (wcstoull): Likewise.
31500         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31501         macro-int-constant.  Specify type.
31502         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31503         constraint on value.
31504         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31505         Specify type.
31506         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31507         Specify value.
31508         [ISO C standards]: Do not allow headers.
31509         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31510         wcs[abcdefghijklmnopqrstuvwxyz]*.
31511         [ISO C standards] (*_t): Do not allow.
31512         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31513         Expect function.
31514         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31515         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31516         Specify type.
31517         [ISO C standards]: Do not allow headers.
31518         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31519         is[abcdefghijklmnopqrstuvwxyz]*.
31520         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31521         to[abcdefghijklmnopqrstuvwxyz]*.
31522         [ISO C standards] (*_t): Do not allow.
31523         * conform/data/stdalign.h-data: New file.
31524         * conform/data/stdbool.h-data: Likewise.
31525         * conform/data/stdnoreturn.h-data: Likewise.
31527 2012-11-07  Roland McGrath  <roland@hack.frob.com>
31529         [BZ #14815]
31530         * manual/filesys.texi (Directory Entries): Typo fix.
31531         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31533 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31535         * elf/elf.h (EM_AARCH64): New macro.
31536         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31537         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31538         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31539         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31540         (R_AARCH64_TLSDESC): Likewise.
31541         (NT_ARM_TLS): Likewise.
31542         (NT_ARM_HW_BREAK): Likewise.
31543         (NT_ARM_HW_WATCH): Likewise.
31545 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31547         [BZ #14811]
31548         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31549         (__ieee754_powl): Saturate nonzero exponents with absolute value
31550         below 0x1p-79 to +/- 0x1p-79.
31551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31552         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31553         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31554         nonzero exponents with absolute value below 0x1p-32 to +/-
31555         0x1p-32.
31556         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31557         (__ieee754_powl): Saturate nonzero exponents with absolute value
31558         below 0x1p-79 to +/- 0x1p-79.
31559         * math/libm-test.inc (pow_test): Add more tests.
31561 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31563         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31564         _dl_s390_cap_flags with kernel. Increase string length.
31565         (_dl_s390_platforms): Add z196 and zEC12.
31567 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31569         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31570         Change XOPEN21K to XOPEN2K.
31572 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
31574         * string/memmove.c: Use memcpy when possible.
31576 2012-11-06  Andreas Jaeger  <aj@suse.de>
31578         * po/eo.po: Update from translation team.
31580 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #14793]
31583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31584         exponent and small x and y exponents, scale x or y up.  Increase
31585         by 2 the exponent used in scaling up.
31586         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31587         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31588         * math/libm-test.inc (fma_test): Add more tests.
31589         (fma_test_towardzero): Likewise.
31590         (fma_test_downward): Likewise.
31591         (fma_test_upward): Likewise.
31593 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31595         [BZ #14805]
31596         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31597         fenv_t *.
31599         [BZ #14801]
31600         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31601         namespace for names of struct fields.
31602         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31603         fenv_t fields.
31604         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31605         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31607 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31609         [BZ #3665]
31610         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31612 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31614         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31615         PTR_DEMANGLE.
31617         [BZ #5246]
31618         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31619         PTR_DEMANGLE.
31621 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31623         [BZ #14797]
31624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31625         definitely overflow as x * y not x * y + z.
31626         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31627         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31628         * math/libm-test.inc (fma_test): Add more tests.
31629         (fma_test_towardzero): Likewise.
31630         (fma_test_downward): Likewise.
31631         (fma_test_upward): Likewise.
31633 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31635         [BZ #157]
31637         * include/stub-tag.h: Remove file.
31638         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31639         '#include' of it.
31640         * manual/maint.texi (Porting): Don't reference it.
31641         * Makerules ($(objpfx)stubs): Likewise.
31642         * dirent/closedir.c: Don't include <stub-tag.h>.
31643         * dirent/dirfd.c: Likewise.
31644         * dirent/fdopendir.c: Likewise.
31645         * dirent/getdents.c: Likewise.
31646         * dirent/getdents64.c: Likewise.
31647         * dirent/opendir.c: Likewise.
31648         * dirent/readdir.c: Likewise.
31649         * dirent/readdir64.c: Likewise.
31650         * dirent/readdir64_r.c: Likewise.
31651         * dirent/readdir_r.c: Likewise.
31652         * dirent/rewinddir.c: Likewise.
31653         * dirent/seekdir.c: Likewise.
31654         * dirent/telldir.c: Likewise.
31655         * gmon/profil.c: Likewise.
31656         * grp/setgroups.c: Likewise.
31657         * inet/if_index.c: Likewise.
31658         * io/access.c: Likewise.
31659         * io/chdir.c: Likewise.
31660         * io/chmod.c: Likewise.
31661         * io/chown.c: Likewise.
31662         * io/close.c: Likewise.
31663         * io/dup.c: Likewise.
31664         * io/dup2.c: Likewise.
31665         * io/dup3.c: Likewise.
31666         * io/euidaccess.c: Likewise.
31667         * io/faccessat.c: Likewise.
31668         * io/fchdir.c: Likewise.
31669         * io/fchmod.c: Likewise.
31670         * io/fchmodat.c: Likewise.
31671         * io/fchown.c: Likewise.
31672         * io/fchownat.c: Likewise.
31673         * io/fcntl.c: Likewise.
31674         * io/flock.c: Likewise.
31675         * io/fstatfs.c: Likewise.
31676         * io/fstatfs64.c: Likewise.
31677         * io/fstatvfs.c: Likewise.
31678         * io/fstatvfs64.c: Likewise.
31679         * io/futimens.c: Likewise.
31680         * io/fxstat.c: Likewise.
31681         * io/fxstat64.c: Likewise.
31682         * io/fxstatat.c: Likewise.
31683         * io/fxstatat64.c: Likewise.
31684         * io/getcwd.c: Likewise.
31685         * io/isatty.c: Likewise.
31686         * io/lchmod.c: Likewise.
31687         * io/lchown.c: Likewise.
31688         * io/link.c: Likewise.
31689         * io/linkat.c: Likewise.
31690         * io/lseek.c: Likewise.
31691         * io/lseek64.c: Likewise.
31692         * io/lxstat64.c: Likewise.
31693         * io/mkdir.c: Likewise.
31694         * io/mkdirat.c: Likewise.
31695         * io/mkfifo.c: Likewise.
31696         * io/mkfifoat.c: Likewise.
31697         * io/open.c: Likewise.
31698         * io/open64.c: Likewise.
31699         * io/openat.c: Likewise.
31700         * io/openat64.c: Likewise.
31701         * io/pipe.c: Likewise.
31702         * io/pipe2.c: Likewise.
31703         * io/poll.c: Likewise.
31704         * io/posix_fadvise.c: Likewise.
31705         * io/posix_fadvise64.c: Likewise.
31706         * io/posix_fallocate.c: Likewise.
31707         * io/posix_fallocate64.c: Likewise.
31708         * io/read.c: Likewise.
31709         * io/readlink.c: Likewise.
31710         * io/readlinkat.c: Likewise.
31711         * io/rmdir.c: Likewise.
31712         * io/sendfile.c: Likewise.
31713         * io/sendfile64.c: Likewise.
31714         * io/statfs.c: Likewise.
31715         * io/statfs64.c: Likewise.
31716         * io/statvfs.c: Likewise.
31717         * io/statvfs64.c: Likewise.
31718         * io/symlink.c: Likewise.
31719         * io/symlinkat.c: Likewise.
31720         * io/ttyname.c: Likewise.
31721         * io/ttyname_r.c: Likewise.
31722         * io/umask.c: Likewise.
31723         * io/unlink.c: Likewise.
31724         * io/unlinkat.c: Likewise.
31725         * io/utime.c: Likewise.
31726         * io/utimensat.c: Likewise.
31727         * io/write.c: Likewise.
31728         * io/xmknod.c: Likewise.
31729         * io/xmknodat.c: Likewise.
31730         * io/xstat.c: Likewise.
31731         * io/xstat64.c: Likewise.
31732         * login/getpt.c: Likewise.
31733         * login/grantpt.c: Likewise.
31734         * login/unlockpt.c: Likewise.
31735         * math/e_acoshl.c: Likewise.
31736         * math/e_acosl.c: Likewise.
31737         * math/e_asinl.c: Likewise.
31738         * math/e_atan2l.c: Likewise.
31739         * math/e_atanhl.c: Likewise.
31740         * math/e_coshl.c: Likewise.
31741         * math/e_expl.c: Likewise.
31742         * math/e_fmodl.c: Likewise.
31743         * math/e_gammal_r.c: Likewise.
31744         * math/e_hypotl.c: Likewise.
31745         * math/e_j0l.c: Likewise.
31746         * math/e_j1l.c: Likewise.
31747         * math/e_jnl.c: Likewise.
31748         * math/e_lgammal_r.c: Likewise.
31749         * math/e_log10l.c: Likewise.
31750         * math/e_log2l.c: Likewise.
31751         * math/e_logl.c: Likewise.
31752         * math/e_powl.c: Likewise.
31753         * math/e_rem_pio2l.c: Likewise.
31754         * math/e_sinhl.c: Likewise.
31755         * math/e_sqrtl.c: Likewise.
31756         * math/fclrexcpt.c: Likewise.
31757         * math/fedisblxcpt.c: Likewise.
31758         * math/feenablxcpt.c: Likewise.
31759         * math/fegetenv.c: Likewise.
31760         * math/fegetexcept.c: Likewise.
31761         * math/fegetround.c: Likewise.
31762         * math/feholdexcpt.c: Likewise.
31763         * math/fesetenv.c: Likewise.
31764         * math/fesetround.c: Likewise.
31765         * math/feupdateenv.c: Likewise.
31766         * math/fgetexcptflg.c: Likewise.
31767         * math/fraiseexcpt.c: Likewise.
31768         * math/fsetexcptflg.c: Likewise.
31769         * math/ftestexcept.c: Likewise.
31770         * math/k_cosl.c: Likewise.
31771         * math/k_rem_pio2l.c: Likewise.
31772         * math/k_sinl.c: Likewise.
31773         * math/k_tanl.c: Likewise.
31774         * math/s_asinhl.c: Likewise.
31775         * math/s_atanl.c: Likewise.
31776         * math/s_cbrtl.c: Likewise.
31777         * math/s_erfl.c: Likewise.
31778         * math/s_expm1l.c: Likewise.
31779         * math/s_log1pl.c: Likewise.
31780         * math/s_tanhl.c: Likewise.
31781         * misc/acct.c: Likewise.
31782         * misc/brk.c: Likewise.
31783         * misc/chflags.c: Likewise.
31784         * misc/chroot.c: Likewise.
31785         * misc/fchflags.c: Likewise.
31786         * misc/fgetxattr.c: Likewise.
31787         * misc/flistxattr.c: Likewise.
31788         * misc/fremovexattr.c: Likewise.
31789         * misc/fsetxattr.c: Likewise.
31790         * misc/fsync.c: Likewise.
31791         * misc/ftruncate.c: Likewise.
31792         * misc/futimes.c: Likewise.
31793         * misc/futimesat.c: Likewise.
31794         * misc/getdomain.c: Likewise.
31795         * misc/getdtsz.c: Likewise.
31796         * misc/gethostid.c: Likewise.
31797         * misc/gethostname.c: Likewise.
31798         * misc/getloadavg.c: Likewise.
31799         * misc/getpagesize.c: Likewise.
31800         * misc/getsysstats.c: Likewise.
31801         * misc/getxattr.c: Likewise.
31802         * misc/gtty.c: Likewise.
31803         * misc/ioctl.c: Likewise.
31804         * misc/lgetxattr.c: Likewise.
31805         * misc/listxattr.c: Likewise.
31806         * misc/llistxattr.c: Likewise.
31807         * misc/lremovexattr.c: Likewise.
31808         * misc/lsetxattr.c: Likewise.
31809         * misc/lutimes.c: Likewise.
31810         * misc/madvise.c: Likewise.
31811         * misc/mincore.c: Likewise.
31812         * misc/mlock.c: Likewise.
31813         * misc/mlockall.c: Likewise.
31814         * misc/mmap.c: Likewise.
31815         * misc/mprotect.c: Likewise.
31816         * misc/msync.c: Likewise.
31817         * misc/munlock.c: Likewise.
31818         * misc/munlockall.c: Likewise.
31819         * misc/munmap.c: Likewise.
31820         * misc/preadv.c: Likewise.
31821         * misc/preadv64.c: Likewise.
31822         * misc/ptrace.c: Likewise.
31823         * misc/pwritev.c: Likewise.
31824         * misc/pwritev64.c: Likewise.
31825         * misc/readv.c: Likewise.
31826         * misc/reboot.c: Likewise.
31827         * misc/remap_file_pages.c: Likewise.
31828         * misc/removexattr.c: Likewise.
31829         * misc/revoke.c: Likewise.
31830         * misc/select.c: Likewise.
31831         * misc/setdomain.c: Likewise.
31832         * misc/setegid.c: Likewise.
31833         * misc/seteuid.c: Likewise.
31834         * misc/sethostid.c: Likewise.
31835         * misc/sethostname.c: Likewise.
31836         * misc/setregid.c: Likewise.
31837         * misc/setreuid.c: Likewise.
31838         * misc/setxattr.c: Likewise.
31839         * misc/sstk.c: Likewise.
31840         * misc/stty.c: Likewise.
31841         * misc/swapoff.c: Likewise.
31842         * misc/swapon.c: Likewise.
31843         * misc/sync.c: Likewise.
31844         * misc/syncfs.c: Likewise.
31845         * misc/syscall.c: Likewise.
31846         * misc/truncate.c: Likewise.
31847         * misc/ualarm.c: Likewise.
31848         * misc/usleep.c: Likewise.
31849         * misc/ustat.c: Likewise.
31850         * misc/utimes.c: Likewise.
31851         * misc/vhangup.c: Likewise.
31852         * misc/writev.c: Likewise.
31853         * posix/_exit.c: Likewise.
31854         * posix/alarm.c: Likewise.
31855         * posix/execve.c: Likewise.
31856         * posix/fexecve.c: Likewise.
31857         * posix/fork.c: Likewise.
31858         * posix/fpathconf.c: Likewise.
31859         * posix/getaddrinfo.c: Likewise.
31860         * posix/getegid.c: Likewise.
31861         * posix/geteuid.c: Likewise.
31862         * posix/getgid.c: Likewise.
31863         * posix/getgroups.c: Likewise.
31864         * posix/getlogin.c: Likewise.
31865         * posix/getlogin_r.c: Likewise.
31866         * posix/getpgid.c: Likewise.
31867         * posix/getpid.c: Likewise.
31868         * posix/getppid.c: Likewise.
31869         * posix/getresgid.c: Likewise.
31870         * posix/getresuid.c: Likewise.
31871         * posix/getsid.c: Likewise.
31872         * posix/getuid.c: Likewise.
31873         * posix/glob64.c: Likewise.
31874         * posix/nanosleep.c: Likewise.
31875         * posix/pathconf.c: Likewise.
31876         * posix/pause.c: Likewise.
31877         * posix/posix_madvise.c: Likewise.
31878         * posix/pread.c: Likewise.
31879         * posix/pread64.c: Likewise.
31880         * posix/pwrite.c: Likewise.
31881         * posix/pwrite64.c: Likewise.
31882         * posix/sched_getaffinity.c: Likewise.
31883         * posix/sched_getp.c: Likewise.
31884         * posix/sched_gets.c: Likewise.
31885         * posix/sched_primax.c: Likewise.
31886         * posix/sched_primin.c: Likewise.
31887         * posix/sched_rr_gi.c: Likewise.
31888         * posix/sched_setaffinity.c: Likewise.
31889         * posix/sched_setp.c: Likewise.
31890         * posix/sched_sets.c: Likewise.
31891         * posix/sched_yield.c: Likewise.
31892         * posix/setgid.c: Likewise.
31893         * posix/setlogin.c: Likewise.
31894         * posix/setpgid.c: Likewise.
31895         * posix/setresgid.c: Likewise.
31896         * posix/setresuid.c: Likewise.
31897         * posix/setsid.c: Likewise.
31898         * posix/setuid.c: Likewise.
31899         * posix/sleep.c: Likewise.
31900         * posix/spawni.c: Likewise.
31901         * posix/sysconf.c: Likewise.
31902         * posix/times.c: Likewise.
31903         * posix/wait.c: Likewise.
31904         * posix/wait3.c: Likewise.
31905         * posix/wait4.c: Likewise.
31906         * posix/waitpid.c: Likewise.
31907         * resolv/gai_sigqueue.c: Likewise.
31908         * resource/getpriority.c: Likewise.
31909         * resource/getrlimit.c: Likewise.
31910         * resource/getrusage.c: Likewise.
31911         * resource/nice.c: Likewise.
31912         * resource/setpriority.c: Likewise.
31913         * resource/setrlimit.c: Likewise.
31914         * resource/ulimit.c: Likewise.
31915         * rt/aio_cancel.c: Likewise.
31916         * rt/aio_fsync.c: Likewise.
31917         * rt/aio_read.c: Likewise.
31918         * rt/aio_sigqueue.c: Likewise.
31919         * rt/aio_suspend.c: Likewise.
31920         * rt/aio_write.c: Likewise.
31921         * rt/clock_getres.c: Likewise.
31922         * rt/clock_gettime.c: Likewise.
31923         * rt/clock_nanosleep.c: Likewise.
31924         * rt/clock_settime.c: Likewise.
31925         * rt/lio_listio.c: Likewise.
31926         * rt/mq_close.c: Likewise.
31927         * rt/mq_getattr.c: Likewise.
31928         * rt/mq_notify.c: Likewise.
31929         * rt/mq_open.c: Likewise.
31930         * rt/mq_receive.c: Likewise.
31931         * rt/mq_send.c: Likewise.
31932         * rt/mq_setattr.c: Likewise.
31933         * rt/mq_timedreceive.c: Likewise.
31934         * rt/mq_timedsend.c: Likewise.
31935         * rt/mq_unlink.c: Likewise.
31936         * rt/shm_open.c: Likewise.
31937         * rt/shm_unlink.c: Likewise.
31938         * rt/timer_create.c: Likewise.
31939         * rt/timer_delete.c: Likewise.
31940         * rt/timer_getoverr.c: Likewise.
31941         * rt/timer_gettime.c: Likewise.
31942         * rt/timer_settime.c: Likewise.
31943         * setjmp/__longjmp.c: Likewise.
31944         * setjmp/setjmp.c: Likewise.
31945         * signal/kill.c: Likewise.
31946         * signal/killpg.c: Likewise.
31947         * signal/raise.c: Likewise.
31948         * signal/sigaction.c: Likewise.
31949         * signal/sigaltstack.c: Likewise.
31950         * signal/sigblock.c: Likewise.
31951         * signal/sigignore.c: Likewise.
31952         * signal/sigintr.c: Likewise.
31953         * signal/signal.c: Likewise.
31954         * signal/sigpause.c: Likewise.
31955         * signal/sigpending.c: Likewise.
31956         * signal/sigqueue.c: Likewise.
31957         * signal/sigreturn.c: Likewise.
31958         * signal/sigset.c: Likewise.
31959         * signal/sigsetmask.c: Likewise.
31960         * signal/sigstack.c: Likewise.
31961         * signal/sigsuspend.c: Likewise.
31962         * signal/sigtimedwait.c: Likewise.
31963         * signal/sigvec.c: Likewise.
31964         * signal/sigwait.c: Likewise.
31965         * signal/sigwaitinfo.c: Likewise.
31966         * signal/sysv_signal.c: Likewise.
31967         * socket/accept.c: Likewise.
31968         * socket/accept4.c: Likewise.
31969         * socket/bind.c: Likewise.
31970         * socket/connect.c: Likewise.
31971         * socket/getpeername.c: Likewise.
31972         * socket/getsockname.c: Likewise.
31973         * socket/getsockopt.c: Likewise.
31974         * socket/isfdtype.c: Likewise.
31975         * socket/listen.c: Likewise.
31976         * socket/recv.c: Likewise.
31977         * socket/recvfrom.c: Likewise.
31978         * socket/recvmsg.c: Likewise.
31979         * socket/send.c: Likewise.
31980         * socket/sendmsg.c: Likewise.
31981         * socket/sendto.c: Likewise.
31982         * socket/setsockopt.c: Likewise.
31983         * socket/shutdown.c: Likewise.
31984         * socket/sockatmark.c: Likewise.
31985         * socket/socket.c: Likewise.
31986         * socket/socketpair.c: Likewise.
31987         * stdio-common/ctermid.c: Likewise.
31988         * stdio-common/cuserid.c: Likewise.
31989         * stdio-common/remove.c: Likewise.
31990         * stdio-common/rename.c: Likewise.
31991         * stdio-common/renameat.c: Likewise.
31992         * stdio-common/tempname.c: Likewise.
31993         * stdlib/getcontext.c: Likewise.
31994         * stdlib/makecontext.c: Likewise.
31995         * stdlib/setcontext.c: Likewise.
31996         * stdlib/swapcontext.c: Likewise.
31997         * stdlib/system.c: Likewise.
31998         * streams/fattach.c: Likewise.
31999         * streams/fdetach.c: Likewise.
32000         * streams/getmsg.c: Likewise.
32001         * streams/getpmsg.c: Likewise.
32002         * streams/putmsg.c: Likewise.
32003         * streams/putpmsg.c: Likewise.
32004         * sysdeps/unix/bsd/getpt.c: Likewise.
32005         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32006         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32007         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32009         Likewise.
32010         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32011         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32012         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32013         * sysvipc/msgctl.c: Likewise.
32014         * sysvipc/msgget.c: Likewise.
32015         * sysvipc/msgrcv.c: Likewise.
32016         * sysvipc/msgsnd.c: Likewise.
32017         * sysvipc/semctl.c: Likewise.
32018         * sysvipc/semget.c: Likewise.
32019         * sysvipc/semop.c: Likewise.
32020         * sysvipc/semtimedop.c: Likewise.
32021         * sysvipc/shmat.c: Likewise.
32022         * sysvipc/shmctl.c: Likewise.
32023         * sysvipc/shmdt.c: Likewise.
32024         * sysvipc/shmget.c: Likewise.
32025         * termios/tcdrain.c: Likewise.
32026         * termios/tcflow.c: Likewise.
32027         * termios/tcflush.c: Likewise.
32028         * termios/tcgetattr.c: Likewise.
32029         * termios/tcgetpgrp.c: Likewise.
32030         * termios/tcsendbrk.c: Likewise.
32031         * termios/tcsetattr.c: Likewise.
32032         * termios/tcsetpgrp.c: Likewise.
32033         * time/adjtime.c: Likewise.
32034         * time/clock.c: Likewise.
32035         * time/getitimer.c: Likewise.
32036         * time/gettimeofday.c: Likewise.
32037         * time/setitimer.c: Likewise.
32038         * time/settimeofday.c: Likewise.
32039         * time/stime.c: Likewise.
32040         * time/time.c: Likewise.
32042 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32044         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32045         /usr/old/bin.
32047         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32048         instead of spaces.
32049         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32051 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32053         [BZ #14796]
32054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32055         FE_TONEAREST before applying Dekker multiplication and Knuth
32056         addition.  Clear inexact exceptions and check for exact zero
32057         results afterwards.
32058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32059         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32060         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32061         * math/libm-test.inc (fma_test): Add more tests.
32062         (fma_test_towardzero): Likewise.
32063         (fma_test_downward): Likewise.
32064         (fma_test_upward): Likewise.
32065         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32066         function.
32067         (libc_fesetround): New macro.
32068         (libc_fesetroundf): Likewise.
32069         (libc_fesetroundl): Likewise.
32070         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32071         function.
32072         (libc_fesetround_387): Likewise.
32073         (libc_fesetroundf): New macro.
32074         (libc_fesetround): Likewise.
32075         (libc_fesetroundl): Likewise.
32076         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32077         function.
32078         (libc_fesetroundf): New macro.
32079         (libc_fesetround): Likewise.
32080         (libc_fesetroundl): Likewise.
32081         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32082         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32083         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32084         libm_hidden_ver.
32085         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32086         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32087         libm_hidden_def.
32088         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32089         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32090         libm_hidden_ver.
32091         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32092         libm_hidden_def.
32094         [BZ #3439]
32095         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32096         integer constant usable in #if and use that to give value to enum
32097         constant.
32098         (FE_DIVBYZERO): Likewise.
32099         (FE_UNDERFLOW): Likewise.
32100         (FE_OVERFLOW): Likewise.
32101         (FE_INVALID): Likewise.
32102         (FE_INVALID_SNAN): Likewise.
32103         (FE_INVALID_ISI): Likewise.
32104         (FE_INVALID_IDI): Likewise.
32105         (FE_INVALID_ZDZ): Likewise.
32106         (FE_INVALID_IMZ): Likewise.
32107         (FE_INVALID_COMPARE): Likewise.
32108         (FE_INVALID_SOFTWARE): Likewise.
32109         (FE_INVALID_SQRT): Likewise.
32110         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32111         (FE_TONEAREST): Likewise.
32112         (FE_TOWARDZERO): Likewise.
32113         (FE_UPWARD): Likewise.
32114         (FE_DOWNWARD): Likewise.
32115         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32116         (FE_DIVBYZERO): Likewise.
32117         (FE_OVERFLOW): Likewise.
32118         (FE_UNDERFLOW): Likewise.
32119         (FE_INEXACT): Likewise.
32120         (FE_TONEAREST): Likewise.
32121         (FE_DOWNWARD): Likewise.
32122         (FE_UPWARD): Likewise.
32123         (FE_TOWARDZERO): Likewise.
32124         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32125         (FE_UNDERFLOW): Likewise.
32126         (FE_OVERFLOW): Likewise.
32127         (FE_DIVBYZERO): Likewise.
32128         (FE_INVALID): Likewise.
32129         (FE_TONEAREST): Likewise.
32130         (FE_TOWARDZERO): Likewise.
32131         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32132         (FE_OVERFLOW): Likewise.
32133         (FE_UNDERFLOW): Likewise.
32134         (FE_DIVBYZERO): Likewise.
32135         (FE_INEXACT): Likewise.
32136         (FE_TONEAREST): Likewise.
32137         (FE_TOWARDZERO): Likewise.
32138         (FE_UPWARD): Likewise.
32139         (FE_DOWNWARD): Likewise.
32140         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32141         (FE_DIVBYZERO): Likewise.
32142         (FE_OVERFLOW): Likewise.
32143         (FE_UNDERFLOW): Likewise.
32144         (FE_INEXACT): Likewise.
32145         (FE_TONEAREST): Likewise.
32146         (FE_DOWNWARD): Likewise.
32147         (FE_UPWARD): Likewise.
32148         (FE_TOWARDZERO): Likewise.
32150 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32152         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32154 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32156         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32157         commands.  Quote $PWD.
32158         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32159         -x" by "export".
32160         (remove_newlines): Remove.
32162 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32164         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32165         * stdlib/stdlib.h (atof): Moved to ...
32166         * include/bits/stdlib-float.h: Here.  New file.
32167         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32168         * stdlib/bits/stdlib-float.h: New file.
32169         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32170         -mno-sse -mno-mmx.
32171         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32172         <xmmintrin.h>.
32174 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32176         * conform/conformtest.pl (@headers): Add fenv.h.
32177         * conform/data/fenv.h-data: New file.
32178         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32179         include of <math/fenv.h>.
32181         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32182         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32183         && !UNIX98].  Enables tests for XOPEN2K8.
32184         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32185         POSIX2008]: Likewise.
32187         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32188         (struct rusage): Do not expect type or its members.
32190         [BZ #3439]
32191         * math/math.h (FP_NAN): Define macro to integer constant usable in
32192         #if and use that to give value to enum constant.
32193         (FP_INFINITE): Likewise.
32194         (FP_ZERO): Likewise.
32195         (FP_SUBNORMAL): Likewise.
32196         (FP_NORMAL): Likewise.
32198 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32200         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32201         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32202         arguments.
32204 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32206         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32207         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32208         autoconf-time if not.
32209         * configure.in: Remove AC_PREREQ.
32211 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32213         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32214         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32215         of the internal implementation.
32217 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32219         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32220         except include of <misc/sys/syslog.h>.
32222 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32225         function returns with a NULL context exit with zero.
32227 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32229         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32231 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32233         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32234         (run_program_cmd): This.
32235         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32236         (tst_langinfo): New variable.  Use it.
32238 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32240         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32241         floating point opcodes.
32243 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32245         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32246         variable.
32248         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32250         * sysdeps/mach/hurd/powerpc: Remove directory.
32251         * sysdeps/mach/powerpc: Likewise.
32253 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32255         * scripts/check-local-headers.sh: Ignore c++ headers.
32257 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32259         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32260         __libc_cleanup_region_start argument.
32262 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32264         [BZ #14784]
32265         [BZ #14785]
32266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32267         x * y using scaling, not as x * y + z.
32268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32270         * math/libm-test.inc (fma_test): Add more tests.
32271         (fma_test_towardzero): Likewise.
32272         (fma_test_downward): Likewise.
32273         (fma_test_upward): Likewise.
32275 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32277         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32279 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32281         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32282         New variable.
32284 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32286         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32288 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32291         Fix sort order.
32292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32293         Likewise.
32295 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32298         Fix the order of the list for glibc 2.17.
32299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32300         Likewise.
32302 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32306 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32308         [BZ #14610]
32309         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32310         for low part of x being zero before using __atanl (y).
32311         * math/libm-test.inc (atan2_test): Add another test.
32313         * manual/install.texi (Configuring and compiling): Document
32314         general use of test-wrapper and test-wrapper-env.
32315         * INSTALL: Regenerated.
32317         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32318         (__fma): Do not extract and scale down low bits on after-rounding
32319         systems when result rounded to normal precision would have normal
32320         exponent.
32321         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32322         (__fmal): Do not extract and scale down low bits on after-rounding
32323         systems when result rounded to normal precision would have normal
32324         exponent.
32325         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32326         (__fmal): Do not extract and scale down low bits on after-rounding
32327         systems when result rounded to normal precision would have normal
32328         exponent.
32329         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32330         macro.
32331         (fma_test): Add more tests.
32332         (fma_test_towardzero): Likewise.
32333         (fma_test_downward): Likewise.
32334         (fma_test_upward): Likewise.
32336 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32338         * sysdeps/i386/tininess.h: Renamed to ...
32339         * sysdeps/x86/tininess.h: This.
32340         * sysdeps/x86_64/tininess.h: Removed.
32342 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32344         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32345         input.  Use $(build-program-cmd).
32346         ($(objpfx)tst-array1-static.out): Likewise.
32347         ($(objpfx)tst-array2.out): Likewise.
32348         ($(objpfx)tst-array3.out): Likewise.
32349         ($(objpfx)tst-array4.out): Likewise.
32350         ($(objpfx)tst-array5.out): Likewise.
32351         ($(objpfx)tst-array5-static.out): Likewise.
32353 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32355         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32356         if defined.
32358         * nss/nsswitch.h (nss_interface_function): Provide new
32359         macro for use with NSS functions.
32360         * grp/initgroups.c: Use new macro.
32361         * nss/getXXbyYY.c: Likewise.
32362         * nss/getXXbyYY_r.c: Likewise.
32363         * nss/getXXent.c: Likewise.
32364         * nss/getXXent_r.c: Likewise.
32365         * sysdeps/posix/getaddrinfo.c: Likewise.
32367 2012-10-30  Andreas Jaeger  <aj@suse.de>
32369         * po/ru.po: Update Russion translation from translation project.
32371 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32373         [BZ #14152]
32374         [BZ #14783]
32375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32376         result and shift together with sticky bit instead of replicating
32377         round-to-nearest rounding.
32378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32380         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32381         missing underflow exceptions.
32382         (fma_test_towardzero): Add more tests.
32383         (fma_test_downward): Likewise.
32384         (fma_test_upward): Likewise.
32386         [BZ #14047]
32387         * sysdeps/generic/tininess.h: New file.
32388         * sysdeps/i386/tininess.h: Likewise.
32389         * sysdeps/sh/tininess.h: Likewise.
32390         * sysdeps/x86_64/tininess.h: Likewise.
32391         * stdlib/tst-strtod-underflow.c: Likewise.
32392         * stdlib/tst-tininess.c: Likewise.
32393         * stdlib/strtod_l.c: Include <tininess.h>.
32394         (round_and_return): Do not set errno for exact underflow cases.
32395         Force an underflow exception when setting errno for underflow.
32396         Determine underflow based on rounding to normal precision if
32397         TININESS_AFTER_ROUNDING.
32398         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32399         ERANGE for exact underflow cases.
32400         * stdlib/Makefile (tests): Add tst-tininess and
32401         tst-strtod-underflow.
32402         ($(objpfx)tst-tininess): Use $(link-libm).
32403         ($(objpfx)tst-strtod-underflow): Likewise.
32405 2012-10-30  Andreas Jaeger  <aj@suse.de>
32407         [BZ#14767]
32408         * elf/Makefile (tests): Remove conditional for have-initfini-array
32409         since this is now always required and the variable does not exist
32410         anymore.
32411         (tests-static): Likewise.
32412         (modules-names): Likewise.
32414         * po/eo.po: Add Esperanto translation from translation project.
32416         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32417         merged with constructor/destructor.
32418         (init_array): Likewise.
32419         * elf/tst-array2dep.c (fini_array): Likewise.
32420         (init_array): Likewise.
32422 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32424         * manual/message.texi: Delete @cartouche tags.
32426 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32428         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32429         EOPNOTSUPP.
32430         * sysdeps/mach/hurd/fsync.c: Likewise.
32432         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32433         [_POSIX_REALTIME_SIGNALS]: Change condition to
32434         [_POSIX_REALTIME_SIGNALS > 0].
32436 2012-10-27  Andreas Jaeger  <aj@suse.de>
32438         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32439         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32440         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32441         [__WORDSIZE != 64]: Likewise.
32443 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32445         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32446         *  iconvdata/tst-tables.sh: Likewise.
32448 2012-10-25  David S. Miller  <davem@davemloft.net>
32450         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32451         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32452         of strtoull.
32454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32455         ifunc-impl-list.c
32456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32457         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32458         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32459         file.
32461 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32464         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32465         __getdirentries.
32467 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32468             Jim Blandy  <jimb@codesourcery.com>
32470         * scripts/cross-test-ssh.sh: New file.
32471         * manual/install.texi (Configuring and compiling): Document use of
32472         cross-test-ssh.sh.
32473         * INSTALL: Regenerated.
32475 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32477         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32478         EOPNOTSUPP.
32480 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32482         * Makeconfig (run-program-prefix): Fix comment.
32484 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32485             Jim Blandy  <jimb@codesourcery.com>
32487         * Makeconfig (test-wrapper): New variable,
32488         (test-wrapper-env): Likewise.
32489         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32490         (run-built-tests): Define to yes.
32491         (run-program-prefix): Use $(test-wrapper).
32492         (built-program-cmd): Likewise.
32493         * Rules (make-test-out): Use $(test-wrapper-env) and
32494         $(host-built-program-cmd).
32495         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32496         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32497         tst-pathopt.sh.
32498         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32499         $(test-wrapper-env) to tst-rtld-load-self.sh.
32500         ($(objpfx)order2.out): Use $(test-wrapper).
32501         ($(objpfx)tst-initorder.out): Likewise.
32502         ($(objpfx)tst-initorder2.out): Likewise.
32503         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32504         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32505         (test_wrapper_env): New variable.  Use it to run ld.so.
32506         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32507         Use it to run ld.so.
32508         (test_wrapper_env): Likewise.
32509         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32510         $(test-wrapper) to run-iconv-test.sh.
32511         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32512         (ICONV): Use $test_wrapper.
32513         * posix/Makefile ($(objpfx)globtest.out): Pass
32514         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32515         globtest.sh, not $(run-program-prefix).
32516         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32517         (test_wrapper): Likewise.
32518         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32519         set together with run_via_rtld_prefix.
32520         (run_program_prefix): Define in terms of test_wrapper and
32521         run_via_rtld_prefix.
32523 2012-10-24  Roland McGrath  <roland@hack.frob.com>
32525         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32526         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32527         Targets removed.
32529         [BZ #14743]
32530         * include/time.h: Remove librt_hidden_proto (clock_gettime).
32531         Declare __clock_getres, __clock_gettime, __clock_settime,
32532         __clock_nanosleep, and __clock_getcpuclockid.
32533         * rt/clock_gettime.c: Define __clock_gettime as an alias.
32534         Remove librt_hidden_def (clock_gettime).
32535         * sysdeps/unix/clock_gettime.c: Likewise.
32536         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32537         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32538         * rt/clock_getres.c: Define __clock_getres as an alias.
32539         * sysdeps/posix/clock_getres.c: Likewise.
32540         * rt/clock_settime.c: Define __clock_settime as an alias.
32541         * sysdeps/unix/clock_settime.c: Likewise.
32542         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32543         * sysdeps/unix/clock_nanosleep.c: Likewise.
32544         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32545         * rt/clock-compat.c: New file.
32546         * rt/Makefile (librt-routines): Add clock-compat and move
32547         $(clock-routines) to ...
32548         (routines): ... here, new variable.
32549         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32550         Don't add get_clockfreq here.
32551         * rt/Versions (libc: GLIBC_2.17): New version set.
32552         Add clock_* symbols here.
32553         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
32554         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32555         (GLIBC_2.17): Add clock_* symbols.
32556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32558         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32560         Likewise.
32561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32562         Likewise.
32563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32567         * NEWS: Mention the move.
32569         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32570         Use __open, __read, __close rather than their public counterparts.
32571         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32572         (__get_clockfreq_via_cpuinfo): Likewise.
32573         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32574         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32576         * config.h.in (HAVE_IFUNC): New #undef.
32577         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32578         was successful.
32579         * configure: Regenerated.
32581 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32583         * configure.in: Move READELF check to start of file.
32584         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32585         libc_cv_asm_gnu_indirect_function in the process.
32586         * configure: Regenerated.
32588 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32590         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32591         send the output to /dev/null.
32592         (libc_cv_cc_with_libunwind): Likewise.
32593         (libc_cv_as_noexecstack): Likewise.
32594         * configure: Regenerate.
32596 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32598         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32600         * posix/globtest.sh (TMPDIR): Do not set.
32601         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32602         (testout): Likewise.
32604 2012-10-24  Andreas Jaeger  <aj@suse.de>
32606         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32607         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32608         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32609         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32610         posix_fadvise64, posix_fallocate64.
32612         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32613         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32614         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32615         Likewise.
32616         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32617         Likewise.
32618         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32620         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32621         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32622         <bits/fcntl-linux.h>.
32623         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32625         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32626         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32627         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32628         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32629         [__WORDSIZE != 64]: Likewise.
32631 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32633         * Makeconfig (run-built-tests): New variable.
32634         * Rules [$(cross-compiling) = yes]: Change condition to
32635         [$(run-built-tests) = no].
32636         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32637         to [$(run-built-tests) = yes].
32638         * elf/Makefile [$(cross-compiling) = no]: Likewise
32639         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32640         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32641         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32642         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32643         * io/Makefile [$(cross-compiling) = no]: Likewise.
32644         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32645         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32646         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32647         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32648         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32649         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32650         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32651         * string/Makefile [$(cross-compiling) = no]: Likewise.
32653         * posix/Makefile ($(objpfx)globtest.out): Pass
32654         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32655         $(rtld-installed-name).
32656         * posix/globtest.sh (elf_objpfx): Remove variable.
32657         (rtld_installed_name): Likewise.
32658         (library_path): Likewise.
32659         (run_program_prefix): New variable.  Use for running globtest
32660         binary.
32662 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32663             Joseph Myers  <joseph@codesourcery.com>
32665         * Makeconfig (host-built-program-cmd): New variable.
32666         * elf/Makefile (tst-stackguard1-ARGS): Use
32667         $(host-built-program-cmd).
32668         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32669         (tst-spawn-ARGS): Likewise.
32670         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32672 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32673             Jim Blandy  <jimb@codesourcery.com>
32675         * Makeconfig (run-via-rtld-prefix): New variable.
32676         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32677         (built-program-cmd): Likewise.
32679 2012-10-22  Andreas Jaeger  <aj@suse.de>
32681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32682         __O_RSYNC if it exists, otherwise to O_SYNC.
32684 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32685             Joseph Myers  <joseph@codesourcery.com>
32687         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32688         /dev/null.
32689         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32690         from /dev/null
32691         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32692         /dev/null.
32694 2012-10-22  Andreas Jaeger  <aj@suse.de>
32696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32697         Define always.
32698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32701         bits/fcntl-linux.h.
32703         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32704         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32707         to __O_LARGEFILE.
32708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32709         to __O_LARGEFILE.
32711 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32712             Joseph Myers  <joseph@codesourcery.com>
32714         * config.make.in (NM): New variable.
32716 2012-10-21  Andreas Jaeger  <aj@suse.de>
32718         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32719         definitions and declarations that are provided by
32720         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32722 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32724         [BZ #14683]
32725         * elf/Makefile (tests-static): Add tst-leaks1-static.
32726         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32727         ($(objpfx)tst-leaks1-static): New rule.
32728         ($(objpfx)tst-leaks1-static-mem): Likewise.
32729         (tst-leaks1-static-ENV): New macro.
32730         * elf/dl-open.c (dl_open_worker): Check the main application
32731         only if SHARED is defined.
32732         * elf/tst-leaks1-static.c: New file.
32734 2012-10-20  Andreas Jaeger  <aj@suse.de>
32736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32737         generic values for Linux.
32738         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32739         and declarations that are provided by <bits/fcntl-linux.h> and
32740         include <bits/fcntl-linux.h>.
32741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32744 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32746         * io/fcntl.h: Move include of <bits/types.h> to the top and
32747         include it unconditionally.
32749 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32751         * wcsmbs/Makefile (tests-ifunc): New variable.
32752         (tests): Add $(tests-ifunc).
32753         * wcsmbs/test-wcschr-ifunc.c: New file.
32754         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32755         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32756         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32757         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32758         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32760         * string/Makefile (tests-ifunc): New variable.
32761         (tests): Add $(tests-ifunc).
32762         * string/test-memccpy.c (TEST_NAME): New macro.
32763         * string/test-memchr.c (TEST_NAME): Likewise.
32764         * string/test-memcmp.c (TEST_NAME): Likewise.
32765         * string/test-memcpy.c (TEST_NAME): Likewise.
32766         * string/test-memmem.c (TEST_NAME): Likewise.
32767         * string/test-memmove.c (TEST_NAME): Likewise.
32768         * string/test-memset.c (TEST_NAME): Likewise.
32769         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32770         * string/test-stpcpy.c (TEST_NAME): Likewise.
32771         * string/test-stpncpy.c (TEST_NAME): Likewise.
32772         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32773         * string/test-strcasestr.c (TEST_NAME): Likewise.
32774         * string/test-strcat.c (TEST_NAME): Likewise.
32775         * string/test-strchr.c (TEST_NAME): Likewise.
32776         * string/test-strcmp.c(TEST_NAME): Likewise.
32777         * string/test-strcpy.c (TEST_NAME): Likewise.
32778         * string/test-strcspn.c (TEST_NAME): Likewise.
32779         * string/test-strlen.c (TEST_NAME): Likewise.
32780         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32781         * string/test-strncmp.c (TEST_NAME): Likewise.
32782         * string/test-strncpy.c (TEST_NAME): Likewise.
32783         * string/test-strnlen.c (TEST_NAME): Likewise.
32784         * string/test-strpbrk.c (TEST_NAME): Likewise.
32785         * string/test-strrchr.c (TEST_NAME): Likewise.
32786         * string/test-strspn.c (TEST_NAME): Likewise.
32787         * string/test-strstr.c (TEST_NAME): Likewise.
32788         * string/test-bcopy-ifunc.c: New file.
32789         * string/test-bzero-ifunc.c: Likewise.
32790         * string/test-memccpy-ifunc.c: Likewise.
32791         * string/test-memchr-ifunc.c: Likewise.
32792         * string/test-memcmp-ifunc.c: Likewise.
32793         * string/test-memcpy-ifunc.c: Likewise.
32794         * string/test-memmem-ifunc.c: Likewise.
32795         * string/test-memmove-ifunc.c: Likewise.
32796         * string/test-mempcpy-ifunc.c: Likewise.
32797         * string/test-memset-ifunc.c: Likewise.
32798         * string/test-rawmemchr-ifunc.c: Likewise.
32799         * string/test-stpcpy-ifunc.c: Likewise.
32800         * string/test-stpncpy-ifunc.c: Likewise.
32801         * string/test-strcasecmp-ifunc.c: Likewise.
32802         * string/test-strcasestr-ifunc.c: Likewise.
32803         * string/test-strcat-ifunc.c: Likewise.
32804         * string/test-strchr-ifunc.c: Likewise.
32805         * string/test-strchrnul-ifunc.c: Likewise.
32806         * string/test-strcmp-ifunc.c: Likewise.
32807         * string/test-strcpy-ifunc.c: Likewise.
32808         * string/test-strcspn-ifunc.c: Likewise.
32809         * string/test-strlen-ifunc.c: Likewise.
32810         * string/test-strncasecmp-ifunc.c: Likewise.
32811         * string/test-strncat-ifunc.c: Likewise.
32812         * string/test-strncmp-ifunc.c: Likewise.
32813         * string/test-strncpy-ifunc.c: Likewise.
32814         * string/test-strnlen-ifunc.c: Likewise.
32815         * string/test-strpbrk-ifunc.c: Likewise.
32816         * string/test-strrchr-ifunc.c: Likewise.
32817         * string/test-strspn-ifunc.c: Likewise.
32818         * string/test-strstr-ifunc.c: Likewise.
32820         * debug/Makefile (tests-ifunc): New variable.
32821         (tests): Add $(tests-ifunc).
32822         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32823         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32824         * debug/test-stpcpy_chk-ifunc.c: New file.
32825         * debug/test-strcpy_chk-ifunc.c: Likewise.
32827 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32829         [BZ #13601]
32830         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32831         header is not read in.
32833 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32835         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32836         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32837         directly.  Pass built executable to script as
32838         $(built-program-cmd).
32839         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32840         $testprogram without using LD_LIBRARY_PATH and $ldso.
32842         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32843         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32844         $(rtld-installed-name).
32845         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32846         (rtld_installed_name): Likewise.
32847         (library_path): Likewise.
32848         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32849         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32850         $(run-program-prefix) to tst-tables.sh.
32851         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32852         it to run tst-table-from and tst-table-to.
32853         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32854         Pass it to tst-table.sh.
32855         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32856         $(run-program-prefix) to tst-gettext.sh.
32857         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32858         tst-translit.sh.
32859         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32860         tst-gettext2.sh.
32861         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32862         to run tst-gettext.
32863         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32864         to run tst-gettext2.
32865         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32866         to run tst-translit.
32867         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32868         $(run-program-prefix) to tst-mtrace.sh.
32869         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32870         to run tst-mtrace.
32871         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32872         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32873         $(rtld-installed-name).
32874         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32875         (rtld_installed_name): Likewise.
32876         (run_program_prefix): New variable.  Use it to run wordexp-test.
32878         * Makeconfig (ARCH): Remove all definitions.
32879         (machine): Likewise.
32880         [ARCH]: Remove conditional code.
32881         [!objdir]: Give error.
32882         [!objdir] (objpfx): Remove.
32883         [!objdir] (common-objpfx): Likewise.
32884         [!objdir] (common-objdir): Likewise.
32885         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32886         AC_CONFIG_FILES call.
32887         * configure: Regenerated.
32889         [BZ #13888]
32890         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32891         or TMPDIR.
32892         (testout): Likewise.
32894         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32895         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32896         $(rtld-installed-name).
32897         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32898         (rtld_installed_name): Likwise.
32899         (runit): Remove function.
32900         (run_getconf): New variable,  Use it for running getconf binary.
32902 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32904         [BZ #14716]
32905         * string/test-memmem.c (check_result): New function.
32906         (do_one_test): Use it.
32907         (check1): New function.
32908         (test_main): Use it.
32910 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32912         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32914 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32916         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32917         (_G_LSEEK64): Likewise.
32918         (_G_MMAP64): Likewise.
32919         (_G_FSTAT64): Likewise.
32920         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32921         (_G_LSEEK64): Likewise.
32922         (_G_MMAP64): Likewise.
32923         (_G_FSTAT64): Likewise.
32924         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32925         unconditional.  Call __mmap64 directly.
32926         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32927         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32928         __lseek64 directly.
32929         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32930         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32931         __mmap64 directly.
32932         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32933         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32934         __lseek64 directly.
32935         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32936         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32937         __lseek64 directly.
32938         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32939         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32940         __lseek64 directly.
32941         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32942         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32943         __fxstat64 directly.
32944         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32945         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32946         unconditional.
32947         (freopen64) [!_G_OPEN64]: Remove conditional code.
32948         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32949         unconditional.
32950         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32951         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32952         unconditional.
32953         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32954         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32955         unconditional.
32956         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32957         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32958         unconditional.
32959         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32960         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32961         unconditional.
32962         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32963         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32964         unconditional.
32965         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32966         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32967         unconditional.
32968         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32970 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32972         [BZ #12140]
32973         * manual/memory.texi (Malloc Tunable Parameters): Add note
32974         about free list pointers overwriting some perturb bytes.
32975         Wording suggested by Roland McGrath.
32977 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32979         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32980         (lgamma_test): Likewise.
32981         (tgamma_test): Likewise.
32983 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32985         [BZ #14700]
32986         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32987         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32989 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
32991         * NEWS: Mention BZ #14716.
32992         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32993         when removing AVAILABLE1_USES_J macro.
32995 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
32997         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32998         (__bswap_64): __uint64_t for unsigned 64-bit int.
33000 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33002         * include/string.h (memmem): Declare libc hidden alias.
33003         * string/memmem.c (memmem): Define libc hidden alias.
33004         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33005         __read, __close instead of open, read, close.
33007 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33010         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33011         global and hidden.
33012         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33013         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33014         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33015         Likewise.
33016         (__rawmemchr_sse2): Likewise.
33017         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33018         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33019         (__strchr_sse2): Likewise.
33020         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33021         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33022         (__strcasecmp_sse2): Likewise.
33023         (__strncasecmp_sse2): Likewise.
33024         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33025         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33026         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33027         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33028         (__strrchr_sse2): Likewise.
33029         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33030         ifunc-impl-list.c.
33031         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33032         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33033         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33034         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33035         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33036         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33037         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33038         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33039         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33040         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33041         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33042         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33043         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33044         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33045         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33046         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33047         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33048         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33049         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33050         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33051         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33052         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33053         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33054         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33055         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33056         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33057         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33058         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33059         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33060         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33062         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33063         global and hidden.
33064         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33065         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33066         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33067         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33068         Likewise.
33069         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33070         Likewise.
33071         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33072         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33073         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33074         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33075         ifunc-impl-list.c.
33076         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33077         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33078         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33079         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33080         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33081         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33082         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33083         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33084         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33085         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33086         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33087         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33088         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33089         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33090         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33091         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33092         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33093         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33094         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33095         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33096         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33097         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33098         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33099         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33100         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33101         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33102         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33103         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33104         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33105         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33106         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33107         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33108         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33109         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33110         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33111         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33112         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33113         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33114         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33115         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33116         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33118         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33119         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33120         * include/ifunc-impl-list.h: New file.
33121         * misc/ifunc-impl-list.c: Likewise.
33122         * misc/Makefile (routines): Add ifunc-impl-list.
33123         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33124         * string/test-string.h: Include <ifunc-impl-list.h>.
33125         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33126         TEST_NAME]: New variables.
33127         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33128         are defined.
33129         (test_init): Call __libc_ifunc_impl_list to initialize
33130         func_list if TEST_IFUNC and TEST_NAME are defined.
33132         * string/Makefile (strop-tests): Add bcopy and bzero.
33133         * string/test-bcopy.c: New file.
33134         * string/test-bzero.c: Likewise.
33135         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33136         defined.
33137         * string/test-memset.c: Support bzero test if TEST_BZERO is
33138         defined.
33139         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33140         __libc_memmove.
33141         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33142         __libc_memset.
33143         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33144         of memset.
33146 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33148         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33149         * configure: Regenerated.
33151         * Makeconfig (+link-static-before-libc): Don't include
33152         $(link-static-libc).
33154         * libio/libio.h (_IO_pos_t): Remove.
33156 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33158         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33159         McGrath.
33161 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33163         * crypt/crypt-entry.c: Include fips-private.h.
33164         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33165         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33166         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33167         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33169 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33171         * crypt/crypt-private.h: Include stdbool.h.
33172         (_ufc_setup_salt_r): Return bool.
33173         * crypt/crypt-entry.c: Include errno.h.
33174         (__crypt_r): Return NULL with EINVAL for bad salt.
33175         * crypt/crypt_util.c (bad_for_salt): New.
33176         (_ufc_setup_salt_r): Check that salt is long enough and within
33177         the specified alphabet.
33178         * crypt/badsalttest.c: New file.
33179         * crypt/Makefile (tests): Add it.
33180         ($(objpfx)badsalttest): New.
33182 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33184         * NEWS: Add entry for BZ #14602.
33186 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33188         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33189         type-generic.
33190         * math/libm-test.inc: Update comment listing what functions and
33191         macros are tested.
33192         (isgreater_test): New function.
33193         (isgreaterequal_test): Likewise.
33194         (isless_test): Likewise.
33195         (islessequal_test): Likewise.
33196         (islessgreater_test): Likewise.
33197         (isunordered_test): Likewise.
33198         (main): Call the new functions.
33200 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33202         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33203         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33204         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33205         * sysdeps/i386/configure: Regenerated.
33206         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33207         * sysdeps/mach/configure: Regenerated.
33208         * sysdeps/mach/hurd/configure: Regenerated.
33209         * sysdeps/powerpc/configure: Regenerated.
33210         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33211         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33212         * sysdeps/s390/s390-32/configure: Regenerated.
33213         * sysdeps/s390/s390-64/configure: Regenerated.
33214         * sysdeps/sh/configure: Regenerated.
33215         * sysdeps/sparc/configure: Regenerated.
33216         * sysdeps/unix/sysv/linux/configure: Regenerated.
33217         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33218         * sysdeps/x86_64/configure: Regenerated.
33220         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33221         defined.  Don't check if MAP is NULL.
33223 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33225         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33226         (_G_stat64): Likewise.
33227         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33228         (_G_stat64): Likewise.
33229         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33230         instead of struct _G_stat64.
33231         * libio/fileops.c (mmap_remap_check): Likewise.
33232         (decide_maybe_mmap): Likewise.
33233         (_IO_new_file_seekoff): Likewise.
33234         (_IO_file_stat): Likewise.
33235         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33236         _G_off64_t.
33237         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33238         instead of struct _G_stat64.
33239         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33241 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33243         [BZ #14602]
33244         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33245         Replace with ...
33246         (CHECK_EOL): New macro.
33247         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33248         CHECK_EOL.
33249         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33250         Replace with CHECK_EOL.
33251         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33252         Replace with CHECK_EOL.
33254 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33256         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33257         type-generic.
33258         * math/libm-test.inc: Update comment listing what functions and
33259         macros are tested.
33260         (finite_test): New function.
33261         (isinf_test): Likewise.
33262         (isnan_test): Likewise.
33263         (fpclassify_test): Test subnormal input.
33264         (isfinite_test): Likewise.
33265         (isnormal_test): Likewise.
33266         (main): Call the new functions.
33268 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33270         [BZ #14660]
33271         * Makerules (%.dynsym): Force C locale when running
33272         $(OBJDUMP) --dynamic-syms.
33274 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33276         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33277         <stdint.h>.
33279 2012-10-06  David S. Miller  <davem@davemloft.net>
33281         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33282         upper 32-bits of the length value in %o2 since we use branch-on-register
33283         tests which consider the entire 64-bit register.
33285 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33287         * string/test-strstr.c (check2): Add a test for page boundary.
33289 2012-10-05  David S. Miller  <davem@davemloft.net>
33291         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33292         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33293         file.
33294         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33295         sysdep_routines.
33296         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33297         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33298         and bzero when HWCAP_SPARC_CRYPTO is present.
33300 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33302         [BZ #14602]
33303         * string/test-strstr.c (check2): New function.
33304         (test_main): Call check2.
33306         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33307         and bug-strchr1.
33308         * string/bug-strcasestr1.c (do_test): Moved to ...
33309         * string/test-strcasestr.c (check1): Here.  New function.
33310         (do_one_test): Break out result checking code into ...
33311         (check_result): This.  New function.
33312         (do_one_test): Call check_result.
33313         (test_main): Call check1.
33314         * string/bug-strchr1.c (do_test): Moved to ...
33315         * string/test-strchr.c (check1): Here.  New function.
33316         (do_one_test): Break out result checking code into ...
33317         (check_result): This.  New function.
33318         (do_one_test): Call check_result.
33319         (test_main): Call check1.
33320         * string/bug-strstr1.c (main): Moved to ...
33321         * string/test-strstr.c (check1): Here.  New function.
33322         (do_one_test): Break out result checking code into ...
33323         (check_result): This.  New function.
33324         (do_one_test): Call check_result.
33325         (test_main): Call check1.
33326         * string/bug-strcasestr1.c: Removed.
33327         * string/bug-strchr1.c: Likewise.
33328         * string/bug-strstr1.c: Likewise.
33330         * elf/Makefile (dl-routines): Add hwcaps.
33331         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33332         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33333         (_dl_important_hwcaps): Moved to ...
33334         * elf/dl-hwcaps.c: Here.  New file.
33335         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33337         [BZ #14557]
33338         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33339         if IS_IN_rtld isn't defined.
33341         * elf/dl-support.c (_dl_sysinfo_map): New.
33342         Include "get-dynamic-info.h" and "setup-vdso.h".
33343         (_dl_non_dynamic_init): Call setup_vdso.
33344         * elf/dynamic-link.h: Don't include <assert.h>.
33345         (elf_get_dynamic_info): Moved to ...
33346         * elf/get-dynamic-info.h: Here.  New file.
33347         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33348         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33349         * elf/setup-vdso.h: Here.  New file.
33350         * elf/rtld.c: Include "setup-vdso.h".
33351         (dl_main): Call setup_vdso.
33353 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33355         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33356         creal in comment listing functions tested.  List finite, isinf,
33357         isnan, isless, islessequal, isgreater, isgreaterequal,
33358         islessgreater, isunordered, lgamma_r and pow10 as functions and
33359         macros not tested.  Mention which functions not tested are aliases
33360         for other functions.  Fix typo.  Note that signs of NaNs are not
33361         tested.
33363         * scripts/config.guess: Update from config.git.
33364         * scripts/config.sub: Likewise.
33366 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33368         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33369         * misc/madvise.c (madvise): Renamed to __madvise.
33370         Make madvise a weak alias.
33371         * include/sys/mman.h: Declare __madvise.
33372         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33373         * sysdeps/unix/syscalls.list
33374         (madvise): Make __madvise the strong name, and madvise a weak alias.
33375         * sysdeps/unix/sysv/linux/syscalls.list
33376         (madvise, mmap): Remove redundant entries.
33377         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33378         * malloc/malloc.c (mtrim): Likewise.
33379         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33381 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33383         * sysdeps/mach/hurd/dl-cache.c: File removed.
33384         * config.h.in (USE_LDCONFIG): New #undef.
33385         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33386         * configure: Regenerated.
33387         * elf/Makefile (dl-routines): Add dl-cache only under
33388         [$(use-ldconfig) = yes].
33389         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33390         cache on [USE_LDCONFIG].
33391         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33392         [USE_LDCONFIG].
33393         * elf/rtld.c (dl_main): Likewise.
33395 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33397         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33398         _SC_LEVEL4_CACHE_LINESIZE.
33400 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33402         * sysdeps/unix/bsd/confstr.h: File removed.
33404 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33406         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33407         sys/sdt-config.h.
33409 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33411         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33412         Make 'mapoff' field ElfW(Off) rather than off_t.
33414 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33416         * nscd/Makefile: Remove nscd-cflags and all its users.
33417         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33418         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33420         [BZ #10631]
33421         * malloc.c (malloc_printerr): Clarify error message.
33423 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33425         [BZ #14648]
33426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33427         Set bit_FMA_Usable if FMA is supported.
33428         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33429         macro.
33430         (bit_FMA4_Usable): Updated.
33431         (index_FMA_Usable): New macro.
33432         (CPUID_FMA): Likewise
33433         (HAS_FMA): Defined with bit_FMA_Usable.
33435 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33437         * bits/types.h (__swblk_t): Type removed.
33438         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33439         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33441         (__SWBLK_T_TYPE): Likewise.
33442         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33443         (__SWBLK_T_TYPE): Likewise.
33444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33445         (__SWBLK_T_TYPE): Likewise.
33446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33447         (__SWBLK_T_TYPE): Likewise.
33449 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33450             Honza Horak <hhorak@redhat.com>
33452         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33453         (xdr_mapname): Use YPMAXMAP as maxsize.
33454         (xdr_peername): Use YPMAXPEER as maxsize.
33455         (xdr_keydat): Use YPAXRECORD as maxsize.
33456         (xdr_valdat): Use YPMAXRECORD as maxsize.
33458 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33460         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33462         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33463         * csu/init-first.c: ... here.
33464         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33465         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33466         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33467         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33468         * sysdeps/i386/init-first.c: File removed.
33469         * sysdeps/sh/init-first.c: File removed.
33471 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33473         [BZ #14645]
33474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33475         if x * y might underflow to zero and z is zero.
33476         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33477         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33478         * math/libm-test.inc (min_subnorm_value): New variable.
33479         (fma_test): Add more tests.
33480         (fma_test_towardzero): Likewise.
33481         (fma_test_downward): Likewise
33482         (fma_test_upward): Likewise.
33483         (initialize): Set min_subnorm_value.
33485 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33487         [BZ #14638]
33488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33489         0 + 0.
33490         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33491         mode for addition resulting in exact zero.
33492         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33493         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33494         exact 0 + 0.
33495         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33497         * math/libm-test.inc (fma_test): Add more tests.
33498         (fma_test_towardzero): New function.
33499         (fma_test_downward): Likewise.
33500         (fma_test_upward): Likewise.
33501         (main): Call the new functions.
33503 2012-09-28  David S. Miller  <davem@davemloft.net>
33505         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33507 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33509         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33510         instead of SIGALRM.
33512         * sysdeps/gnu/_G_config.h: Moved to ...
33513         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33514         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33515         * sysdeps/generic/_G_config.h: ... here.
33517         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33519         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33521         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33522         Conditionalize target on [libnss_test1.so-version].
33524         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33526         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33527         (elfobjdir): Move out of conditionals.
33529         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33530         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33531         (__nss_lookup_function): Conditionalize label remove_from_tree on
33532         [!DO_STATIC_NSS || SHARED], matching its only use.
33534 2012-09-28  David S. Miller  <davem@davemloft.net>
33536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33537         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33538         file.
33539         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33540         sysdep_routines.
33541         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33543         when HWCAP_SPARC_CRYPTO is present.
33545 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33547         * io/tst-mknodat.c: Create a FIFO instead of a socket.
33549 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
33551         [BZ #6530]
33552         * stdio-common/vfprintf.c (process_string_arg): Revert
33553         2000-07-22 change.
33555 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
33557         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33558         for testcase.
33559         * stdio-common/tst-sprintf.c: Include <locale.h>
33560         (main): Test sprintf's handling of incomplete multibyte
33561         characters.
33563 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
33565         * elf/dl-runtime.c (VERSYMIDX): Removed.
33566         * elf/dl-version.c (VERSYMIDX): Likewise.
33567         * elf/do-rel.h (VERSYMIDX): Likewise.
33568         (VALIDX): Likewise.
33569         * elf/dynamic-link.h (VERSYMIDX): Likewise.
33570         * elf/rtld.c (VALIDX): Likewise.
33571         (ADDRIDX): Likewise.
33572         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33573         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33574         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33575         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33576         (VALIDX): Likewise.
33577         (ADDRIDX): Likewise.
33579 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33581         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33583 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
33585         [BZ #11438]
33586         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33587         to global scope.
33588         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33589         addresses are in the same scope as 192.0.2/24.
33590         * posix/gai.conf: Document new scope table defaults.
33592 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33594         [BZ #5298]
33595         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33596         for ftell.  Compute offsets from write pointers instead.
33597         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33599 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33601         [BZ #14543]
33602         * libio/Makefile (tests): New test case tst-fseek.
33603         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33604         combination works in wide mode.
33605         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33606         state when the external buffer state changes.
33608 2012-09-27  David S. Miller  <davem@davemloft.net>
33610         [BZ #14376]
33611         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33612         pass reloc->r_addend in as the 'high' argument to
33613         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33617 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33619         * rt/tst-aio2.c: Include <pthread.h>.
33620         * rt/tst-aio3.c: Likewise.
33622 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33624         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33626 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33628         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33629         contents on [SHARED].
33631 2012-09-26  Marek Polacek  <polacek@redhat.com>
33633         [BZ #14530]
33634         [BZ #13741]
33635         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33636         for C++ and GCC <4.3 as well as for non GCC compilers.
33638 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33642 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33644         * Makefile.in (all, install): Declare with .PHONY.
33645         Reported by Michael Hope <michael.hope@linaro.org>.
33647 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33649         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33650         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33651         system header.
33652         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33653         Likewise.
33654         (sydep_routines): Add the new and the internal functions.
33655         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33656         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33658         (GLIBC_2.17): Add the new function.
33659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33660         (GLIBC_2.17): Likewise.
33661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33662         (GLIBC_2.17): Likewise.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33664         (GLIBC_2.17): Likewise.
33665         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33667 2012-09-25  Alan Modra  <amodra@gmail.com>
33669         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33670         Add release barrier before setting once_control to say
33671         initialisation is done.  Add hints on lwarx.  Use macro in
33672         place of isync.
33673         (clear_once_control): Add release barrier.
33675 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33677         [BZ #13629]
33678         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33679         specially.
33680         * math/s_clog10.c (__clog10): Likewise.
33681         * math/s_clog10f.c (__clog10f): Likewise.
33682         * math/s_clog10l.c (__clog10l): Likewise.
33683         * math/s_clogf.c (__clogf): Likewise.
33684         * math/s_clogl.c (__clogl): Likewise.
33685         * math/Makefile (libm-calls): Add x2y2m1.
33686         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33687         (__x2y2m1): Likewise.
33688         (__x2y2m1l): Likewise.
33689         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33690         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33691         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33692         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33693         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33694         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33695         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33696         * sysdeps/i386/fpu/libm-test-ulps: Update.
33697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33699         [BZ #14621]
33700         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33701         int as type of variable DEPTH.
33702         (glob): Use size_t instead of int as type of variables NEWCOUNT
33703         and OLD_PATHC.
33705 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33707         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33708         Add s_sincosf-sse2.
33709         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33710         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33711         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33712         macros for using routine as __sincosf_ia32.
33713         Use macro for function declaration and weak_alias.
33714         * sysdeps/i386/fpu/libm-test-ulps: Update.
33716         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33719         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33720         subnormal argument.
33721         * math/s_cexpf.c (__cexpf): Likewise.
33722         * math/s_csinf.c (__csinf): Likewise.
33723         * math/s_csinhf.c (__csinhf): Likewise.
33724         * math/s_ctanf.c (__ctanf): Likewise.
33725         * math/s_ctanhf.c (__ctanhf): Likewise.
33726         * math/s_ccosh.c (__ccoshf): Likewise.
33727         * math/s_cexp.c (__cexpl): Likewise.
33728         * math/s_csin.c (__csin): Likewise.
33729         * math/s_csinh.c (__csinh): Likewise.
33730         * math/s_ctan.c (__ctan): Likewise.
33731         * math/s_ctanh.c (ctanh): Likewise.
33732         * math/s_ccoshl.c (__ccoshl): Likewise.
33733         * math/s_cexpl.c (__cexpl): Likewise.
33734         * math/s_csinl.c (__csinl): Likewise.
33735         * math/s_csinhl.c (__csinhl): Likewise.
33736         * math/s_ctanl.c (__ctanl): Likewise.
33737         * math/s_ctanhl.c (__ctanhl): Likewise.
33739 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33741         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33742         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33743         (_IO_off_t): Define to __off_t, not _G_off_t.
33744         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33745         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33746         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33747         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33748         type of __dummy and __dummy2 fields.
33749         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33750         (_G_ssize_t): Likewise.
33751         (_G_off_t): Likewise.
33752         (_G_pid_t): Likewise.
33753         (_G_uid_t): Likewise.
33754         (_G_wchar_t): Likewise.
33755         (_G_wint_t): Likewise.
33756         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33757         (_G_ssize_t): Likewise.
33758         (_G_off_t): Likewise.
33759         (_G_pid_t): Likewise.
33760         (_G_uid_t): Likewise.
33761         (_G_wchar_t): Likewise.
33762         (_G_wint_t): Likewise.
33763         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33764         (_G_ssize_t): Likewise.
33765         (_G_off_t): Likewise.
33766         (_G_pid_t): Likewise.
33767         (_G_uid_t): Likewise.
33768         (_G_wchar_t): Likewise.
33769         (_G_wint_t): Likewise.
33771 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33773         * malloc/arena.c: Include malloc-sysdep.h.
33774         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33775         is sufficient to shrink the heap or an unmap is needed.
33776         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33777         new function check_may_shrink_heap.
33778         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33779         new function check_may_shrink_heap.
33781 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33783         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33784         comments.
33786 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33788         * catgets/test-gencat.sh: Add "set -e".
33789         * elf/tst-pathopt.sh: Likewise.
33790         * grp/tst_fgetgrent.sh: Likewise.
33791         * iconvdata/run-iconv-test.sh: Likewise.
33792         * intl/tst-gettext.sh: Likewise.
33793         * intl/tst-gettext2.sh: Likewise.
33794         * intl/tst-gettext4.sh: Likewise.
33795         * intl/tst-gettext6.sh: Likewise.
33796         * intl/tst-translit.sh: Likewise.
33797         * io/ftwtest-sh: Likewise.
33798         * libio/test-freopen.sh: Likewise.
33799         * malloc/tst-mtrace.sh: Likewise.
33800         * posix/globtest.sh: Likewise.
33801         * posix/tst-getconf.sh: Likewise.
33802         * posix/wordexp-tst.sh: Likewise.
33803         * stdio-common/tst-printf.sh: Likewise.
33804         * stdio-common/tst-unbputc.sh: Likewise.
33805         * stdlib/tst-fmtmsg.sh: Likewise.
33806         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33807         * catgets/Makefile: Do not specify -e option when running
33808         testsuite shell scripts.
33809         * elf/Makefile: Likewise.
33810         * grp/Makefile: Likewise.
33811         * iconvdata/Makefile: Likewise.
33812         * intl/Makefile: Likewise.
33813         * io/Makefile: Likewise.
33814         * libio/Makefile: Likewise.
33815         * malloc/Makefile: Likewise.
33816         * posix/Makefile: Likewise.
33817         * stdio-common/Makefile: Likewise.
33818         * stdlib/Makefile: Likewise.
33819         * sysdeps/x86_64/Makefile: Likewise.
33821         * io/ftwtest-sh: Add copyright header.
33822         * posix/globtest.sh: Likewise.
33823         * posix/tst-getconf.sh: Likewise.
33824         * posix/wordexp-tst.sh: Likewise.
33825         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33827 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33829         [BZ #13679]
33830         * Makeconfig (+link): Defined as $(+link-static) if
33831         $(build-shared) isn't yes.
33832         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33833         isn't yes.
33834         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33836         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33838         [BZ #14562]
33839         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33840         new chunk size with MALLOC_ALIGN_MASK.
33842 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33844         [BZ #5044]
33845         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33846         <rounding-mode.h>.
33847         (__printf_fphex): Determine rounding using get_rounding_mode and
33848         round_away.
33849         * stdio-common/tst-printf-round.c (struct hex_test): New
33850         structure.
33851         (hex_tests): New variable.
33852         (test_hex_in_one_mode): New function.
33853         (do_test): Also run tests for hex float output.
33855 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33857         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33858         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33859         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33860         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33861         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33862         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33863         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33864         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33866 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33868         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33869         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33870         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33871         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33873 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33875         [BZ #14579]
33876         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33877         mode only.
33878         * elf/tst-rtld-load-self.sh: New test.
33879         * elf/Makefile: Run it.
33881 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33883         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33884         (tst-writev-ENV): Remove.
33885         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33887 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33889         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33891 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33893         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33894         unconditional.
33895         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33896         Likewise.
33897         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33898         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33899         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33900         Likewise.
33902 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33904         [BZ #14587]
33905         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33906         * config.make.in (have-cpp-asm-debuginfo): Removed.
33907         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33908         * configure: Regenerated.
33910 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33912         [BZ #5044]
33913         * stdio-common/printf_fp.c: Include <stdbool.h> and
33914         <rounding-mode.h>.
33915         (___printf_fp): Determine rounding using get_rounding_mode and
33916         round_away.
33917         * stdio-common/tst-printf-round.c: New file.
33918         * stdio-common/Makefile (tests): Add tst-printf-round.
33919         (link-libm): New variable.
33920         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33922 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33924         [BZ #14576]
33925         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33926         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33927         Likewise.
33928         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33929         Likewise.
33931 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33933         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33934         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33935         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33936         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33938 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33940         [BZ #14518]
33941         * include/rounding-mode.h: New file.
33942         * sysdeps/generic/get-rounding-mode.h: Likewise.
33943         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33944         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33945         (MAX_VALUE): New macro.
33946         (MIN_VALUE): Likewise.
33947         (overflow_value): New function.
33948         (underflow_value): Likewise.
33949         (round_and_return): Use overflow_value and underflow_value to
33950         determine return values in overflow and underflow cases.  Use
33951         round_away to determine rounding depending on rounding mode.
33952         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33953         determine return values in overflow and underflow cases.
33954         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33955         (struct test_results): New structure.
33956         (struct test): Use struct test_results to store expected results
33957         for all rounding modes.
33958         (TEST): Include expected results for all rounding modes.
33959         (test_in_one_mode): New function.
33960         (do_test): Use test_in_one_mode to compute and check results.
33961         Check results for all rounding modes.
33962         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33963         $(link-libm).
33965 2012-12-09  Allan McRae  <allan@archlinux.org>
33967         * sysdeps/i386/fpu/libm-test-ulps: Update
33969 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33971         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33972         (_G_int32_t): Likewise.
33973         (_G_uint16_t): Likewise.
33974         (_G_uint32_t): Likewise.
33975         (_G_HAVE_BOOL): Likewise.
33976         (_G_HAVE_ATEXIT): Likewise.
33977         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33978         (_G_HAVE_IO_FILE_OPEN): Likewise.
33979         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33980         (_G_int32_t): Likewise.
33981         (_G_uint16_t): Likewise.
33982         (_G_uint32_t): Likewise.
33983         (_G_HAVE_BOOL): Likewise.
33984         (_G_HAVE_ATEXIT): Likewise.
33985         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33986         (_G_HAVE_IO_FILE_OPEN): Likewise.
33987         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33988         (_G_int32_t): Likewise.
33989         (_G_uint16_t): Likewise.
33990         (_G_uint32_t): Likewise.
33991         (_G_HAVE_BOOL): Likewise.
33992         (_G_HAVE_ATEXIT): Likewise.
33993         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33994         (_G_HAVE_IO_FILE_OPEN): Likewise.
33996 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
33998         * csu/libc-tls.c: Update copyright years.
34000 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34002         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34003         [!_G_USING_THUNKS]: Remove conditional code.
34004         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34005         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34007         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34008         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34009         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34010         (_G_VTABLE_LABEL_PREFIX): Likewise.
34011         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34012         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34013         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34014         (_G_VTABLE_LABEL_PREFIX): Likewise.
34015         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34016         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34017         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34018         (_G_VTABLE_LABEL_PREFIX): Likewise.
34019         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34021 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34023         * libio/Makefile: Include ../Makeconfig before tests.
34024         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34025         only if $(build-shared) is yes.
34027         * iconv/gconv_db.c: Update copyright years.
34029 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34031         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34032         unwind info if defined PIC. Fix special cases description.
34033         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34035         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34036         DP_HI_MASK entry.
34037         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34039 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34041         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34043         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34044         is NULL.
34046         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34047         (LDLIBS-tst-chk4): This.
34048         (LDFLAGS-tst-chk5): Renamed to ...
34049         (LDLIBS-tst-chk5): This.
34050         (LDFLAGS-tst-chk6): Renamed to ...
34051         (LDLIBS-tst-chk6): This.
34052         (LDFLAGS-tst-lfschk4): Renamed to ...
34053         (LDLIBS-tst-lfschk4): This.
34054         (LDFLAGS-tst-lfschk5): Renamed to ...
34055         (LDLIBS-tst-lfschk5): This.
34056         (LDFLAGS-tst-lfschk6): Renamed to ...
34057         (LDLIBS-tst-lfschk6): This.
34059         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34060         on $(common-objpfx)soversions.mk.
34062 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34064         [BZ #10014]
34065         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34066         example host name.
34068 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34070         * malloc/arena.c (arena_get_retry): New function that gets
34071         another arena for the caller to try its request on.
34072         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34073         current arena cannot fulfill the request.
34074         (__libc_memalign): Likewise.
34075         (__libc_memalign): Likewise.
34076         (__libc_pvalloc): Likewise.
34077         (__libc_calloc): Likewise.
34079 2012-09-05  John Tobey  <john.tobey@gmail.com>
34081         [BZ #13542]
34082         * manual/arith.texi (Operations on Complex): Fix description
34083         of carg branch cut.
34085 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34087         [BZ #10014]
34088         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34089         host name.
34091         [BZ #10038]
34092         * manual/memory.texi (Memory): Make order of menu items match
34093         order of sections.
34095 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34097         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34098         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34099         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34101 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34103         * csu/libc-tls.c (static_dtv): Renamed to ...
34104         (_dl_static_dtv): This.  Make it global.
34105         (_dl_initial_dtv): Removed.
34106         (__libc_setup_tls): Updated.
34107         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34108         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34109         DL_INITIAL_DTV.
34111 2012-09-06  Petr Machata  <pmachata@redhat.com>
34113         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34114         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34115         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34116         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34118 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34120         [BZ #14545]
34121         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34122         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34123         freeing dtv[-1].
34125 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34127         [BZ #14544]
34128         * Makeconfig (link-static-before-libc): Replace $(+prector)
34129         with $(+prectorT).
34130         (link-static-after-libc): Replace $(+postctor) with
34131         $(+postctorT).
34132         (link-bounded): Replace $(+prector)/$(+postctor) with
34133         $(+prectorT)/$(+postctorT).
34134         (+prectorT): New macro.
34135         (+postctorT): Likewise.
34137 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34139         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34140         (round_str): Handle values above the maximum for IBM long double
34141         as inexact.
34142         * stdlib/tst-strtod-round.c (tests): Regenerated.
34144 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34146         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34147         assembler flag.
34148         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34149         zarch_nohighgprs around the zarch optimized routines.
34150         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34151         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34152         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34153         for zarch.
34155 2012-09-05  David S. Miller  <davem@davemloft.net>
34157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34159         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34160         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34161         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34162         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34163         entries.
34165 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34167         * malloc/arena.c: Fold copyright years.
34168         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34170 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34172         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34174 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34176         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34178 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34180         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34181         change internal state upon failure.
34183 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34185         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34186         * malloc/memusage.c (mmap): Likewise.
34187         (mmap64, mremap): Likewise.  Adjust name in comment.
34189 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34191         * libio/fileops.c: Fix typos in comments.
34192         * libio/oldfileops.c: Likewise.
34193         * libio/wfileops.c: Likewise.
34195 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34197         [BZ #1349]
34198         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34199         (tst-malloc-usable-ENV): Set environment for test case.
34200         * malloc/hooks.c (malloc_check_get_size): New function to get
34201         requested size.
34202         * malloc/malloc.c (musable): Use malloc_check_get_size.
34203         * malloc/tst-malloc-usable.c: New test case.
34205 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34207         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34209 2012-09-05  Allan McRae  <allan@archlinux.org>
34211         [BZ #13966]
34212         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34213         determine header location.
34214         * configure: Regenerated.
34216 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34218         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34219         float format.
34220         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34221         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34222         format.
34223         (test): Regenerate.
34225 2012-09-04  David S. Miller  <davem@davemloft.net>
34227         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34228         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34229         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34231 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34233         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34234         failures.
34236         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34238 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34240         [BZ #9914]
34241         * libio/iogetdelim.c: Include <limits.h>.
34242         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34243         + len + 1 would overflow.
34245 2012-09-03  Andreas Jaeger  <aj@suse.de>
34247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34248         * sysdeps/i386/fpu/libm-test-ulps: Update.
34250 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34252         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34253         Add s_sinf-sse2, s_conf-sse2.
34255         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34256         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34257         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34258         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34260         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34261         for using routine as __sinf_ia32.
34262         Use macro for function declaration and weak_alias.
34263         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34264         for using routine as __cosf_ia32.
34265         Use macro for function declaration and weak_alias.
34267         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34268         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34270         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34271         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34274         * math/libm-test.inc (cos_test): Add more test cases.
34275         (sin_test): Likewise.
34276         (sincos_test): Likewise.
34278 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34281         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34282         hidden.
34283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34285 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34287         [BZ #14538]
34288         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34289         first element of the GOT.
34290         (elf_machine_load_address): Return the difference between
34291         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34293 2012-09-01  Allan McRae  <allan@archlinux.org>
34295         [BZ #13412]
34296         * configure.in (AWK): Require gawk version 3.0 or later.
34297         * configure: Regenerated.
34299 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34301         * sysdeps/unix/sysv/linux/kernel-features.h
34302         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34303         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34304         [__NR_clock_getres]: Make code unconditional.
34305         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34306         (clock_getcpuclockid): Remove code left unreachable by removal of
34307         conditionals.
34308         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34309         code unconditional.
34310         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34311         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34312         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34313         Make code unconditional.
34314         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34315         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34316         * sysdeps/unix/sysv/linux/clock_settime.c
34317         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34318         conditional code.
34319         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34320         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34322 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34324         [BZ #14476]
34325         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34326         scripts/test-installation.pl.
34328         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34329         and $ld_so_version if it is set.
34331 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34333         [BZ #14516]
34334         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34335         failure if reading from procfs failed.
34336         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34338 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34340         * sysdeps/unix/sysv/linux/kernel-features.h
34341         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34342         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34343         Remove conditional code.
34344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34345         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34346         Remove conditional code.
34347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34348         * sysdeps/unix/sysv/linux/i386/fxstat.c
34349         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34350         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34351         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34352         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34354         * sysdeps/unix/sysv/linux/i386/lxstat.c
34355         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34357         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34358         Remove conditional code.
34359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34360         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34361         Remove conditional code.
34362         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34363         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34364         <kernel-features.h>.
34365         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34366         Remove.
34367         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34368         Remove conditional code.
34369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34370         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34371         Remove conditional.
34373 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34375         [BZ #5400]
34376         * NEWS: Add fixed bug number.
34378 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34380         [BZ #14519]
34381         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34382         underflowing exponent in case of negative sign.
34383         * stdlib/tst-strtod-round-data: Add more tests.
34384         * stdlib/tst-strtod-round.c (tests): Regenerated.
34386         [BZ #3479]
34387         * stdlib/strtod_l.c (NDIG): Remove.
34388         (HEXNDIG): Likewise.
34389         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34390         smallest representable value.
34391         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34392         lie within an exact representation of 1/2 ulp of the result.
34393         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34394         unconditionally.
34395         (TENS_P9_IDX): Define unconditionally.
34396         (TENS_P9_SIZE): Likewise.
34397         (TENS_P10_IDX): Likewise.
34398         (TENS_P10_SIZE): Likewise.
34399         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34400         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34401         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34402         entries for 10^2^13 and 10^2^14.
34403         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34404         (TENS_P13_IDX): Define.
34405         (TENS_P13_SIZE): Likewise.
34406         (TENS_P14_IDX): Likewise.
34407         (TENS_P14_SIZE): Likewise.
34408         (_fpioconst_pow10): Change array size to
34409         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34410         unconditional.
34411         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34412         1024]: Add entries for 10^2^13 and 10^2^14.
34413         [LAST_POW10 > _LAST_POW10]: Remove #error.
34414         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34415         (_fpioconst_pow10): Change array size to
34416         FPIOCONST_POW10_ARRAY_SIZE.
34417         * stdlib/gen-fpioconst.c: New file.
34418         * stdlib/gen-tst-strtod-round.c: Likewise.
34419         * stdlib/tst-strtod-round-data: Likewise.
34420         * stdlib/tst-strtod-round.c: Likewise.
34421         * stdlib/Makefile (tests): Add tst-strtod-round.
34423         [BZ #14459]
34424         * stdlib/strtod_l.c: Include <stdint.h>.
34425         (NDEBUG): Do not define.
34426         (round_and_return): Change EXPONENT parameter to type intmax_t.
34427         Rearrange calculations to avoid internal overflow possibilities.
34428         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34429         Rearrange calculations to avoid internal overflow possibilities.
34430         Assert that number fits inside MPNSIZE limbs.
34431         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34432         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34433         calculations and add assertions to avoid internal overflow
34434         possibilities.  Add casts to avoid signed/unsigned operations.
34435         * stdlib/tst-strtod-overflow.c: New file.
34436         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34438 2012-08-25  Marek Polacek  <polacek@redhat.com>
34440         * time/time.h: Fix some typos in comments.
34442 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34444         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34445         * posix/tst-rfc3484-2.c: Likewise.
34446         * posix/tst-rfc3484-3.c: Likewise.
34448 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34450         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34451         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34453 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34455         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34456         #include of fxstatat64.c.
34458 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34460         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34461         * shadow/getspent_r.c: Likewise.
34462         * shadow/getspnam.c: Likewise.
34463         * shadow/getspnam_r.c: Likewise.
34464         * gshadow/getsgent.c: Likewise.
34465         * gshadow/getsgent_r.c: Likewise.
34466         * gshadow/getsgnam.c: Likewise.
34467         * gshadow/getsgnam_r.c: Likewise.
34468         * inet/getnetbyad.c: Likewise.
34469         * inet/getnetbyad_r.c: Likewise.
34470         * inet/getnetbynm.c: Likewise.
34471         * inet/getnetbynm_r.c: Likewise.
34472         * inet/getnetent.c: Likewise.
34473         * inet/getnetent_r.c: Likewise.
34474         * inet/getproto.c: Likewise.
34475         * inet/getproto_r.c: Likewise.
34476         * inet/getprtent.c: Likewise.
34477         * inet/getprtent_r.c: Likewise.
34478         * inet/getprtname.c: Likewise.
34479         * inet/getprtname_r.c: Likewise.
34480         * inet/getrpcbyname.c: Likewise.
34481         * inet/getrpcbyname_r.c: Likewise.
34482         * inet/getrpcbynumber.c: Likewise.
34483         * inet/getrpcbynumber_r.c: Likewise.
34484         * inet/getrpcent.c: Likewise.
34485         * inet/getrpcent_r.c: Likewise.
34486         * inet/getaliasent.c: Likewise.
34487         * inet/getaliasent_r.c: Likewise.
34488         * inet/getaliasname.c: Likewise.
34489         * inet/getaliasname_r.c: Likewise.
34490         * nscd/getgrgid_r.c: Likewise.
34491         * nscd/getgrnam_r.c: Likewise.
34492         * nscd/gethstbyad_r.c: Likewise.
34493         * nscd/gethstbynm3_r.c: Likewise.
34494         * nscd/getpwnam_r.c: Likewise.
34495         * nscd/getpwuid_r.c: Likewise.
34496         * nscd/getsrvbynm_r.c: Likewise.
34497         * nscd/getsrvbypt_r.c: Likewise.
34498         * nscd/gai.c: Likewise.
34500         * configure.in (build_nscd): New substituted variable, set
34501         by --disable-build-nscd and defaults to $use_nscd.
34502         * configure: Regenerated.
34503         * config.make.in (build-nscd): New substituted variable.
34504         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34505         Change conditional to require [$(build-nscd) = yes] as well.
34506         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34508         [BZ# 13696]
34509         * configure.in (use_nscd): New substituted variable, set by
34510         --disable-nscd.  If enabled, define USE_NSCD.
34511         * configure: Regenerated.
34512         * config.h.in: Add USE_NSCD.
34513         * config.make.in (use-nscd): New substituted variable.
34514         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34515         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34516         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34517         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34518         (CFLAGS-getgrnam_r.c): Likewise.
34519         (CFLAGS-initgroups.c): Likewise.
34520         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34521         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34522         Variables removed.
34523         * inet/getnetgrent_r.c
34524         (nscd_setnetgrent): New function, broken out of ...
34525         (setnetgrent): ... here.  Call it.
34526         (innetgr): Conditionalize nscd bits on [USE_NSCD].
34527         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34528         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34529         * nscd/Makefile (routines, aux): Move definitions after include of
34530         Makeconfig.  Conditionalize on [$(use-nscd) != no].
34531         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34532         Conditionalize on [USE_NSCD].
34533         (is_nscd, nscd_init_cb): Likewise.
34534         (nss_load_library): Conditionalize init callback on [USE_NSCD].
34535         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34536         * nss/nss_db/db-init.c: Likewise.
34537         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34538         [USE_NSCD].
34539         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34540         (make_request): Use it.
34541         (cache_valid_p): New function.
34542         (__check_pf): Use it.
34543         * NEWS: Add item for --disable-nscd.
34545 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
34547         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34548         to support sed >= 4.2.1-20-ga9bf076.
34549         * configure: Regenerated.
34551 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34553         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34554         Conditionalize whole body on [IREL].
34556 2012-08-22  Jeff Law <law@redhat.com>
34558         [BZ #14505]
34559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34560         if the family is PF_UNSPEC.
34562 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
34564         * Makerules (lib-version): Rename from V.
34565         (install-lib-nosubdir): Change V to lib-version.
34567 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
34569         [BZ #14252]
34570         * powerpc32/power6/wcschr.c: New file.
34571         * powerpc32/power6/wcscpy.c: New file.
34572         * powerpc32/power6/wcsrchr.c: New file.
34573         * powerpc64/power6/wcschr.c: New file.
34574         * powerpc64/power6/wcscpy.c: New file.
34575         * powerpc64/power6/wcsrchr.c: New file.
34577 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34579         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34580         (two_way_short_needle): Use it.
34581         * string/strstr.c (AVAILABLE1_USES_J): Define.
34582         * string/strcasestr.c: Likewise.
34584         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34585         array references.
34586         * string/strcasestr.c (TOLOWER): Make side-effect safe.
34588         [BZ #11607]
34589         * NEWS: Add an entry.
34590         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34591         define their defaults.
34592         (two_way_short_needle): Detect end-of-string on-the-fly.
34593         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34594         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34595         * string/bug-strcasestr1.c: New test.
34596         * string/Makefile: Run it.
34598 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34600         [BZ #11607]
34601         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34602         the first character.
34604 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34606         * csu/elf-init.c (__libc_csu_irel): Function removed.
34607         * csu/libc-start.c (apply_irel): New function.
34608         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34610 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34612         * sysdeps/unix/sysv/linux/kernel-features.h
34613         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34614         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34615         <kernel-features.h>.
34616         [__NR_fadvise64_64]: Make code unconditional.
34617         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34618         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34619         !__NR_fadvise64_64)]: Likewise.
34620         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34621         !__NR_fadvise64_64))]: Likewise.
34622         [__NR_fadvise64]: Make code unconditional.
34623         [!__NR_fadvise64]: Remove conditional code.
34624         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34625         <kernel-features.h>.
34626         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34627         unconditional.
34628         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34629         conditional code.
34630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34631         not include <kernel-features.h>.
34632         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34633         unconditional.
34634         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34635         conditional code.
34636         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34637         include <kernel-features.h>.
34638         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34639         unconditional.
34640         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34641         conditional code.
34643 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34645         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34646         slight instruction rearrangements per scrollpipe analysis.
34647         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34649 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34651         * manual/syslog.texi (syslog; vsyslog, closelog):
34652         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34653         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34655         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34656         DSOCAPS to match condition on defining it.
34658 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34660         * sysdeps/unix/sysv/linux/kernel-features.h
34661         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34663         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34664         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34666         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34667         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34669         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34670         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34672         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34673         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34675         * sysdeps/unix/sysv/linux/kernel-features.h
34676         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34677         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34678         unconditional.
34679         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34680         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34681         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34682         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34683         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34684         Make code unconditional.
34685         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34686         (__mmap64) [!__NR_mmap2]: Likewise.
34687         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34688         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34689         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34690         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34691         [__NR_mmap2]: Make code unconditional.
34692         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34693         (__mmap64) [!__NR_mmap2]: Likewise.
34695 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34697         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34699 2012-08-18  Andreas Jaeger  <aj@suse.de>
34701         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34703 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34705         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34706         * include/unistd.h (__have_sock_cloexec): Likewise.
34707         (__have_pipe2): Likewise.
34708         (__have_dup3): Likewise.
34710 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34712         [BZ #9685]
34713         * include/unistd.h (__have_pipe2): Change define into an extern int.
34714         (__have_dup3): Likewise.
34715         * socket/have_sock_cloexec.c: Include fcntl.h.
34716         (__have_pipe2): New variable.
34717         (__have_dup3): Likewise.
34719 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34721         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34723 2012-08-17  Marek Polacek  <polacek@redhat.com>
34725         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34726         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34728 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34730         * configure.in: Add AC_SUBST for sysheaders.
34731         * configure: Regenerated.
34732         * config.make.in (sysheaders): New substituted variable.
34734         * sysdeps/unix/mkfifo.c: Moved ...
34735         * sysdeps/posix/mkfifo.c: ... here.
34736         * sysdeps/unix/mkfifoat.c: Moved ...
34737         * sysdeps/posix/mkfifoat.c: ... here.
34739         * sysdeps/unix/utime.c: Moved ...
34740         * sysdeps/posix/utime.c: ... here.
34742         * sysdeps/unix/time.c: Moved ...
34743         * sysdeps/posix/time.c: ... here.
34744         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34745         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34747         * sysdeps/unix/nice.c: Moved ...
34748         * sysdeps/posix/nice.c: ... here.
34750         * sysdeps/unix/alarm.c: Moved ...
34751         * sysdeps/posix/alarm.c: ... here.
34753         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34755 2012-08-17  Jeff Law <law@redhat.com>
34757         * intl/Makefile (codeset_mo): New variable.
34758         ($(codeset_mo)): New target.
34759         (tst-codeset.out): Depend on that.  Remove explicit rule.
34760         (tst-gettext3.out, tst-gettext5.out): Likewise.
34761         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34762         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34763         * intl/tst-codeset.sh: Remove.
34764         * intl/tst-gettext3.sh: Likewise.
34765         * intl/tst-gettext5.sh: Likewise.
34767 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34769         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34770         * sysdeps/unix/syscalls.list: ... here.
34772         * sysdeps/posix/getaddrinfo.c
34773         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34774         (gaiconf_init, gaiconf_reload): Use them.
34775         [!_STATBUF_ST_NSEC]
34776         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34777         Define using time_t rather than struct timespec.
34779         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34780         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34781         Macros removed.
34782         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34783         [!NO_THREADS].
34784         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34785         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34786         Likewise.
34788         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34789         __libc_cleanup_push argument.
34791         * bits/param.h: New file.
34792         * misc/sys/param.h: New file.
34793         * include/sys/param.h: New file.
34794         * misc/Makefile (headers): Add bits/param.h.
34795         * sysdeps/generic/sys/param.h: File removed.
34796         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34797         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34798         * sysdeps/mach/hurd/bits/param.h: New file.
34799         * sysdeps/mach/hurd/sys/param.h: File removed.
34801         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34802         last change.
34804         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34805         [_IO_MTSAFE_IO].
34806         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34807         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34808         New macros.
34810         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34811         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34812         rather than -D_IO_MTSAFE_IO conditionally.
34813         * stdio-common/Makefile (CPPFLAGS): Likewise.
34814         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34815         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34816         Use $(libio-mtsafe).
34817         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34818         of -D_IO_MTSAFE_IO.
34819         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34820         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34821         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34822         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34823         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34824         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34825         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34826         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34827         (CFLAGS-fread_u_chk.c): Likewise.
34828         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34829         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34830         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34831         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34832         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34833         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34834         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34835         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34836         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34838         * libio/Makefile: Test [$(libc-reentrant) = yes]
34839         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34841         * Makeconfig
34842         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34843         * sysdeps/pthread/configure: File removed.
34844         * sysdeps/pthread/Makeconfig: New file.
34845         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34846         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34848 2012-08-16  Gary Benson  <gbenson@redhat.com>
34850         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34851         unmapping the first object in a namespace.
34853 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34855         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34856         (__internal_setnetgrent): ... this.  Add internal_function to
34857         definition.  Add libc_hidden_def.
34858         (setnetgrent): Update caller.
34859         (internal_endnetgrent): Renamed to ...
34860         (__internal_endnetgrent): ... this.  Add internal_function to
34861         definition.  Add libc_hidden_def.
34862         (endnetgrent): Update caller.
34863         (internal_getnetgrent_r): Renamed to ...
34864         (__internal_getnetgrent_r): ... this.  Add internal_function to
34865         definition.  Add libc_hidden_def.
34866         (__getnetgrent_r): Update caller.
34867         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34869 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34871         * stdlib/longlong.h: Update from GCC.
34873 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34875         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34876         on _QL, which is set by umul_ppmm but never used.
34877         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34878         variables, which are set by GMP macros but never used.
34879         * stdio-common/_itowa.c (_itowa): Likewise.
34880         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34881         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34883 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34885         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34886         struct La_sh_regs is not constant.
34887         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34888         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34889         and struct La_sparc64_regs are not constant.
34891 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34893         * sysdeps/unix/sysv/linux/kernel-features.h
34894         (__ASSUME_POSIX_TIMERS): Remove.
34895         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34896         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34897         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34898         Make code unconditional.
34899         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34900         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34901         Make code unconditional.
34902         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34903         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34904         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34905         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34906         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34907         Make code unconditional.
34908         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34909         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34910         (__libc_missing_posix_timers): Remove.
34912 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34914         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34915         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34917         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34919         * elf/dl-sym.c: Include <stdlib.h>.
34921         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34922         constants, which avoids warnings in 32-bit builds.
34924         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34925         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34927         * misc/lseek.c: File moved to ...
34928         * io/lseek.c: ... here.
34930         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34932         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34933         shifting LEN more than 31 bits at once.
34935 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34937         [BZ #14195]
34938         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34939         segmentation fault for a case of two empty input strings.
34940         * string/test-strncasecmp.c (check1): Renamed to...
34941         (bz12205): ...this.
34942         (bz14195): Add new testcase for two empty input strings and N > 0.
34943         (test_main): Call new testcase, adapt for renamed function.
34945 2012-08-15  Andreas Jaeger  <aj@suse.de>
34947         [BZ #14090]
34948         * crypt/md5test2.c: New test, based on test supplied by Serge
34949         Belyshev <belyshev@depni.sinp.msu.ru>.
34950         * crypt/Makefile (xtests): Add md5test-giant..
34951         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34953 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34955         [BZ #14090]
34956         * crypt/md5.c (md5_process_block): Don't assume the buffer
34957         length is less than 2**32.
34958         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34959         length is less than 2**64.
34961 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34963         * string/str-two-way.h: Include <sys/param.h>.
34964         (MAX): Macro removed.
34966         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34967         Move #define and #undef of memmove to just before and after
34968         including <string.h>.
34970         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34971         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34972         and after including <string.h>.  Move declarations of
34973         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34974         to before #include "string/memmove.c".
34976         * include/dirent.h: Declare __getdirentries.
34978         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34979         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34981 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34983         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34984         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34985         * sysdeps/i386/configure: Regenerated.
34986         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34987         STABS_CURRENT_FILE, and STABS_FUN.
34988         (END): Remove call to STABS_FUN_END.
34989         (STABS_CURRENT_FILE1): Delete.
34990         (STABS_CURRENT_FILE): Likewise.
34991         (STABS_FUN): Likewise.
34992         (STABS_FUN_END): Likewise.
34993         (STABS_FUN2): Likewise.
34994         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34995         * sysdeps/x86_64/configure: Regenerated.
34997 2012-08-14  Roland McGrath  <roland@hack.frob.com>
34999         * elf/dl-open.c: Include <atomic.h>.
35000         * elf/dl-lookup.c: Likewise.
35002 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35004         * sysdeps/unix/sysv/linux/kernel-features.h
35005         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35006         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35007         unconditionally.
35008         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35009         unconditionally.
35010         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35011         condition on __ASSUME_CLONE_THREAD_FLAGS.
35013 2012-08-14  Andreas Jaeger  <aj@suse.de>
35015         * sysdeps/i386/fpu/libm-test-ulps: Update.
35017 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35019         * include/atomic.h (atomic_exchange_and_add): Split into ...
35020         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35021         New atomic macros.
35023 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35027 2012-08-13  Jeff Law <law@redhat.com>
35029         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35030         null byte in the output string.
35032 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35034         * sysdeps/unix/sysv/linux/kernel-features.h
35035         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35036         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35037         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35038         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35039         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35040         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35041         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35043 2012-08-09  Jeff Law <law@redhat.com>
35045         [BZ #13939]
35046         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35047         When avoid_arena is set, don't retry in the that arena.  Pick the
35048         next one, whatever it might be.
35049         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35050         (arena_lock): Pass in new parameter to arena_get2.
35051         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35052         arena_get2.
35053         (__libc_malloc): Unify retrying after main arena failure with
35054         __libc_memalign version.
35055         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35057 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35059         [BZ #14166]
35060         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35061         to __redirect_strstr.
35062         (__strstr_sse42): Use typeof __redirect_strstr.
35063         (__strstr_ia32): Likewise.
35064         (__libc_strstr): New prototype.
35065         (strstr): Renamed to ...
35066         (__libc_strstr): This.
35067         (strstr): New strong alias of __libc_strstr.
35068         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35069         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35070         __redirect_time.
35071         Include <time.h>.
35072         (__libc_time): New prototype.
35073         (time_ifunc): Replace time with __libc_time.
35074         (time): New strong alias and hidden definition of __libc_time.
35075         (__GI_time): Remove strong alias.
35076         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35077         Include <stddef.h>.
35078         (memmove): Redefined to __redirect_memmove.
35079         (__memmove_sse2): Use typeof __redirect_memmove.
35080         (__memmove_ssse3): Likewise.
35081         (__memmove_ssse3_back): Likewise.
35082         (__libc_memmove): New prototype.
35083         (memmove): Renamed to ...
35084         (__libc_memmove): This.
35085         (memmove): New strong alias of __libc_memmove.
35087 2012-08-08  Mark Salter  <msalter@redhat.com>
35089         * elf/elf.h
35090         (R_MN10300_TLS_GD): Define.
35091         (R_MN10300_TLS_LD): Likewise.
35092         (R_MN10300_TLS_LDO): Likewise.
35093         (R_MN10300_TLS_GOTIE): Likewise.
35094         (R_MN10300_TLS_IE): Likewise.
35095         (R_MN10300_TLS_LE): Likewise.
35096         (R_MN10300_TLS_DTPMOD): Likewise.
35097         (R_MN10300_TLS_DTPOFF): Likewise.
35098         (R_MN10300_TLS_TPOFF): Likewise.
35099         (R_MN10300_SYM_DIFF): Likewise.
35100         (R_MN10300_ALIGN): Likewise.
35101         (R_MN10300_NUM): Update.
35103 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35105         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35106         Remove.
35108 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35110         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35112         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35113         sysdeps/unix -> sysdeps/posix move.
35114         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35116 2012-08-07      Allan McRae     <allan@archlinux.org>
35118         [BZ #14303]
35119         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35120         (SUNOS_CPP): Likewise.
35121         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35122         not found.
35123         (open_input): Call CPP using execvp.
35125 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35127         * sysdeps/unix/sysv/linux/kernel-features.h
35128         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35129         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35130         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35131         (__ASSUME_WAITID_SYSCALL): Likewise.
35132         * sysdeps/unix/sysv/linux/dl-execstack.c
35133         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35134         code unconditional.
35135         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35136         conditional code.
35137         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35138         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35139         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35140         code.
35141         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35142         unconditional.
35143         [__ASSUME_WAITID_SYSCALL]: Likewise.
35144         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35146 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35148         * sysdeps/unix/closedir.c: Renamed to ...
35149         * sysdeps/posix/closedir.c: ... here.
35150         * sysdeps/unix/dirfd.c: Renamed to ...
35151         * sysdeps/posix/dirfd.c: ... here.
35152         * sysdeps/unix/dirstream.h: Renamed to ...
35153         * sysdeps/posix/dirstream.h: ... here.
35154         * sysdeps/unix/fdopendir.c: Renamed to ...
35155         * sysdeps/posix/fdopendir.c: ... here.
35156         * sysdeps/unix/opendir.c: Renamed to ...
35157         * sysdeps/posix/opendir.c: ... here.
35158         * sysdeps/unix/readdir.c: Renamed to ...
35159         * sysdeps/posix/readdir.c: ... here.
35160         * sysdeps/unix/readdir_r.c: Renamed to ...
35161         * sysdeps/posix/readdir_r.c: ... here.
35162         * sysdeps/unix/rewinddir.c: Renamed to ...
35163         * sysdeps/posix/rewinddir.c: ... here.
35164         * sysdeps/unix/seekdir.c: Renamed to ...
35165         * sysdeps/posix/seekdir.c: ... here.
35166         * sysdeps/unix/telldir.c: Renamed to ...
35167         * sysdeps/posix/telldir.c: ... here.
35168         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35169         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35170         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35171         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35173         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35174         * bits/fcntl.h: ... here.
35176         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35177         not 0.
35178         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35179         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35180         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35181         (struct flock): Move l_start, l_len to the beginning.
35182         Use __pid_t for l_pid.
35183         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35184         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35185         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35186         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35187         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35188         [__USE_LARGEFILE64] (struct flock64): New type.
35189         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35191         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35192         * bits/dirent.h: ... here.
35194         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35195         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35197 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35199         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35200         Change from 2.6.0 to 2.6.16.
35201         * sysdeps/unix/sysv/linux/configure: Regenerated.
35202         * sysdeps/unix/sysv/linux/kernel-features.h
35203         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35204         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35205         version.
35206         (__ASSUME_UTIMES): Likewise.
35207         (__ASSUME_CLONE_STOPPED): Remove.
35208         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35209         architectures, not kernel version.
35210         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35211         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35212         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35213         (__ASSUME_WAITID_SYSCALL): Likewise.
35214         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35215         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35216         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35217         refer to older versions.
35219 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35221         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35222         Define alphasort64 as an alias.
35223         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35224         Define versionsort64 as an alias.
35225         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35226         Define scandir64 as an alias.
35227         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35228         Define scandirat64 as an alias.
35229         * dirent/alphasort64.c (alphasort64):
35230         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35231         * dirent/versionsort64.c: Likewise.
35232         * dirent/scandir64.c: Likewise.
35233         * dirent/scandirat64.c: Likewise.
35234         * sysdeps/wordsize-64/alphasort.c: File removed.
35235         * sysdeps/wordsize-64/alphasort64.c: File removed.
35236         * sysdeps/wordsize-64/scandir.c: File removed.
35237         * sysdeps/wordsize-64/scandir64.c: File removed.
35238         * sysdeps/wordsize-64/scandirat.c: File removed.
35239         * sysdeps/wordsize-64/scandirat64.c: File removed.
35240         * sysdeps/wordsize-64/versionsort.c: File removed.
35241         * sysdeps/wordsize-64/versionsort64.c: File removed.
35242         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35243         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35244         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35245         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35246         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35247         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35248         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35249         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35251         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35253         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35255         [defined __arch64__ || defined __sparcv9]
35256         (__INO_T_MATCHES_INO64_T): New macro.
35257         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35258         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35259         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35260         * sysdeps/unix/sysv/linux/bits/dirent.h
35261         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35262         (_DIRENT_MATCHES_DIRENT64): New macro.
35264         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35265         Define lockf64 as an alias.
35266         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35267         Define fseeko64 as an alias.
35268         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35269         Define ftello64 as an alias.
35270         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35271         Define _IO_fgetpos64 and fgetpos64 as aliases.
35272         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35273         Define _IO_fsetpos64 and fsetpos64 as aliases.
35274         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35275         Conditionalize body on this.
35276         * libio/fseeko64.c: Likewise.
35277         * libio/ftello64.c: Likewise.
35278         * libio/iofgetpos64.c: Likewise.
35279         * libio/iofsetpos64.c: Likewise.
35280         * sysdeps/wordsize-64/lockf.c: File removed.
35281         * sysdeps/wordsize-64/lockf64.c: File removed.
35282         * sysdeps/wordsize-64/fseeko.c: File removed.
35283         * sysdeps/wordsize-64/fseeko64.c: File removed.
35284         * sysdeps/wordsize-64/ftello.c: File removed.
35285         * sysdeps/wordsize-64/ftello64.c: File removed.
35286         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35287         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35288         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35289         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35290         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35291         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35292         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35293         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35294         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35295         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35298         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35299         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35301         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35302         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35303         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35305         [defined __arch64__ || defined __sparcv9]
35306         (__OFF_T_MATCHES_OFF64_T): New macro.
35307         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35308         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35310         (__OFF_T_MATCHES_OFF64_T): New macro.
35312 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35314         * stdlib/secure-getenv.c (__secure_getenv): Replace
35315         GLIBC_2_16 with GLIBC_2_17.
35317 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35319         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35320         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35322 2012-08-03  David S. Miller  <davem@davemloft.net>
35324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35326 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35328         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35329         Remove.
35330         (__ASSUME_CORRECT_SI_PID): Likewise.
35331         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35332         (__ASSUME_TMPFS_NAME): Likewise.
35333         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35334         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35335         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35336         (HAVE_AUX_SECURE): Make definition unconditional.
35337         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35338         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35340 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35342         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35343         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35344         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35345         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35346         __eloop_threshold instead of SYMLOOP_MAX.
35348         * sysdeps/generic/eloop-threshold.h: New file.
35349         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35350         of MAXSYMLINKS.
35351         * elf/chroot_canon.c (chroot_canon): Likewise.
35353 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35355         [BZ #13717]
35356         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35357         Change to 2.6.0 everywhere.
35358         * sysdeps/unix/sysv/linux/configure: Regenerated.
35359         * sysdeps/unix/sysv/linux/kernel-features.h
35360         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35361         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35362         kernel versions.
35363         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35364         (__ASSUME_FUTEX_REQUEUE): Remove.
35365         (__ASSUME_STATFS64): Define unconditionally.
35366         (__ASSUME_AT_SECURE): Likewise.
35367         (__ASSUME_CORRECT_SI_PID): Likewise.
35368         (__ASSUME_TGKILL): Define without depending on kernel version for
35369         i386.
35370         (__ASSUME_UTIMES): Likewise.
35371         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35372         kernel version.
35373         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35374         (__ASSUME_TMPFS_NAME): Likewise.
35375         * README: Update reference to Linux kernel versions.
35377 2012-08-02  Marek Polacek  <polacek@redhat.com>
35379         [BZ# 14150]
35380         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35381         libc_cv_asm_type_prefix with %.
35382         * configure: Regenerated.
35383         * include/libc-symbols.h: Remove comment about
35384         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35385         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35386         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35387         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35388         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35389         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35390         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35391         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35392         * elf/tst-unique2mod1.c: Likewise.
35393         * elf/tst-unique1mod2.c: Likewise.
35394         * elf/tst-unique1mod1.c: Likewise.
35395         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35396         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35397         Replace ASM_TYPE_DIRECTIVE with .type.
35398         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35399         * sysdeps/i386/sysdep.h: Likewise.
35400         * sysdeps/x86_64/sysdep.h: Likewise.
35401         * sysdeps/sh/sysdep.h: Likewise.
35402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35403         Do not define ASM_TYPE_DIRECTIVE.
35404         * sysdeps/powerpc/sysdep.h: Likewise.
35405         * sysdeps/powerpc/powerpc32/sysdep.h:
35406         Replace ASM_TYPE_DIRECTIVE with .type.
35407         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35408         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35409         * sysdeps/i386/fpu/e_powf.S: Likewise.
35410         * sysdeps/i386/fpu/e_expl.S: Likewise.
35411         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35412         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35413         * sysdeps/i386/fpu/e_pow.S: Likewise.
35414         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35415         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35416         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35417         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35418         * sysdeps/i386/fpu/e_log2.S: Likewise.
35419         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35420         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35421         * sysdeps/i386/fpu/e_powl.S: Likewise.
35422         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35423         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35424         * sysdeps/i386/fpu/e_logl.S: Likewise.
35425         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35426         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35427         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35428         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35429         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35430         * sysdeps/i386/fpu/e_log.S: Likewise.
35431         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35432         * sysdeps/i386/fpu/e_logf.S: Likewise.
35433         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35434         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35435         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35436         * sysdeps/i386/fpu/e_log10.S: Likewise.
35437         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35439         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35440         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35441         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35442         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35443         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35444         * sysdeps/i386/i686/strtok.S: Likewise.
35445         * sysdeps/i386/i386-mcount.S: Likewise.
35446         * sysdeps/i386/strtok.S: Likewise.
35447         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35448         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35450         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35451         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35452         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35453         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35454         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35455         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35456         * sysdeps/x86_64/_mcount.S: Likewise.
35457         * sysdeps/x86_64/strtok.S: Likewise.
35458         * sysdeps/sh/_mcount.S: Likewise.
35460 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35462         * libio/iofopen.c: Include <fcntl.h>.
35463         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35464         (_IO_fopen64, fopen64): Define as aliases.
35465         * libio/iofopen64.c: Include <fcntl.h>.
35466         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35467         Conditionalize body on this.
35468         * sysdeps/wordsize-64/iofopen.c: File removed.
35469         * sysdeps/wordsize-64/iofopen64.c: File removed.
35471 2012-08-01  Marek Polacek  <polacek@redhat.com>
35473         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35474         Use dlfcn directly instead of a variable.
35475         (binfmt-subdir): Do not define.
35476         (dlfcn): Likewise.
35478 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35480         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35481         Remove all definitions.
35482         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35483         <kernel-features.h>.
35484         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35485         (miss_F_GETOWN_EX): Remove all definitions.
35486         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35487         macro definition.
35488         [!__ASSUME_FCNTL64]: Remove conditional code.
35489         [__ASSUME_FCNTL64]: Make code unconditional.
35490         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35491         <kernel-features.h>.
35492         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35493         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35494         (lockf64) [__NR_fcntl64]: Make code unconditional.
35495         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35497         * sysdeps/unix/sysv/linux/kernel-features.h
35498         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35499         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35500         Make code unconditional.
35501         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35502         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35504         [__NR_vfork]: Make code unconditional.
35505         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35506         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35508         [__NR_vfork]: Make code unconditional.
35509         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35510         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35512 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35514         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35515         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35517         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35518         Define mkstemp64 as an alias.
35519         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35520         Define mkstemps64 as an alias.
35521         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35522         Define mkostemp64 as an alias.
35523         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35524         Define mkostemps64 as an alias.
35525         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35526         Conditionalize body on this.
35527         * misc/mkostemp64.c: Likewise.
35528         * misc/mkostemps64.c: Likewise.
35529         * misc/mkstemps64.c: Likewise.
35530         * sysdeps/wordsize-64/mkstemp64.c: File removed.
35531         * sysdeps/wordsize-64/mkostemp64.c: File removed.
35532         * sysdeps/wordsize-64/mkostemp.c: File removed.
35533         * sysdeps/wordsize-64/mkstemp.c: File removed.
35534         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35535         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35536         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35537         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35539         [BZ #14138]
35540         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35541         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35542         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35543         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35545         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35546         compat_symbol macros from <shlib-compat.h> rather than the underlying
35547         default_symbol_version and symbol_version macros, so that DEFAULT
35548         lines in shlib-versions are respected.
35549         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35551 2012-08-01  Florian Weimer  <fweimer@redhat.com>
35553         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35554         Declare with warn_unused_result.
35555         (setgid, setregid, setegid, setresgid): Likewise.
35556         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35557         Likewise.
35558         * WUR-REPORT: Remove set*id functions.
35560 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
35562         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35564 2012-07-31  Roland McGrath  <roland@hack.frob.com>
35566         [BZ #10191]
35567         * include/sys/socket.h (__libc_accept, __libc_accept4):
35568         Add attribute_hidden.
35569         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35571         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35572         use of PTR_MANGLE.
35573         * inet/getnetgrent_r.c (setup): Likewise.
35575         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35577 2012-07-31  David S. Miller  <davem@davemloft.net>
35579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35581 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
35583         [BZ #13629]
35584         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35585         value between 1.0 and 2.0 and smaller part has absolute value less
35586         than 1.0.
35587         * math/s_clog10.c (__clog10): Likewise.
35588         * math/s_clog10f.c (__clog10f): Likewise.
35589         * math/s_clog10l.c (__clog10l): Likewise.
35590         * math/s_clogf.c (__clogf): Likewise.
35591         * math/s_clogl.c (__clogl): Likewise.
35592         * math/libm-test.inc (clog_test): Add more tests.
35593         (clog10_test): Likewise.
35594         * sysdeps/i386/fpu/libm-test-ulps: Update.
35595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35597 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35599         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35600         Exit with zero in case no suitable GID is found, and write a
35601         message to standard error.
35603 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35605         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35606         rather than to 1.
35607         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35608         (MAXPATHLEN): Removed.
35609         (NOGROUP, NODEV): New macros.
35610         (setbit, clrbit, isset, isclr): New macros.
35611         (howmany, roundup, powerof2): New macros.
35612         (DEV_BSIZE): New macro.
35614         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35615         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35617         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35618         definition on [!__NO_LONG_DOUBLE_MATH].
35620         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35621         PTR_MANGLE and PTR_DEMANGLE.
35623         * socket/accept4.c (accept4): Rename to __libc_accept4.
35624         Define accept4 as a weak alias.
35626         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35627         on [_DIRENT_HAVE_D_TYPE].
35628         * io/ftw.c (ftw_dir): Likewise.
35630         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35632         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35634         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35635         Use the BSD numbers rather than the arbitrary ones we had.
35636         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35637         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35638         (SIGXCPU, SIGXFSZ): New macros.
35639         (_NSIG): Now 32.
35641         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35642         initializer on [_LIBC_REENTRANT].
35644         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35645         definitions inside [_POSIX_MAPPED_FILES].
35647         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35649         * dirent/opendir.c: Include <fcntl.h>.
35651         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35652         (__libc_getspecific): Likewise.
35653         (__libc_key_create): Likewise.
35655         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35656         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35657         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35658         (tmpfile64): Define as alias.
35659         * sysdeps/wordsize-64/tmpfile.c: File removed.
35660         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35661         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35662         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35664         * stdio-common/vfscanf.c: Include <stdbool.h>.
35665         * nss/makedb.c: Likewise.
35666         * stdio-common/_i18n_number.h: Likewise.
35667         * argp/argp-help.c: Likewise.
35668         * posix/wordexp.c: Likewise.
35669         * sysdeps/posix/spawni.c: Likewise.
35670         * nss/nss_files/files-initgroups.c: Likewise.
35671         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35672         * nss/nss_files/files-initgroups.c: Likewise.
35673         * nss/nss_db/db-netgrp.c: Likewise.
35674         * nss/nss_db/db-initgroups.c: Likewise.
35675         * io/fchmodat.c: Include <sys/stat.h>.
35677         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35678         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35680         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35681         [HAVE_MMAP].
35683         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35684         Add multiple inclusion protection.
35686 2012-07-27  David S. Miller  <davem@davemloft.net>
35688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35690 2012-07-27  Gary Benson  <gbenson@redhat.com>
35692         [BZ #14298]
35693         * elf/rtld.c: Include <stap-probe.h>.
35694         (dl_main): Added static probes "init_start" and "init_complete".
35695         * elf/dl-load.c: Include <stap-probe.h>.
35696         (lose): Take new parameter "nsid".
35697         Added static probe "map_failed".
35698         (_dl_map_object_from_fd): Pass namespace id to lose.
35699         Added static probe "map_start".
35700         (open_verify): Pass namespace id to lose.
35701         * elf/dl-open.c: Include <stap-probe.h>.
35702         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35703         and "reloc_complete".
35704         * elf/dl-close.c: Include <stap-probe.h>.
35705         (_dl_close_worker): Added static probes "unmap_start" and
35706         "unmap_complete".
35707         * elf/rtld-debugger-interface.txt: New file documenting the above.
35709 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35711         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35712         rather than a string variable.
35713         * sunrpc/rpc_main.c (h_output): Likewise.
35714         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35716 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35718         * inet/check_native.c: New file.
35720 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35722         [BZ #13629]
35723         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35724         if larger part has absolute value 1.0.
35725         * math/s_clog10.c (__clog10): Likewise.
35726         * math/s_clog10f.c (__clog10f): Likewise.
35727         * math/s_clog10l.c (__clog10l): Likewise.
35728         * math/s_clogf.c (__clogf): Likewise.
35729         * math/s_clogl.c (__clogl): Likewise.
35730         * math/libm-test.inc (clog_test): Add more tests.
35731         (clog10_test): Likewise.
35732         * sysdeps/i386/fpu/libm-test-ulps: Update.
35733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35735         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35736         (pltexit): Likewise.
35737         (La_regs): Likewise.
35738         (La_retval): Likewise.
35739         (int_retval): Likewise.
35740         Update #error for removed macros to refer only to definitions in
35741         tst-audit.h.
35742         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35743         macro.
35744         (pltexit): Likewise.
35745         (La_regs): Likewise.
35746         (La_retval): Likewise.
35747         (int_retval): Likewise.
35748         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35749         macro.
35750         (pltexit): Likewise.
35751         (La_regs): Likewise.
35752         (La_retval): Likewise.
35753         (int_retval): Likewise.
35754         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35755         macro.
35756         (pltexit): Likewise.
35757         (La_regs): Likewise.
35758         (La_retval): Likewise.
35759         (int_retval): Likewise.
35760         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35761         macro.
35762         (pltexit): Likewise.
35763         (La_regs): Likewise.
35764         (La_retval): Likewise.
35765         (int_retval): Likewise.
35766         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35767         macro.
35768         (pltexit): Likewise.
35769         (La_regs): Likewise.
35770         (La_retval): Likewise.
35771         (int_retval): Likewise.
35772         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35773         macro.
35774         (pltexit): Likewise.
35775         (La_regs): Likewise.
35776         (La_retval): Likewise.
35777         (int_retval): Likewise.
35778         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35779         macro definitions in tst-audit.h.
35780         * sysdeps/i386/tst-audit.h: New file.
35781         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35782         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35783         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35784         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35785         * sysdeps/sh/tst-audit.h: Likewise.
35786         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35787         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35788         * sysdeps/x86_64/tst-audit.h: Likewise.
35790 2012-07-26  Andreas Jaeger  <aj@suse.de>
35792         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35793         ptrace.
35795         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35796         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35797         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35798         PTRACE_O_MASK.
35799         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35800         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35801         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35803         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35804         value.
35806         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35807         _sigsys.
35808         (si_call_addr, si_syscall, si_arch): Define new macro.
35809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35810         _sigsys.
35811         (si_call_addr, si_syscall, si_arch): Define new marcro.
35812         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35813         _sigsys.
35814         (si_call_addr, si_syscall, si_arch): Define new macro.
35815         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35816         _sigsys.
35817         (si_call_addr, si_syscall, si_arch): Define new macro.
35819 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35821         [BZ #13717]
35822         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35823         Change to 2.4.21 where previously 2.4.1.
35824         * sysdeps/unix/sysv/linux/configure: Regenerated.
35825         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35826         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35827         Linux kernel version.
35828         (__ASSUME_STD_AUXV): Remove.
35829         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35830         kernel version.
35831         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35832         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35833         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35834         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35835         (__ASSUME_NETLINK_SUPPORT): Likewise.
35836         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35837         (__no_netlink_support): Remove conditional definition.
35838         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35839         Remove.
35840         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35841         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35842         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35843         (if_nameindex_ioctl): Remove.
35844         (if_nameindex_netlink): Do not handle __no_netlink_support.
35845         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35846         code.
35847         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35848         Remove conditional code.
35849         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35850         code.
35851         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35852         unconditional.
35853         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35854         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35855         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35856         Remove.
35857         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35858         [!__ASSUME_STD_AUXV]: Remove conditional code.
35859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35860         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35861         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35863         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35864         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35865         code.
35866         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35868         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35869         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35870         conditional code.
35871         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35873         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35874         code.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35876         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35877         conditional code.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35879         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35880         code unconditional.
35881         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35882         conditional code.
35883         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35884         unconditional.
35885         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35886         conditional code.
35887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35888         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35889         unconditional.
35890         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35891         conditional code.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35893         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35894         code unconditional.
35895         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35896         conditional code.
35897         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35898         unconditional.
35899         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35900         conditional code.
35901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35902         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35903         code unconditional.
35904         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35905         conditional code.
35906         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35907         unconditional.
35908         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35909         conditional code.
35911 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35913         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35914         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35915         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35916         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35917         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35918         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35919         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35920         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35921         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35922         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35923         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35924         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35925         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35926         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35927         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35928         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35929         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35931         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35933         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35934         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35935         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35937 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35939         * Versions.def: Add GLIBC_2.17.
35940         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35941         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35942         Introduce __libc_secure_getenv.
35943         * stdlib/Versions (2.17): Add secure_getenv
35944         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35945         * stdlib/secure-getenv.c: Rename __secure_getenv to
35946         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35947         symbol __secure_getenv for GLIBC_2.0.
35948         * stdlib/tst-secure-getenv.c: New.
35949         * stdlib/Makefile (tests): Add testcase.
35950         * manual/startup.texi (Environment Access): Document
35951         secure_getenv.
35952         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35953         __libc_secure_getenv.
35954         * inet/ruserpass.c (ruserpass): Likewise.
35955         * malloc/mtrace.c (mtrace): Likewise.
35956         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35957         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35958         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35959         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35960         HAVE_SECURE_GETENV.
35961         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35962         __secure_getenv to __libc_secure_getenv.
35963         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35965         Likewise.
35966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35967         Likewise.
35968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35970         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35976 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35978         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35979         (struct La_i86_retval): Likewise.
35980         (struct La_x86_64_regs): Likewise.
35981         (struct La_x86_64_retval): Likewise.
35982         (struct La_x32_regs): Likewise.
35983         (struct La_x32_retval): Likewise.
35984         (struct La_ppc32_regs): Likewise.
35985         (struct La_ppc32_retval): Likewise.
35986         (struct La_ppc64_regs): Likewise.
35987         (struct La_ppc64_retval): Likewise.
35988         (struct La_sh_regs): Likewise.
35989         (struct La_sh_retval): Likewise.
35990         (struct La_s390_32_regs): Likewise.
35991         (struct La_s390_32_retval): Likewise.
35992         (struct La_s390_64_regs): Likewise.
35993         (struct La_s390_64_retval): Likewise.
35994         (struct La_sparc32_regs): Likewise.
35995         (struct La_sparc32_retval): Likewise.
35996         (struct La_sparc64_regs): Likewise.
35997         (struct La_sparc64_retval): Likewise.
35998         (struct audit_ifaces): Remove architecture-specific pltenter and
35999         pltexit members.
36000         * sysdeps/i386/ldsodefs.h: New file.
36001         * sysdeps/powerpc/ldsodefs.h: Likewise.
36002         * sysdeps/s390/ldsodefs.h: Likewise.
36003         * sysdeps/sh/ldsodefs.h: Likewise.
36004         * sysdeps/sparc/ldsodefs.h: Likewise.
36005         * sysdeps/x86_64/ldsodefs.h: Likewise.
36007 2012-07-25  Marek Polacek  <polacek@redhat.com>
36009         [BZ #6808]
36010         * math/libm-test.inc (yn_test): Add another test.
36011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36012         to ERANGE when the result is +-Inf.
36013         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36014         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36015         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36016         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36018 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36020         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36021         equal to 0.
36022         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36023         clock_t.
36024         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36026 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36028         * configure.in <sysdeps resolving>: Correct printing
36029         Implies_before.
36030         * configure: Regenerate.
36032 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36034         * math/w_ilogb.c: Include <limits.h>.
36035         * math/w_ilogbl.c: Likewise.
36037 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36039         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36040         va_copy.  Document allowing for unavailable va_copy only as
36041         pre-C99 compatibility.
36042         * manual/string.texi (Copying and Concatenation): Use va_copy
36043         instead of __va_copy in concat example.
36045 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36047         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36048         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36049         it if not null.
36051         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36052         with O_NOLINK passed to __file_name_lookup.
36054         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36055         with O_NOLINK passed to __file_name_lookup.
36057         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36058         negative N or less than NGIDS.
36060         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36061         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36062         enough.  Use memcpy instead of strncpy.
36064 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36066         * elf/Makefile (check-data): Remove.
36067         (localplt.data): New vpath directive.
36068         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36069         instead of $(check-data).
36070         * scripts/data/localplt-generic.data: Move to ...
36071         * sysdeps/generic/localplt.data: ... here.
36072         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36073         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36074         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36076         ... here.
36077         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36079         ... here.
36080         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36082         ... here.
36083         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36085         ... here.
36086         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36088         ... here.
36089         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36091         ... here.
36093 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36095         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36096         PPC32 and PPC64 files.
36097         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36098         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36100 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36102         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36103         __makecontext_ret to ...
36104         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36105         ... here and call exit if uc_link is NULL.  New file.
36106         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36107         __makecontext_ret.S.
36108         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36109         __makecontext_ret to ...
36110         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36111         ... here and call exit if uc_link is NULL.  New file.
36112         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36113         __makecontext_ret.S.
36115 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36117         * elf/elf.h (R_390_IRELATIVE): New definition.
36118         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36119         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36120         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36121         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36122         (elf_machine_lazy_rel): Likewise.
36123         * sysdeps/s390/dl-irel.h: New file.
36124         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36125         * sysdeps/s390/s390-64/memset.S: New asm code.
36126         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36127         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36128         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36129         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36130         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36131         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36133         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36134         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36135         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36136         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36137         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36138         * sysdeps/s390/s390-32/memset.S: New asm code.
36139         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36141 2012-07-17  Marek Polacek  <polacek@redhat.com>
36143         [BZ #14349]
36144         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36145         * sysdeps/s390/s390-64/configure.in: Likewise.
36146         * sysdeps/sparc/configure.in: Likewise.
36147         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36148         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36149         * sysdeps/i386/configure.in: Likewise.
36150         * sysdeps/x86_64/configure.in: Likewise.
36151         * sysdeps/sh/configure.in: Likewise.
36152         * sysdeps/s390/s390-32/configure: Regenerated.
36153         * sysdeps/s390/s390-64/configure: Likewise.
36154         * sysdeps/x86_64/configure: Likewise.
36155         * sysdeps/sh/configure: Likewise.
36156         * sysdeps/powerpc/powerpc64/configure: Likewise.
36157         * sysdeps/powerpc/powerpc32/configure: Likewise.
36158         * sysdeps/sparc/configure: Likwise.
36159         * sysdeps/i386/configure: Likewise.
36161         * elf/dl-open.c: Comment fixes.
36163 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36165         * Makefile [CXX] (check-data): Remove.
36166         [CXX] (c++-types.data): New vpath directive.
36167         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36168         vpath.  Do not allow for C++ type data being missing.
36169         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36170         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36171         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36172         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36173         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36174         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36175         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36177         ... here.
36178         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36180         ... here.
36181         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36183         ... here.
36184         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36186         ... here.
36187         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36189         ... here.
36190         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36192         ... here.
36193         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36195         ... here.
36196         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36199         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36200         definitions to architecture-specific files.
36201         (TLS_IE): Likewise.
36202         (TLS_LD): Likewise.
36203         (TLS_GD): Likewise.
36204         * sysdeps/i386/tls-macros.h: New file.
36205         * sysdeps/powerpc/tls-macros.h: Likewise.
36206         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36207         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36208         * sysdeps/sh/tls-macros.h: Likewise.
36209         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36210         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36211         * sysdeps/x86_64/tls-macros.h: Likewise.
36213 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36215         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36216         zero value for regular exit case.
36218         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36219         (__start_context): Preserve zero value for regular exit case.
36221 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36222             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36224         * manual/setjmp.texi (setcontext): Clarify normal process
36225         termination when uc_link is the null pointer.
36226         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36227         exit call.
36229 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36231         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36232         preprocessor.  Test for each exception mask separately.
36234 2012-07-16  Andreas Jaeger  <aj@suse.de>
36236         * po/ru.po: Update from translation team.
36238 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36240         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36241         equal to 0.
36242         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36243         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36244         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36245         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36246         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36248 2012-07-13  Andreas Jaeger  <aj@suse.de>
36250         * po/fr.po: Update from translation team.
36252 2012-07-12  Marek Polacek  <polacek@redhat.com>
36254         [BZ #14173]
36255         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36256         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36257         loop condition.
36259 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36261         [BZ #13717]
36262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36263         Change to 2.4.1 where previously 2.4.0.
36264         * sysdeps/unix/sysv/linux/configure: Regenerated.
36265         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36266         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36267         version.
36268         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36269         (__ASSUME_AT_CLKTCK): Remove.
36270         (__ASSUME_AT_PAGESIZE): Likewise.
36271         (__ASSUME_AT_XID): Likewise.
36272         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36273         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36274         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36275         unconditionally.
36276         (HAVE_AUX_PAGESIZE): Likewise.
36277         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36278         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36279         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36281 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36283         [BZ #14307]
36284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36285         the temporary buffer used to invoke __gethostbyname2_r,
36286         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36287         host_data / struct gaih_addrtuple.
36288         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36289         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36290         header file nss/nsswitch.h.
36291         * nss/nsswitch.h (global scope): Add definition of implementation
36292         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36293         resolv/nss_dns/dns-host.c).
36295 2012-07-11  Andreas Jaeger  <aj@suse.de>
36297         * po/fr.po: Update from translation team.
36299         * po/sv.po: Update from translation team
36300         * po/fr.po: Another update from translation team.
36302 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36304         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36305         for subnormals or multiply small sinh result by itself.
36306         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36309 2012-07-11  David S. Miller  <davem@davemloft.net>
36311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36313 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36315         [BZ #14347]
36316         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36317         (INTERNAL_MARK): Shift it here.
36319 2012-07-10  Marek Polacek  <polacek@redhat.com>
36321         [BZ #14151]
36322         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36323         libc_cv_asm_global_directive with .globl.
36324         * configure: Regenerated.
36325         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36326         with .globl.
36327         * sysdeps/i386/configure: Regenerated.
36328         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36329         with .globl.
36330         * sysdeps/x86_64/configure: Regenerated.
36331         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36332         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36333         * elf/tst-unique2mod2.c: Likewise.
36334         * elf/tst-unique2mod1.c: Likewise.
36335         * elf/tst-unique1mod2.c: Likewise.
36336         * elf/tst-unique1mod1.c: Likewise.
36337         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36338         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36339         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36340         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36341         * sysdeps/mach/sysdep.h: Likewise.
36342         * sysdeps/i386/sysdep.h: Likewise.
36343         * sysdeps/i386/i386-mcount.S: Likewise.
36344         * sysdeps/x86_64/_mcount.S: Likewise.
36345         * sysdeps/x86_64/sysdep.h: Likewise.
36346         * sysdeps/sh/_mcount.S: Likewise.
36347         * sysdeps/sh/sysdep.h: Likewise.
36348         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36349         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36350         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36351         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36352         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36353         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36354         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36355         * locale/localeinfo.h: Likewise.
36356         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36357         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36359 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36361         [BZ #14336]
36362         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36363         system".
36364         * manual/message.texi (The Uniforum approach): Likewise.
36365         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36366         (glibc iconv Implementation): Likewise.
36368 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36370         [BZ #14337]
36371         * math/s_clog.c (__clog): Avoid scaling a value down where that
36372         could result in underflow.
36373         * math/s_clog10.c (__clog10): Likewise.
36374         * math/s_clog10f.c (__clog10f): Likewise.
36375         * math/s_clog10l.c (__clog10l): Likewise.
36376         * math/s_clogf.c (__clogf): Likewise.
36377         * math/s_clogl.c (__clogl): Likewise.
36378         * math/libm-test.inc (clog_test): Add more tests.
36379         (clog10_test): Likewise.
36380         * sysdeps/i386/fpu/libm-test-ulps: Update.
36381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36385         [BZ #14283]
36386         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36387         by 7 not 8 to examine high bit of fractional part.
36389         [BZ #14042]
36390         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36391         for call to __mcount_internal.
36392         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36393         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36394         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36396 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36398         [BZ #14154]
36399         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36400         approximation for values within 0x1p-13f of an odd multiple of
36401         pi/4.
36402         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36403         exception.  Add more tests.
36404         * sysdeps/i386/fpu/libm-test-ulps: Update.
36406         [BZ #6778]
36407         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36408         inputs and return -1 for them.  Do not check for +Inf in case not
36409         reachable for +Inf.
36410         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36411         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36412         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36413         and return -1 for them.  Do not check for +Inf in case not
36414         reachable for +Inf.
36415         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36416         define.
36417         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36418         and return -1 for them.  Do not check for +Inf in case not
36419         reachable for +Inf.
36420         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
36421         spurious underflow.
36422         * sysdeps/i386/fpu/libm-test-ulps: Update.
36423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36425 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
36427         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36429 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36431         [BZ #14157]
36432         [BZ #14331]
36433         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36434         could result in spurious underflow.  Scale down values above
36435         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36436         * math/s_csqrtf.c (__csqrtf): Likewise.
36437         * math/s_csqrtl.c (__csqrtl): Likewise.
36438         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36439         spurious underflow.
36440         * sysdeps/i386/fpu/libm-test-ulps: Update.
36441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36443 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36445         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36446         xopen-msg.sed.
36447         * catgets/xopen-msg.awk: New file.
36448         * catgets/xopen-msg.sed: Removed.
36450         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36451         po2text.sed.
36452         * intl/po2test.awk: New file.
36453         * intl/po2test.sed: Removed.
36455 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36457         [BZ #14328]
36458         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36459         or multiply small sinh result by itself.
36460         * math/s_ctanf.c (__ctanf): Likewise.
36461         * math/s_ctanh.c (__ctanh): Likewise.
36462         * math/s_ctanhf.c (__ctanhf): Likewise.
36463         * math/s_ctanhl.c (__ctanhl): Likewise.
36464         * math/s_ctanl.c (__ctanl): Likewise.
36465         * math/libm-test.inc (ctan_test_tonearest): New function.
36466         (ctan_test_towardzero): Likewise.
36467         (ctan_test_downward): Likewise.
36468         (ctan_test_upward): Likewise.
36469         (ctanh_test_tonearest): Likewise.
36470         (ctanh_test_towardzero): Likewise.
36471         (ctanh_test_downward): Likewise.
36472         (ctanh_test_upward): Likewise.
36473         (main): Call these new functions.
36474         * sysdeps/i386/fpu/libm-test-ulps: Update.
36475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36477 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36479         * .gitignore: Delete /ports entry.
36481 2012-07-03  Andreas Jaeger  <aj@suse.de>
36483         * po/bg.po: Update from translation team.
36484         * po/cs.po: Likewise.
36485         * po/de.po: Likewise.
36486         * po/hr.po: Likewise.
36487         * po/nl.pl: Likewise.
36488         * po/pl.po: Likewise.
36489         * po/vi.po: Likewise.
36491 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36493         * Makeconfig [!+link] (+link-before-libc): New variable.
36494         [!+link] (+link-after-libc): Likewise.
36495         [!+link] (+link-tests): Likewise.
36496         [!+link] (+link): Define in terms of $(+link-before-libc) and
36497         $(+link-after-libc).
36498         [!+link-static] (+link-static-before-libc): New variable.
36499         [!+link-static] (+link-static-after-libc): Likewise.
36500         [!+link-static] (+link-static-tests): Likewise.
36501         [!+link-static] (+link-static): Define in terms of
36502         $(+link-static-before-libc) and $(+link-static-after-libc).
36503         [build-shared] (link-libc-before-gnulib): New variable.
36504         [build-shared] (link-libc-tests): Likewise.
36505         [build-shared] (link-libc): Define in terms of
36506         $(link-libc-before-gnulib).
36507         [!build-shared] (link-libc-tests): New variable.
36508         (link-libc-static-tests): New variable.
36509         [!gnulib] (gnulib-arch): New variable.
36510         [!gnulib] (gnulib-tests): Likewise.
36511         [!gnulib] (static-gnulib-arch): Likewise.
36512         [!gnulib] (static-gnulib-tests): Likewise.
36513         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36514         Define with "=" instead of ":=".
36515         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36516         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36517         * Rules (binaries-all-notests): New variable.
36518         (binaries-all-tests): Likewise.
36519         (binaries-static-notests): Likewise.
36520         (binaries-static-tests): Likewise.
36521         (binaries-all): Define using $(binaries-all-notests) and
36522         $(binaries-all-tests).
36523         (binaries-static): Define using $(binaries-static-notests) and
36524         $(binaries-static-tests).
36525         (binaries-shared-tests): New variable.
36526         (binaries-shared-notests): Likewise.
36527         (binaries-shared): Remove variable.
36528         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36529         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36530         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36531         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36532         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36533         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36534         * elf/Makefile (sln-modules): New variable.
36535         (extra-objs): Add $(sln-modules:=.o).
36536         (ldconfig-modules): Add static-stubs.
36537         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36538         * elf/static-stubs.c: New file.
36540         [BZ #14283]
36541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36542         by 7 not 8 to examine high bit of fractional part.  Use volatile
36543         variables when splitting into final array of floats if
36544         __FLT_EVAL_METHOD__ != 0.
36545         * math/libm-test.inc (cos_test): Add another test.
36546         (sin_test): Likewise.
36547         * sysdeps/i386/fpu/libm-test-ulps: Update.
36549         [BZ #14273]
36550         * math/libm-test.inc (cosh_test): Add more tests.
36552         * version.h (RELEASE): Set to "development".
36553         (VERSION): Set to "2.16.90".
36555 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
36557         * NEWS: Update copyright. Remove last-updated date.
36558         Mention math library bug fixes and timezone data changes.
36559         * README: Mention GNU/Hurd, x32, and HPPA support status.
36561 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
36563         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36565 2012-06-27  Andreas Jaeger  <aj@suse.de>
36567         * manual/contrib.texi (Contributors): Add Samuel Thibault.
36569 2012-06-25  Andreas Jaeger  <aj@suse.de>
36571         * sysdeps/s390/fpu/libm-test-ulps: Update.
36573 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
36574             Thomas Schwinge  <thomas@codesourcery.com>
36576         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36577         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36579         fanotify_mark.
36581 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
36583         * sysdeps/mach/start.c: Remove file.
36584         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36585         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36586         * sysdeps/sh/init-first.c: Likewise.
36588         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36589         registers for frame unwinding purposes, add CFI directives.
36590         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36592         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36593         Likewise.
36595         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36596         __fortify_fail returning.
36597         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36599         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36600         sysdeps/sh/____longjmp_chk.S.
36601         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36602         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36603         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36604         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36606         * sysdeps/sh/abort-instr.h: New file.
36607         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36608         process in case exit returns.
36610         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36611         initialize the GOT register before use.
36613         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36614         calculation of ARGC > 4.
36616         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36617         meaningful names to some local labels.
36619 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36620             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36622         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36623         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36624         (__arch_compare_and_exchange_val_16_acq): Likewise.
36625         (__arch_compare_and_exchange_val_32_acq): Likewise.
36626         (atomic_exchange_and_add): Fix gUSA sequence.
36627         (atomic_add): Likewise.
36628         (atomic_add_negative): Likewise.
36629         (atomic_add_zero): Likewise.
36630         (atomic_bit_test_set): Likewise.
36632 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36634         [BZ #13579]
36635         * include/link.h (struct link_map): Add l_free_initfini.
36636         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36637         l_initfini.
36638         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36639         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36640         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36641         set.
36643 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36645         * configure.in: Use AC_LANG_SOURCE.
36646         * configure: Regenerate.
36648 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36650         * configure.in (libc_cv_localstatedir): New substituted variable.
36651         * configure: Regenerated.
36652         * config.make.in (localstatedir): New variable, substituted from
36653         libc_cv_localstatedir.
36654         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36655         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36656         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36657         * sysdeps/gnu/configure: Regenerated.
36659 2012-06-21  Jeff Law  <law@redhat.com>
36661         [BZ #14277]
36662         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36663         free.  Simplify list management for _LIBC case.
36665 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36667         [BZ #14273]
36668         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36669         Clear sign bit of 64-bit integer value before comparing against
36670         overflow value.
36672         * sysdeps/mach/configure: Regenerated.
36674 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36676         [BZ #14278]
36677         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36679 2012-06-21  Jeff Law  <law@redhat.com>
36681         [BZ #13882]
36682         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36683         uint16_t for elements in the "seen" array to avoid char overflows.
36684         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36685         * elf/dl-open.c (dl_open_worker): Likewise.
36687 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36689         * scripts/list-sources.sh: Scan PORTS for translations.
36690         * po/libc.pot: Regenerated.
36692 2012-06-21  Andreas Jaeger  <aj@suse.de>
36694         [BZ #12194]
36695         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36696         warning.
36697         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36698         * bits/byteswap-16.h (__bswap_16): Likewise.
36699         * bits/byteswap.h (__bswap_constant_16): Likewise.
36701 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36703         [BZ #14117]
36704         * sysdeps/i386/fpu_control.h: Removed.
36705         * sysdeps/x86_64/fpu_control.h: Moved to ...
36706         * sysdeps/x86/fpu_control.h: Here.
36708         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36709         (_FPU_SETCW): Likewise.
36711 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36713         [BZ #14117]
36714         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36715         * sysdeps/x86/fpu/bits/mathinline.h: This.
36716         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36718         [BZ #14050]
36719         [BZ #14117]
36720         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36721         functions if __x86_64__ is defined.
36723 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36725         * string/endian.h: Add !__ASSEMBLER__ condition for including
36726         conversion interfaces.
36728 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36730         [BZ #14241]
36731         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36732         of ABS(x) in calculating zero to negative powers other than odd
36733         integers.
36734         * math/libm-test.inc (pow_test): Add more tests.
36736 2012-06-15  Andreas Jaeger  <aj@suse.de>
36738         * manual/contrib.texi (Contributors): Update entry of Liubov
36739         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36740         Machado Filho.
36742 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36744         * string/string.h: Add __wur to GNU version of strerror_r.
36746 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36748         [BZ #14229]
36749         * string/Makefile (tests): Add tst-strtok_r.
36750         * string/tst-strtok_r.c: New file.
36751         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36752         RAX_LP/RDX_LP on SAVE_PTR.
36754 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36756         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36758 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36760         * libm_test.inc (csqrt_test): Allow more spurious underflow
36761         exceptions.
36762         (j0_test): Likewise.
36763         (j1_test): Likewise.
36764         (y0_test): Likewise.
36765         (y1_test): Likewise.
36767 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36769         * po/Makefile (libc.pot): Use UTF-8 charset.
36771 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36773         [BZ #14210]
36774         Suppress sign-conversion warning from FD_SET.
36775         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36776         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36777         not unsigned long int.
36778         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36780 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36782         [BZ #14050]
36783         [BZ #14117]
36784         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36785         __extern_always_inline instead of __extern_inline.
36786         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36787         (__signbit): Likewise.
36788         (__signbitl): Support C++ namespace.
36789         (lrintf): New inline function.
36790         (lrint): Likewise.
36791         (llrintf): Likewise.
36792         (llrint): Likewise.
36793         (fmaxf): Likewise.
36794         (fmax): Likewise.
36795         (fminf): Likewise.
36796         (fmin): Likewise.
36797         (rint): Likewise.
36798         (rintf): Likewise.
36799         (ceil): Likewise.
36800         (ceilf): Likewise.
36801         (floor): Likewise.
36802         (floorf): Likewise.
36803         (nearbyint): Likewise.
36804         (nearbyintf): Likewise.
36806 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36809         non-default versions.
36811 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36813         [BZ #14218]
36814         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36816 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36818         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36819         (FE_UPWARD, FE_DOWNWARD): Don't define.
36820         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36821         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36823         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36824         reading it.
36825         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36826         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36828 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36830         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36832         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36833         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36835 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36837         [BZ #14117]
36838         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36839         * sysdeps/i386/fpu/Implies: New file.
36840         * sysdeps/x86_64/fpu/Implies: Likewise.
36841         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36842         * sysdeps/x86/fpu/bits/fenv.h: This.
36844         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36845         __SSE_MATH__.
36847 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36849         [BZ #14134]
36850         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36851         character 0xffff that matches the last element of the
36852         conversion table.
36854 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36856         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36857         fmodl commit.
36859 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36861         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36862         values higher than 25.6283.
36864 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36866         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36867         subnormal exponent extraction and add some __builtin_expect.
36868         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36869         Fix for subnormal mantissa calculation.
36871 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36873         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36874         cpu2 is -1 and errno is not ENOSYS.
36876 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36878         [BZ #14117]
36879         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36880         * sysdeps/x86/bits/string.h: This.
36881         * sysdeps/x86_64/bits/string.h: Removed.
36883         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36884         if not compiling for x86-64, but compiling for >= i486.
36886         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36887         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36889         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36890         New macro from Linux kernel 3.4.0.
36891         (FP_XSTATE_MAGIC2): Likewise.
36892         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36893         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36894         (struct _fpx_sw_bytes): New struct.
36895         (struct _xsave_hdr): Likewise.
36896         (struct _ymmh_state): Likewise.
36897         (struct _xstate): Likewise.
36899         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36900         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36901         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36902         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36903         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36904         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36906         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36907         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36908         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36909         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36910         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36911         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36913 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36915         [BZ #13743]
36916         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36917         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36918         (sysdep_headers): Include sys/platform/ppc.h.
36919         * sysdeps/powerpc/test-gettimebase.c: Test for
36920         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36921         * manual/Makefile (appendices): Include platform.texi.
36922         * manual/contrib.texi (Contributors): Update @node pointers.
36923         * manual/maint.texi (Maintenance): Likewise.
36924         (Platform): New node.
36925         * manual/platform.texi: New file.  Document the new features.
36927 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36928             Jakub Jelinek  <jakub@redhat.com>
36930         [BZ #14188]
36931         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36932         where __builtin_expect is unavailable.
36934 2012-06-03  David S. Miller  <davem@davemloft.net>
36936         * stdlib/longlong.h: Updated from GCC.
36938 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36940         [BZ #14042]
36941         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36942         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36943         __mcount_internal.
36944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36945         (GLIBC_2.16): Likewise.
36947 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36949         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36951 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36954         (default-abi): New variable.
36955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36956         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36957         variable.
36958         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36959         Likewise.
36960         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36961         Likewise.
36962         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36963         Likewise.
36965         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36966         definition.  Document in comment.
36968 2012-06-01  David S. Miller  <davem@davemloft.net>
36970         * stdlib/longlong.h: Updated from GCC.
36972 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36974         [BZ #14117]
36975         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36976         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36977         sys/debugreg.h sys/io.h here.
36978         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36979         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36980         sys/io.h.
36981         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36982         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36983         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36984         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36985         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36986         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36988         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36989         Define only if __x86_64__ is defined.
36991 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36993         [BZ #14048]
36994         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36995         Use int64_t for variable i.
36996         * math/libm-test.inc (fmod_test): Add more tests.
36998         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36999         z computation is not scheduled after fetestexcept.
37000         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37001         Use math_force_eval instead of asm to ensure calculation scheduled
37002         before exception test.
37003         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37004         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37006 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37009         computation is not scheduled after fetestexcept.
37011 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37013         [BZ #14117]
37014         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37015         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37017 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37019         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37020         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37022 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37024         [BZ #14117]
37025         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37026         <bits/wordsize.h>.
37027         (__WCHAR_MIN): Support __WORDSIZE == 64.
37028         (__WCHAR_MAX): Likewise.
37030         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37031         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37033         [BZ #14183]
37034         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37035         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37037         [BZ #14117]
37038         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37039         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37041         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37042         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37044         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37045         Defined to 1 if __x86_64__ isn't defined.
37046         (_STAT_VER_LINUX_OLD): New.
37047         (st_atime): Remove duplicate.
37048         (st_mtime): Likewise.
37049         (st_ctime): Likewise.
37051 2012-05-31  David S. Miller  <davem@davemloft.net>
37053         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37054         entries.
37056 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37058         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37059         gen-libm-test.pl.
37061         [BZ #14132]
37062         * elf/dl-reloc.c: Include <_itoa.h>.
37063         (_dl_reloc_bad_type): Remove use of INTUSE.
37064         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37065         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37066         * stdio-common/psiginfo.c (psiginfo): Likewise.
37067         * stdio-common/psignal.c (psignal): Likewise.
37068         * string/strsignal.c (strsignal): Likewise.
37069         * include/signal.h (_sys_siglist): Declare hidden proto.
37070         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37071         INTVARDEF with libc_hidden_data_def.
37072         * stdio-common/itoa-udigits.c: Likewise.
37073         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37074         (_itoa_lower_digits_internal): Remove declaration.
37075         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37076         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37077         (_sys_sigabbrev_internal): Remove aliases.
37078         (_sys_siglist): Define hidden alias.
37080 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37083         bits/sysctl.h.
37085 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37087         [BZ #14117]
37088         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37089         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37091         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37092         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37093         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37094         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37095         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37096         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37098         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37099         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37100         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37102         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37103         with __addr.
37104         (insw): Likewise.
37105         (insl): Likewise.
37106         (outsb): Likewise.
37107         (outsw): Likewise.
37108         (outsl): Likewise.
37110         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37111         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37112         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37114         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37115         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37116         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37117         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37118         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37119         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37121         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37122         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37124         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37125         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37127         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37128         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37129         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37131         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37132         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37133         to ...
37134         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37136         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37137         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37138         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37140         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37141         for x86-64.
37142         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37144 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37146         * math/math.h (M_El): Use two more decimal places.
37147         (M_LOG2El): Likewise.
37148         (M_LOG10El): Likewise.
37149         (M_LN2l): Likewise.
37150         (M_LN10l): Likewise.
37151         (M_PIl): Likewise.
37152         (M_PI_2l): Likewise.
37153         (M_PI_4l): Likewise.
37154         (M_1_PIl): Likewise.
37155         (M_2_PIl): Likewise.
37156         (M_2_SQRTPIl): Likewise.
37157         (M_SQRT2l): Likewise.
37158         (M_SQRT1_2l): Likewise.
37160 2012-05-31  David S. Miller  <davem@davemloft.net>
37162         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37163         values between float registers.
37164         * sysdeps/sparc/sparc64/memset.S: Likewise.
37165         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37167 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37169         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37170         -D_FORTIFY_SOURCE=1.
37171         (CPPFLAGS-tst-longjmp_chk.c): Define.
37172         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37173         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37174         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37175         CFLAGS-tst-wchar-h.c.
37177 2012-05-31  Marek Polacek  <polacek@redhat.com>
37179         [BZ #14132]
37180         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37181         __endmntent_internal): Remove declaration.
37182         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37183         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37184         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37186 2012-05-30  David S. Miller  <davem@davemloft.net>
37188         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37189         (___Q_simulate_exceptions): Use real FP ops rather than writing
37190         into the %fsr.
37191         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37192         Likewise.
37194 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37196         [BZ #14117]
37197         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37198         * sysdeps/x86/bits/xtitypes.h: This.
37200         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37201         * sysdeps/x86/bits/wordsize.h: This.
37203         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37204         * sysdeps/x86/bits/huge_vall.h: This.
37206         * sysdeps/i386/bits/select.h: Removed.
37207         * sysdeps/x86_64/bits/select.h: Renamed to ...
37208         * sysdeps/x86/bits/select.h: This.
37210         * sysdeps/i386/bits/setjmp.h: Removed.
37211         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37212         * sysdeps/x86/bits/setjmp.h: This.
37214         * sysdeps/i386/bits/mathdef.h: Removed.
37215         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37216         * sysdeps/x86/bits/mathdef.h: This.
37218 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37220         [BZ #14132]
37221         * include/sys/socket.h (__connect_internal)
37222         (__libc_sa_len_internal): Remove declaration.
37223         (__connect, __libc_sa_len): Declare hidden_proto.
37224         (SA_LEN): Remove use of INTUSE.
37225         * socket/connect.c: Add libc_hidden_def.
37226         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37227         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37228         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37229         alias.
37230         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37231         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37232         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37233         of adding _internal alias.
37235 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37237         [BZ #14117]
37238         * sysdeps/i386/bits/link.h: Removed.
37239         * sysdeps/i386/bits/linkmap.h: Likewise.
37240         * sysdeps/x86_64/bits/link.h: Renamed to ...
37241         * sysdeps/x86/bits/link.h: This.
37242         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37243         * sysdeps/x86/bits/linkmap.h: This.
37245         * sysdeps/i386/bits/endian.h: Removed.
37246         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37247         * sysdeps/x86/bits/endian.h: This.
37249         * sysdeps/i386/bits/byteswap.h: Removed.
37250         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37251         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37252         * sysdeps/x86/bits/byteswap.h: This.
37253         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37254         * sysdeps/x86/bits/byteswap-16.h: This.
37255         * sysdeps/i386/Implies: Add x86.
37256         * sysdeps/x86_64/Implies: Likewise.
37258 2012-05-30  David S. Miller  <davem@davemloft.net>
37260         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37261         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37262         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37263         (FP_TRAPPING_EXCEPTIONS): Define.
37264         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37265         (FP_TRAPPING_EXCEPTIONS): Define.
37266         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37267         subnormals only when inexact has been signalled or underflow
37268         exceptions are enabled.
37269         (_FP_PACK_CANONICAL): Likewise.
37271 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37273         [BZ #14183]
37274         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37275         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37277 2012-05-30  Richard Henderson  <rth@twiddle.net>
37279         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37280         with #ifndef NOT_IN_libc.
37282         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37283         marked to avoid plt entry.
37285 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37287         [BZ #14112]
37288         * Makeconfig (default-abi): New macro.
37289         (abi-includes): Likewise.
37290         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37291         $(abi-$(default-abi)-lib-soname) for soname if defined.
37292         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37293         abi-variants.
37294         * Makefile (installed-stubs): Likewise.
37295         * include/stubs-biarch.h: Removed.
37296         * scripts/lib-names.awk: Only handle one library at a time.
37297         * scripts/soversions.awk: Remove WORDSIZE support.
37298         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37299         entries.
37300         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37301         Removed.
37302         (syscall-list-default-condition): Likewise.
37303         (syscall-list-default-condition): Likewise.
37304         (syscall-list-includes): Likewise.
37305         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37306         syscall-list-* with abi-*.  Handle undefined abi-variants.
37307         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37308         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37309         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37310         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37311         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37312         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37313         Removed.
37314         (syscall-list-32-options): Likewise.
37315         (syscall-list-32-condition): Likewise.
37316         (syscall-list-64-options): Likewise.
37317         (syscall-list-64-condition): Likewise.
37318         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37319         macro.
37320         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37321         Renamed to ...
37322         (abi-*): This.
37323         (abi-64-ld-soname): New macro.
37324         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37325         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37326         Renamed to ...
37327         (abi-*): This.
37328         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37329         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37331 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37333         * sysdeps/unix/sysv/linux/kernel-features.h
37334         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37335         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37336         include <kernel-features.h>.
37337         [!__NR_ftruncate64]: Remove conditional code.
37338         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37339         [__NR_ftruncate64]: Make code unconditional.
37340         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37341         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37342         include <kernel-features.h>.
37343         [!__NR_ftruncate64]: Remove conditional code.
37344         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37345         [__NR_ftruncate64]: Make code unconditional.
37346         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37348         include <kernel-features.h>.
37349         [!__NR_ftruncate64]: Remove conditional code.
37350         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37351         [__NR_ftruncate64]: Make code unconditional.
37352         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37354         include <kernel-features.h>.
37355         [!__NR_ftruncate64]: Remove conditional code.
37356         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37357         [__NR_ftruncate64]: Make code unconditional.
37358         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37360         * configure.in (libc_cv_fpie): Weaken to a compile test using
37361         LIBC_TRY_CC_OPTION.
37362         * configure: Regenerated.
37364 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37370         Refreshed.
37371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37377         Refreshed.
37379 2012-05-27  David S. Miller  <davem@davemloft.net>
37381         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37382         (___Q_zero): New.
37383         (__Q_simulate_exceptions): Return void.  Change to simulate
37384         exceptions by writing into the %fsr.
37385         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37386         (__Qp_handle_exceptions): Likewise.
37387         (numbers): Delete.
37388         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37389         __Qp_handle_exceptions.
37390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37391         __Qp_handle_exceptions.
37392         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37393         as unused and give dummy FP_RND_NEAREST initializer.
37394         (FP_INHIBIT_RESULTS): Define.
37395         (___Q_simulate_exceptions): Update declaration.
37396         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37397         formatting.
37398         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37399         as unused and give dummy FP_RND_NEAREST initializer.
37400         (__Qp_handle_exceptions): Update declaration.
37401         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37402         formatting.
37404 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37406         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37407         the temporary FPU control word.
37408         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37409         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37410         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37411         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37412         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37413         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37414         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37415         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37416         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37417         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37418         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37420 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37422         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37423         fields.
37425 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37427         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37428         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37429         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37430         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37431         Likewise.
37432         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37433         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37434         Likewise.
37436 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37438         * po/h.po: Update from translation team.
37440 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37442         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37444         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37445         handling of denormals.
37446         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37447         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37448         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37449         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37453         Likewise.
37455 2012-05-26  Marek Polacek  <polacek@redhat.com>
37457         [BZ #14152]
37458         * math/libm-test.inc (fma_test): Don't always expect underflow
37459         exception.
37461 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37463         [BZ #12416]
37464         * elf/tst-execstack.c: Include stackinfo.h.
37465         (do_test): Adjust test case to ensure that pthread_getattr_np
37466         behaviour remains the same after marking stack executable.
37468 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37470         * sysdeps/unix/sysv/linux/kernel-features.h
37471         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37472         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37473         kernel-features.h.
37474         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37475         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37476         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37477         kernel-features.h.
37478         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37479         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37481 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37483         * configure.in: Define the default includes to being none.
37484         * configure: Regenerated.
37486 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37488         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37489         * sysdeps/x86_64/setjmp.S: Likewise.
37490         * sysdeps/i386/bsd-setjmp.S: Likewise.
37491         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37492         * sysdeps/i386/setjmp.S: Likewise.
37493         * sysdeps/i386/__longjmp.S: Likewise.
37494         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37495         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37497         * include/stap-probe.h: New file.
37498         * configure.in: Handle --enable-systemtap.
37499         * configure: Regenerated.
37500         * config.h.in (USE_STAP_PROBE): New #undef.
37501         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37502         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37503         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37505 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37507         [BZ #13717]
37508         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37509         to 2.4.0 where earlier.
37510         * sysdeps/unix/sysv/linux/configure: Regenerated.
37511         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37512         <kernel-features.h>.
37513         [__ASSUME_32BITUIDS]: Make code unconditional.
37514         [!__ASSUME_32BITUIDS]: Remove conditional code.
37515         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37516         <kernel-features.h>.
37517         [__ASSUME_32BITUIDS]: Make code unconditional.
37518         [!__ASSUME_32BITUIDS]: Remove conditional code.
37519         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37520         [__ASSUME_32BITUIDS]: Make code unconditional.
37521         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37522         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37523         <kernel-features.h>.
37524         [__ASSUME_32BITUIDS]: Make code unconditional.
37525         [!__ASSUME_32BITUIDS]: Remove conditional code.
37526         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37527         <kernel-features.h>.
37528         [__ASSUME_32BITUIDS]: Make code unconditional.
37529         [!__ASSUME_32BITUIDS]: Remove conditional code.
37530         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37531         <kernel-features.h>.
37532         [__ASSUME_32BITUIDS]: Make code unconditional.
37533         [!__ASSUME_32BITUIDS]: Remove conditional code.
37534         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37535         <kernel-features.h>.
37536         [__ASSUME_32BITUIDS]: Make code unconditional.
37537         [!__ASSUME_32BITUIDS]: Remove conditional code.
37538         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37539         <kernel-features.h>.
37540         [__ASSUME_32BITUIDS]: Make code unconditional.
37541         [!__ASSUME_32BITUIDS]: Remove conditional code.
37542         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37543         <kernel-features.h>.
37544         [__ASSUME_32BITUIDS]: Make code unconditional.
37545         [!__ASSUME_32BITUIDS]: Remove conditional code.
37546         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37547         <kernel-features.h>.
37548         [__ASSUME_32BITUIDS]: Make code unconditional.
37549         [!__ASSUME_32BITUIDS]: Remove conditional code.
37550         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37551         <kernel-features.h>.
37552         [__ASSUME_32BITUIDS]: Make code unconditional.
37553         [!__ASSUME_32BITUIDS]: Remove conditional code.
37554         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37555         <kernel-features.h>.
37556         [__ASSUME_32BITUIDS]: Make code unconditional.
37557         [!__ASSUME_32BITUIDS]: Remove conditional code.
37558         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37559         <kernel-features.h>.
37560         [__ASSUME_32BITUIDS]: Make code unconditional.
37561         [!__ASSUME_32BITUIDS]: Remove conditional code.
37562         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37563         <kernel-features.h>.
37564         [__NR_setresgid] (__setresgid): Do not declare.
37565         [__ASSUME_32BITUIDS]: Make code unconditional.
37566         [!__ASSUME_32BITUIDS]: Remove conditional code.
37567         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37568         <kernel-features.h>.
37569         [__NR_setresuid] (__setresuid): Do not declare.
37570         [__ASSUME_32BITUIDS]: Make code unconditional.
37571         [!__ASSUME_32BITUIDS]: Remove conditional code.
37572         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37573         <kernel-features.h>.
37574         [__ASSUME_32BITUIDS]: Make code unconditional.
37575         [!__ASSUME_32BITUIDS]: Remove conditional code.
37576         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37577         <kernel-features.h>.
37578         [__ASSUME_32BITUIDS]: Make code unconditional.
37579         [!__ASSUME_32BITUIDS]: Remove conditional code.
37580         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37581         <kernel-features.h>.
37582         [__ASSUME_32BITUIDS]: Make code unconditional.
37583         [!__ASSUME_32BITUIDS]: Remove conditional code.
37584         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37585         <kernel-features.h>.
37586         [__ASSUME_32BITUIDS]: Make code unconditional.
37587         [!__ASSUME_32BITUIDS]: Remove conditional code.
37588         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37589         <kernel-features.h>.
37590         [__ASSUME_32BITUIDS]: Make code unconditional.
37591         [!__ASSUME_32BITUIDS]: Remove conditional code.
37592         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37593         <kernel-features.h>.
37594         [__ASSUME_32BITUIDS]: Make code unconditional.
37595         [!__ASSUME_32BITUIDS]: Remove conditional code.
37596         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37597         <kernel-features.h>.
37598         [__ASSUME_32BITUIDS]: Make code unconditional.
37599         [!__ASSUME_32BITUIDS]: Remove conditional code.
37600         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37601         <kernel-features.h>.
37602         [__ASSUME_32BITUIDS]: Make code unconditional.
37603         [!__ASSUME_32BITUIDS]: Remove conditional code.
37604         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37605         <kernel-features.h>.
37606         [__ASSUME_32BITUIDS]: Make code unconditional.
37607         [!__ASSUME_32BITUIDS]: Remove conditional code.
37608         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37609         <kernel-features.h>.
37610         [__ASSUME_32BITUIDS]: Make code unconditional.
37611         [!__ASSUME_32BITUIDS]: Remove conditional code.
37612         * sysdeps/unix/sysv/linux/kernel-features.h
37613         (__ASSUME_SETRESUID_SYSCALL): Remove.
37614         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37615         (__ASSUME_32BITUIDS): Likewise.
37616         (__ASSUME_LDT_WORKS): Likewise.
37617         (__ASSUME_O_DIRECTORY): Likewise.
37618         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37619         architecture but not kernel version.
37620         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37621         (__ASSUME_MMAP2_SYSCALL): Likewise.
37622         (__ASSUME_STAT64_SYSCALL): Likewise.
37623         (__ASSUME_IPC64): Likewise.
37624         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37625         <kernel-features.h>.
37626         [__ASSUME_32BITUIDS]: Make code unconditional.
37627         [!__ASSUME_32BITUIDS]: Remove conditional code.
37628         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37629         <kernel-features.h>.
37630         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37631         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37632         132096]: Remove conditional code.
37633         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37634         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37635         <kernel-features.h>.
37636         [__ASSUME_32BITUIDS]: Make code unconditional.
37637         [!__ASSUME_32BITUIDS]: Remove conditional code.
37638         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37639         <kernel-features.h>.
37640         [__ASSUME_32BITUIDS]: Make code unconditional.
37641         [!__ASSUME_32BITUIDS]: Remove conditional code.
37642         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37643         <kernel-features.h>.
37644         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37645         unconditional.
37646         (__setresgid): Do not declare.
37647         [__ASSUME_32BITUIDS]: Make code unconditional.
37648         [!__ASSUME_32BITUIDS]: Remove conditional code.
37649         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37650         <kernel-features.h>.
37651         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37652         unconditional.
37653         (__setresuid): Do not declare.
37654         [__ASSUME_32BITUIDS]: Make code unconditional.
37655         [!__ASSUME_32BITUIDS]: Remove conditional code.
37656         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37657         <kernel-features.h>.
37658         [__ASSUME_32BITUIDS]: Make code unconditional.
37659         [!__ASSUME_32BITUIDS]: Remove conditional code.
37660         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37661         <kernel-features.h>.
37662         [__ASSUME_32BITUIDS]: Make code unconditional.
37663         [!__ASSUME_32BITUIDS]: Remove conditional code.
37665 2012-05-25  Richard Henderson  <rth@twiddle.net>
37667         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37668         dl_hwcap to ifunc resolver.
37669         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37670         elf_ifunc_invoke.
37671         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37672         dl_hwcap to ifunc resolver.
37673         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37675 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37677         [BZ #14153]
37678         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37679         for |x| <= 2**-26, not 2**-57.
37680         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37681         exception.
37683 2012-05-24  Jeff Law  <law@redhat.com>
37685         * stdio-common/Makefile (tests): Add bug25.
37686         * stdio-common/bug25.c: New test.
37688 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37690         [BZ #13576]
37691         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37692         multiple of MALLOC_ALIGNMENT in size.
37693         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37695 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37697         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37698         Require >= 256.
37699         (FILENAME_MAX): Use macro-int-constant.
37700         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37701         (_IOFBF): Use macro-int-constant.
37702         (_IOLBF): Likewise.
37703         (_IONBF): Likewise.
37704         (SEEK_CUR): Likewise.
37705         (SEEK_END): Likewise.
37706         (SEEK_SET): Likewise.
37707         (TMP_MAX): Likewise.
37708         (EOF): Use macro-int-constant.  Require < 0.
37709         (NULL): Use macro-constant.  Require == 0.
37710         (stdin): Require type to be FILE *.
37711         (stdout): Likewise.
37712         (stderr): Likewise.
37713         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37714         macro-int-constant.
37715         (EXIT_SUCCESS): Likewise.
37716         (NULL): Use macro-constant.  Require == 0.
37717         (RAND_MAX): Use macro-int-constant.
37718         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37719         [C99-based standards] (strtof): Require function.
37720         [C99-based standards] (strtold): Likewise.
37721         [C99-based standards] (strtoll): Likewise.
37722         [C99-based standards] (strtoull): Likewise.
37723         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37724         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37725         [ISO || ISO99 || ISO11] (math.h): Likewise.
37726         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37727         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37728         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37730 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37732         [BZ #14132]
37733         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37734         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37735         * intl/dgettext.c (DCGETTEXT): Likewise.
37736         * intl/gettext.c (DCGETTEXT): Likewise.
37737         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37738         * posix/regex_internal.h (gettext): Likewise.
37739         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37740         Remove declaration.
37741         * include/argz.h (__argz_count_internal)
37742         (__argz_stringify_internal): Remove declaration.
37743         (__argz_count, __argz_stringify): Declare hidden proto.
37744         * intl/dcgettext.c: Remove use of INTDEF.
37745         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37746         * string/argz-stringify.c: Likewise.
37747         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37748         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37749         Declare hidden proto.
37750         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37751         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37752         Declare hidden proto.
37753         * include/stdio.h (__asprintf_internal): Don't declare.
37754         (__asprintf): Don't define as macro.  Declare hidden proto.
37755         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37756         (__fsetlocking): Declare hidden proto.
37757         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37758         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37759         hidden proto.
37760         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37761         (_IO_setlinebuf): Remove use of INTUSE.
37762         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37763         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37764         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37765         Remove declaration.
37766         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37767         (_IO_do_flush): Remove use of INTUSE.
37768         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37769         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37770         (_IO_adjust_column, _IO_least_wmarker)
37771         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37772         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37773         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37774         (_IO_default_doallocate, _IO_wdefault_doallocate)
37775         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37776         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37777         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37778         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37779         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37780         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37781         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37782         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37783         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37784         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37785         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37786         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37787         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37788         proto.
37789         (_IO_flush_all_internal, _IO_adjust_column_internal)
37790         (_IO_default_uflow_internal, _IO_default_finish_internal)
37791         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37792         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37793         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37794         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37795         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37796         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37797         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37798         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37799         (_IO_file_close_internal, _IO_file_close_it_internal)
37800         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37801         (_IO_file_init_internal, _IO_file_attach_internal)
37802         (_IO_file_fopen_internal, _IO_file_read_internal)
37803         (_IO_file_sync_internal, _IO_file_seek_internal)
37804         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37805         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37806         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37807         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37808         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37809         (_IO_list_all_internal, _IO_link_in_internal)
37810         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37811         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37812         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37813         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37814         (_IO_do_write_internal, _IO_padn_internal)
37815         (_IO_getline_info_internal, _IO_getline_internal)
37816         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37817         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37818         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37819         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37820         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37821         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37822         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37823         with libc_hidden_ver, remove use of INTUSE.
37824         * libio/genops.c: Likewise.
37825         * libio/freopen.c: Likewise.
37826         * libio/freopen64.c: Likewise.
37827         * libio/iofclose.c: Likewise.
37828         * libio/iofdopen.c: Likewise.
37829         * libio/iofflush.c: Likewise.
37830         * libio/iofflush_u.c: Likewise.
37831         * libio/iofgets.c: Likewise.
37832         * libio/iofgets_u.c: Likewise.
37833         * libio/iofopen.c: Likewise.
37834         * libio/iofopncook.c: Likewise.
37835         * libio/iofread.c: Likewise.
37836         * libio/iofread_u.c: Likewise.
37837         * libio/ioftell.c: Likewise.
37838         * libio/iofwrite.c: Likewise.
37839         * libio/iogetline.c: Likewise.
37840         * libio/iogets.c: Likewise.
37841         * libio/iogetwline.c: Likewise.
37842         * libio/iopadn.c: Likewise.
37843         * libio/iopopen.c: Likewise.
37844         * libio/ioseekoff.c: Likewise.
37845         * libio/ioseekpos.c: Likewise.
37846         * libio/iosetbuffer.c: Likewise.
37847         * libio/iosetvbuf.c: Likewise.
37848         * libio/ioungetc.c: Likewise.
37849         * libio/ioungetwc.c: Likewise.
37850         * libio/iovdprintf.c: Likewise.
37851         * libio/iovsprintf.c: Likewise.
37852         * libio/iovsscanf.c: Likewise.
37853         * libio/memstream.c: Likewise.
37854         * libio/obprintf.c: Likewise.
37855         * libio/oldfileops.c: Likewise.
37856         * libio/oldiofclose.c: Likewise.
37857         * libio/oldiofdopen.c: Likewise.
37858         * libio/oldiofopen.c: Likewise.
37859         * libio/oldiopopen.c: Likewise.
37860         * libio/oldstdfiles.c: Likewise.
37861         * libio/putc.c: Likewise.
37862         * libio/setbuf.c: Likewise.
37863         * libio/setlinebuf.c: Likewise.
37864         * libio/stdfiles.c: Likewise.
37865         * libio/strops.c: Likewise.
37866         * libio/vasprintf.c: Likewise.
37867         * libio/vscanf.c: Likewise.
37868         * libio/vsnprintf.c: Likewise.
37869         * libio/vswprintf.c: Likewise.
37870         * libio/wfiledoalloc.c: Likewise.
37871         * libio/wfileops.c: Likewise.
37872         * libio/wgenops.c: Likewise.
37873         * libio/wmemstream.c: Likewise.
37874         * libio/wstrops.c: Likewise.
37875         * libio/__fpurge.c: Likewise.
37876         * libio/__fsetlocking.c: Likewise.
37877         * assert/assert.c: Likewise.
37878         * debug/fgets_chk.c: Likewise.
37879         * debug/fgets_u_chk.c: Likewise.
37880         * debug/fread_chk.c: Likewise.
37881         * debug/fread_u_chk.c: Likewise.
37882         * debug/gets_chk.c: Likewise.
37883         * debug/obprintf_chk.c: Likewise.
37884         * debug/vasprintf_chk.c: Likewise.
37885         * debug/vdprintf_chk.c: Likewise.
37886         * debug/vsnprintf_chk.c: Likewise.
37887         * debug/vsprintf_chk.c: Likewise.
37888         * malloc/mtrace.c: Likewise.
37889         * misc/error.c: Likewise.
37890         * misc/syslog.c: Likewise.
37891         * stdio-common/asprintf.c: Likewise.
37892         * stdio-common/fxprintf.c: Likewise.
37893         * stdio-common/getw.c: Likewise.
37894         * stdio-common/isoc99_fscanf.c: Likewise.
37895         * stdio-common/isoc99_scanf.c: Likewise.
37896         * stdio-common/isoc99_vfscanf.c: Likewise.
37897         * stdio-common/isoc99_vscanf.c: Likewise.
37898         * stdio-common/isoc99_vsscanf.c: Likewise.
37899         * stdio-common/printf-prs.c: Likewise.
37900         * stdio-common/printf_fp.c: Likewise.
37901         * stdio-common/printf_fphex.c: Likewise.
37902         * stdio-common/printf_size.c: Likewise.
37903         * stdio-common/putw.c: Likewise.
37904         * stdio-common/scanf.c: Likewise.
37905         * stdio-common/sprintf.c: Likewise.
37906         * stdio-common/tmpfile.c: Likewise.
37907         * stdio-common/vfprintf.c: Likewise.
37908         * stdio-common/vfscanf.c: Likewise.
37909         * stdlib/strfmon_l.c: Likewise.
37910         * sunrpc/openchild.c: Likewise.
37911         * sunrpc/xdr_stdio.c: Likewise.
37912         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37913         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37915 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37917         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37919         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37920         in the third column, to generate for the shared library an IFUNC
37921         that uses _dl_vdso_vsym.
37922         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37923         * Makeconfig (object-suffixes-noshared): New variable.
37925         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37926         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37927         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37928         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37930         [BZ #14132]
37931         * include/sys/time.h (__gettimeofday): Remove macro.
37932         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37933         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37934         Remove INTDEF.
37935         (__gettimeofday): Add libc_hidden_def.
37936         (gettimeofday): Add libc_hidden_weak.
37937         * sysdeps/mach/gettimeofday.c: Likewise.
37938         * sysdeps/posix/gettimeofday.c: Likewise.
37939         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37940         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37941         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37942         (__gettimeofday_internal): Remove strong_alias.
37943         (__gettimeofday): Add libc_hidden_def.
37944         (gettimeofday): Add libc_hidden_weak.
37945         * sysdeps/unix/syscalls.list (gettimeofday):
37946         Remove __gettimeofday_internal alias.
37948 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37949             H.J. Lu  <hongjiu.lu@intel.com>
37951         [BZ #12495]
37952         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37953         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37954         (largebin_index_32_big): New.
37955         (largebin_index): Use it for 16-byte alignment.
37956         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37957         correction with front_misalign.
37959 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37963         Likewise.
37964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37965         Likewise.
37966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37967         Likewise.
37968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37969         Likewise.
37970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37971         Likewise.
37972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37973         Likewise.
37974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37975         Likewise.
37976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37977         Likewise.
37978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37979         Likewise.
37980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37981         Likewise.
37982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37983         Likewise.
37984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37985         Likewise.
37987         * scripts/data/c++-types-x32-linux-gnu.data: New file.
37988         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37990 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37992         [BZ #10846]
37993         [BZ #14036]
37994         * math/libm-test.inc (exp_test): Add test from bug 14036.
37995         (pow_test): Add test from bug 10846.
37997         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37998         and other flags.
37999         (special_function): Do not include flags in test name.
38000         (parse_args): Likewise.
38001         * sysdeps/i386/fpu/libm-test-ulps: Update.
38002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38003         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38004         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38007         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38008         exceptions.
38009         * math/libm-test.inc ("Philosophy"): Update comment about
38010         exception testing.
38011         (UNDERFLOW_EXCEPTION): New macro.
38012         (UNDERFLOW_EXCEPTION_OK): Likewise.
38013         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38014         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38015         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38016         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38017         (INVALID_EXCEPTION_OK): Update value.
38018         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38019         (OVERFLOW_EXCEPTION_OK): Likewise.
38020         (IGNORE_ZERO_INF_SIGN): Likewise.
38021         (test_exceptions): Handle underflow exceptions.
38022         (acos_test): Update for underflow exception expectations.
38023         (cexp_test): Likewise.
38024         (clog_test): Likewise.
38025         (clog10_test): Likewise.
38026         (csqrt_test): Likewise.
38027         (ctan_test): Likewise.
38028         (ctanh_test): Likewise.
38029         (exp_test): Likewise.
38030         (exp10_test): Likewise.
38031         (exp2_test): Likewise.
38032         (expm1_test): Likewise.
38033         (fma_test): Likewise.
38034         (j0_test): Likewise.
38035         (jn_test): Likewise.
38036         (nexttoward_test): Likewise.
38037         (pow_test): Likewise.
38038         (scalbn_test): Likewise.
38039         (scalbln_test): Likewise.
38040         (tan_test): Likewise.
38041         (y1_test): Likewise.
38042         * sysdeps/i386/fpu/libm-test-ulps: Update.
38043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38045 2012-05-23  David S. Miller  <davem@davemloft.net>
38047         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38048         (__libc_sigaction): Remove unused local variables.
38050 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38052         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38054 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38056         mktime: avoid signed integer overflow
38057         * time/mktime.c (__mktime_internal): Do not mishandle the case
38058         where diff == INT_MIN.
38060         mktime: simplify computation of average
38061         * time/mktime.c (ranged_convert): Use new time_t_avg function
38062         instead of rolling our own (probably-slower) code.
38064         mktime: do not assume signed right shift propagates sign bit
38065         * time/mktime.c (isdst_differ): New static function.
38066         (__mktime_internal): No need to normalize tm_isdst now.
38067         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38068         tm_isdst values.
38070         mktime: merge another wrapv change from gnulib
38071         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38072         from some compilers.
38074         mktime: remove incorrect attempt at unusual arithmetics
38075         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38076         The code didn't really work on such machines anyway.
38077         (TYPE_MINIMUM): Assume two's complement.
38078         (twos_complement_arithmetic): Verify that long_int and time_t
38079         are two's complement (or unsigned, in the latter case).
38081         mktime: check signed shifts on long_int and time_t, too
38082         * time/mktime.c (SHR): Check that shifts work as desired
38083         on the types long_int and time_t too, as SHR is used on
38084         such types.
38086         mktime: do not assume 'long' is wide enough
38087         * time/mktime.c (verify): Move decl up.
38088         (long_int): New type.
38089         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38090         to remove assumption in the code that 'long' is wide enough to
38091         store year values.  This assumption is not true on x32 and on
38092         some non-glibc platforms.
38094         mktime: merge wrapv change from gnulib
38095         * time/mktime.c (WRAPV): New macro.
38096         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38097         (guess_time_tm, __mktime_internal): Do not assume that signed
38098         integer overflow wraps around; modern compilers generate code
38099         where this assumption is no longer valid.
38101 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38103         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38104         Replace "jmp L(pseudo_end)" with "ret".
38105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38106         Likewise.
38108 2012-05-23  Andreas Jaeger  <aj@suse.de>
38110         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38111         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38113 2012-05-23  Andreas Jaeger  <aj@suse.de>
38114             Maximilian Attems  <max@stro.at>
38116         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38117         New macros.
38119 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38121         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38122         code so that pseudo_end is just ret and the stack pointer is
38123         correct also for static library in error case.
38125 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38127         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38128         move to syscalls.list.
38129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38134         * manual/install.texi (Running make install): Do not mention Linux
38135         kernel version for which pt_chown is not needed.
38136         (Linux): Do not mention problems with nscd with 2.0 kernels.
38137         * INSTALL: Regenerated.
38139 2012-05-23  Andreas Jaeger  <aj@suse.de>
38141         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38142         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38143         macro.
38144         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38145         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38146         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38147         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38148         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38149         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38150         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38151         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38152         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38153         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38154         * sysdeps/unix/sysv/linux/bits/in.h
38155         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38157 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38159         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38160         (PREPARE_VERSION): Just use assert instead, it will be elided
38161         under [NDEBUG] anyway.
38163 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38165         * sysdeps/unix/sysv/linux/Makefile: Include
38166         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38167         (sysdep_routines): Remove sysctl.
38168         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38169         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38170         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38171         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38172         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38174 2012-05-22  Andreas Jaeger  <aj@suse.de>
38176         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38177         that pseudo_end is just ret and the stack pointer is correct also
38178         for static library in error case.
38180 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38182         [BZ #14122]
38183         * nss/nsswitch.c (defconfig_entries): New variable.
38184         (__nss_database_lookup): Don't leak defconfig entries.
38185         (nss_parse_service_list): Don't leak on error paths.
38186         (free_database_entries): New function.
38187         (free_defconfig): New function.
38188         (free_mem): Move common code to free_database_entries.
38190 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38192         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38193         Add arch_prctl.
38194         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38196         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38197         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38199         New macro.
38200         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38201         (INTERNAL_SYSCALL_TYPES): Likewise.
38202         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38203         (LOAD_REGS_TYPES_[1-6]): Likewise.
38204         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38205         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38207 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38209         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38210         copysignl for GLIBC_2_0.
38211         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38212         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38214         logbl for GLIBC_2_0.
38215         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38216         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38218 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38220         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38221         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38223         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38224         Use "neg %eax".
38226         * time/mktime.c: Update copyright years.
38228 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38230         mktime: merge comment-quoting-style change from gnulib
38231         * time/mktime.c: Quote 'like this' in comments.
38232         The GNU coding standards suggest that we no longer quote `like this',
38233         as "`" and "'" are typically rendered asymmetrically nowadays.
38234         The typical gnulib style is to quote 'like this' when quoting
38235         code, and "like this" when quoting English.
38237         * time/mktime.c (compile-command): Add "-I.".
38239         mktime: merge mktime-internal.h change from gnulib
38240         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38242         mktime: merge time_r change from gnulib
38243         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38245         mktime: merge DEBUG change from gnulib
38246         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38247         case system <time.h> has a #define.
38249         mktime: merge <sys/types.h> change from gnulib
38250         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38251         since <time.t> is now guaranteed to define time_t.
38253         mktime: merge HAVE_CONFIG_H change from gnulib
38254         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38256 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38259         Use "neg %eax".
38261         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38262         __rlim_t cast.
38263         (struct rusage): Use anonymous union to pad each field to
38264         __syscall_slong_t.
38266 2012-05-21  David S. Miller  <davem@davemloft.net>
38268         * Makefules (o-iterator): Remove .s cases.
38269         (compile-command.s): Delete.
38270         (COMPILE.s): Delete.
38271         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38273 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38275         * configure.in (libc_cv_predef_stack_protector): Only consider
38276         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38277         * configure: Regenerated.
38279 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38282         New macro.  Use R*LP on int and pointer.
38283         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38284         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38285         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38286         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38288         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38289         [__WORDSIZE_TIME64_COMPAT32] instead of
38290         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38291         (struct utmp): Likewise.
38292         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38293         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38294         Renamed to ...
38295         (__WORDSIZE_TIME64_COMPAT32): This.
38296         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38297         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38298         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38299         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38300         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38301         (__WORDSIZE_TIME64_COMPAT32): New macro.
38303 2012-05-21  Andreas Jaeger  <aj@suse.de>
38305         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38306         only if [SHARED]. Add prototype for __wcschr_ia32.
38308 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38310         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38311         of %rbp unmolested in the jmp_buf while mangling the low bits.
38312         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38313         unmolested high bits of %rbp while demangling the low bits.
38314         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38316 2012-05-21  Andreas Jaeger  <aj@suse.de>
38318         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38319         * sunrpc/svc_simple.c: Use it for registerrpc.
38320         * sunrpc/xcrypt.c: Use it for passwd2des.
38322         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38324 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38326         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38327         Don't define if [__SYSCALL_WORDSIZE != 32].
38328         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38329         New macro.
38331 2012-05-21  Bruno Haible  <bruno@clisp.org>
38332             Andreas Jaeger  <aj@suse.de>
38334         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38335         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38336         inptr and inend for must_buffer_ch.
38337         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38338         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38339         * stdio-common/Makefile (tests): Remove bug15.
38340         (bug15-ENV): Remove macro.
38341         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38342         anymore.
38344 2012-05-19  Andreas Jaeger  <aj@suse.de>
38345             Roland McGrath  <roland@hack.frob.com>
38347         * manual/contrib.texi: Completely rewritten. It contains now an
38348         alphabetical list of contributors and their contributions.
38350 2012-05-21  Richard Henderson  <rth@twiddle.net>
38352         * misc/getauxval.c (__getauxval): Use unsigned long int.
38353         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38354         (getauxval): Use unsigned long int.
38356 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38358         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38360 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38362         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38363         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38364         __alignof__ (long double).
38366 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38370 2012-05-20  Richard Henderson  <rth@twiddle.net>
38372         * misc/getauxval.c: New file.
38373         * misc/sys/auxv.h: New file.
38374         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38375         (routines): Add getauxval.
38376         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38377         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38378         * elf/dl-sysdep.c (_dl_auxv): Remove.
38379         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38380         * elf/dl-support.c (_dl_auxv): New variable.
38381         (_dl_aux_init): Initialize it.
38382         * manual/startup.texi (Auxiliary Vector): New node.
38383         * sysdeps/generic/bits/hwcap.h: New file.
38384         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38385         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38386         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38387         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38388         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38389         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38391         Update.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38401 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38405 2012-05-19  David S. Miller  <davem@davemloft.net>
38407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38409 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38411         [BZ #14123]
38412         * math/s_ccosh.c: Include <float.h>
38413         (__ccosh): Avoid internal overflow calculating sinh and cosh
38414         values before multiplying by sin and cos values.
38415         * math/s_ccoshf.c: Likewise.
38416         * math/s_ccoshl.c: Likewise.
38417         * math/s_csin.c: Likewise.
38418         * math/s_csinf.c: Likewise.
38419         * math/s_csinl.c: Likewise.
38420         * math/s_csinh.c: Likewise.
38421         * math/s_csinhf.c: Likewise.
38422         * math/s_csinhl.c: Likewise.
38423         * math/libm-test.inc (ccos_test): Add more tests.
38424         (ccosh_test): Likewise.
38425         (csin_test): Likewise.
38426         (csinh_test): Likewise.
38427         * sysdeps/i386/fpu/libm-test-ulps: Update.
38428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38430 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38432         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38433         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38435         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38437 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38439         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38440         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38441         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38442         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38443         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38444         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38445         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38446         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38447         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38448         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38449         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38450         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38451         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38452         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38453         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38454         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38455         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38456         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38457         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38458         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38459         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38460         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38461         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38462         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38463         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38464         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38465         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38466         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38467         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38468         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38469         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38471 2012-05-18  Andreas Jaeger  <aj@suse.de>
38473         * csu/.gitignore: Delete.
38475 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38477         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38478         (timex): Use __syscall_slong_t.
38480 2012-05-18  Andreas Jaeger  <aj@suse.de>
38481             Carlos O'Donell  <carlos_odonell@mentor.com>
38483         * manual/install.texi (Configuring and compiling): Update
38484         description about files modified in the source directory.
38485         * INSTALL: Regenerated.
38487 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38489         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38490         value.  Use "or" to set return value to -1.
38491         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38492         negate return value.
38494 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38496         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38497         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38498         failure if the compiler has Graphite support disabled.
38499         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38500         Likewise.
38501         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38502         (CFLAGS-memmove.c): Likewise.
38503         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38504         Likewise.
38506 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38508         * sysdeps/x86_64/x32/_itoa.h: New file.
38510         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38511         getdents system call only if kernel and user dirents have the
38512         same d_ino and d_off.
38514         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38515         LLONG_MAX != LONG_MAX.
38516         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38517         (_fitoa_word): Likewise.
38519         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38520         years.
38521         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38522         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38523         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38525         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38526         include <bits/wordsize.h>.  Check __x86_64__ instead of
38527         __WORDSIZE.
38528         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38529         if __x86_64__ is defined.  Use anonymous union on fpstate.
38531         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38532         anonymous union.
38534 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
38536         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38537         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38539         Refer to _rtld_local_ro instead of _rtld_global_ro.
38540         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38541         Likewise.
38542         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38543         Likewise.
38544         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38545         Likewise.
38546         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38547         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38548         of _rtld_global, and rtld_progname instead of _dl_argv[0].
38550         * sysdeps/powerpc/powerpc32/dl-machine.c
38551         (__elf_machine_runtime_setup) [PROF]: Don't reference
38552         _dl_prof_resolve.
38554 2012-05-18  Andreas Jaeger  <aj@suse.de>
38556         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38557         function only available for GCCs before 3.4 since GCC 3.4
38558         introduced a builtin.
38559         (lrint): Likewise.
38560         (llrintf): Likewise.
38561         (llrint): Likewise.
38562         (fmaxf): Likewise.
38563         (fmax): Likewise.
38564         (fminf): Likewise.
38565         (fmin): Likewise.
38566         (rint): Likewise.
38567         (rintf): Likewise.
38568         (nearbyint): Likewise.
38569         (nearbyintf): Likewise.
38570         (ceil): Likewise.
38571         (ceilf): Likewise.
38572         (floor): Likewise.
38573         (floorf): Likewise.
38575 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38577         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38578         on both fields and cast pointer to __syscall_ulong_t.
38580         * bits/types.h (__fsword_t): New type.
38581         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38582         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38584         (__FSWORD_T_TYPE): Likewise.
38585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38586         (__FSWORD_T_TYPE): Likewise.
38587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38588         (__FSWORD_T_TYPE): Likewise.
38589         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38590         (__FSWORD_T_TYPE): Likewise.
38591         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38592         __SWORD_TYPE with __fsword_t.
38593         (statfs64): Likewise.
38595 2012-05-17  David S. Miller  <davem@davemloft.net>
38597         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38599 2012-05-17  Andreas Jaeger  <aj@suse.de>
38601         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38602         warning.
38604 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38606         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38608 2012-05-17  Andreas Jaeger  <aj@suse.de>
38610         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38611         when it is used.
38613 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38615         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38617 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38619         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38620         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38622 2012-05-17  Andreas Jaeger  <aj@suse.de>
38623             Carlos O'Donell  <carlos_odonell@mentor.com>
38625         [BZ #14059]
38626         * sysdeps/x86_64/multiarch/init-arch.h
38627         (bit_YMM_Usable): Rename to...
38628         (bit_AVX_Usable): ... this.
38629         (bit_FMA4_Usable): New macro.
38630         (bit_XMM_state): New macro.
38631         (bit_YMM_state): New macro.
38632         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38633         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38634         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38635         (CPUID_OSXSAVE): New macro.
38636         (CPUID_AVX): New macro.
38637         (CPUID_FMA4): New macro.
38638         (index_YMM_Usable): Rename to...
38639         (index_AVX_Usable): ... this.
38640         (HAS_AVX): Use HAS_ARCH_FEATURE.
38641         (HAS_FMA4): Likewise.
38642         (HAS_YMM_USABLE): Remove.
38643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38644         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38645         are present.
38646         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38647         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38648         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38649         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38650         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38652 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38654         * math/libm-test.c: Support platforms without multiple rounding modes.
38655         * math/bug-nextafter.c: Support platforms without FP exceptions.
38656         * math/bug-nexttoward.c: Likewise.
38657         * math/test-fenv.c: Likewise.
38658         * math/test-misc.c: Likewise.
38659         * stdlib/bug-getcontext.c: Likewise.
38661 2012-05-17  Andreas Jaeger  <aj@suse.de>
38663         * manual/examples/search.c (critter_cmp): Change signature to
38664         avoid warnings.
38665         * manual/string.texi (Collation Functions): Likewise.
38667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38669         * bits/types.h: Fold copyright years.
38670         * bits/typesizes.h: Likewise.
38671         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38673         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38675         * time/time.h: Likewise.
38677 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38679         [BZ #208]
38680         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38681         in instead of returning them.  Return void.
38682         (__libc_mallinfo): Accumulate over all arenas.
38683         (__malloc_stats): Adjust for change in int_mallinfo interface.
38685 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38687         [BZ #10375]
38688         * configure.in (NM): Add AC_CHECK_TOOL for it.
38689         (libc_extra_cflags): New substituted variable.
38690         Check for -fstack-protector being used implicitly.
38691         * configure: Regenerated.
38692         * config.make.in (config-extra-cflags): New variable,
38693         gets @libc_extra_cflags@.
38694         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38696         [BZ #10375]
38697         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38698         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38699         * configure: Regenerated.
38700         * config.make.in (CPPUNDEFS): New substituted variable.
38701         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38702         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38703         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38707         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38708         (mq_attr): Use __syscall_slong_t.
38710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38712         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38713         Check __x86_64__ instead of __WORDSIZE.
38714         (_STAT_VER_LINUX): Likewise.
38715         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38716         __syscall_ulong_t and __syscall_slong_t.
38717         (stat64): Likewise.
38719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38721         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38725         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38727 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38729         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38730         __syscall_ulong_t.
38732         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38733         include <bits/wordsize.h>.  Check __x86_64__ instead of
38734         __WORDSIZE.
38735         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38736         defined.
38737         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38739         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38740         include <bits/wordsize.h>.  Check __x86_64__ instead of
38741         __WORDSIZE.
38742         (user_regs_struct): Use "__extension__ unsigned long long"
38743         instead of "unsigned long" if __x86_64__ is defined.
38744         (user): Likewise.  Pad after pointer field if __ILP32__ is
38745         defined.
38747 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38749         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38750         versions 5 to 9.
38751         * configure: Regenerated.
38752         * manual/install.texi (texinfo): Increase version requirement to
38753         4.5 or later.
38754         * INSTALL: Regenerated.
38756         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38758 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38760         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38762         * sysdeps/x86_64/x32/ffs.c: New file.
38764         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38765         __syscall_ulong_t.
38766         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38767         defined.  Use __syscall_ulong_t.
38768         (shminfo): Use __syscall_ulong_t.
38769         (shm_info): Likewise.
38771         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38772         __syscall_ulong_t.
38774         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38775         <bits/wordsize.h>.
38776         (msgqnum_t): Use __syscall_ulong_t.
38777         (msglen_t): Likewise.
38778         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38779         __syscall_ulong_t.
38781         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38782         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38784         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38786         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38787         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38789         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38790         __syscall_slong_t.
38792         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38793         include <bits/wordsize.h>.  Check __x86_64__ instead of
38794         __WORDSIZE.
38796         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38797         "unsigned long long int" if __x86_64__ is defined.
38798         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38800         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38802         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38804         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38805         <stdint.h>.
38806         (GET_PC): Cast to uintptr_t first.
38807         (GET_FRAME): Likewise.
38808         (GET_STACK): Likewise.
38810         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38811         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38812         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38813         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38814         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38815         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38816         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38817         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38818         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38819         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38821         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38824         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38825         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38826         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38827         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38829         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38831         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38832         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38833         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38834         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38835         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38836         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38837         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38838         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38840 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38842         * Makerules (+depfiles): Also collect depfiles from .oS in
38843         $(extra-objs).
38844         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38845         .oS, $(libnldbl-routines)).
38847         * Makerules (native-compile-mkdep-flags): Define.
38848         * sunrpc/Makefile (extra-objs): Add $(addprefix
38849         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38850         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38851         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38852         calling $(make-target-directory).
38854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38856         * bits/types.h (__snseconds_t): Removed.
38857         * time/time.h (struct timespec): Replace __snseconds_t with
38858         __syscall_slong_t.
38859         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38860         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38861         Likewise.
38862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38863         (__SNSECONDS_T_TYPE): Likewise.
38864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38865         (__SNSECONDS_T_TYPE): Likewise.
38866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38867         (__SNSECONDS_T_TYPE): Likewise.
38869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38871         * sysdeps/mach/hurd/bits/typesizes.h
38872         (__SYSCALL_SLONG_TYPE): New macro.
38873         (__SYSCALL_ULONG_TYPE): Likewise.
38875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38877         * bits/types.h (__syscall_slong_t): New type.
38878         (__syscall_ulong_t): Likewise.
38880         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38881         (__SYSCALL_ULONG_TYPE): Likewise.
38882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38883         (__SYSCALL_SLONG_TYPE): Likewise.
38884         (__SYSCALL_ULONG_TYPE): Likewise.
38885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38886         (__SYSCALL_SLONG_TYPE): Likewise.
38887         (__SYSCALL_ULONG_TYPE): Likewise.
38888         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38889         (__SYSCALL_SLONG_TYPE): Likewise.
38890         (__SYSCALL_ULONG_TYPE): Likewise.
38892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38894         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38895         Add sigaltstack-offsets.sym.
38896         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38897         <sigaltstack-offsets.h>.
38898         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38899         longjmp_msg pointer.
38900         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38901         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38902         signal stack.
38903         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38905 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38907         * elf/stackguard-macros.h: Remove file.
38908         * sysdeps/generic/stackguard-macros.h: New file.
38909         * sysdeps/i386/stackguard-macros.h: Likewise.
38910         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38911         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38912         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38913         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38914         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38915         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38916         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38917         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38918         <elf/stackguard-macros.h>.
38920         [BZ #14109]
38921         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38922         __aligned__ in attribute.
38923         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38924         (gregset_t): Likewise.
38926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38928         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38929         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38930         * sysdeps/x86_64/x32/Implies-after: New file.
38932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38934         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38935         and access return value for _dl_profile_fixup.  Use R10_LP to
38936         load frame size.
38938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38940         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38944         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38945         * sysdeps/x86_64/x32/sysdep.h: New file.
38947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38949         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38950         * sysdeps/x86_64/setjmp.S: Likewise.
38952 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38954         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38956         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38957         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38958         remove unused global constant.
38960 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38962         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38963         include of <not-cancel.h>.
38965 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38967         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38969 2012-05-15  Jeff Law  <law@redhat.com>
38970             Andreas Jaeger  <aj@suse.de>
38972         [BZ #13594]
38973         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38974         out from...
38975         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38976         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38977         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38978         code changing __hst_map_handle.map.
38980 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38982         * configure.in (sysnames): Look for Implies-before and Implies-after
38983         files.
38984         * configure: Regenerated.
38986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38988         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38989         8-byte data alignment with LP_SIZE alignment.
38991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38994         into R10_LP.
38996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38998         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39002         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39003         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39004         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39005         Likewise.
39006         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39010         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39011         (stackinfo_sub_sp): Likewise.
39013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39015         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39016         RAX_LP.
39018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39020         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39021         into R*_LP.
39023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39025         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39026         sizes into R*_LP.
39028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39030         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39034         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39035         into R11_LP and load __x86_64_shared_cache_size_half into
39036         R8_LP.
39038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39040         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39041         R8_LP.
39043 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39046         logb for POWER7.
39047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39048         logbf for POWER7.
39049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39050         logbl for POWER7.
39051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39052         powerpc32/power7/fpu/s_logb.c via #include.
39053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39054         powerpc32/power7/fpu/s_logbf.c via #include.
39055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39056         powerpc32/power7/fpu/s_logbl.c via #include.
39058 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39060         * README.libm: Remove file.
39062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39064         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39065         count for x32.  Use R*_LP and omit operand-size suffix.
39067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39069         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39070         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39071         * sysdeps/x86_64/x32/shlib-versions: New file.
39073 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39075         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39076         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39077         Use _dl_fatal_printf instead.
39079 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39081         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39082         set if not set by the user.  Do not allow for being unset.
39083         * sysdeps/unix/sysv/linux/configure: Regenerated.
39085 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39087         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39088         the `q' suffix from lea and replace .quad with ASM_ADDR.
39090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39093         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39094         instead of $17.
39095         (PTR_DEMANGLE): Likewise.
39097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39099         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39100         (LP_OP): Likewise.
39101         (ASM_ADDR): Likewise.
39102         (RAX_LP): Likewise.
39103         (RBP_LP): Likewise.
39104         (RBX_LP): Likewise.
39105         (RCX_LP): Likewise.
39106         (RDI_LP): Likewise.
39107         (RSI_LP): Likewise.
39108         (RSP_LP): Likewise.
39109         (R8_LP): Likewise.
39110         (R9_LP): Likewise.
39111         (R10_LP): Likewise.
39112         (R10_LP): Likewise.
39113         (R11_LP): Likewise.
39114         (R12_LP): Likewise.
39115         (R13_LP): Likewise.
39116         (R14_LP): Likewise.
39117         (R15_LP): Likewise.
39119 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39121         * sysdeps/x86_64/x32/dl-machine.h: New file.
39123 2012-05-14  Andreas Jaeger  <aj@suse.de>
39125         * manual/Makefile (subdir): Remove export of subdir.
39126         (all): Remove target.
39127         (.PHONY): Remove all from list.
39128         (mkinstalldirs): Remove.
39129         (.PHONY): Remove installdirs from list.
39130         ($(inst_infodir)/libc.info): Use make-target-directory.
39131         (installdirs): Remove.
39132         (subdir_%): Remove.
39133         (glibc-targets): Remove.
39134         (lib): Remove.
39135         (stubs): Remove.
39136         ($(objpfx)stubs ../po/manual.pot): Remove.
39137         ($(objpfx)stamp%): Remove.
39138         (make-target-directory): Remove.
39139         (subdir_install): Remove.
39140         (routines): Remove.
39141         (aux): Remove.
39142         (sources): Remove.
39143         (objects): Remove.
39144         (headers): Remove.
39146         [BZ #13750]
39147         * manual/.gitignore: Remove, it's not needed anymore.
39148         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39149         all files in it.
39150         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39151         directory.
39152         (texis): Renamed to $(objpfx)texis.
39153         (texis-path): New, contains path to generated files.
39154         (chapters.%): Use texis-path for complete path, add extra argument
39155         libc-texinfo.sh.
39156         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39157         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39158         (summary,texi, stamp-summary): Use complete path of
39159         files. Generate files in build dir.
39160         (dir-add.texi): Build in build dir.
39161         (libm-err.texi,stamp-libm-err): Likewise.
39162         (version.texi, stamp-version): Likewise.
39163         (.%c.texi): Likewise.
39164         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39165         (mostlyclean): Remove target.
39166         (realclean): Remove target.
39167         (generated): Add new variable with contents from mostlyclean and
39168         realclean, remove entries duplicated in common-mostlyclean, add
39169         stamp-libm-err and stamp-version.
39170         (generated-dirs): Add libc directory.
39171         ($(inst_infodir)/libc.info): Install files from build dir.
39173         * manual/install.texi (Configuring and compiling): Adjust since
39174         the info files are not part of the tar ball anymore.
39176 2012-05-14  Andreas Jaeger  <aj@suse.de>
39178         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39179         variable.
39181 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39183         [BZ #13717]
39184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39185         to 2.2.0 where earlier.
39186         * sysdeps/unix/sysv/linux/configure: Regenerated.
39187         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39188         Remove conditional code.
39189         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39190         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39191         Remove conditional code.
39192         [!__NR_lchown]: Likewise.
39193         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39194         [__NR_lchown]: Likewise.
39195         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39196         comment referencing __ASSUME_LCHOWN_SYSCALL.
39197         * sysdeps/unix/sysv/linux/i386/sigaction.c
39198         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39199         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39200         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39201         Remove conditional code.
39202         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39203         (__protocol_available): Remove #if 0 code.
39204         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39205         conditional code.
39206         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39207         * sysdeps/unix/sysv/linux/kernel-features.h
39208         (__ASSUME_GETCWD_SYSCALL): Don't define.
39209         (__ASSUME_REALTIME_SIGNALS): Likewise.
39210         (__ASSUME_PREAD_SYSCALL): Likewise.
39211         (__ASSUME_PWRITE_SYSCALL): Likewise.
39212         (__ASSUME_POLL_SYSCALL): Likewise.
39213         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39214         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39215         non-SPARC.
39216         (__ASSUME_SIOCGIFNAME): Don't define.
39217         (__ASSUME_MSG_NOSIGNAL): Likewise.
39218         (__ASSUME_SENDFILE): Define unconditionally.
39219         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39220         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39221         conditional code.
39222         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39223         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39224         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39225         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39226         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39227         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39228         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39233         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39239         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39245         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39251         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39253         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39254         Remove conditional code.
39255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39256         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39257         Remove conditional code.
39258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39259         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39260         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39261         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39262         Remove conditional code.
39263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39264         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39265         Remove conditional code.
39266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39267         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39268         Remove conditional code.
39269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39270         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39271         Remove conditional code.
39272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39273         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39274         Remove conditional code.
39275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39276         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39279         * sysdeps/unix/sysv/linux/sigaction.c
39280         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39281         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39282         * sysdeps/unix/sysv/linux/sigpending.c
39283         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39284         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39285         * sysdeps/unix/sysv/linux/sigprocmask.c
39286         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39287         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39288         * sysdeps/unix/sysv/linux/sigsuspend.c
39289         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39290         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39291         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39292         (__libc_missing_rt_sigs): Remove.
39293         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39294         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39295         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39296         Remove conditional code.
39297         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39298         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39299         return 1.
39300         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39301         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39302         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39303         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39305 2012-05-14  Andreas Jaeger  <aj@suse.de>
39307         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39308         it's not used in glibc.
39309         (__coshm1): Likewise.
39310         (__acosh1p): Likewise.
39311         (__sgn): Likewise.
39313         * manual/string.texi (Copying and Concatenation): Add missing
39314         variable in concat example.
39315         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39317 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39319         [BZ #14103]
39320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39321         __builtin_clzl with __builtin_clzll.
39323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39325         [BZ #14104]
39326         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39327         libc_freeres_ptr.
39329 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39331         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39332         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39333         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39334         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39336 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39338         * NEWS: Update ia64 info.
39340 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39342         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39343         used as bcopy.
39345 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39347         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39348         * sysdeps/unix/syscalls.list (dup3): Likewise.
39349         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39350         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39352 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39354         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39355         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39357 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39359         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39360         thread pointer.
39361         (TLS_IE): Use mov/add instead of movq/addq to load thread
39362         pointer.
39363         (TLS_GD_PREFIX): New.
39364         (TLS_GD): Use it.
39366 2012-05-11  David S. Miller  <davem@davemloft.net>
39368         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39369         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39370         (_FPU_SETCW): Likewise.
39372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39374         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39375         is 32-byte aligned.
39377 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39379         [BZ #11837]
39380         * iconvdata/gb18030.c: Update tables.
39381         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39382         characters specially.
39383         (BODY for TO_LOOP): Add encoding of missing ranges.
39385 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39387         [BZ #13673]
39388         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39389         * sysdeps/mach/hurd/dup3.c: Likewise.
39390         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39391         * sysdeps/powerpc/memmove.c:: Likewise.
39393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39396         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39398 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39400         * elf/elf.h (R_X86_64_RELATIVE64): New.
39401         (R_X86_64_NUM): Updated.
39402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39403         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39404         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39405         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39406         tst-quad1pie tst-quad2pie
39407         (modules-names): Add tst-quadmod1 tst-quadmod2.
39408         ($(objpfx)tst-quad1): New dependency.
39409         ($(objpfx)tst-quad2): Likewise.
39410         ($(objpfx)tst-quad1pie): Likewise.
39411         ($(objpfx)tst-quad2pie): Likewise.
39412         * sysdeps/x86_64/tst-quad1.c: New file.
39413         * sysdeps/x86_64/tst-quad1pie.c: New file.
39414         * sysdeps/x86_64/tst-quad2.c: Likewise.
39415         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39416         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39417         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39418         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39419         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39423         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39424         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39425         * streams/stropts.h (t_scalar_t): Define type.
39427         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39428         (_PATH_PRESERVE): Set to "/var/lib".
39429         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39431         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39432         instead of int.
39434         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39435         if __dir_mkfile succeeded.
39437         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39438         checking for _hurd_dtablesize.  Unlock it right after having
39439         finished _hurd_dtable allocation.
39441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39443         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39444         * sysdeps/mach/hurd/configure: Regenerated.
39445         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39446         special-casing to...
39447         * sysdeps/gnu/configure.in: ... this new file.
39448         * sysdeps/unix/sysv/linux/configure: Regenerated.
39449         * sysdeps/gnu/configure: New generated file.
39451         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39452         for Linux: use nsec instead of usec, as well as:
39453         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39454         members of type struct timespec.
39455         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39456         New macros.
39457         (struct stat64): Likewise.
39458         (_STATBUF_ST_NSEC): New macro.
39459         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39461         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39462         __strtoul_internal rather than strtoul.
39464 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39466         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39467         and reject them.
39469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39471         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39472         which preserves existing values.
39473         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39477         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39478         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39479         greater than FD_SETSIZE.
39481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39483         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39484         allocated, call __vm_protect to finish enabling the existing space, and
39485         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39486         allocate the remainder.
39488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39490         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39491         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39495         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39496         sysdeps/mach/hurd/readlink.c.
39498         * posix/tst-sysconf.c (posix_options): Only use
39499         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39500         _POSIX_SYNCHRONIZED_IO when they are defined
39501         * sysdeps/mach/hurd/bits/posix_opt.h:
39502         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39503         (_XOPEN_REALTIME): Undefine macro.
39504         (_XOPEN_REALTIME_THREADS): Undefine macro.
39505         (_XOPEN_SHM): Undefine macro.
39506         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39507         macro to -1.
39508         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39509         macro to -1.
39510         (_POSIX_ASYNC_IO): Undefine macro.
39511         (_POSIX_PRIORITIZED_IO): Undefine macro.
39512         (_POSIX_SPIN_LOCKS): Define macro to -1.
39514         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39515         SA_NODEFER, SA_RESETHAND.
39516         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39517         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39518         F_DUPFD_CLOEXEC.
39520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39522         * elf/Makefile (pldd-modules): Define unconditionally.
39524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39526         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39530         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39531         Return ENOENT when name is empty.
39532         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39536         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39538         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39542         Fix mlock in all cases except non-readable pages.
39543         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39544         instead of VM_PROT_ALL as parameter to __vm_wire function.
39546         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39547         (__mkdir): When path is `/', just fail with EEXIST.
39548         * sysdeps/mach/hurd/mkdirat.c: Likewise.
39550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39552         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39553         <sys/uio.h> (for writev).
39554         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39555         and <sys/param.h> (for MIN).
39557 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39559         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39560         REQUESTED_TIME.  Properly set the remaining time and return EINTR
39561         if interrupted.
39563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39565         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39566         Depend on against $(link-rpcuserlibs).
39568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39570         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39571         (__libc_stack_end): Do not use attribute_relro.
39572         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39573         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39574         to libthread-provided value.
39575         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39576         attribute_relro.
39578 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39580         [BZ #3748]
39581         * bits/libc-lock.h (__libc_once_get): New macro.
39582         * sysdeps/mach/bits/libc-lock.h: Likewise.
39583         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39585         instead of using implementation details.
39587         * libio/fileops.c: Unconditionally include <kernel-features.h>.
39588         * libio/freopen.c: Likewise.
39589         * libio/freopen64.c: Likewise.
39590         * misc/syslog.c: Likewise.
39591         * nscd/connections.c: Likewise.
39592         * nscd/netgroupcache.c: Likewise.
39593         * sysdeps/posix/getcwd.c: Likewise.
39595 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39597         * math/w_ilogbf.c: Add #include <limits.h>.
39599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39601         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39602         path instead of returning without unlocking.
39604         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39605         immediate-write ioctls.
39606         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39610         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39611         __builtin_frame_address instead of making assumptions about the
39612         location of the return address relative to DATA.  Force early load of
39613         the return address.
39614         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39615         __builtin_frame_address.
39617         dup3 for GNU Hurd.
39618         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39619         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39620         implement dup3 and do some further code clean-ups.
39621         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39622         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39626         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39628         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39629         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39630         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39631         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39632         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39633         d->port.lock.
39635         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39636         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39637         when handler == SIG_ERR, not when handler != SIG_ERR.
39639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39641         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39642         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39643         definitions.
39645         accept4 for GNU Hurd.
39646         * include/sys/socket.h (__libc_accept4): New prototype.
39647         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39648         to implement __libc_accept4.
39649         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39650         __libc_accept4.
39651         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39653         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39654         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39655         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39656         signal-defines.sym.
39658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39660         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39664         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39665         assertion on O_CLOEXEC flag.
39666         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39667         * hurd/intern-fd.c: Likewise.
39668         * hurd/port2fd.c: Likewise.
39670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39672         [BZ #3906]
39673         * bits/in.h (IPV6_PKTINFO): Define new macro.
39674         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39676 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39678         [BZ #13954]
39679         [BZ #13955]
39680         [BZ #13956]
39681         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39682         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39683         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39684         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39686         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39687         * math/libm-test.inc (logb_test) : Additional logb tests.
39689 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39690             Andreas Jaeger  <aj@suse.de>
39692         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39693         * configure: Regenerated.
39694         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39695         * config.make.in (link-obsolete-rpc): New substituted variable.
39696         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39697         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39698         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39699         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39700         so that libc.a contains the symbols.
39701         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39702         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39703         * sunrpc/auth_none.c: Likewise.
39704         * sunrpc/auth_unix.c: Likewise.
39705         * sunrpc/authdes_prot.c: Likewise.
39706         * sunrpc/authuxprot.c: Likewise.
39707         * sunrpc/clnt_gen.c: Likewise.
39708         * sunrpc/clnt_perr.c: Likewise.
39709         * sunrpc/clnt_raw.c: Likewise.
39710         * sunrpc/clnt_simp.c: Likewise.
39711         * sunrpc/clnt_tcp.c: Likewise.
39712         * sunrpc/clnt_udp.c: Likewise.
39713         * sunrpc/clnt_unix.c: Likewise.
39714         * sunrpc/des_crypt.c: Likewise.
39715         * sunrpc/des_soft.c: Likewise.
39716         * sunrpc/get_myaddr.c: Likewise.
39717         * sunrpc/key_call.c: Likewise.
39718         * sunrpc/key_prot.c: Likewise.
39719         * sunrpc/netname.c: Likewise.
39720         * sunrpc/pm_getmaps.c: Likewise.
39721         * sunrpc/pm_getport.c: Likewise.
39722         * sunrpc/pmap_clnt.c: Likewise.
39723         * sunrpc/pmap_prot.c: Likewise.
39724         * sunrpc/pmap_prot2.c: Likewise.
39725         * sunrpc/pmap_rmt.c: Likewise.
39726         * sunrpc/publickey.c: Likewise.
39727         * sunrpc/rpc_cmsg.c: Likewise.
39728         * sunrpc/rpc_common.c: Likewise.
39729         * sunrpc/rpc_dtable.c: Likewise.
39730         * sunrpc/rpc_prot.c: Likewise.
39731         * sunrpc/rpc_thread.c: Likewise.
39732         * sunrpc/rtime.c: Likewise.
39733         * sunrpc/svc.c: Likewise.
39734         * sunrpc/svc_auth.c: Likewise.
39735         * sunrpc/svc_raw.c: Likewise.
39736         * sunrpc/svc_run.c: Likewise.
39737         * sunrpc/svc_tcp.c: Likewise.
39738         * sunrpc/svc_udp.c: Likewise.
39739         * sunrpc/svc_unix.c: Likewise.
39740         * sunrpc/svcauth_des.c: Likewise.
39741         * sunrpc/xcrypt.c: Likewise.
39742         * sunrpc/xdr.c: Likewise.
39743         * sunrpc/xdr_array.c: Likewise.
39744         * sunrpc/xdr_float.c: Likewise.
39745         * sunrpc/xdr_intXX_t.c: Likewise.
39746         * sunrpc/xdr_mem.c: Likewise.
39747         * sunrpc/xdr_rec.c: Likewise.
39748         * sunrpc/xdr_ref.c: Likewise.
39749         * sunrpc/xdr_sizeof.c: Likewise.
39750         * sunrpc/xdr_stdio.c: Likewise.
39752 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39755         change.  Update copyright years.
39757 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39759         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39761 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39762             Joseph Myers  <joseph@codesourcery.com>
39763             Paul Pluzhnikov  <ppluzhnikov@google.com>
39765         [BZ #14012]
39766         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39767         requiring rpcgen.
39768         [cross-compiling] (extra-libs): Likewise.
39769         [cross-compiling] (extra-libs-others): Likewise.
39770         [cross-compiling] (librpcsvc-routines): Likewise.
39771         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39772         [cross-compiling] (omit-deps): Likewise.
39773         (sunrpc-CPPFLAGS): New variable.
39774         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39775         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39776         (cross-rpcgen-objs): New variable.
39777         (extra-objs): Append $(cross-rpcgen-objs).
39778         ($(cross-rpcgen-objs)): New rule.
39779         ($(objpfx)cross-rpcgen): Likewise.
39780         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39781         comment.
39782         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39783         ($(objpfx)x%.stmp): Likewise.
39784         * sunrpc/proto.h [IS_IN_build] (_): Define.
39785         [IS_IN_build] (_libc_intl_domainname): Likewise.
39787 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39789         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39790         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39791         and R_X86_64_TPOFF64.
39793 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39795         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39796         sysdeps/unix/sysv/syscalls.list.
39797         (stime): Likewise.
39798         (utime): Likewise.
39799         * sysdeps/unix/sysv/syscalls.list: Remove file.
39801 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39803         [BZ #3440]
39804         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39805         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39806         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39807         (__LC_IDENTIFICATION): Make these macros useful in #if
39808         expressions, as required by C99.
39810 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39812         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39813         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39814         after this.
39816 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39818         * stdlib/longlong.h: Updated from GCC.
39820 2012-05-09  Andreas Jaeger  <aj@suse.de>
39822         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39823         default is first entry.
39824         (run_mode): Set type.
39825         (main): Remove informal message about syslog.
39826         (options): Fix typo.
39828         [BZ #14053]
39829         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39830         to asm.
39831         (lrint): Likewise.
39832         (llrintf): Likewise.
39833         (llrint): Likewise.
39834         (rint): Likewise.
39835         (rintf): Likewise.
39836         (nearbyint): Likewise.
39837         (nearbyintf): Likewise.
39839 2012-05-09  Andreas Jaeger  <aj@suse.de>
39840             Pedro Alves  <palves@redhat.com>
39842         * nscd/nscd.c (run_mode): Use enum.
39843         (main): Cleanup coding style issue.
39845 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39846             Andreas Jaeger  <aj@suse.de>
39848         * nscd/nscd.c (go_background): Replaced with...
39849         (run_mode): ... this.
39850         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39851         (options): Add -F --foreground.
39852         (main): Implement it.
39853         (parse_opt): Parse it.
39855 2012-05-09  Andreas Jaeger  <aj@suse.de>
39857         [BZ #14083]
39858         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39859         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39860         -Wconversion warning.
39861         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39862         Likewise.
39864 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39866         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39867         == 0.
39868         (LC_ALL): Use macro-int-constant.
39869         (LC_COLLATE): Likewise.
39870         (LC_CTYPE): Likewise.
39871         (LC_MESSAGES): Likewise.
39872         (LC_MONETARY): Likewise.
39873         (LC_NUMERIC): Likewise.
39874         (LC_TIME): Likewise.
39875         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39876         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39877         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39878         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39879         Specify type.
39880         [C99-based standards] (float_t): Expect type.
39881         [C99-based standards] (double_t): Expect type.
39882         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39883         type.
39884         [C99-based standards] (HUGE_VALL): Likewise.
39885         [C99-based standards] (INFINITY): Likewise.
39886         [C99-based standards] (NAN): Likewise.
39887         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39888         [C99-based standards] (FP_NAN): Likewise.
39889         [C99-based standards] (FP_NORMAL): Likewise.
39890         [C99-based standards] (FP_SUBNORMAL): Likewise.
39891         [C99-based standards] (FP_ZERO): Likewise.
39892         [C99-based standards] (FP_FAST_FMA): Use
39893         optional-macro-int-constant.  Specify type.  Require == 1.
39894         [C99-based standards] (FP_FAST_FMAF): Likewise.
39895         [C99-based standards] (FP_FAST_FMAL): Likewise.
39896         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39897         [C99-based standards] (FP_ILOGBNAN): Likewise.
39898         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39899         Specify type.
39900         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39901         [C99-based standards] (math_errhandling): Specify type.
39902         [ISO99 || ISO11] (signgam): Do not allow.
39903         [non-C99-based standards] (copysignf): Do not allow.
39904         [non-C99-based standards] (exp2f): Likewise.
39905         [non-C99-based standards] (log2f): Likewise.
39906         [non-C99-based standards] (modff): Allow.
39907         [non-C99-based standards] (erff): Do not allow.
39908         [non-C99-based standards] (erfcf): Likewise.
39909         [non-C99-based standards] (gammaf): Likewise.
39910         [non-C99-based standards] (hypotf): Likewise.
39911         [non-C99-based standards] (j0f): Likewise.
39912         [non-C99-based standards] (j1f): Likewise.
39913         [non-C99-based standards] (jnf): Likewise.
39914         [non-C99-based standards] (lgammaf): Likewise.
39915         [non-C99-based standards] (tgammaf): Likewise.
39916         [non-C99-based standards] (y0f): Likewise.
39917         [non-C99-based standards] (y1f): Likewise.
39918         [non-C99-based standards] (ynf): Likewise.
39919         [non-C99-based standards] (isnanf): Likewise.
39920         [non-C99-based standards] (acoshf): Likewise.
39921         [non-C99-based standards] (asinhf): Likewise.
39922         [non-C99-based standards] (atanhf): Likewise.
39923         [non-C99-based standards] (cbrtf): Likewise.
39924         [non-C99-based standards] (expm1f): Likewise.
39925         [non-C99-based standards] (ilogbf): Likewise.
39926         [non-C99-based standards] (log1pf): Likewise.
39927         [non-C99-based standards] (logbf): Likewise.
39928         [non-C99-based standards] (nextafterf): Likewise.
39929         [non-C99-based standards] (remainderf): Likewise.
39930         [non-C99-based standards] (rintf): Likewise.
39931         [non-C99-based standards] (scalbf): Likewise.
39932         [non-C99-based standards] (copysignl): Likewise.
39933         [non-C99-based standards] (exp2l): Likewise.
39934         [non-C99-based standards] (log2l): Likewise.
39935         [non-C99-based standards] (modfl): Allow.
39936         [non-C99-based standards] (erfl): Do not allow.
39937         [non-C99-based standards] (erfcl): Likewise.
39938         [non-C99-based standards] (gammal): Likewise.
39939         [non-C99-based standards] (hypotl): Likewise.
39940         [non-C99-based standards] (j0l): Likewise.
39941         [non-C99-based standards] (j1l): Likewise.
39942         [non-C99-based standards] (jnl): Likewise.
39943         [non-C99-based standards] (lgammal): Likewise.
39944         [non-C99-based standards] (tgammal): Likewise.
39945         [non-C99-based standards] (y0l): Likewise.
39946         [non-C99-based standards] (y1l): Likewise.
39947         [non-C99-based standards] (ynl): Likewise.
39948         [non-C99-based standards] (isnanl): Likewise.
39949         [non-C99-based standards] (acoshl): Likewise.
39950         [non-C99-based standards] (asinhl): Likewise.
39951         [non-C99-based standards] (atanhl): Likewise.
39952         [non-C99-based standards] (cbrtl): Likewise.
39953         [non-C99-based standards] (expm1l): Likewise.
39954         [non-C99-based standards] (ilogbl): Likewise.
39955         [non-C99-based standards] (log1pl): Likewise.
39956         [non-C99-based standards] (logbl): Likewise.
39957         [non-C99-based standards] (nextafterl): Likewise.
39958         [non-C99-based standards] (remainderl): Likewise.
39959         [non-C99-based standards] (rintl): Likewise.
39960         [non-C99-based standards] (scalbl): Likewise.
39961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39962         [non-C99-based standards] (FP_*): Do not allow.
39963         [C99-based standards] (FP_*): Change to
39964         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39965         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39966         allow.
39967         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39968         (SIG_ERR): Likewise.
39969         [X/Open-based standards] (SIG_HOLD): Likewise.
39970         (SIG_IGN): Likewise.
39971         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39972         positive value.
39973         (SIGFPE): Likewise.
39974         (SIGILL): Likewise.
39975         (SIGINT): Likewise.
39976         (SIGSEGV): Likewise.
39977         (SIGTER): Likewise.
39978         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39979         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39980         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39981         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39982         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39983         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39984         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39985         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39986         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39987         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39988         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39989         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39990         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39991         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39992         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39993         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39994         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39995         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39996         [X/Open-based standards] (SIGTRAP): Likewise.
39997         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39998         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39999         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40000         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40001         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40002         allow.
40004 2012-05-08  Ian Wienand  <ianw@vmware.com>
40006         [BZ #14080]
40007         * time/tzset.c (__tzset_parse_tz): Update default rules for
40008         daylight time changes in the Energy Policy Act of 2005.
40010 2012-05-09  Andreas Jaeger  <aj@suse.de>
40012         [BZ #13983]
40013         * elf/ldconfig.c (parse_conf): Change string to make clear that
40014         ldconfig only issued a warning if ld.so.conf does not exist.
40016 2012-05-08  David S. Miller  <davem@davemloft.net>
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40019         movxtod instead of popping the value on the stack.
40021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40023 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40025         * config.h.in: Add HAVE_ARM_PCS_VFP.
40027 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40029         [BZ #13979]
40030         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40031         checking but the checks are disabled for any reason.
40033 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40035         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40036         and ELF64_R_TYPE with ELFW(R_TYPE).
40038 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40040         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40041         (ulimit): Likewise.
40043         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40044         (settimeofday): Likewise.
40046 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40048         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40049         a struct th_u2 inside the union, and move tu_block/tu_code into
40050         a new th_u3 union of tu_block/tu_code inside of that.  Move
40051         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40052         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40053         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40054         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40055         (th_stuff): Change to th_u1.tu_stuff.
40056         (th_data): Define.
40057         (th_msg): Change to th_u1.th_u2.tu_data.
40059 2012-05-07  David S. Miller  <davem@davemloft.net>
40061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40063         [BZ #14074]
40064         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40065         (SETUP_PIC_REG): Use it.
40066         (SETUP_PIC_REG_LEAF): Use it.
40068 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40070         [BZ #13885]
40071         [BZ #13923]
40072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40073         USE_AS_EXPM1L.
40074         (EXPL_FINITE): Likewise.
40075         (FLDLOG): Likewise.
40076         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40077         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40078         e_expl.S.
40079         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40080         USE_AS_EXPM1L.
40081         (EXPL_FINITE): Likewise.
40082         (FLDLOG): Likewise.
40083         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40084         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40085         e_expl.S.
40086         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40087         test of -max_value argument for long double.
40088         * sysdeps/i386/fpu/libm-test-ulps: Update.
40089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40091 2012-05-06  David S. Miller  <davem@davemloft.net>
40093         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40094         quad soft-float symbols whose references which are compiler
40095         generated.
40096         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40098 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40100         [BZ #13884]
40101         [BZ #13914]
40102         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40103         USE_AS_EXP10L.
40104         (EXPL_FINITE): Likewise.
40105         (FLDLOG): Likewise.
40106         (c0): Likewise.
40107         (c1): Likewise.
40108         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40109         Adjust comments for base varying.
40110         (__expl_finite): Change alias to EXPL_FINITE.
40111         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40112         e_expl.S.
40113         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40114         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40115         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40116         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40117         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40118         USE_AS_EXP10L.
40119         (EXPL_FINITE): Likewise.
40120         (FLDLOG): Likewise.
40121         (c0): Likewise.
40122         (c1): Likewise.
40123         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40124         Adjust comments for base varying.
40125         (__expl_finite): Change alias to EXPL_FINITE.
40126         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40127         tests for bugs.
40128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40130         [BZ #14064]
40131         * math/libm-test.inc (check_float_internal): Correct ulp
40132         calculation for subnormal expected results.
40134 2012-05-06  Andreas Jaeger  <aj@suse.de>
40136         * Makeconfig (+math-flags): New, set to -frounding-math.
40137         (+cflags): Add +math-flags so that all of glibc gets compiled with
40138         it.
40140         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40142 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40144         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40145         Disable one test.
40147         [BZ #13787]
40148         [BZ #13922]
40149         [BZ #14036]
40150         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40151         (__ieee754_expl): Allow for and saturate large arguments.
40152         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40153         (u_threshold): Likewise.
40154         (__exp): Call __ieee754_exp before checking for overflow and
40155         underflow.
40156         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40157         (u_threshold): Likewise.
40158         (__expf): Call __ieee754_expf before checking for overflow and
40159         underflow.
40160         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40161         (u_threshold): Likewise.
40162         (__expl): Call __ieee754_expl before checking for overflow and
40163         underflow.
40164         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40165         (__ieee754_expl): Allow for and saturate large arguments.
40166         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40167         missing overflow exception on overflow.
40168         (expm1_test): Do not allow missing overflow exception on overflow.
40170         * sysdeps/i386/fpu/e_expl.c: Move to ...
40171         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40172         rather than using inline asm.
40173         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40174         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40175         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40177         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40178         (nice): Likewise.
40179         (poll): Likewise.
40180         (signal): Likewise.
40181         (time): Likewise.
40182         (times): Likewise.
40184 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40186         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40187         sysdeps/unix/common/syscalls.list.
40188         (fchmod): Likewise.
40189         (fchown): Likewise.
40190         (ftruncate): Likewise.
40191         (getrusage): Likewise.
40192         (gettimeofday): Likewise.
40193         (setpgid): Likewise.
40194         (setregid): Likewise.
40195         (setreuid): Likewise.
40196         (sigaction): Likewise.
40197         (truncate): Likewise.
40198         (vhangup): Likewise.
40199         * sysdeps/unix/common/syscalls.list: Remove file.
40200         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40201         * sysdeps/unix/sysv/linux/Implies: Likewise.
40203 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40205         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40207         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40208         Moved to ...
40209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40210         Here.
40211         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40212         to ...
40213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40214         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40215         to ...
40216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40217         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40218         to ...
40219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40220         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40221         to ...
40222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40223         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40224         to ...
40225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40226         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40227         to ...
40228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40229         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40230         to ...
40231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40232         Here.
40233         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40234         to ...
40235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40236         Here.
40237         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40238         to ...
40239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40240         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40241         Moved to ...
40242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40243         Here.
40244         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40245         to ...
40246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40248 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40250         * sysdeps/unix/common/bits/dirent.h: Remove file.
40251         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40253         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40254         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40255         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40256         * sysdeps/unix/bsd/isatty.c: Likewise.
40257         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40258         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40259         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40261 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40263         [BZ #13563]
40264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40265         long double comparison inaccuracies.
40266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40269 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40271         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40272         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40274 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40276         [BZ #14049]
40277         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40278         nonzero digits before rounding a hex value.
40279         * stdlib/tst-strtod.c (tests): Add another test.
40281 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40283         * sysdeps/s390/fpu/libm-test-ulps: Update.
40285 2012-05-03  Andreas Jaeger  <aj@suse.de>
40287         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40288         does not get optimized out.
40289         (malloc_opt_barrier): New.
40291 2012-05-03  Andreas Jaeger  <aj@suse.de>
40292             Roland McGrath  <roland@hack.frob.com>
40294         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40295         intermediate file deletion.
40296         (generated): Add .symlist files.
40298 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40300         [BZ #13775]
40301         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40302         Redirect under this condition.
40303         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40304         [__USE_GNU] (__dprintf_chk): Not under this condition.
40305         [__USE_GNU] (__vdprintf_chk): Likewise.
40306         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40307         under this condition.
40308         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40309         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40310         [__USE_XOPEN2K8] (vdprintf): Likewise.
40311         [__USE_GNU] (__dprintf_chk): Not under this condition.
40312         [__USE_GNU] (__vdprintf_chk): Likewise.
40313         [__USE_GNU] (dprintf): Likewise.
40314         [__USE_GNU] (vdprintf): Likewise.
40316 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40318         * elf/Makefile (common-generated): Set this instead of generated for
40319         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40320         $(all-built-dso)-derived lists.
40322 2012-05-03  Andreas Jaeger  <aj@suse.de>
40324         * sysdeps/i386/fpu/libm-test-ulps: Update.
40326         * FAQ: Removed.
40327         * FAQ.in: Likewise.
40328         * scripts/gen-FAQ.pl: Likewise.
40329         * manual/install.texi (Installation): Point to online location of
40330         FAQ.
40331         * Makefile (files-for-dist): Remove FAQ.
40332         (FAQ): Remove.
40334 2012-05-02  Allan McRae  <allan@archlinux.org>
40336         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40337         (LDFLAGS-reldepmod5.so): Likewise.
40338         (LDFLAGS-reldep6mod1.so): Likewise.
40339         (LDFLAGS-reldep6mod4.so): Likewise.
40340         (LDFLAGS-reldep8mod3.so): Likewise.
40341         (LDFLAGS-unload4mod1.so): Likewise.
40342         (LDFLAGS-unload4mod2.so): Likewise.
40343         (LDFLAGS-tst-initorder): Likewise.
40344         (LDFLAGS-tst-initordera2.so): Likewise.
40345         (LDFLAGS-tst-initordera3.so): Likewise.
40346         (LDFLAGS-tst-initordera4.so): Likewise.
40347         (LDFLAGS-tst-initorderb2.so): Likewise.
40348         (LDFLAGS-noload): Likewise.
40349         (LDFLAGS-next): Likewise.
40350         (LDFLAGS-order2mod1.so): Likewise.
40351         (LDFLAGS-order2mod2.so): Likewise.
40352         (LDFLAGS-tst-initorder2): Likewise.
40353         (LDFLAGS-tst-initorder2a.so): Likewise.
40354         (LDFLAGS-tst-initorder2b.so): Likewise.
40355         (LDFLAGS-tst-initorder2c.so): Likewise.
40356         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40358 2012-05-02  David S. Miller  <davem@davemloft.net>
40360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40362 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40364         [BZ #14055]
40365         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40367 2012-05-02  Andreas Jaeger  <aj@suse.de>
40369         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40370         since we manipulate rounding mode.
40371         (CPPFLAGS-test-idouble.c): Likewise.
40372         (CPPFLAGS-test-ifloat.c): Likewise.
40373         (CFLAGS-test-ldouble.c): Likewise.
40374         (CFLAGS-test-double.c): Likewise.
40375         (CFLAGS-test-float.c): Likewise.
40376         (CFLAGS-test-misc.c): Likewise.
40377         (CFLAGS-test-test-fenv.c): Likewise.
40379 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40381         [BZ #2550]
40382         [BZ #2570]
40383         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40384         comparisons to determine direction to adjust input.
40386 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40388         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40389         output to the target.
40391         * scripts/localplt.awk: New file.
40392         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40393         (check-localplt-CFLAGS): Variable removed.
40394         ($(all-built-dso:=.jmprel)): New static pattern rule.
40395         (generated): Add those targets.
40396         (localplt-built-dso): New variable.
40397         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40399         * elf/check-localplt.c: File removed.
40401         * scripts/check-execstack.awk: New file.
40402         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40403         (check-execstack-CFLAGS): Variable removed.
40404         ($(objpfx)check-execstack.h): Target removed.
40405         ($(objpfx)execstack-default): New target.
40406         (generated): Add that instead of check-execstack.h.
40407         ($(all-built-dso:=.phdr)): New static pattern rule.
40408         (generated): Add those targets.
40409         * elf/check-execstack.c: File removed.
40411         * scripts/check-textrel.awk: New file.
40412         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40413         (check-textrel-CFLAGS): Variable removed.
40414         (all-built-dso): Use := to define.o
40415         ($(all-built-dso:=.dyn)): New static pattern rule.
40416         (generated): Add those targets.
40417         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40418         * config.make.in (READELF): New substituted variable.
40419         * elf/check-textrel.c: File removed.
40421 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40423         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40424         allow.
40425         * conform/data/ctype.h-data [C99-based standards] (isblank):
40426         Expect function.
40427         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40428         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40430         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40431         Specify type.  Require positive value.
40432         (EILSEQ): Likewise.
40433         (ERANGE): Likewise.
40434         [ISO || POSIX] (EILSEQ): Do not expect.
40435         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40436         Specify type.  Require positive value.
40437         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40438         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40439         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40440         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40441         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40442         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40443         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40444         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40445         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40446         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40447         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40448         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40449         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40450         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40451         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40452         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40453         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40454         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40455         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40456         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40457         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40458         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40459         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40460         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40461         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40462         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40463         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40464         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40465         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40466         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40467         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40468         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40469         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40470         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40471         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40472         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40473         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40474         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40475         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40476         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40477         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40478         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40479         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40480         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40481         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40482         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40483         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40484         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40485         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40486         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40487         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40488         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40489         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40490         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40491         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40492         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40493         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40494         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40495         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40496         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40497         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40498         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40499         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40500         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40501         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40502         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40503         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40504         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40505         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40506         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40507         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40508         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40509         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40510         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40511         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40512         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40513         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40514         Require >= 2.
40515         (FLT_ROUNDS): Expect as macro, not constant.
40516         (FLT_MANT_DIG): Use macro-int-constant.
40517         (DBL_MANT_DIG): Likewise.
40518         (LDBL_MANT_DIG): Likewise.
40519         (FLT_DIG): Likewise.
40520         (DBL_DIG): Likewise.
40521         (LDBL_DIG): Likewise.
40522         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
40523         (DBL_MIN_EXP): Likewise.
40524         (LDBL_MIN_EXP): Likewise.
40525         (FLT_MAX_EXP): Use macro-int-constant.
40526         (DBL_MAX_EXP): Likewise.
40527         (LDBL_MAX_EXP): Likewise.
40528         (FLT_MAX_10_EXP): Likewise.
40529         (DBL_MAX_10_EXP): Likewise.
40530         (LDBL_MAX_10_EXP): Likewise.
40531         (FLT_MAX): Use macro-constant.
40532         (DBL_MAX): Likewise.
40533         (LDBL_MAX): Likewise.
40534         (FLT_EPSILON): Use macro-constant.  Give upper bound.
40535         (DBL_EPSILON): Likewise.
40536         (LDBL_EPSILON): Likewise.
40537         (FLT_MIN): Likewise.
40538         (DBL_MIN): Likewise.
40539         (LDBL_MIN): Likewise.
40540         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40541         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40542         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40543         [ISO11] (FLT_HAS_SUBNORM): Likewise.
40544         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40545         [ISO11] (DBL_DECIMAL_DIG): Likewise.
40546         [ISO11] (FLT_DECIMAL_DIG): Likewise.
40547         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40548         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40549         [ISO11] (FLT_TRUE_MIN): Likewise.
40550         [ISO11] (LDBL_TRUE_MIN): Likewise.
40551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40552         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40553         (SCHAR_MIN): Use macro-int-constant.  Specify type.
40554         (SCHAR_MAX): Likewise.
40555         (UCHAR_MAX): Likewise.
40556         (CHAR_MIN): Likewise.
40557         (CHAR_MAX): Likewise.
40558         (MB_LEN_MAX): Use macro-int-constant.
40559         (SHRT_MIN): Use macro-int-constant.  Specify type.
40560         (SHRT_MAX): Likewise.
40561         (USHRT_MAX): Likewise.
40562         (INT_MAX): Likewise.
40563         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
40564         bound negative.
40565         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40566         bound with "U".
40567         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40568         bound with "L".
40569         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
40570         bound negative.  Suffix upper bound with "L".
40571         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40572         bound with "UL".
40573         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40574         Specify type.
40575         [C99-based standards] (LLONG_MAX): Likewise.
40576         [C99-based standards] (ULLONG_MAX): Likewise.
40577         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
40578         == 0.
40579         [ISO11] (max_align_t): Require type.
40580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40582         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40583         from $CFLAGS, without defining away __attribute__ calls.
40584         (checknamespace): Use $CFLAGS_namespace.
40586         * conform/conformtest.pl (@keywords): Only include C99 keywords
40587         for standards based on C99 or C11.
40589         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40590         Disable tests.
40591         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40592         UNIX98]: Likewise.
40594         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40595         usability of symbols in #if.
40597         * conform/conformtest.pl: If macro or constant types start
40598         "promoted:", expect the symbol to be of the following type
40599         promoted by the integer promotions.
40601         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40602         in one place.  Also handle "macro-constant".
40604         * conform/conformtest.pl: Only accept expected macro values with
40605         "==".  Parse all "macro" lines in one place.
40606         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40608         * conform/conformtest.pl: Handle braced types on "constant" lines
40609         instead of handling "typed-constant".
40610         * conform/data/signal.h-data: Use "constant" instead of
40611         "typed-constant".
40613         * conform/conformtest.pl: Handle "optional-" at start of lines in
40614         one place rather than duplicating several cases.  Handle each
40615         format of "macro" line with initial "optional-".
40617         * conform/conformtest.pl: Only accept expected constant or
40618         optional-constant values with "==".  Parse all "constant" lines in
40619         one place.  Parse all "optional-constant" lines in one place.
40620         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40621         * conform/data/fmtmsg.h-data: Likewise.
40622         * conform/data/netinet/in.h-data: Likewise.
40623         * conform/data/tar.h-data: Likewise.
40624         * conform/data/limits.h-data: Use "==" form on "constant" and
40625         "optional-constant" lines.
40627         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40628         Use -std=c99 for XOPEN2K.
40629         (@knownproblems): Remove.
40630         (newtoken): Don't check %isknown.
40632         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40633         Do not expect macro.
40634         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40635         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40636         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40637         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40638         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40639         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40640         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40641         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40642         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40643         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40644         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40645         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40646         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40647         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40648         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40649         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40650         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40651         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40652         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40653         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40654         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40655         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40656         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40657         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40658         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40659         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40660         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40661         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40662         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40663         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40664         [XPG3] (acosh): Likewise.
40665         [XPG3] (asinh): Likewise.
40666         [XPG3] (atanh): Likewise.
40667         [XPG3] (cbrt): Likewise.
40668         [XPG3] (expm1): Likewise.
40669         [XPG3] (ilogb): Likewise.
40670         [XPG3] (log1p): Likewise.
40671         [XPG3] (logb): Likewise.
40672         [XPG3] (nextafter): Likewise.
40673         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40674         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40675         [XPG3] (remainder): Likewise.
40676         [XPG3] (rint): Likewise.
40677         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40678         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40679         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40680         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40681         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40682         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40683         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40684         [UNIX98 || XOPEN2K] (scalb): Expect.
40685         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40686         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40687         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40688         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40689         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40690         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40691         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40692         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40693         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40694         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40695         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40696         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40697         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40698         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40699         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40700         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40701         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40702         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40703         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40704         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40705         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40706         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40707         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40708         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40709         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40710         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40711         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40712         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40713         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40714         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40715         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40716         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40717         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40718         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40719         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40720         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40721         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40722         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40723         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40724         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40725         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40726         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40727         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40728         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40729         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40730         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40731         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40732         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40733         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40734         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40735         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40736         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40737         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40738         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40739         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40740         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40741         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40742         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40743         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40744         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40745         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40746         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40747         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40748         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40749         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40750         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40751         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40752         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40753         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40754         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40755         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40756         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40757         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40758         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40759         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40760         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40761         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40762         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40763         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40764         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40765         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40766         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40768         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40769         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40770         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40771         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40772         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40773         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40774         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40775         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40776         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40777         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40778         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40779         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40780         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40781         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40782         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40783         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40784         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40785         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40786         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40787         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40788         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40789         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40790         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40791         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40792         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40793         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40794         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40795         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40796         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40797         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40798         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40799         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40800         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40801         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40802         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40803         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40804         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40805         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40806         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40807         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40808         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40809         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40810         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40811         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40812         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40813         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40814         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40815         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40816         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40817         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40818         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40819         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40820         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40823         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40824         _XOPEN_SOURCE_EXTENDED for XPG4.
40826         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40828         * Makeconfig (localtime): Remove variable.
40829         (inst_localtime-file): Likewise.
40831 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40834         Update.
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40836         Update.
40837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40838         Update.
40839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40840         Update.
40841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40842         Update.
40843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40844         Update.
40845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40846         Update.
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40848         Update.
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40850         Update.
40852 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40854         [BZ #2550]
40855         [BZ #2570]
40856         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40857         comparisons to determine direction to adjust input.
40858         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40859         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40860         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40861         Likewise.
40862         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40863         Likewise.
40864         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40865         Likewise.
40866         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40867         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40868         Likewise.
40869         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40870         Likewise.
40871         * math/libm-test.inc (nexttoward_test): Add more tests.
40873 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40875         [BZ #14040]
40876         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40877         in version GLIBC_2.1, not GLIBC_2.0.
40878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40879         Likewise.
40881 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40883         [BZ #13942]
40884         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40885         (1 - x) * (1 + x).
40886         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40887         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40888         * math/libm-test.inc (acos_test): Add more tests.
40889         (asin_test): Likewise.
40890         * sysdeps/i386/fpu/libm-test-ulps: Update.
40891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40893         [BZ #14034]
40894         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40895         of square root.
40896         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40897         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40898         * math/libm-test.inc (acos_test_tonearest): New function.
40899         (acos_test_towardzero): Likewise.
40900         (acos_test_downward): Likewise.
40901         (acos_test_upward): Likewise.
40902         (asin_test_tonearest): Likewise.
40903         (asin_test_towardzero): Likewise.
40904         (asin_test_downward): Likewise.
40905         (asin_test_upward): Likewise.
40906         (main): Call the new functions.
40907         * sysdeps/i386/fpu/libm-test-ulps: Update.
40908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40910         [BZ #13884]
40911         [BZ #13924]
40912         * math/e_exp10.c: Include <float.h>.
40913         (__ieee754_exp10): Handle underflow here rather than multiplying
40914         large negative argument by M_LN10.
40915         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40916         of __ieee754_expf.
40917         * math/e_exp10l.c: Include <float.h>.
40918         (__ieee754_exp10l): Handle underflow here rather than multiplying
40919         large negative argument by M_LN10l.
40920         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40921         spurious overflow exception on underflow.
40923 2012-04-29  Marek Polacek  <polacek@redhat.com>
40925         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40926         (__fortify_function): New macro.
40927         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40928         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40929         __extern_always_inline.
40930         * libio/bits/stdio2.h: Likewise.
40931         * libio/bits/stdio.h: Likewise.
40932         * string/string.h: Likewise.
40933         * string/bits/string3.h: Likewise.
40934         * include/stdio.h: Likewise.
40935         * stdlib/bits/stdlib.h: Likewise.
40936         * stdlib/stdlib.h: Likewise.
40937         * rt/bits/mqueue2.h: Likewise.
40938         * rt/mqueue.h: Likewise.
40939         * posix/bits/unistd.h: Likewise.
40940         * posix/unistd.h: Likewise.
40941         * io/bits/poll2.h: Likewise.
40942         * io/bits/fcntl2.h: Likewise.
40943         * io/fcntl.h: Likewise.
40944         * io/sys/poll.h: Likewise.
40945         * misc/bits/syslog.h: Likewise.
40946         * misc/bits/syslog-ldbl.h: Likewise.
40947         * misc/sys/syslog.h: Likewise.
40948         * socket/bits/socket2.h: Likewise.
40949         * socket/sys/socket.h: Likewise.
40950         * debug/tst-chk1.c: Likewise.
40951         * wcsmbs/bits/wchar2.h: Likewise.
40952         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40953         * wcsmbs/wchar.h: Likewise.
40955 2012-04-29  Andreas Jaeger  <aj@suse.de>
40957         * Makerules (tests): Remove enable-check-abi protection.
40958         (check-abi-warn): Remove.
40959         (check-abi-%): Remove check-abi-warn usage.
40961         * configure.in: Remove check-abi configure option.
40962         * configure: Regenerated.
40963         * config.make.in (enable-check-abi): Remove.
40965 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40967         [BZ #14033]
40968         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40969         double functions to double *_finite functions.
40971         [BZ #13941]
40972         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40973         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40974         LDBL_MIN_EXP.
40975         * stdio-common/Makefile (tests): Add tst-sprintf3.
40976         * stdio-common/tst-sprintf3.c: New file.
40978         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40979         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40981 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40983         * conform/conformtest.pl: Remove duplicate typed-constant
40984         handling.
40986 2012-04-28  David S. Miller  <davem@davemloft.net>
40988         * Makerules (%.abilist): Add vpath on sysdep_dirs.
40989         (check-abi-%): Remove AWK script prerequisite and explicit
40990         abilist directory.
40991         (check-abi): Rewrite to just diff the symlist with the abilist.
40992         (config-tls, config-abi-config): Delete, no longer used.
40993         (update-abi-%): Remove AWK script and explicit abilist directory.
40994         (update-abi): Rewrite to simply compare and conditionally copy the
40995         symlist and the sysdep abilist file.  Remove update-abi-config
40996         checks.
40997         * abilist/ld.abilist: Remove.
40998         * abilist/libBrokenLocale.abilist: Remove.
40999         * abilist/libanl.abilist: Remove.
41000         * abilist/libcrypt.abilist: Remove.
41001         * abilist/libdl.abilist: Remove.
41002         * abilist/librt.abilist: Remove.
41003         * abilist/libthread_db.abilist: Remove.
41004         * abilist/libutil.abilist: Remove.
41005         * scripts/extract-abilist.awk: Remove.
41006         * scripts/merge-abilist.awk: Remove.
41007         * sysdeps/generic/libcidn.abilist: New file.
41008         * sysdeps/generic/libnss_compat.abilist: New file.
41009         * sysdeps/generic/libnss_db.abilist: New file.
41010         * sysdeps/generic/libnss_dns.abilist: New file.
41011         * sysdeps/generic/libnss_files.abilist: New file.
41012         * sysdeps/generic/libnss_hesiod.abilist: New file.
41013         * sysdeps/generic/libnss_nis.abilist: New file.
41014         * sysdeps/generic/libnss_nisplus.abilist: New file.
41015         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41016         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41017         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41018         file.
41019         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41020         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41021         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41022         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41023         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41024         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41025         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41026         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41027         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41028         file.
41029         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41030         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41031         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41032         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41033         file.
41034         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41035         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41036         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41037         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41038         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41039         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41040         file.
41041         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41042         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41043         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41044         file.
41045         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41047         New file.
41048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41049         New file.
41050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41051         New file.
41052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41053         New file.
41054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41055         New file.
41056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41057         New file.
41058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41059         New file.
41060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41061         New file.
41062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41063         New file.
41064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41065         New file.
41066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41067         New file.
41068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41069         New file.
41070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41071         New file.
41072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41073         file.
41074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41075         New file.
41076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41077         New file.
41078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41079         file.
41080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41081         New file.
41082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41083         New file.
41084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41085         file.
41086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41087         New file.
41088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41089         New file.
41090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41091         New file.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41093         New file.
41094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41095         New file.
41096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41097         New file.
41098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41100         file.
41101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41102         New file.
41103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41104         file.
41105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41106         file.
41107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41108         file.
41109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41110         file.
41111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41112         file.
41113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41114         New file.
41115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41116         file.
41117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41118         file.
41119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41120         New file.
41121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41122         file.
41123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41125         file.
41126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41127         New file.
41128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41129         file.
41130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41131         file.
41132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41133         file.
41134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41135         file.
41136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41137         file.
41138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41139         New file.
41140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41141         file.
41142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41143         file.
41144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41145         New file.
41146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41147         file.
41148         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41149         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41150         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41151         file.
41152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41153         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41154         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41155         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41156         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41157         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41158         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41159         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41160         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41161         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41164         file.
41165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41166         New file.
41167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41168         file.
41169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41170         file.
41171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41172         file.
41173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41174         file.
41175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41176         file.
41177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41178         New file.
41179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41180         New file.
41181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41182         file.
41183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41184         New file.
41185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41186         file.
41187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41189         file.
41190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41191         New file.
41192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41193         file.
41194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41195         file.
41196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41197         file.
41198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41199         file.
41200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41201         file.
41202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41203         New file.
41204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41205         New file.
41206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41207         file.
41208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41209         New file.
41210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41211         file.
41213 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41215         * conform/conformtest.pl: Fix typo in handling typed-constant from
41216         allow-header.
41218 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41220         * README: Cut down references to pre-2.6 Linux kernels and
41221         Linuxthreads.  Update lists of configurations in libc and ports
41222         and sort alphabetically.  Say "or newer" with Linux kernel version
41223         requirements.
41225         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41227 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41229         [BZ #887]
41230         * math/libm-test.inc (logb_test_downward): New test to expose
41231         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41232         rounding mode.
41234 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41236         [BZ #14027]
41237         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41238         to be done.
41239         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41240         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41242 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41244         * sysdeps/unix/i386/brk.S: Remove file.
41245         * sysdeps/unix/i386/dl-brk.S: Likewise.
41246         * sysdeps/unix/i386/pipe.S: Likewise.
41247         * sysdeps/unix/i386/sigreturn.S: Likewise.
41248         * sysdeps/unix/i386/syscall.S: Likewise.
41249         * sysdeps/unix/i386/vfork.S: Likewise.
41250         * sysdeps/unix/i386/wait.S: Likewise.
41252         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41253         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41255         * configure.in (arm*-none*): Do not allow without
41256         --enable-hacker-mode.
41257         (netbsd*): Remove case setting base_os.
41258         (386bsd*): Likewise.
41259         (freebsd*): Likewise.
41260         (bsdi*): Likewise.
41261         (osf*): Likewise.
41262         (sunos*): Likewise.
41263         (ultrix*): Likewise.
41264         (newsos*): Likewise.
41265         (dynix*): Likewise.
41266         (*bsd*): Likewise.
41267         (sysv*): Likewise.
41268         (isc*): Likewise.
41269         (esix*): Likewise.
41270         (sco*): Likewise.
41271         (minix*): Likewise.
41272         (irix4*): Likewise.
41273         (irix6*): Likewise.
41274         (solaris[2-9]*): Likewise.
41275         (none): Likewise.
41276         * configure: Regenerated.
41278 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41280         [BZ #11521]
41281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41282         overflow or cancellation in calculating denominator.
41283         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41285         down expression to avoid unexpected rounding in newer GCCs.
41286         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41288 2012-04-26  David S. Miller  <davem@davemloft.net>
41290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41291         long-double compat symbols.
41292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41306 2012-04-25  David S. Miller  <davem@davemloft.net>
41308         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41309         HWCAP_* values only after the memory barriers have been defined.
41310         (atomic_full_barrier): Define.
41311         (atomic_read_barrier): Define.
41312         (atomic_write_barrier): Define.
41314 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41316         * shlib-versions: Add libgcc_s version information.
41317         * sysdeps/generic/libgcc_s.h: Remove.
41318         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41319         libgcc_s.h.
41320         * sysdeps/gnu/unwind-resume.c: Likewise.
41321         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41323 2012-04-25  David S. Miller  <davem@davemloft.net>
41325         * sysdeps/unix/sparc/brk.S: Delete.
41326         * sysdeps/unix/sparc/dl-brk.S: Delete.
41327         * sysdeps/unix/sparc/pipe.S: Delete.
41328         * sysdeps/unix/sparc/sysdep.S: Delete.
41329         * sysdeps/unix/sparc/sysdep.h: Delete.
41330         * sysdeps/unix/sparc/vfork.S: Delete.
41331         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41332         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41334         (ret_ERRVAL, r0, r1, MOVE): Define.
41335         (JUMPTARGET): Remove.
41336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41337         sysdeps/unix/sparc/sysdep.h
41338         (ENTRY, END): Remove.
41339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41341 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41343         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41344         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41345         -DIS_IN_build.
41347         * timezone/README: Update upstream location and email address for
41348         tzcode and tzdata.
41349         * timezone/zdump.c: Update from tzcode 2012b.
41350         * timezone/zic.c: Likewise.
41352         * configure.in (libc_cv_as_needed): Remove test.
41353         * configure: Regenerated.
41354         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41355         conditional definition.
41356         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41357         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41358         * config.make.in (have-as-needed): Remove variable.
41360 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41361             Paul Pluzhnikov  <ppluzhnikov@google.com>
41363         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41364         strings correctly.
41366 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41368         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41369         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41370         * sysdeps/sh/strlen.S: Likewise.
41372 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41374         * sysdeps/unix/fork.S: Remove file.
41375         * sysdeps/unix/i386/fork.S: Likewise.
41376         * sysdeps/unix/sparc/fork.S: Likewise.
41378         * sysdeps/unix/system.c: Remove file.
41379         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41381         * sysdeps/unix/getegid.S: Remove file.
41382         * sysdeps/unix/geteuid.S: Likewise.
41384 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41386         * scripts/check-localplt.awk: New file.
41387         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41388         of diff.
41389         * scripts/data/localplt-generic.data: Add a comment.
41391         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41392         NODE when __dir_mkfile failed.
41393         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41394         Reported by Ludovic Courtès <ludo@gnu.org>.
41396 2012-04-24  Andreas Jaeger  <aj@suse.de>
41398         * Makerules (common-clean): Also remove gen-as-const-headers
41399         files.
41401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41403         * Makerules (native-compile): Do not change working directory for
41404         build.  Use $(OUTPUT_OPTION) in command.
41405         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41407 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41409         [BZ #13886]
41410         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41411         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41412         * math/libm-test.inc (floor_test): Add more tests.
41413         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41415 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41417         * sysdeps/unix/getdents.c: Remove file.
41418         * sysdeps/unix/sysv/getdents.c: Likewise.
41419         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41421         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41422         sysdeps/unix/mman/syscalls.list.
41423         (mmap): Likewise.
41424         (mprotect): Likewise.
41425         (msync): Likewise.
41426         (munmap): Likewise.
41427         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41428         * sysdeps/unix/mman/syscalls.list: Remove.
41429         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41431         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41432         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41433         * configure: Regenerated.
41434         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41435         $(libgcc_s_suffix).
41436         * config.make.in (libgcc_s_suffix): Remove variable.
41438 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41440         * sysdeps/unix/sysv/gethostname.c: Move to ...
41441         * sysdeps/posix/gethostname.c: ... here.
41443         * sysdeps/unix/execve.S: Remove file.
41445         * sysdeps/unix/_exit.S: Remove file.
41447 2012-04-23  Andreas Jaeger  <aj@suse.de>
41449         [BZ #13739]
41450         * manual/Makefile: Remove make dist support, there's no
41451         need for a stand-alone documentation tar ball.
41452         (TEXI2DVI): Define always, it's not in Makeconfig.
41453         (dist): Removed.
41454         (tar-it): Removed.
41455         (edition): Removed.
41456         (glibc-doc-$(edition).tar): Removed
41457         (%.Z): Removed.
41458         (%.gz): Removed.
41459         (%.uu): Removed.
41460         (ETAGS): Remove, it's in Makeconfig.
41461         (move-if-change): Remove, it's in Makeconfig.
41463 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41465         [BZ #13970]
41466         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41467         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41468         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41469         (strtod_l, strtof_l, strtold_l): Remove __wur.
41470         It is not necessarily an error to ignore strtol's return value.
41471         One can reliably look at the stored endptr to decide whether
41472         the number had valid syntax.
41474 2012-04-21  Andreas Jaeger  <aj@suse.de>
41476         [BZ #13739]
41477         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41479 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41481         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41482         * sysdeps/unix/sysv/Versions: Remove file.
41484 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41486         [BZ #13927]
41487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41489 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41491         [BZ #7064]
41492         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41493         version from __vm86.
41495 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41497         * sysdeps/unix/common/lxstat.c: Remove file.
41498         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41500         * sysdeps/unix/sysv/Makefile: Remove file.
41502         * sysdeps/unix/sysv/direct.h: Remove file.
41504         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41505         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41506         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41507         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41508         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41509         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41510         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41512         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41514         * sysdeps/unix/xmknod.c: Remove file.
41515         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41517         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41519         * sysdeps/unix/sysv/i386/time.S: Remove file.
41521         * sysdeps/unix/fxstat.c: Remove file.
41522         * sysdeps/unix/xstat.c: Likewise.
41523         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41525         * sysdeps/unix/sysv/sigaction.c: Remove file.
41527         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41528         (sysdep_headers): Remove variable.
41529         [termio.h not in sysdep_headers] (generated): Likewise.
41530         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41531         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41532         * sysdeps/unix/sysv/tcdrain.c: Likewise.
41533         * sysdeps/unix/sysv/tcflow.c: Likewise.
41534         * sysdeps/unix/sysv/tcflush.c: Likewise.
41535         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41536         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41537         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41538         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41539         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41541         * sysdeps/unix/siglist.c: Remove file.
41543         * sysdeps/unix/getppid.S: Remove file.
41545         * sysdeps/unix/mkdir.c: Remove file.
41546         * sysdeps/unix/rmdir.c: Likewise.
41548 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
41550         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41551         ERR_MAX value.
41552         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41553         errlist-compat value.
41555 2012-04-18  David S. Miller  <davem@davemloft.net>
41557         * sysdeps/generic/memcopy.h (reg_char): Delete.
41558         * debug/strcat_chk.c: Use char, not reg_char.
41559         * debug/strcpy_chk.c: Likewise.
41560         * debug/strncat_chk.c: Likewise.
41561         * debug/strncpy_chk.c: Likewise.
41562         * string/memchr.c: Likewise.
41563         * string/memrchr.c: Likewise.
41564         * string/rawmemchr.c: Likewise.
41565         * string/strcat.c: Likewise.
41566         * string/strchr.c: Likewise.
41567         * string/strchrnul.c: Likewise.
41568         * string/strcmp.c: Likewise.
41569         * string/strcpy.c: Likewise.
41570         * string/strncat.c: Likewise.
41571         * string/strncmp.c: Likewise.
41572         * string/strncpy.c: Likewise.
41574 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41576         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41577         __builtin_memcopy is called when src and dest ranges are known to not
41578         overlap.
41580 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41582         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41583         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41584         fwd_align_merge macro call.
41585         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41586         bwd_align_merge macro call.
41587         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41589 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41591         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41592         bwd_align_merge macros.
41593         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41594         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41595         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41597 2012-04-18  David S. Miller  <davem@davemloft.net>
41599         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41601 2012-04-18  Andreas Jaeger  <aj@suse.de>
41603         [BZ# 6794]
41604         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41605         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41606         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41608         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41609         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41610         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41612         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41613         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41614         Adjust for changed ldbl-128 files.
41616         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41617         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41618         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41620 2012-04-17  David S. Miller  <davem@davemloft.net>
41622         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41624 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41626         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41627         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41628         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41629         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41630         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41631         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41633 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41635         [BZ #6794]
41636         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41637         * math/libm-test.inc: Add ilogb errno and exception tests.
41638         * math/w_ilogb.c: New file: ilogb wrapper.
41639         * math/w_ilogbf.c: New file: ilogbf wrapper.
41640         * math/w_ilogbl.c: New file: ilogbl wrapper.
41641         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41642         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41643         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41644         exception being thrown with 0.0 as argument.
41645         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41646         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41647         exception being thrown with 0.0 as argument.
41648         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41649         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41650         exception being thrown with 0.0 as argument.
41651         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41652         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41653         exception being thrown with 0.0 as argument.
41654         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41655         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41656         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41657         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41659         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41660         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41661         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41662         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41664 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41666         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41667         with altivec.
41669 2012-04-16  Marek Polacek  <polacek@redhat.com>
41671         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41673 2012-04-16  Marek Polacek  <polacek@redhat.com>
41675         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41676         operands of fdivp instruction.
41678 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41680         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41681         * elf/tst-auditmod3b.c: Likewise.
41682         * elf/tst-auditmod4b.c: Likewise.
41683         * elf/tst-auditmod5b.c: Likewise.
41684         * elf/tst-auditmod6b.c: Likewise.
41685         * elf/tst-auditmod6c.c: Likewise.
41686         * elf/tst-auditmod7b.c: Likewise.
41687         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41688         * sysdeps/x86_64/preconfigure.in: Likewise.
41689         * sysdeps/x86_64/preconfigure: Regenerated.
41691 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41693         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41694         __ILP32__.
41696 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41699         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41701 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41703         [BZ #13973]
41704         * locale/iso-639.def: Fix gl language name. Spotted by
41705         Yaron Shahrabani.
41707 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41709         [BZ #2074]
41710         * libio/libio.h (__io_write_fn): Update comment.
41712 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41714         [BZ #2074]
41715         * stdio.texi (Hook Functions): The user provided writer function
41716         is not allowed to return -1.
41718 2012-04-11  David S. Miller  <davem@davemloft.net>
41720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41722 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41724         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41725         Add a leading slash to rtkaio.
41727 2012-04-11  Jim Meyering  <meyering@redhat.com>
41729         [BZ #11959]
41730         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41731         It is not necessarily an error to ignore fwrite's return
41732         value.  One can reliably use ferror to test for errors after
41733         the fact.
41735 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41737         * bits/types.h (__snseconds_t): New type.
41738         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41740         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41742         (__SNSECONDS_T_TYPE): Likewise.
41743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41744         (__SNSECONDS_T_TYPE): Likewise.
41745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41746         (__SNSECONDS_T_TYPE): Likewise.
41748 2012-04-10  Andreas Jaeger  <aj@suse.de>
41750         [BZ #2636]
41751         * manual/time.texi (Processor Time): Return type of times is
41752         elapsed real time since an arbitrary point in the past.
41753         (CPU Time): Move CLK_TCK from here...
41754         (Processor Time): ...to here.  Correct description.
41755         * manual/conf.texi (Constants for Sysconf): Correct description of
41756         _SC_CLK_TCK.
41758 2012-04-10  David S. Miller  <davem@davemloft.net>
41760         [BZ #13967]
41761         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41762         where the is a gap between DT_REL(A) and DT_JMPREL.
41764 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41766         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41767         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41768         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41770 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41772         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41773         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41774         (dl_main): Handle --inhibit-cache.
41775         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41776         _dl_inhibit_cache.
41777         * elf/dl-load.c (_dl_map_object): Use it.
41778         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41780 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41782         [BZ #13872]
41783         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41784         (__ieee754_powl): Saturate large exponents rather than testing for
41785         overflow of y*log2(x).
41786         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41787         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41788         exceptions.
41790         [BZ #11521]
41791         * math/s_ctan.c: Include <float.h>.
41792         (__ctan): Avoid internal overflow or cancellation in calculating
41793         denominator.
41794         * math/s_ctanf.c: Likewise.
41795         * math/s_ctanl.c: Likewise.
41796         * math/s_ctanh.c: Likewise.
41797         * math/s_ctanhf.c: Likewise.
41798         * math/s_ctanhl.c: Likewise.
41799         * math/libm-test.inc (ctan_test): Add more tests.
41800         (ctanh_test): Likewise.
41801         * sysdeps/i386/fpu/libm-test-ulps: Update.
41802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41804 2012-04-09  Andreas Jaeger  <aj@suse.de>
41806         [BZ #6894]
41807         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41808         is an optional BSD extension.
41810         [BZ #10254]
41811         * manual/stdio.texi (Opening Streams): Document additional fopen
41812         parameters.
41814 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41816         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41817         %eax without telling the compiler.
41819 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41821         [BZ # 13963]
41822         * manual/install.texi: Use sourceware.org.
41824 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41826         [BZ #13873]
41827         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41828         (__ieee754_pow): Generate overflow and underflow using huge*huge
41829         and tiny*tiny rather than just returning constant infinity or zero
41830         for large exponents.
41831         * math/libm-test.inc (pow_test): Require overflow exceptions for
41832         applicable cases of large exponents.
41834         [BZ #706]
41835         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41836         (__ieee754_pow): Use iterative multiplication algorithm only for
41837         integer exponents with absolute value below 1024.  Check for odd
41838         integer exponents when using algorithm for real exponents.
41839         * math/libm-test.inc (pow_test): Add more tests.
41840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41842 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41844         [BZ #13705]
41845         * math/libm-test.inc (exp_test): Do not allow overflow exception
41846         on underflow test.
41848 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41850         [BZ #13705]
41851         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41852         instead of __kernel_standard_f.
41854 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41856         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41857         * sysdeps/x86_64/memset_chk.S: Likewise.
41859 2012-04-08  Andreas Jaeger  <aj@suse.de>
41861         [BZ #10153]
41862         * manual/startup.texi (Environment Access): Describe return value
41863         for putenv and setenv.
41865         [BZ #6895]
41866         * manual/filesys.texi (Directory Entries): Add description for
41867         DT_LNK.
41869         [BZ #6890]
41870         * manual/filesys.texi (Directory Entries): Clarify that it's file
41871         system not operating system in the description of DT_UNKNOWN.
41873         [BZ #6578]
41874         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41876 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41878         [BZ #6649]
41879         * manual/llio.texi (Opening and Closing Files): Add cross
41880         reference to explain mode argument.
41882 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41884         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41885         * sysdeps/x86_64/memset_chk.S: Likewise.
41887 2012-04-07  David S. Miller  <davem@davemloft.net>
41889         * elf/elf.h (R_SPARC_WDISP10): Define.
41890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41891         R_SPARC_SIZE32.
41892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41893         R_SPARC_SIZE64 and R_SPARC_H34.
41895 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41897         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41898         conditions and remove no longer applicable assertion.
41900 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41902         * bits/byteswap.h: Include <features.h>.
41903         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41904         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41906 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41908         * bits/byteswap.h (__bswap_16): Removed.
41909         Include <bits/byteswap-16.h> to get __bswap_16.
41910         * sysdeps/i386/bits/byteswap.h: Likewise.
41911         * sysdeps/s390/bits/byteswap.h: Likewise.
41912         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41913         * bits/byteswap-16.h: New file.
41914         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41915         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41916         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41917         * string/Makefile (headers): Add bits/byteswap-16.h.
41919 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41921         [BZ #13895]
41922         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41923         extra indirection.
41924         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41925         * nss/tst-nss-static.c: New.
41927 2012-04-06  Robert Millan  <rmh@gnu.org>
41929         [BZ #6486]
41930         * manual/llio.texi (File Position Primitive): lseek
41931         refers to WHENCE when it really means OFFSET.
41933 2012-04-06  Andreas Jaeger  <aj@suse.de>
41935         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41936         strncmp declarations.
41938         * abilist/libc.abilist: Add __poll and __ppoll.
41940 2012-04-05  David S. Miller  <davem@davemloft.net>
41942         * scripts/check-local-headers.sh: Accept a host triplet in the
41943         path matched by the exclude regexp.
41945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41946         definition.
41947         * sysdeps/powerpc/powerpc32/dl-machine.h
41948         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41949         * sysdeps/s390/s390-32/dl-machine.h
41950         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41951         * sysdeps/sparc/sparc32/dl-machine.h
41952         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41953         * sysdeps/sparc/sparc64/dl-machine.h
41954         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41956         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41957         lazy binding.
41958         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41959         undefined symbol errors.
41961         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41962         DT_NEEDED entries.
41964 2012-04-05  Michael Matz  <matz@suse.de>
41966         [BZ #13592]
41967         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41969 2012-04-05  Andreas Jaeger  <aj@suse.de>
41971         [BZ #13908]
41972         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41973         comment.
41975 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41977         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41978         which ROUND is no valid rounding mode.
41980 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41982         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41983         read again.
41984         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41986 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41988         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41989         an exception using FPU order intentionally.
41991 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41993         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41994         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41995         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41996         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41998 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42000         [BZ #12340]
42001         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42002         EINVAL when BUFLEN is too smal.
42004 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42006         [BZ #13553]
42007         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42008         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42010 2012-04-03  Andreas Jaeger  <aj@suse.de>
42012         [BZ #13938]
42013         * manual/setjmp.texi (System V contexts): Fix sentence.
42015         [BZ #13926]
42016         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42017         New macro for this case.
42018         [!__GNUC__] (__bswap_64): New inline function for this case.
42019         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42020         * bits/byteswap.h: Likewise.
42021         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42022         ull, guard with __GLIBC_HAVE_LONG_LONG.
42024         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42025         __GLIBC_HAVE_LONG_LONG.
42027         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42028         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42030 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42032         [BZ #13691]
42033         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42034         inptr and inend, rather than using last_ch.
42036 2012-04-02  David S. Miller  <davem@davemloft.net>
42038         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42039         * stdio-common/printf-parse.h (read_int): Change return type to
42040         'int', return -1 on INT_MAX overflow.
42041         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42042         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42043         overflows INT_MAX.  Check for overflow of in-format-string precision
42044         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42045         SIZE_MAX not INT_MAX for integer overflow test.
42046         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42047         skip the construct in the format string but do not record anything.
42048         * stdio-common/bug22.c: Adjust to test both width/prevision
42049         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42050         explicitly for proper errno values.
42052 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42054         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42055         CHAR_MAX.
42056         * string/test-strcmp.c [! WIDE]: Likewise.
42057         * time/tst-mktime2.c: Likewise for INT_MAX.
42058         * string/test-string.h: #include <sys/param.h> for MIN.
42060         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42061         * sysdeps/i386/init-first.c (init): Likewise.
42062         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42063         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42064         * sysdeps/sh/init-first.c (init): Likewise.
42066 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42068         * po/ru.po: Update from translation team.
42069         * po/vi.po: Likewise.
42071 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42073         * resolv/nss_dns/dns-host.c: Merge copyright years.
42075 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42078         Optimize memcpy with prefetch if
42079         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42080         src, dst pointers have unequal 16 byte alignments.
42082 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42084         [BZ #13928]
42085         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42086         from a CNAME entry and return the minimum ttl for the query.
42087         (gaih_getanswer_slice): Likewise.
42089 2012-03-30  Jeff Law  <law@redhat.com>
42091         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42092         due to long keys.
42093         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42094         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42096         * resolv/nss_dns/dns-host.c: Update copyright year.
42098 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42100         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42101         requests to save a system call.  Fix check that all bytes are sent.
42103         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42104         comments for sendmmsg.
42106 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42108         [BZ #13691]
42109         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42110         with only 1 character between 0x0041 and 0x01b0.
42111         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42112         * wcsmbs/tst-mbsnrtowcs.c: New file.
42114 2012-03-29  David S. Miller  <davem@davemloft.net>
42116         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42117         small copies by hand.
42119 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42121         [BZ #13761]
42122         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42123         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42124         group memberships.
42126 2012-03-28  David S. Miller  <davem@davemloft.net>
42128         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42129         that branches into memcpy.
42130         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42133         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42135         bits.
42136         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42137         implementation too.
42138         * sysdeps/sparc/mempcpy.S: New file.
42140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42141         the IFUNC routine in the libc case.
42142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42144         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42145         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42146         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42147         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42148         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42149         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42150         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42151         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42153         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42154         loop to 256 bytes instead of 64 bytes and fix test signedness.
42156         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42157         * sysdeps/sparc/sparc32/Makefile: rather than here...
42158         * sysdeps/sparc/sparc64/Makefile: and here.
42160 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42162         * malloc/mallocbug.c: Avoid warnings about unused variables.
42164 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42166         [BZ #13760]
42167         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42168         in the right place. Discard and retry query if response is
42169         larger than input buffer size.
42171 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42173         [BZ #369]
42174         [BZ #2678]
42175         [BZ #3866]
42176         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42177         x for large integer exponent.
42178         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42179         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42180         sign of result as needed afterwards.
42181         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42182         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42183         result for underflowing pow the same as for overflow.
42184         (__kernel_standard_l): Handle powl overflow and underflow here
42185         rather than calling __kernel_standard.
42186         * math/libm-test.inc (pow_test): Add more tests.
42188         [BZ #3868]
42189         [BZ #13879]
42190         [BZ #13910]
42191         [BZ #13911]
42192         [BZ #13912]
42193         [BZ #13913]
42194         [BZ #13915]
42195         [BZ #13916]
42196         [BZ #13917]
42197         [BZ #13918]
42198         [BZ #13919]
42199         [BZ #13920]
42200         [BZ #13921]
42201         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42202         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42203         (__kernel_standard_l): New function.
42204         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42205         __kernel_standard.
42206         * math/w_acosl.c (__acosl): Likewise.
42207         * math/w_asinl.c (__asinl): Likewise.
42208         * math/w_atan2l.c (__atan2l): Likewise.
42209         * math/w_atanhl.c (__atanhl): Likewise.
42210         * math/w_coshl.c (__coshl): Likewise.
42211         * math/w_exp10l.c (__exp10l): Likewise.
42212         * math/w_exp2l.c (__exp2l): Likewise.
42213         * math/w_fmodl.c (__fmodl): Likewise.
42214         * math/w_hypotl.c (__hypotl): Likewise.
42215         * math/w_j0l.c (__j0l, __y0l): Likewise.
42216         * math/w_j1l.c (__j1l, __y1l): Likewise.
42217         * math/w_jnl.c (__jnl, __ynl): Likewise.
42218         * math/w_lgammal.c (__lgammal): Likewise.
42219         * math/w_log10l.c (__log10l): Likewise.
42220         * math/w_log2l.c (__log2l): Likewise.
42221         * math/w_logl.c (__logl): Likewise.
42222         * math/w_powl.c (__powl): Likewise.
42223         * math/w_remainderl.c (__remainderl): Likewise.
42224         * math/w_scalbl.c (sysv_scalbl): Likewise.
42225         * math/w_sinhl.c (__sinhl): Likewise.
42226         * math/w_sqrtl.c (__sqrtl): Likewise.
42227         * math/w_tgammal.c (__tgammal): Likewise.
42228         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42229         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42230         * math/libm-test.inc (acos_test): Add more tests.
42231         (acosh_test): Likewise.
42232         (asin_test): Likewise.
42233         (atanh_test): Likewise.
42234         (exp_test): Likewise.
42235         (exp10_test): Likewise.
42236         (exp2_test): Likewise.
42237         (expm1_test): Likewise.
42238         (lgamma_test): Likewise.
42239         (log_test): Likewise.
42240         (log10_test): Likewise.
42241         (log1p_test): Likewise.
42242         (log2_test): Likewise.
42243         (pow_test): Do not allow some spurious overflow exceptions.
42244         (sqrt_test): Add more tests.
42245         (tgamma_test): Likewise.
42246         (y0_test): Likewise.
42247         (y1_test): Likewise.
42248         (yn_test): Likewise.
42250 2012-03-27  Anton Blanchard  <anton@samba.org>
42252         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42253         MAP_HUGETLB.
42254         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42255         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42256         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42258 2012-03-27  David S. Miller  <davem@davemloft.net>
42260         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42262         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42263         have-as-vis3 check.
42265 2012-03-27  Andreas Jaeger  <aj@suse.de>
42267         * sysdeps/x86_64/elf/configure.in: Moved to ...
42268         * sysdeps/x86_64/configure.in: ... here.
42269         * sysdeps/x86_64/elf/start.S: Moved to ...
42270         * sysdeps/x86_64/start.S: ... here.
42271         * sysdeps/x86_64/elf/configure: Delete.
42273         * sysdeps/x86_64/configure.in: Merge contents from
42274         sysdeps/i386/configure.in (without i686 check).
42276         * sysdeps/i386/elf/Versions: Merge into ...
42277         * sysdeps/i386/Versions: ... this.
42278         * sysdeps/i386/elf/Versions: Delete file.
42279         * sysdeps/i386/elf/start.S: Moved to ...
42280         * sysdeps/i386/start.S: ...here.
42281         * sysdeps/i386/elf/configure.in: Merge into...
42282         * sysdeps/i386/configure.in: ...here.
42283         * sysdeps/i386/elf/configure.in: Delete file.
42284         * sysdeps/i386/elf/configure: Delete file.
42286         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42287         * debug/backtracesyms.c: ... here.
42288         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42289         * debug/backtracesymsfd.c: ... here.
42290         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42291         * sysdeps/generic/ifunc-sel.h: ... here.
42293         * sysdeps/unix/i386/start.c: Delete file.
42294         * sysdeps/unix/sparc/start.c: Delete file.
42295         * sysdeps/unix/start.c: Delete file.
42297         * sysdeps/sh/elf/configure.in: Moved to ...
42298         * sysdeps/sh/configure.in: ... here.
42299         * sysdeps/sh/elf/start.S: Moved to ...
42300         * sysdeps/sh/start.S: ... here.
42301         * sysdeps/sh/elf/configure: Delete file.
42303         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42304         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42305         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42306         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42307         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42308         * sysdeps/powerpc/powerpc64/start.S: here.
42309         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42310         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42311         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42312         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42313         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42315         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42316         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42317         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42318         * sysdeps/powerpc/powerpc32/start.S: ... here.
42319         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42320         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42321         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42323         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42324         * sysdeps/powerpc/ifunc-sel.h: ... here.
42325         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42326         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42328         * sysdeps/sparc/elf/configure.in: Moved to ...
42329         * sysdeps/sparc/configure.in: ... here.
42330         * sysdeps/sparc/elf/configure: Delete file.
42331         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42332         * sysdeps/sparc/sparc32/start.S: ... here.
42333         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42334         * sysdeps/sparc/sparc64/start.S: ... here.
42335         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42336         * sysdeps/sparc/sparc32/Makefile: ... this.
42337         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42338         * sysdeps/sparc/sparc64/Makefile: ... this.
42340         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42341         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42342         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42343         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42344         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42345         * sysdeps/s390/s390-32/setjmp.S: ... here.
42346         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42347         * sysdeps/s390/s390-32/configure.in: ... here.
42348         * sysdeps/s390/s390-32/elf/configure: Delete file.
42349         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42350         * sysdeps/s390/s390-32/start.S: ... here.
42352         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42353         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42354         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42355         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42356         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42357         * sysdeps/s390/s390-64/setjmp.S: ... here.
42358         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42359         * sysdeps/s390/s390-64/configure.in: ... here
42360         * sysdeps/s390/s390-64/elf/configure: Delete file.
42361         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42362         * sysdeps/s390/s390-64/start.S: ... here.
42363         * sysdeps/s390/s390-64/elf/configure: Delete.
42365         * configure.in: Remove support for elf directories in sysdeps.
42367         * configure: Regenerated.
42368         * sysdeps/i386/configure: Regenerated.
42369         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42370         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42371         * sysdeps/s390/s390-32/configure: Regenerated.
42372         * sysdeps/s390/s390-64/configure: Regenerated.
42373         * sysdeps/sh/configure: Regenerated.
42374         * sysdeps/sparc/configure: Regenerated.
42375         * sysdeps/x86_64/configure: Regenerated.
42377 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42382         denormal result into account.
42384 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42386         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42387         Reported by Allan McRae <allan@archlinux.org>.
42389 2012-03-23  Jeff Law  <law@redhat.com>
42391         * nss/getnssent.c (__nss_getent): Fix typo.
42393 2012-03-23  David S. Miller  <davem@davemloft.net>
42395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42397 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42399         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42400         to pad to uint64_t for each field.
42401         (dl_tls_index): Replace unsigned long with uint64_t.
42403 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42404         Paul Pluzhnikov  <ppluzhnikov@google.com>
42406         [BZ #6528]
42407         * grp/Makefile (otherlibs): Don't set it.
42408         * inet/Makefile (otherlibs): Likewise.
42409         * login/Makefile (otherlibs): Likewise.
42410         * nscd/Makefile (otherlibs): Likewise.
42411         * posix/Makefile (otherlibs): Likewise.
42412         * pwd/Makefile (otherlibs): Likewise.
42413         * rt/Makefile (otherlibs): Likewise.
42414         * sunrpc/Makefile (otherlibs): Likewise.
42415         * nss/Makefile (otherlibs): Likewise.
42416         Add libnss_files to routines and static-only-routines.
42417         ($(objpfx)getent): Remove rule.
42418         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42419         static-only-routines.
42421 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42423         [BZ #13892]
42424         * math/s_cexp.c: Include <float.h>.
42425         (__cexp): Handle exp result overflowing not necessarily
42426         overflowing both real and imaginary parts of result.
42427         * math/s_cexpf.c: Likewise.
42428         * math/s_cexpl.c: Likewise.
42429         * math/libm-test.inc (cexp_test): Add more tests.
42430         * sysdeps/i386/fpu/libm-test-ulps: Update.
42431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42433 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42435         * include/link.h (ELFW): New macro.
42436         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42437         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42439 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42441         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42442         with uint64_t.
42444 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42446         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42447         declaration.
42448         (struct La_x32_retval): Likewise.
42450 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42452         * sysdeps/x86_64/preconfigure.in: New file.
42453         * sysdeps/x86_64/preconfigure: New generated file.
42455 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42457         [BZ #13824]
42458         * math/e_exp2l.c: Include <float.h>.
42459         (__ieee754_exp2l): Handle overflow and underflow cases
42460         separately.  Only pass fractional part of argument to
42461         __ieee754_expl.
42462         * math/libm-test.inc (exp2_test): Add more tests.
42464         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42465         negating x to take absolute value.
42466         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42467         Likewise.
42468         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42469         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42470         Likewise.
42471         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42472         computing low part if x was negated.
42473         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42475 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42477         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42478         la_x32_gnu_pltexit.
42479         (pltexit): Cast int_retval to ptrdiff_t.
42480         * elf/tst-auditmod3b.c: Likewise.
42481         * elf/tst-auditmod4b.c: Likewise.
42482         * elf/tst-auditmod5b.c: Likewise.
42483         * elf/tst-auditmod6b.c: Likewise.
42484         * elf/tst-auditmod6c.c: Likewise.
42485         * elf/tst-auditmod7b.c: Likewise.
42487         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42488         and x32_gnu_pltexit.
42490         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42491         __ELF_NATIVE_CLASS.
42492         (La_x32_regs): New macro.
42493         (La_x32_retval): Likewise.
42494         (la_x32_gnu_pltenter): New function prototype.
42495         (la_x32_gnu_pltexit): Likewise.
42497 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42499         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42500         exponent.
42502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42504         * configure.in (libc_cv_cc_nofma): Check for option to disable
42505         generation of FMA instructions.
42506         * configure: Regenerate.
42507         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42508         * sysdeps/ieee754/dbl-64/Makefile: New file.
42509         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42510         Remove brandred-fma4.
42511         (CFLAGS-brandred-fma4.c): Remove.
42512         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42514         define.
42515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42516         define.
42518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42520         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42521         LLONG_MAX != LONG_MAX.
42522         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42523         (_fitoa_word): Likewise.
42524         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42525         LLONG_MAX != LONG_MAX.
42526         * stdio-common/_itowa.h: Include <_itoa.h>.
42527         (_itowa_word): Use _ITOA_WORD_TYPE on value.
42528         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
42529         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
42530         only if not defined.
42531         (_ITOA_WORD_TYPE): Likewise.
42532         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42533         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42535 2012-03-21  David S. Miller  <davem@davemloft.net>
42537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42541         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42542         of x86_64 when setting libc_cv_slibdir, libdir and
42543         libc_cv_localedir.
42544         * sysdeps/unix/sysv/linux/configure: Regenerated.
42546 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42548         * manual/lang.texi (Old Varargs): Remove section.
42549         (How Variadic): Update menu.
42550         (va_start): Do not mention varargs.h.
42552 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42553             Joseph Myers  <joseph@codesourcery.com>
42555         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42556         link test.
42557         * configure: Regenerated.
42559 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42561         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42562         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42563         conformtest.pl
42565 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42567         * NOTES: Remove.
42568         * Makefile (files-for-dist): Remove NOTES.
42569         (NOTES): Remove rule.
42570         * README: Don't refer to NOTES.
42571         * manual/creature.texi: Don't include macros.texi.
42572         * manual/intro.texi (creature.texi): Remove comment referring to
42573         NOTES.
42575         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42576         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42577         * configure: Regenerated.
42578         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42579         LIBC_TRY_CC_OPTION.
42580         (libc_cv_as_i686): Likewise.
42581         (libc_cv_cc_avx): Likewise.
42582         (libc_cv_cc_sse2avx): Likewise.
42583         (libc_cv_cc_fma4): Likewise.
42584         (libc_cv_cc_novzeroupper): Likewise.
42585         * sysdeps/i386/configure: Regenerated.
42587         [BZ #13883]
42588         * sysdeps/i386/fpu/s_cexp.S: Remove.
42589         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42590         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42591         * math/libm-test.inc (cexp_test): Add more tests.
42592         * sysdeps/i386/fpu/libm-test-ulps: Update.
42593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42595 2012-03-21  Allan McRae  <allan@archlinux.org>
42597         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42599 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42601         [BZ #13871]
42602         * math/w_exp2.c: Do not include <float.h>.
42603         (o_threshold, u_threshold): Remove.
42604         (__exp2): Calculate result before checking finiteness and calling
42605         __kernel_standard.
42606         * math/w_exp2f.c: Likewise.
42607         * math/w_exp2l.c: Likewise.
42608         * math/libm-test.inc (exp2_test): Require overflow exception for
42609         1e6 input.
42611         [BZ #3866]
42612         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42613         range of signed 64-bit integers before using fistpll.  Remove
42614         checks for whether integers fit in mantissa bits.
42615         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42616         the range of signed 32-bit integers before using fistpl.  Remove
42617         checks for whether integers fit in mantissa bits.
42618         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42619         (__ieee754_powl): Test for y outside the range of signed 64-bit
42620         integers before using fistpll.  Reduce 64-bit values to 63-bit
42621         ones as needed.
42622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42623         divide-by-zero is raised for zero to large negative powers.
42624         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42625         (__ieee754_powl): Test for y outside the range of signed 64-bit
42626         integers before using fistpll.  Reduce 64-bit values to 63-bit
42627         ones as needed.
42628         * math/libm-test.inc (pow_test): Add more tests.
42630 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42632         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42633         <stdio-common/_itoa.h>.
42634         * debug/segfault.c: Likewise.
42635         * elf/dl-cache.c: Likewise.
42636         * elf/dl-minimal.c: Likewise.
42637         * elf/dl-misc.c: Likewise.
42638         * elf/dl-sysdep.c: Likewise.
42639         * elf/dl-version.c: Likewise.
42640         * elf/rtld.c: Likewise.
42641         * hurd/hurdsock.c: Likewise.
42642         * hurd/lookup-retry.c: Likewise.
42643         * malloc/malloc.c: Likewise.
42644         * malloc/mtrace.c: Likewise.
42645         * nscd/nscd_getgr_r.c: Likewise.
42646         * nscd/nscd_getpw_r.c: Likewise.
42647         * nscd/nscd_getserv_r.c: Likewise.
42648         * posix/getopt_init.c: Likewise.
42649         * posix/wordexp.c: Likewise.
42650         * stdio-common/_itoa.c: Likewise.
42651         * stdio-common/printf_fphex.c: Likewise.
42652         * stdio-common/vfprintf.c: Likewise.
42653         * string/_strerror.c: Likewise.
42654         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42655         * sysdeps/i386/i686/hp-timing.h: Likewise.
42656         * sysdeps/mach/_strerror.c: Likewise.
42657         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42658         * sysdeps/mach/hurd/sethostid.c: Likewise.
42659         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42660         * sysdeps/mach/xpg-strerror.c: Likewise.
42661         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42662         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42663         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42664         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42665         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42666         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42668         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42669         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42670         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42671         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42672         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42673         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42674         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42675         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42677         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42678         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42679         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42680         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42681         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42683         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42685         * stdio-common/_itoa.h: Moved to ...
42686         * sysdeps/generic/_itoa.h: Here.
42688         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42690         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42691         instead of "_itoa.h" and "_itowa.h".
42692         * stdio-common/vfprintf.: Likewise.
42694 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42696         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42697         <bits/wordsize.h>.
42698         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42699         (__signbit): Likwise.
42700         (llrintf): Likwise.
42701         (llrint): Likwise.
42703 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42705         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42706         __WORDSIZE != 64.
42708 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42710         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42711         OVERFLOW_EXCEPTION_OK.
42712         * math/libm-test.inc ("Philosophy"): Update comment about
42713         exception testing.
42714         (OVERFLOW_EXCEPTION): Define.
42715         (OVERFLOW_EXCEPTION_OK): Likewise.
42716         (INVALID_EXCEPTION_OK): Renumber.
42717         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42718         (IGNORE_ZERO_INF_SIGN): Likewise.
42719         (test_exceptions): Handle FE_OVERFLOW.
42720         (exp10_test): Expect overflow exceptions.
42721         (exp2_test): Likewise.
42722         (expm1_test): Likewise.
42723         (nextafter_test): Likewise.
42724         (pow_test): Likewise.
42725         (scalbn_test): Likewise.
42726         (scalbln_test): Likewise.
42728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42730         * sysdeps/x86_64/bits/atomic.h
42731         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42732         64bit integer.
42733         (atomic_exchange_acq): Likewise.
42734         (__arch_exchange_and_add_body): Likewise.
42735         (__arch_add_body): Likewise.
42736         (atomic_add_negative): Likewise.
42737         (atomic_add_zero): Likewise.
42739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42741         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42742         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42744 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42746         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42747         Check __x86_64__ instead of __WORDSIZE.
42749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42751         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42753 2012-03-19  David S. Miller  <davem@davemloft.net>
42755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42757         * sysdeps/sparc/fpu/fenv_private.h: New file.
42758         * sysdeps/sparc/fpu/math_private.h: Use it.
42759         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42760         Remove.
42761         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42762         (libc_feholdexcept_setroundl): Remove.
42763         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42764         Remove.
42765         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42766         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42770         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42771         int64_t instead of long int.
42772         (INSERT_WORDS64): Likwise.
42774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42776         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42777         _Unwind_GetCFA return to _Unwind_Ptr first.
42779 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42781         [BZ #13629]
42782         * math/s_clog.c: Include <float.h>.
42783         (__clog): Scale large or subnormal inputs.
42784         * math/s_clogf.c: Likewise.
42785         * math/s_clogl.c: Likewise.
42786         * math/s_clog10.c: Include <float.h>.
42787         (M_LOG10_2): Define.
42788         (__clog10): Scale large or subnormal inputs.
42789         * math/s_clog10f.c: Likewise.
42790         * math/s_clog10l.c: Likewise.
42791         * math/libm-test.inc (clog_test): Add more tests.
42792         (clog10_test): Likewise.
42793         * sysdeps/i386/fpu/libm-test-ulps: Update.
42794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42796         [BZ #11451]
42797         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42798         x and y.
42799         * math/libm-test.inc (atan2_test): Add another test.
42801         * Makerules (common-objdir-compile): Remove.
42802         * sysdeps/unix/Makefile (config-generated): Do not add
42803         $(unix-generated) to variable.
42804         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42805         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42806         Remove rule.
42807         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42808         Likewise.
42809         [generic bits/local_lim.h] (before-compile): Do not append to
42810         variable.
42811         [generic bits/local_lim.h] (common-generated): Likewise.
42812         [generic sys/param.h] (before-compile): Do not append to variable.
42813         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42814         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42815         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42816         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42817         include.
42818         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42819         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42820         [generic sys/param.h] ($(addprefix
42821         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42822         [generic sys/param.h] (common-generated): Do not append to
42823         variable.
42824         [generic sys/param.h] (sysdep_headers): Likewise.
42825         [generic bits/errno.h] (before-compile): Do not append to
42826         variable.
42827         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42828         rule.
42829         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42830         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42831         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42832         [generic bits/errno.h] (common-generated): Do not append to
42833         variable.
42834         [generic bits/ioctls.h] (before-compile): Do not append to
42835         variable.
42836         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42837         rule.
42838         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42839         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42840         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42841         rule.
42842         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42843         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42844         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42845         [generic bits/ioctls.h] (common-generated): Do not append to
42846         variable.
42847         [generic sys/syscall.h] (syscall.h): Remove variable.
42848         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42849         rule.
42850         [generic sys/syscall.h] (before-compile): Do not append to
42851         variable.
42852         [generic sys/syscall.h] (common-generated): Likewise.
42853         * sysdeps/unix/errnos-tmpl.c: Remove file.
42854         * sysdeps/unix/errnos.awk: Likewise.
42855         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42856         * sysdeps/unix/ioctls.awk: Likewise.
42857         * sysdeps/unix/mk-local_lim.c: Likewise.
42858         * sysdeps/unix/snarf-ioctls: Likewise.
42860 2012-03-19  Richard Henderson  <rth@twiddle.net>
42862         * sysdeps/i386/fpu/fenv_private.h: New file.
42863         * sysdeps/i386/fpu/math_private.h: Use it.
42864         (math_opt_barrier, math_force_eval): Remove.
42865         (libc_feholdexcept_setround_53bit): Remove.
42866         (libc_feupdateenv_53bit): Remove.
42867         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42868         (math_opt_barrier, math_force_eval): Remove.
42869         (libc_feholdexcept): Remove.
42870         (libc_feholdexcept_setround): Remove.
42871         (libc_fetestexcept, libc_fesetenv): Remove.
42872         (libc_feupdateenv_test): Remove.
42873         (libc_feupdateenv, libc_feholdsetround): Remove.
42874         (libc_feresetround): Remove.
42876         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42877         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42879         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42880         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42881         (libc_feupdateenv_testl): New.
42882         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42883         (libc_feupdateenv_testf): New.
42884         (libc_feupdateenv): Use libc_feupdateenv_test.
42885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42886         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42888         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42889         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42890         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42891         (libc_feresetround_noex): New.
42892         (libc_feresetround_noexf): New.
42893         (libc_feresetround_noexl): New.
42894         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42895         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42896         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42897         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42898         SET_RESTORE_ROUND.
42899         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42901         (__cos): Likewise.
42902         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42903         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42904         SET_RESTORE_ROUND_NOEX.
42905         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42906         SET_RESTORE_ROUND_NOEXF.
42907         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42908         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42909         (libc_feholdsetroundf): New.
42910         (libc_feresetround, libc_feresetroundf): New.
42912         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42913         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42914         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42916         * sysdeps/generic/math_private.h: Include <fenv.h>.
42917         (default_libc_feholdexcept): New.
42918         (default_libc_feholdexcept_setround): New.
42919         (default_libc_fesetenv, default_libc_feupdateenv): New.
42920         (libc_feholdexcept): Only define if undefined.
42921         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42922         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42923         (libc_feholdexcept_setroundl): Likewise.
42924         (libc_feholdexcept_setround_53bit): Likewise.
42925         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42926         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42927         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42928         (libc_feupdateenv_53bit): Likewise.
42929         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42930         (libc_feholdexcept): Convert from macro to inline function.
42931         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42932         (libc_fesetenv, libc_feupdateenv): Likewise.
42934         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42935         not previously defined.
42936         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42937         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42938         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42939         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42940         * sysdeps/ieee754/flt-32/math_private.h: New file.
42941         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42942         math_private.h below SET_FLOAT_WORD.
42943         (__isnan, __isinf_ns, __finite): Remove.
42944         (__isnanf, __isinf_nsf, __finitef): Remove.
42946 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42950 2012-03-17  David S. Miller  <davem@davemloft.net>
42952         [BZ #6471]
42953         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42954         for 2.16.
42956 2012-03-16  David S. Miller  <davem@davemloft.net>
42958         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42959         warnings.
42961         [BZ #6471]
42962         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42963         properly.
42964         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42965         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42966         sysdep_routines when subdir is sysvipc.
42967         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42968         __getshmlba helper.
42970         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42974         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42975         [__LP64__].
42977 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42979         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42980         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42981         (__lround): Renamed to ...
42982         (__llround): This.  Replace long int with long long int.
42983         Define lround functions as aliases of llround functions.
42984         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42988         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42989         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
42990         adresses to uintptr_t.  Replace "long int" and "unsigned long
42991         int" with "greg_t" on va_arg.
42993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42995         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42996         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42998         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42999         Move e_machine check before EI_CLASS check.  Handle x32
43000         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43001         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43002         SKIP_EM_IA_64 and include
43003         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43005         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43006         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43007         (add_system_dir): New macro.
43009         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43010         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43012 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43014         [BZ #2551]
43015         [BZ #2552]
43016         [BZ #2553]
43017         [BZ #2554]
43018         [BZ #2562]
43019         [BZ #2563]
43020         [BZ #2565]
43021         [BZ #2566]
43022         [BZ #2576]
43023         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43024         (y0): Likewise.
43025         * math/w_j0f.c (j0f): Likewise.
43026         (y0f): Likewise.
43027         * math/w_j0l.c (__j0l): Likewise.
43028         (__y0l): Likewise.
43029         * math/w_j1.c (j1): Likewise.
43030         (y1): Likewise.
43031         * math/w_j1f.c (j1f): Likewise.
43032         (y1f): Likewise.
43033         * math/w_j1l.c (__j1l): Likewise.
43034         (__y1l): Likewise.
43035         * math/w_jn.c (jn): Likewise.
43036         (yn): Likewise.
43037         * math/w_jnf.c (jnf): Likewise.
43038         (ynf): Likewise.
43039         * math/w_jnl.c (__jnl): Likewise.
43040         (__ynl): Likewise.
43041         * math/libm-test.inc (j0_test): Add more tests.
43042         (j1_test): Likewise.
43043         (jn_test): Likewise.  Add trailing semicolon to existing test.
43044         (y0_test): Likewise.
43045         (y1_test): Likewise.
43046         * sysdeps/i386/fpu/libm-test-ulps: Update.
43047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43049         [BZ #13851]
43050         [BZ #13854]
43051         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43052         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43053         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43054         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43055         (__tanl): Set errno for infinite argument.
43056         * sysdeps/i386/fpu/mptan.c: Remove.
43057         * sysdeps/i386/fpu/s_tan.S: Likewise.
43058         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43059         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43060         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43061         * math/libm-test.inc (tan_test): Add more tests and enable more
43062         tests for double and long double.
43063         * sysdeps/i386/fpu/libm-test-ulps: Update.
43064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43066 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43068         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43069         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43071 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43073         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43074         * configure.in: Use it for both main tree and add-ons.
43075         * configure: Regenerated.
43077 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43079         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43081 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43083         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43084         in comment.
43086         [BZ #13851]
43087         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43088         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43089         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43092         infinite argument.
43093         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43095         != 0 for prec == 2.
43096         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43097         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43098         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43099         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43100         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43101         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43102         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43103         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43104         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43105         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43106         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43107         * math/libm-test.inc (cos_test): Add more tests and enable more
43108         tests for long double.
43109         (sin_test): Likewise.
43110         (sincos_test): Likewise.
43111         * sysdeps/i386/fpu/libm-test-ulps: Update.
43112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43114 2012-03-16  David S. Miller  <davem@davemloft.net>
43116         * sysdeps/sparc/fpu/math_private.h: New file.
43118 2012-03-15  David S. Miller  <davem@davemloft.net>
43120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43121         file.
43122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43124         file.
43125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43131         sysdep routines.
43132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43134         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43135         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43137         * sysdeps/sparc/sparc-ifunc.h: New file.
43138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43139         sparc-ifunc.h
43140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43142         Likewise.
43143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43144         Likewise.
43145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43149         Likewise.
43150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43155         Likewise.
43156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43157         Likewise.
43158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43164         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43176         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43183 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43185         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43186         scaling.
43187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43189 2012-03-15  Andreas Jaeger  <aj@suse.de>
43191         [BZ #13852]
43192         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43193         ieee754/flt-32 implementation for sin, cos and sincos.
43194         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43195         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43196         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43197         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43198         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43199         ieee754/flt-32 implementation for tan.
43201         * math/libm-test.inc (cos_test): Enable some large input tests for
43202         float as well
43203         (sin_test): Likewise.
43204         (sincos_test): Likewise.
43205         (tan_test): Add tests for large input.
43207         * sysdeps/i386/fpu/libm-test-ulps: Update.
43209 2012-03-15  Andreas Jaeger  <aj@suse.de>
43211         [BZ #13658]
43212         * math/libm-test.inc (cos_test): Add more test cases.
43213         (sin_test): Likewise.
43214         (sincos_test): Likewise.
43216 2012-03-15  Andreas Jaeger  <aj@suse.de>
43218         [BZ #13837]
43219         * math/libm-test.inc (cos_test): Add a test case for large input
43220         value.
43221         (sin_test): Likewise.
43222         (sincos_test): Likewise.
43224 2012-03-15  Andreas Jaeger  <aj@suse.de>
43225             Joseph Myers  <joseph@codesourcery.com>
43227         [BZ #13658]
43228         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43229         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43230         * sysdeps/i386/fpu/branred.c: Likewise.
43231         * sysdeps/i386/fpu/dosincos.c: Likewise.
43232         * sysdeps/i386/fpu/mpa.c: Likewise.
43233         * sysdeps/i386/fpu/s_cos.S: Likewise.
43234         * sysdeps/i386/fpu/s_sin.S: Likewise.
43235         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43236         * sysdeps/i386/fpu/sincos32.c: Likewise.
43238         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43239         Define.
43240         (libc_feupdateenv_53bit): Define.
43241         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43242         Define.
43243         (libc_feupdateenv_53bit): Define.
43245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43246         53 bit (without extend i386 double precision).
43248         * math/libm-test.inc (sincos_test): Add tests for large input.
43249         (sin): Likewise.
43250         (cos): Likewise.
43252         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43254 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43258 2012-03-15  David S. Miller  <davem@davemloft.net>
43260         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43261         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43262         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43263         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43276         file.
43277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43279         file.
43280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43282         file.
43283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43285         file.
43286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43288         fmin/fmax sysdep routines.
43289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43291 2012-03-14  David S. Miller  <davem@davemloft.net>
43293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43316         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43319         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43320         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43322         routines.
43323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43324         file.
43325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43327         file.
43328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43330         file.
43331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43333         file.
43334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43336         file.
43337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43339         file.
43340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43341         file.
43342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43343         file.
43344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43345         file.
43346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43347         New file.
43348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43349         file.
43350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43351         file.
43352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43354         file.
43355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43357         file.
43358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43360         file.
43361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43363         VIS3 routines.
43365         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43366         New file.
43368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43370         * sysdeps/sparc/configure.in: New file.
43371         * sysdeps/sparc/configure: Generate.
43372         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43373         * configure: Regenerate.
43374         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43375         * config.make.in (have-as-vis3): New.
43376         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43377         available use -Av9d instead of -Av9a.
43378         * sysdeps/sparc/sparc64/Makefile: Likewise.
43379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43381         New file.
43382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43383         file.
43384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43385         New file.
43386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43387         file.
43388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43394         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43395         fzeros/fnegs to load 0x80000000 into a float register instead of
43396         using the stack.
43397         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43399 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43402         bits/syscall.h.
43403         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43404         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43405         ($(inst_includedir)/bits/syscall.h): Remove rule.
43406         ($(objpfx)bits/syscall.d): Include instead of
43407         $(objpfx)syscall-list.d.
43408         (generated): Change syscall-list.h and syscall-list.d to
43409         bits/syscall.h and bits/syscall.d.
43411 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43413         [BZ #13846]
43414         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43416 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #13841]
43419         * math/s_csqrt.c: Include <float.h>.
43420         (__csqrt): Scale large or subnormal inputs.
43421         * math/s_csqrtf.c: Likewise.
43422         * math/s_csqrtl.c: Likewise.
43423         * math/libm-test.inc (csqrt_test): Add more tests.
43424         * sysdeps/i386/fpu/libm-test-ulps: Update.
43425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43427         [BZ #13840]
43428         * math/libm-test.inc (hypot_test): Add more tests.
43430 2012-03-13  David S. Miller  <davem@davemloft.net>
43432         [BZ #13840]
43433         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43434         double-precision for the calculation instead of scaling.
43436 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43438         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43439         manipulate bits before adding and subtracting TWO52[sx].
43440         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43441         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43442         Likewise.
43443         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43445 2012-03-13  David S. Miller  <davem@davemloft.net>
43447         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43448         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43450         rtld-global-offsets.h
43451         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43453         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43454         large parameters.
43456         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43458         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43459         'err' in the ifdef scope in which it is actually used.
43461         * nss/nss_db/db-init.c: Include string.h
43463 2012-03-12  David S. Miller  <davem@davemloft.net>
43465         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43466         masking out of the most significant byte of random value used.
43467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43468         Fix coding style in previous change.
43470         * sysdeps/unix/sysv/linux/kernel-features.h
43471         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43472         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43473         expression.
43474         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43475         later.
43477 2012-03-11  David S. Miller  <davem@davemloft.net>
43479         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43480         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43481         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43482         for 'resultvar' otherwise things get truncated on 64-bit.
43484         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43485         Fix masking out of the most significant byte of random value used.
43487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43489 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43493 2012-03-09  David S. Miller  <davem@davemloft.net>
43495         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43496         variables with appropriate CPP guards.
43497         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43498         from the frame pointer, not the stack pointer.  Correct layout
43499         comments.  Fix test on resulting framesize and the management of
43500         the outregs buffer for pltexit.  Preserve floating point return
43501         values across _dl_call_pltexit call.
43502         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43503         framesize and the management of the outregs buffer for pltexit.
43504         Preserve floating point return values across _dl_call_pltexit
43505         call.
43506         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43507         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43508         (la_sparc64_gnu_pltexit): New functions.
43509         (print_exit): Fix format string for return register value.
43511 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43513         * sunrpc/Makefile (others): Add rpcgen.
43514         ($(objpfx)rpcgen): Remove special build rule and dependency on
43515         libc.
43516         * sunrpc/rpcgen.c: New file.
43518 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43520         [BZ #13673]
43521         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43522         * stdio-common/bug-vfprintf-nargs.c: Likewise.
43523         * sysdeps/i386/crti.S: Likewise.
43524         * sysdeps/i386/crtn.S: Likewise.
43525         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43526         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43527         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43528         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43529         * sysdeps/sh/crti.S: Likewise.
43530         * sysdeps/sh/crtn.S: Likewise.
43531         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43533         [BZ #13673]
43534         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43535         with URL.
43536         * locale/programs/locfile-kw.gperf: Likewise.
43537         * locale/programs/charmap-kw.h: Regenerated.
43538         * locale/programs/locfile-kw.h: Likewise.
43540         [BZ #13673]
43541         * intl/plural.y: Replace FSF snail mail address with URL.
43542         * intl/plural.c: Regenerated.
43544 2012-03-09  Richard Henderson  <rth@twiddle.net>
43546         * include/math_private.h: Remove file.
43547         * math/math_private.h: Move file ...
43548         * sysdeps/generic/math_private.h: ... here.
43550         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43551         * sysdeps/powerpc/fpu/math_private.h: Likewise.
43552         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43554         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43555         and <math_private.h>.
43556         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43557         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43558         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43559         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43560         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43562         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43564         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43565         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43567         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43568         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43570         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43571         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43575         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43577         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43578         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43580         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43581         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43582         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43583         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43586         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43588         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43589         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43590         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43591         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43592         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43593         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43594         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43595         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43596         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43597         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43598         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43599         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43600         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43601         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43602         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43603         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43604         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43605         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43606         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43607         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43608         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43609         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43610         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43611         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43613         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43614         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43615         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43616         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43617         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43619         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43620         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43621         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43622         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43623         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43624         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43625         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43626         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43648         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43649         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43651         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43652         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43653         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43654         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43656         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43657         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43658         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43659         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43660         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43664         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43666         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43667         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43668         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43669         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43670         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43671         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43672         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43673         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43674         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43675         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43676         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43677         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43678         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43679         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43680         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43681         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43682         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43683         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43684         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43685         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43686         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43687         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43688         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43689         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43690         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43691         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43692         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43693         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43694         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43695         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43697         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43698         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43699         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43700         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43701         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43702         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43703         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43704         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43705         * sysdeps/ieee754/k_standard.c: Likewise.
43706         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43707         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43708         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43709         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43710         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43711         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43712         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43713         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43718         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43719         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43720         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43721         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43722         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43723         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43724         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43725         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43726         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43727         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43728         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43729         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43730         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43731         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43732         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43733         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43734         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43735         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43736         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43737         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43738         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43739         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43740         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43741         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43742         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43743         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43744         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43745         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43746         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43747         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43748         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43749         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43750         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43751         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43752         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43753         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43754         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43755         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43757         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43758         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43759         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43762         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43763         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43764         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43765         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43766         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43767         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43769         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43772         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43773         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43774         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43775         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43776         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43780         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43781         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43782         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43783         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43785         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43786         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43787         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43791         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43796         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43797         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43799         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43801         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43802         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43803         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43804         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43805         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43809         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43810         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43811         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43818         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43819         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43820         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43821         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43822         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43823         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43824         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43825         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43826         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43827         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43828         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43829         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43833         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43836         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43838         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43843         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43855         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43856         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43859         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43860         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43861         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43862         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43863         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43864         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43865         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43866         * sysdeps/ieee754/s_lib_version.c: Likewise.
43867         * sysdeps/ieee754/s_matherr.c: Likewise.
43868         * sysdeps/ieee754/s_signgam.c: Likewise.
43869         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43870         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43871         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43872         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43873         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43874         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43875         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43876         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43877         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43878         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43879         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43880         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43881         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43883         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43884         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43885         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43886         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43887         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43889         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43891 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43893         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43894         * sunrpc/rpc_main.c: Likewise.
43895         * sunrpc/rpc_svcout.c: Likewise.
43897 2012-03-09  David S. Miller  <davem@davemloft.net>
43899         * include/math_private.h: New file.
43901 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43903         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43904         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43905         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43906         from <bits/socket_type.h>.
43907         (enum __socket_type): Don't define here.
43908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43910         bits/socket_type.h.
43912         [BZ #13566]
43913         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43914         checking __USE_GNU.
43916         * Makerules ($(inst_includedir)/%.h): New rule.
43917         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43918         (install-others): Remove variable setting.
43919         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43921 2012-03-08  Richard Henderson  <rth@twiddle.net>
43923         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43924         from macro to inline function; merge with the
43925         !__LIBC_INTERNAL_MATH_INLINES version.
43926         (__ieee754_sqrtf): Likewise.
43928         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43929         to inline function.
43930         (__rintf, __floor, __floorf): Likewise.
43932         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43933         macro to inline function.
43934         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43936         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43937         not <math/math_private.h>.
43939 2012-03-08  David S. Miller  <davem@davemloft.net>
43941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43942         copyright year.
43943         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43945 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43947         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43948         normalization.
43949         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43950         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43952 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43954         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43955         be defined individually, they must be defined as a block.  Define
43956         S for printing a string instead of hidint the different by using a
43957         macro for adding the 'l'.
43958         * stdio-common/tst-fphex-wide.c: Adjust.
43960 2012-03-07  Marek Polacek  <polacek@redhat.com>
43962         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43964 2012-03-08  Marek Polacek  <polacek@redhat.com>
43966         [BZ #13806]
43967         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43968         * stdio-common/tst-fphex.c: Define a few macros to make the
43969         test reusable.  Use them.
43970         * stdio-common/tst-fphex-wide.c: New file.
43972 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43974         [BZ #6911]
43975         * manual/macros.texi (gnusystems): New macro.
43976         (nongnusystems): Likewise.
43977         (gnulinuxhurdsystems): Likewise.
43978         (gnuhurdsystems): Likewise..
43979         (gnulinuxsystems): Likewise.
43980         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43981         variants of the GNU system, not "GNU system".
43982         * manual/conf.texi: Likewise.
43983         * manual/errno.texi: Likewise.  Update example of errno macro
43984         expansion.
43985         * manual/filesys.texi: Likewise.
43986         (getumask): Document as specific to GNU/Hurd.
43987         * manual/install.texi: Likewise.  Reword some references to
43988         GNU/Linux.
43989         * manual/intro.texi: Likewise.
43990         * manual/io.texi: Likewise.
43991         (File Name Portability): Detail which constraints are inapplicable
43992         to all GNU systems and which are only inapplicable to GNU/Hurd.
43993         * manual/job.texi: Likewise.
43994         * manual/llio.texi: Likewise.
43995         (O_NOCTTY): Document as present on GNU/Linux.
43996         * manual/maint.texi: Likewise.
43997         * manual/memory.texi: Likewise.
43998         * manual/pattern.texi: Likewise.
43999         * manual/pipe.texi: Likewise.
44000         * manual/process.texi: Likewise.
44001         * manual/resource.texi: Likewise.
44002         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44003         child on GNU/Hurd.
44004         * manual/setjmp.texi: Likewise.
44005         * manual/signal.texi: Likewise.
44006         * manual/startup.texi: Likewise.
44007         * manual/stdio.texi: Likewise.
44008         * manual/terminal.texi: Likewise.
44009         (ONLCR): Document as POSIX.
44010         (OXTABS): Document availability on GNU/Linux as XTABS.
44011         (ONOEOT): Document availability separately from other bits.
44012         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44013         * manual/time.texi: Likewise.
44014         * manual/users.texi: Likewise.
44015         * INSTALL: Regenerated.
44016         * sysdeps/gnu/errlist.c: Regenerated.
44018         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44019         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44020         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44021         puts.
44022         * configure: Regenerated.
44024 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44026         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44027         default includes instead of AC_HEADER_CHECK.
44028         * sysdeps/i386/configure: Regenerated.
44030         [BZ #10716]
44031         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44032         * math/s_cacoshf.c (__cacoshf): Likewise.
44033         * math/s_cacoshl.c (__cacoshl): Likewise.
44034         * math/s_casinh.c (__casinh): Set signs of result from argument.
44035         * math/s_casinhf.c (__casinhf): Likewise.
44036         * math/s_casinhl.c (__casinhl): Likewise.
44037         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44038         (casinh_test): Add more tests.
44039         * sysdeps/i386/fpu/libm-test-ulps: Update.
44040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44042 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44044         * po/zh_TW.po: Update from translation team.
44046         * login/Makefile (distribute): Remove variable.
44047         * catgets/Makefile: Likewise.
44048         * mach/Makefile: Likewise.
44049         * malloc/Makefile: Likewise.
44050         * misc/Makefile: Likewise.
44051         * iconv/Makefile: Likewise.
44052         * nscd/Makefile: Likewise.
44053         * hurd/Makefile: Likewise.
44054         * manual/Makefile: Likewise.
44055         * locale/Makefile: Likewise.
44056         * intl/Makefile: Likewise.
44057         * conform/Makefile: Likewise.
44058         * nss/Makefile: Likewise.
44059         * time/Makefile: Likewise.
44060         * soft-fp/Makefile: Likewise.
44061         * dirent/Makefile: Likewise.
44062         * gmon/Makefile: Likewise.
44063         * po/Makefile: Likewise.
44064         * rt/Makefile: Likewise.
44065         * socket/Makefile: Likewise.
44066         * math/Makefile: Likewise.
44067         * signal/Makefile: Likewise.
44068         * debug/Makefile: Likewise.
44069         * elf/Makefile: Likewise.
44070         * timezone/Makefile: Likewise.
44071         * stdlib/Makefile: Likewise.
44072         * iconvdata/Makefile: Likewise.
44073         * sunrpc/Makefile: Likewise.
44074         * io/Makefile: Likewise.
44075         * argp/Makefile: Likewise.
44076         * inet/Makefile: Likewise.
44077         * hesiod/Makefile: Likewise.
44078         * grp/Makefile: Likewise.
44079         * csu/Makefile: Likewise.
44080         * wctype/Makefile: Likewise.
44081         * crypt/Makefile: Likewise.
44082         * libio/Makefile: Likewise.
44083         * string/Makefile: Likewise.
44084         * nis/Makefile: Likewise.
44085         * resolv/Makefile: Likewise.
44086         * stdio-common/Makefile: Likewise.
44087         * wcsmbs/Makefile: Likewise.
44088         * dlfcn/Makefile: Likewise.
44089         * posix/Makefile: Likewise.
44091         [BZ #6959]
44092         * timezone/Makefile: Don't install timezone files, just the programs
44093         and scripts.
44095 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44097         * nss/databases.def: Add missing gshadow entry.
44099         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44101 2012-03-06  Marek Polacek  <polacek@redhat.com>
44103         [BZ #13726]
44104         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44105         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44106         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44107         * stdio-common/tst-long-dbl-fphex.c: New file.
44109 2012-03-06  David S. Miller  <davem@davemloft.net>
44111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44112         (set_obp_int): New function.
44113         (get_obp_int): New function.
44114         (__get_clockfreq_via_dev_openprom): Likewise.
44115         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44116         Avoid unused variable warnings on 'val' and use builtin_expect.
44117         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44118         __builtin_expect.
44119         (INLINE_CLONE_SYSCALL): Likewise.
44121 2012-03-05  David S. Miller  <davem@davemloft.net>
44123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44125 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44129         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44130         only for |x| >= 40.
44131         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44133 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44136         Replace gettimeofday with __vdso_gettimeofday.
44138         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44139         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44140         __vdso_clock_gettime and __vdso_getcpu.
44142         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44143         time with __vdso_time.
44145 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44147         * manual/lang.texi (size_t): Note types to which size_t may be
44148         equivalent with the GNU C Library, but do not describe when
44149         differences between them are significant.
44151 2012-03-05  Andreas Jaeger  <aj@suse.de>
44153         * sysdeps/i386/fpu/libm-test-ulps: Update.
44155 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44157         [BZ #3976]
44158         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44159         (__ieee754_pow): Save and restore rounding mode and use
44160         round-to-nearest for main computations.
44161         * math/libm-test.inc (pow_test_tonearest): New function.
44162         (pow_test_towardzero): Likewise.
44163         (pow_test_downward): Likewise.
44164         (pow_test_upward): Likewise.
44165         (main): Call the new functions.
44166         * sysdeps/i386/fpu/libm-test-ulps: Update.
44167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44169         [BZ #3976]
44170         * math/libm-test.inc (cosh_test_tonearest): New function.
44171         (cosh_test_towardzero): Likewise.
44172         (cosh_test_downward): Likewise.
44173         (cosh_test_upward): Likewise.
44174         (sinh_test_tonearest): Likewise.
44175         (sinh_test_towardzero): Likewise.
44176         (sinh_test_downward): Likewise.
44177         (sinh_test_upward): Likewise.
44178         (main): Call the new functions.
44179         * sysdeps/i386/fpu/libm-test-ulps: Update.
44180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44182 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44184         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44185         default stack guard is set in last bytes.
44186         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44188 2012-03-05  Kees Cook  <keescook@chromium.org>
44190         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44192         [BZ #13656]
44193         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44194         possibly allocate from heap instead of stack.
44195         * stdio-common/bug-vfprintf-nargs.c: New file.
44196         * stdio-common/Makefile (tests): Add nargs overflow test.
44198 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44202 2012-03-03  Marek Polacek  <polacek@redhat.com>
44204         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44205         * math/math_private.h: Likewise.
44206         * stdlib/tst-strtod.c: Likewise.
44207         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44208         * sysdeps/x86_64/bits/atomic.h: Likewise.
44210 2012-03-02  David S. Miller  <davem@davemloft.net>
44212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44216         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44217         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44218         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44219         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44221 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44223         [BZ #13792]
44224         * manual/examples/README: New file, says the example source files
44225         can be used under GPL>=2.
44226         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44227         line containing just "*/".
44228         * manual/examples/add.c: Add copyright header (GPL>=2).
44229         * manual/examples/argp-ex1.c: Likewise.
44230         * manual/examples/argp-ex2.c: Likewise.
44231         * manual/examples/argp-ex3.c: Likewise.
44232         * manual/examples/argp-ex4.c: Likewise.
44233         * manual/examples/atexit.c: Likewise.
44234         * manual/examples/db.c: Likewise.
44235         * manual/examples/dir.c: Likewise.
44236         * manual/examples/dir2.c: Likewise.
44237         * manual/examples/execinfo.c: Likewise.
44238         * manual/examples/filecli.c: Likewise.
44239         * manual/examples/filesrv.c: Likewise.
44240         * manual/examples/fmtmsgexpl.c: Likewise.
44241         * manual/examples/genpass.c: Likewise.
44242         * manual/examples/inetcli.c: Likewise.
44243         * manual/examples/inetsrv.c: Likewise.
44244         * manual/examples/isockad.c: Likewise.
44245         * manual/examples/longopt.c: Likewise.
44246         * manual/examples/memopen.c: Likewise.
44247         * manual/examples/memstrm.c: Likewise.
44248         * manual/examples/mkfsock.c: Likewise.
44249         * manual/examples/mkisock.c: Likewise.
44250         * manual/examples/mygetpass.c: Likewise.
44251         * manual/examples/pipe.c: Likewise.
44252         * manual/examples/popen.c: Likewise.
44253         * manual/examples/rprintf.c: Likewise.
44254         * manual/examples/search.c: Likewise.
44255         * manual/examples/select.c: Likewise.
44256         * manual/examples/setjmp.c: Likewise.
44257         * manual/examples/sigh1.c: Likewise.
44258         * manual/examples/sigusr.c: Likewise.
44259         * manual/examples/stpcpy.c: Likewise.
44260         * manual/examples/strdupa.c: Likewise.
44261         * manual/examples/strftim.c: Likewise.
44262         * manual/examples/strncat.c: Likewise.
44263         * manual/examples/subopt.c: Likewise.
44264         * manual/examples/swapcontext.c: Likewise.
44265         * manual/examples/termios.c: Likewise.
44266         * manual/examples/testopt.c: Likewise.
44267         * manual/examples/testpass.c: Likewise.
44268         * manual/examples/timeval_subtract.c: Likewise.
44270         [BZ #13792]
44271         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44272         function to ...
44273         * manual/timeval_subtract.c.texi: ... here, new file.
44275 2012-03-02  David S. Miller  <davem@davemloft.net>
44277         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44279 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44281         [BZ #3976]
44282         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44283         (__sin): Save and restore rounding mode and use round-to-nearest
44284         for all computations.
44285         (__cos): Save and restore rounding mode and use round-to-nearest
44286         for all computations.
44287         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44288         <fenv.h>.
44289         (tan): Save and restore rounding mode and use round-to-nearest for
44290         all computations.
44291         * math/libm-test.inc (cos_test_tonearest): New function.
44292         (cos_test_towardzero): Likewise.
44293         (cos_test_downward): Likewise.
44294         (cos_test_upward): Likewise.
44295         (sin_test_tonearest): Likewise.
44296         (sin_test_towardzero): Likewise.
44297         (sin_test_downward): Likewise.
44298         (sin_test_upward): Likewise.
44299         (tan_test_tonearest): Likewise.
44300         (tan_test_towardzero): Likewise.
44301         (tan_test_downward): Likewise.
44302         (tan_test_upward): Likewise.
44303         (main): Call the new functions.
44304         * sysdeps/i386/fpu/libm-test-ulps: Update.
44305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44307         [BZ #10135]
44308         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44309         small n, then large n, before computing and testing k+n.
44310         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44311         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44312         Likewise.
44313         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44314         Likewise.
44315         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44316         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44318         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44322         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44323         * math/libm-test.inc (scalbn_test): Add more tests.
44324         (scalbln_test): Likewise.
44326         * manual/filesys.texi (mode_t): Describe constraints on size and
44327         signedness, not exact equivalence to a particular type.
44328         (ino_t): Likewise.
44329         (ino64_t): Likewise.
44330         (dev_t): Likewise.
44331         (nlink_t): Likewise.
44332         (blkcnt_t): Likewise.
44333         (blkcnt64_t): Likewise.
44334         * manual/llio.texi (off_t): Likewise.
44336         [BZ #3976]
44337         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44338         (__ieee754_exp): Save and restore rounding mode and use
44339         round-to-nearest for all computations.
44340         * math/libm-test.inc (exp_test_tonearest): New function.
44341         (exp_test_towardzero): Likewise.
44342         (exp_test_downward): Likewise.
44343         (exp_test_upward): Likewise.
44344         (main): Call the new functions.
44345         * sysdeps/i386/fpu/libm-test-ulps: Update.
44346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44348 2012-03-01  Chris Demetriou  <cgd@google.com>
44350         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44351         have predictable order.
44353 2012-03-01  David S. Miller  <davem@davemloft.net>
44355         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44357         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44358         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44359         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44360         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44362         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44363         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44364         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44366         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44367         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44368         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44369         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44370         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44375         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44376         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44378         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44379         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44380         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44381         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44382         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44383         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44384         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44385         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44386         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44387         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44388         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44389         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44391         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44392         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44394         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44395         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44396         * sysdeps/sparc/elf/configure: Regenerated.
44398 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44400         * configure.in (AS, LD): Require binutils 2.20 or later.
44401         * configure: Regenerated.
44402         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44403         as required minimum version.
44404         * INSTALL: Regenerated.
44406         [BZ #2541]
44407         [BZ #4108]
44408         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44409         before squaring exponent.
44410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44411         bottom long double and 27 bits of top long double before squaring
44412         exponent.
44413         * math/libm-test.inc (erfc_test): Add more tests.
44414         * sysdeps/i386/fpu/libm-test-ulps: Update.
44415         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44418 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44420         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44421         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44422         containing bit-fields.
44423         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44424         * soft-fp/single.h (_FP_UNION_S): Likewise.
44425         * soft-fp/double.h (_FP_UNION_D): Likewise.
44427 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44429         [BZ #13786]
44430         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44431         not include ../strcmp.S.
44432         [USE_AS_STRNCASECMP_L]: Likewise.
44433         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44434         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44435         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44436         (__strncasecmp_l_ia32): Define as alias to
44437         __strncasecmp_l_nonascii.
44439         [BZ #5794]
44440         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44441         * sysdeps/i386/fpu/libm-test-ulps: Update.
44442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44444         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44447 2012-02-29  Jeff Law  <law@redhat.com>
44449         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44450         out of bounds read.
44452 2012-02-29  Marek Polacek  <polacek@redhat.com>
44454         [BZ #13706]
44455         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44456         * elf/Makefile: Add rules to run tst-unused-dep.out.
44458 2012-02-28  David S. Miller  <davem@davemloft.net>
44460         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44461         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44462         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44463         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44464         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44465         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44467 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44469         * math/libm-test.inc (llround_test): Move one test from
44470         lround_test.  Use TEST_f_L in moved test.
44471         (lround_test): Move misplaced test to llround_test.  Add testcase
44472         from bug 2561.
44474 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44476         * sysdeps/x86_64/fpu/e_expf.S: New file.
44477         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44479 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44481         [BZ #13637]
44482         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44483         of remain_len that may cause incomplete multi-byte character and
44484         false match.
44485         * posix/bug-regex33.c: New file.
44486         * posix/Makefile (tests): Add bug-regex33.
44488 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44490         * manual/macros.texi: New file.
44491         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44492         * manual/libc.texinfo: Include macros.texi.
44493         * manual/creatute.texi: Likewise.
44494         * manual/install.texi: Likewise.
44495         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44496         @glibcadj{} in references to the GNU C Library.
44497         * manual/charset.texi: Likewise.
44498         * manual/conf.texi: Likewise.
44499         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44500         when not using those macros.
44501         * manual/creature.texi: Likewise.
44502         * manual/crypt.texi: Likewise.
44503         * manual/errno.texi: Likewise.
44504         * manual/filesys.texi: Likewise.
44505         * manual/header.texi: Likewise.
44506         * manual/install.texi: Likewise.
44507         * manual/intro.texi: Likewise.
44508         * manual/io.texi: Likewise.
44509         * manual/job.texi: Likewise.
44510         * manual/lang.texi: Likewise.
44511         * manual/libc.texiinfo: Likewise.
44512         * manual/llio.texi: Likewise.
44513         * manual/locale.texi: Likewise.
44514         * manual/maint.texi: Likewise.
44515         * manual/math.texi: Likewise.
44516         * manual/memory.texi: Likewise.
44517         * manual/message.texi: Likewise.
44518         * manual/nss.texi: Likewise.
44519         * manual/pattern.texi: Likewise.
44520         * manual/process.texi: Likewise.
44521         * manual/resource.texi: Likewise.
44522         * manual/search.texi: Likewise.
44523         * manual/setjmp.texi: Likewise.
44524         * manual/signal.texi: Likewise.
44525         * manual/socket.texi: Likewise.
44526         * manual/startup.texi: Likewise.
44527         * manual/stdio.texi: Likewise.
44528         * manual/string.texi: Likewise.
44529         * manual/sysinfo.texi: Likewise.
44530         * manual/syslog.texi: Likewise.
44531         * manual/terminal.texi: Likewise.
44532         * manual/time.texi: Likewise.
44533         * manual/users.texi: Likewise.
44534         * INSTALL: Regenerated.
44535         * NOTES: Regenerated.
44536         * sysdeps/gnu/errlist.c: Regenerated.
44538 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
44540         * include/dirent.h: Include <dirstream.h> before
44541         <dirent/dirent.h>.
44543 2012-02-28  David S. Miller  <davem@davemloft.net>
44545         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44546         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44547         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44548         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44550 2012-02-27  David S. Miller  <davem@davemloft.net>
44552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44554         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44555         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44558         frame pointer instead of stack pointer relative arg slot.
44559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44563 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
44565         [BZ #3992]
44566         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44568 2012-02-27  David S. Miller  <davem@davemloft.net>
44570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44576         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44577         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44579 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44581         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44582         later.  Allow versions 5-9.
44583         * configure: Regenerated.
44584         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44585         required minimum version and 4.6 as recommended version.  Do not
44586         mention bugs in GCC 2.7 and 2.8.
44587         * INSTALL: Regenerated.
44589 2012-02-27  David S. Miller  <davem@davemloft.net>
44591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44597         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44600         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44601         manipulate bits before adding and subtracting TWO112[sx].
44602         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44604 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44606         [BZ #13775]
44607         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44608         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44609         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44610         being in POSIX, because they are in 1003.1-2008.
44612         * rt/tst-aio.c: Include <fcntl.h>.
44613         * rt/tst-aio7.c: Likewise.
44614         * rt/tst-aio64.c: Likewise.
44616         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44618 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44620         * manual/install.texi (--with-headers): Describe headers as
44621         interface headers, not private headers.
44622         (Specific advice for GNU/Linux systems): Describe use of headers
44623         from "make headers_install", not private headers from older
44624         kernels.
44625         * INSTALL: Regenerated.
44626         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44627         Change to 2.6.19.
44628         * sysdeps/unix/sysv/linux/configure: Regenerated.
44630         * manual/llio.texi (fclean): Remove documentation.
44632         * manual/Makefile (libc-texi-generated): New variable.  Include
44633         version.texi.
44634         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44635         $(libc-texi-generated), not duplicated list of files.
44636         (version.texi, stamp-version): New rules.
44637         (realclean): Remove $(libc-texi-generated), not individual files
44638         from that list.  Do not remove dir-add.texinfo.
44639         * manual/libc.texinfo: Comment out uses of edition numbers and
44640         references to printed manual.  Remove last-updated dates.
44641         (EDITION): Comment out.
44642         (ISBN): Likewise.
44643         (VERSION, UPDATED): Remove.
44644         (version.texi): Include.
44646 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44648         * sysdeps/posix/spawni.c: Include <signal.h>.
44649         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44650         * sysdeps/pthread/aio_fsync.c: Likewise.
44652 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44654         * conform/Makefile (tests): Run only when not cross-compiling and
44655         when fast-check is not defined.
44657         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44658         * conform/data/limits.h-data: Fixes for POSIX2008.
44659         * conform/run-conformtest.sh: Run all tests.
44660         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44661         headers.
44662         * include/bits/dlfcn.h: Likewise.
44663         * include/langinfo.h: Likewise.
44664         * include/monetary.h: Likewise.
44665         * include/sys/poll.h: Likewise.
44667         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44668         for __USE_GNU.
44669         * posix/spawn.h: Define __need_sigset_t.
44670         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44671         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44672         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44673         to get sigevent_t only.
44674         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44675         only for __USE_GNU.
44676         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44677         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44678         process_vm_writev only for __USE_GNU.
44679         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44681         * conform/Makefile: For now ignore errors from run-conformtest.
44682         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44683         POSIX to avoid namespace pollution.  Don't prepend headers.
44684         * conform/data/aio.h-data: Fixes for POSIX testing.
44685         * conform/data/fcntl.h-data: Likewise.
44686         * conform/data/glob.h-data: Likewise.
44687         * conform/data/grp.h-data: Likewise.
44688         * conform/data/pthread.h-data: Likewise.
44689         * conform/data/pwd.h-data: Likewise.
44690         * conform/data/signal.h-data: Likewise.
44691         * conform/data/spawn.h-data: Likewise.
44692         * conform/data/stdio.h-data: Likewise.
44693         * conform/data/stdlib.h-data: Likewise.
44694         * conform/data/stropts.h-data: Likewise.
44695         * conform/data/sys/mman.h-data: Likewise.
44696         * conform/data/sys/stat.h-data: Likewise.
44697         * conform/data/sys/types.h-data: Likewise.
44698         * conform/data/sys/wait.h-data: Likewise.
44699         * conform/data/time.h-data: Likewise.
44700         * conform/data/unistd.h-data: Likewise.
44701         * conform/data/utime.h-data: Likewise.
44703         * io/sys/stat.h: fchmod was always in POSIX.
44704         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44705         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44706         * rt/aio.h: Define __need_timespec before including <time.h>.
44707         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44708         struct.  Add forward declaration of pthread_attr_t and use it in
44709         sigevent.
44710         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44711         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44712         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44713         always remove CLK_TCK definition.
44715 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44717         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44719 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44721         * conform/run-conformtest.sh: New file.
44722         * conform/Makefile: Run run-conformtest for tests.
44723         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44724         support.
44726         * conform/data/uchar.h-data: New file.
44727         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44728         * conform/data/arpa/inet.h-data: Likewise.
44729         * conform/data/assert.h-data: Likewise.
44730         * conform/data/complex.h-data: Likewise.
44731         * conform/data/cpio.h-data: Likewise.
44732         * conform/data/ctype.h-data: Likewise.
44733         * conform/data/dirent.h-data: Likewise.
44734         * conform/data/dlfcn.h-data: Likewise.
44735         * conform/data/errno.h-data: Likewise.
44736         * conform/data/fcntl.h-data: Likewise.
44737         * conform/data/float.h-data: Likewise.
44738         * conform/data/fmtmsg.h-data: Likewise.
44739         * conform/data/fnmatch.h-data: Likewise.
44740         * conform/data/ftw.h-data: Likewise.
44741         * conform/data/glob.h-data: Likewise.
44742         * conform/data/grp.h-data: Likewise.
44743         * conform/data/iconv.h-data: Likewise.
44744         * conform/data/inttypes.h-data: Likewise.
44745         * conform/data/langinfo.h-data: Likewise.
44746         * conform/data/libgen.h-data: Likewise.
44747         * conform/data/limits.h-data: Likewise.
44748         * conform/data/locale.h-data: Likewise.
44749         * conform/data/math.h-data: Likewise.
44750         * conform/data/monetary.h-data: Likewise.
44751         * conform/data/mqueue.h-data: Likewise.
44752         * conform/data/ndbm.h-data: Likewise.
44753         * conform/data/net/if.h-data: Likewise.
44754         * conform/data/netdb.h-data: Likewise.
44755         * conform/data/netinet/in.h-data: Likewise.
44756         * conform/data/nl_types.h-data: Likewise.
44757         * conform/data/poll.h-data: Likewise.
44758         * conform/data/pthread.h-data: Likewise.
44759         * conform/data/pwd.h-data: Likewise.
44760         * conform/data/regex.h-data: Likewise.
44761         * conform/data/sched.h-data: Likewise.
44762         * conform/data/search.h-data: Likewise.
44763         * conform/data/semaphore.h-data: Likewise.
44764         * conform/data/setjmp.h-data: Likewise.
44765         * conform/data/signal.h-data: Likewise.
44766         * conform/data/spawn.h-data: Likewise.
44767         * conform/data/stdarg.h-data: Likewise.
44768         * conform/data/stdio.h-data: Likewise.
44769         * conform/data/stdlib.h-data: Likewise.
44770         * conform/data/string.h-data: Likewise.
44771         * conform/data/strings.h-data: Likewise.
44772         * conform/data/stropts.h-data: Likewise.
44773         * conform/data/sys/ipc.h-data: Likewise.
44774         * conform/data/sys/mman.h-data: Likewise.
44775         * conform/data/sys/msg.h-data: Likewise.
44776         * conform/data/sys/resource.h-data: Likewise.
44777         * conform/data/sys/select.h-data: Likewise.
44778         * conform/data/sys/sem.h-data: Likewise.
44779         * conform/data/sys/shm.h-data: Likewise.
44780         * conform/data/sys/socket.h-data: Likewise.
44781         * conform/data/sys/stat.h-data: Likewise.
44782         * conform/data/sys/statvfs.h-data: Likewise.
44783         * conform/data/sys/time.h-data: Likewise.
44784         * conform/data/sys/timeb.h-data: Likewise.
44785         * conform/data/sys/times.h-data: Likewise.
44786         * conform/data/sys/types.h-data: Likewise.
44787         * conform/data/sys/uio.h-data: Likewise.
44788         * conform/data/sys/un.h-data: Likewise.
44789         * conform/data/sys/utsname.h-data: Likewise.
44790         * conform/data/sys/wait.h-data: Likewise.
44791         * conform/data/syslog.h-data: Likewise.
44792         * conform/data/tar.h-data: Likewise.
44793         * conform/data/termios.h-data: Likewise.
44794         * conform/data/utime.h-data: Likewise.
44795         * conform/data/utmpx.h-data: Likewise.
44796         * conform/data/varargs.h-data: Likewise.
44797         * conform/data/wchar.h-data: Likewise.
44798         * conform/data/wctype.h-data: Likewise.
44799         * conform/data/wordexp.h-data: Likewise.
44801         * include/stropts.h: New file.
44802         * include/uchar.h: New file.
44803         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44804         * include/assert.h: Likewise.
44805         * include/ctype.h: Likewise.
44806         * include/dirent.h: Likewise.
44807         * include/dlfcn.h: Likewise.
44808         * include/fcntl.h: Likewise.
44809         * include/fnmatch.h: Likewise.
44810         * include/glob.h: Likewise.
44811         * include/grp.h: Likewise.
44812         * include/libio.h: Likewise.
44813         * include/locale.h: Likewise.
44814         * include/math.h: Likewise.
44815         * include/net/if.h: Likewise.
44816         * include/netdb.h: Likewise.
44817         * include/netinet/in.h: Likewise.
44818         * include/pthread.h: Likewise.
44819         * include/pwd.h: Likewise.
44820         * include/regex.h: Likewise.
44821         * include/sched.h: Likewise.
44822         * include/search.h: Likewise.
44823         * include/setjmp.h: Likewise.
44824         * include/signal.h: Likewise.
44825         * include/stdio.h: Likewise.
44826         * include/stdlib.h: Likewise.
44827         * include/string.h: Likewise.
44828         * include/sys/cdefs.h: Likewise.
44829         * include/sys/mman.h: Likewise.
44830         * include/sys/msg.h: Likewise.
44831         * include/sys/resource.h: Likewise.
44832         * include/sys/select.h: Likewise.
44833         * include/sys/socket.h: Likewise.
44834         * include/sys/stat.h: Likewise.
44835         * include/sys/statvfs.h: Likewise.
44836         * include/sys/time.h: Likewise.
44837         * include/sys/times.h: Likewise.
44838         * include/sys/uio.h: Likewise.
44839         * include/sys/utsname.h: Likewise.
44840         * include/sys/wait.h: Likewise.
44841         * include/termios.h: Likewise.
44842         * include/time.h: Likewise.
44843         * include/ulimit.h: Likewise.
44844         * include/unistd.h: Likewise.
44845         * include/utime.h: Likewise.
44846         * include/wchar.h: Likewise.
44847         * include/wctype.h: Likewise.
44848         * include/wordexp.h: Likewise.
44850         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44852         * time/time.h: TIME_UTC must be a macro.
44853         Make timespec_get available for ISO C11 only as well.
44855 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44857         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44858         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44860 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44862         * configure.in: Use -o not -a in test for unsupported multi-arch.
44864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44866         * manual/texinfo.tex: Update to version 2012-01-19.16.
44868 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44870         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44872 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44874         [BZ #13738]
44875         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44876         * manual/fdl-1.3.texi: New file.
44877         * manual/fdl-1.1.texi: File removed.
44879         [BZ #13738]
44880         * manual/libc.texinfo (FDL_VERSION): New @set.
44881         Use it for mention of FDL in cover text.
44882         (Documentation License): Use it in @include file name.
44884 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44885             Roland McGrath  <roland@hack.frob.com>
44887         [BZ #5461]
44888         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44889         (not LONG_LONG_MAX and LONG_LONG_MIN.
44890         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44891         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44892         name.
44893         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44897         [BZ #2547]
44898         [BZ #11365]
44899         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44900         manipulate bits before adding and subtracting TWO23[sx].
44901         * math/libm-test.inc (nearbyint_test): Add more tests.
44903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44905         [BZ #2548]
44906         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44907         bits before adding and subtracting TWO23[sx].
44908         * math/libm-test.inc (rint_test): Add more tests.
44909         (rint_test_tonearest): Likewise.
44910         (rint_test_towardzero): Likewise.
44911         (rint_test_downward): Likewise.
44912         (rint_test_upward: Likewise.
44914 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44916         [BZ #10110]
44917         * include/stdc-predef.h: New file.  Extracted from features.h.
44918         * include/features.h: Include stdc-predef.h.
44919         * Makefile (headers): Add stdc-predef.h.
44920         * CONFORMANCE (Compiler limitations): Update.
44922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44924         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44926 2012-02-21  David S. Miller  <davem@davemloft.net>
44928         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44929         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44931 2012-02-20  David S. Miller  <davem@davemloft.net>
44933         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44934         using a normal save/restore sequence, rather than allocating a
44935         dummy stack frame just to store a frame pointer and restore.
44936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44938 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44940         * manual/install.texi: Fix stray word in line-wrapped comment.
44942 2012-02-20  David S. Miller  <davem@davemloft.net>
44944         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44945         both binutils and gcc support GOTDATA.
44947         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44948         "rd %pc" in the PIC register setup sequences.
44950         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44951         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44952         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44953         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44954         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44955         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44956         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44959         (SYSCALL_ERROR_HANDLER): Likewise.
44960         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44961         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44963         (SYSCALL_ERROR_HANDLER): Likewise.
44965         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44966         (HAVE_GCC_GOTDATA): New.
44967         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44968         relocation support in both binutils and gcc.
44969         * sysdeps/sparc/elf/configure: Regenerate.
44971         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44972         * sysdeps/sparc/sparc32/elf/configure: Delete.
44973         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44974         * sysdeps/sparc/sparc64/elf/configure: Delete.
44975         * sysdeps/sparc/elf/configure.in: New file.
44976         * sysdeps/sparc/elf/configure: Generate.
44978         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44979         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44980         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44981         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44982         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44984 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44986         * manual/install.texi: Do not mention specific glibc version
44987         numbers.
44988         * manual/libc.texinfo (VERSION, UPDATED): Update.
44989         (@copying): Use @copyright{} and range of years.
44991 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44993         [BZ #13695]
44994         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44995         [crti.S not in sysdirs] (generated): Do not append.
44996         [crti.S not in sysdirs] (omit-deps): Likewise.
44997         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44998         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44999         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45000         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45001         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45002         Likewise.
45003         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45004         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45005         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45006         * csu/defs.awk: Remove file.
45007         * sysdeps/generic/initfini.c: Likewise.
45008         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45009         variable.
45010         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45011         Likewise.
45013 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45015         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45016         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45017         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45019         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45020         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45021         <bits/epoll.h>.
45022         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45023         (__EPOLL_PACKED): Define to empty if not defined by
45024         <bits/epoll.h>.
45025         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45027         bits/epoll.h.
45029 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45031         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45032         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45034         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45035         <bits/timerfd.h>.
45036         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45038         bits/timerfd.h.
45040 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45042         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45043         in C locale.
45044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45045         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45049 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45051         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45052         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45054 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45056         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45057         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45058         defined.
45059         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45060         Likewise.
45061         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45062         entry for 2.16.
45064 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45066         * math/w_acos.c: Use non-signaling floating-point comparisons.
45067         * math/w_acosf.c: Likewise.
45068         * math/w_acosh.c: Likewise.
45069         * math/w_acoshf.c: Likewise.
45070         * math/w_acoshl.c: Likewise.
45071         * math/w_acosl.c: Likewise.
45072         * math/w_asin.c: Likewise.
45073         * math/w_asinf.c: Likewise.
45074         * math/w_asinl.c: Likewise.
45075         * math/w_atanh.c: Likewise.
45076         * math/w_atanhf.c: Likewise.
45077         * math/w_atanhl.c: Likewise.
45078         * math/w_exp2.c: Likewise.
45079         * math/w_exp2f.c: Likewise.
45080         * math/w_exp2l.c: Likewise.
45081         * math/w_j0.c: Likewise.
45082         * math/w_j0f.c: Likewise.
45083         * math/w_j0l.c: Likewise.
45084         * math/w_j1.c: Likewise.
45085         * math/w_j1f.c: Likewise.
45086         * math/w_j1l.c: Likewise.
45087         * math/w_jn.c: Likewise.
45088         * math/w_jnf.c: Likewise.
45089         * math/w_log.c: Likewise.
45090         * math/w_log10.c: Likewise.
45091         * math/w_log10f.c: Likewise.
45092         * math/w_log10l.c: Likewise.
45093         * math/w_log2.c: Likewise.
45094         * math/w_log2f.c: Likewise.
45095         * math/w_log2l.c: Likewise.
45096         * math/w_logf.c: Likewise.
45097         * math/w_logl.c: Likewise.
45098         * math/w_sqrt.c: Likewise.
45099         * math/w_sqrtf.c: Likewise.
45100         * math/w_sqrtl.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45102         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45103         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45104         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45105         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45107 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45109         [BZ #9739]
45110         * manual/string.texi (strnlen): Use correct parameter name in
45111         equivalent expression.
45113 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45115         [BZ #11174]
45116         * manual/users.texi (seteuid): Consistently use neweuid for
45117         argument name.
45119 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45121         [BZ #13704]
45122         * manual/nss.texi (Services in the NSS configuration): Correct
45123         list of services in example configuration file.
45125 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45127         [BZ #11322]
45128         * manual/arith.texi: Remove statements about negative zero
45129         behaving identically to zero.
45131 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45133         [BZ #5993]
45134         * manual/install.texi: Do not document upgrading from libc5.
45136 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45138         [BZ #4596]
45139         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45141 2012-02-18  David S. Miller  <davem@davemloft.net>
45143         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45144         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45145         %o7 across the call.
45146         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45147         instead.
45148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45149         SETUP_PIC_REG_LEAF.
45150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45151         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45152         * sysdeps/sparc/crtn.S: Likewise.
45154 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45156         * aout/Makefile: Remove.
45158 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45160         [BZ #13058]
45161         * manual/examples/argp-ex1.c (main): Format definition in GNU
45162         style.
45163         * manual/examples/argp-ex2.c (main): Likewise.
45164         * manual/examples/argp-ex3.c (main): Likewise.
45165         * manual/examples/argp-ex4.c (main): Likewise.
45166         * manual/examples/longopt.c (main): Use new-style prototype
45167         definition.
45168         * manual/examples/strncat.c (main): Specify return type and use
45169         (void) for arguments.
45170         * manual/examples/subopt.c (main): Use char **argv argument.
45172 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45174         [BZ #5077]
45175         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45176         rounding modes.
45178 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45180         [BZ #6907]
45181         * manual/string.texi (strchr): Change when strchrnul is
45182         recommended.
45184 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45186         [BZ #174]
45187         * manual/locale.texi (setlocale): Document LOCPATH.
45189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45191         [BZ #10210]
45192         * manual/process.texi (execle): Move @dots{} before last argument.
45194 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45196         [BZ #12047]
45197         * manual/charset.texi (Generic Charset Conversion): Fix typo
45198         (LC_TYPE -> LC_CTYPE).
45200 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45202         [BZ #5805]
45203         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45204         (scalbnf): Likewise.
45205         (scalbnl): Likewise.
45206         (scalbln): Likewise.
45207         (scalblnf): Likewise.
45208         (scalblnl): Likewise.
45209         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45210         (vwarnx): Likewise.
45211         (verr): Likewise.
45212         (verrx): Likewise.
45213         * manual/filesys.texi (telldir): Use braces around return type.
45214         * manual/llio.texi (mmap): Add space after comma.
45215         (mmap64): Likewise.
45216         * manual/math.texi (jn): Use @var{} on parameter names.
45217         (jnf): Likewise.
45218         (jnl): Likewise.
45219         (yn): Likewise.
45220         (ynf): Likewise.
45221         (ynl): Likewise.
45222         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45223         line.
45224         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45225         "...".
45226         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45227         (sched_get_priority_max): Likewise.
45228         * manual/signal.texi (sigvec): Add space after comma.
45229         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45230         names.
45231         (if_indextoname): Likewise.
45232         (if_freenameindex): Likewise.
45233         (sendto): Use ',' instead of '.' in prototype.
45234         * manual/startup.texi (syscall): Use @dots{} instead of literal
45235         "...".
45236         * manual/stdio.texi (__fpending): Separate initial words of
45237         paragraph from @deftypefun line.
45238         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45239         "...".
45240         (vsyslog): Use @var{} on parameter names.
45241         * manual/terminal.texi (stty): Use @var{} on parameter names.
45242         * manual/users.texi (getutmp): Use @var{} on parameter names.
45243         (getutmpx): Likewise.
45245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45247         [BZ #6884]
45248         * manual/stdio.texi (fopen): Fix typos in description of
45249         ",ccs=STRING".
45251 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45253         [BZ #4026]
45254         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45255         get clock_id definition.
45257 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45259         [BZ #4822]
45260         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45261         (madvise): Cast every argument to void on its own.
45263 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45265         [BZ #9902]
45266         * manual/startup.texi (Exit Status): Fix typo.
45268 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45270         [BZ #10140]
45271         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45272         * manual/examples/argp-ex2.c: Likewise.
45273         * manual/examples/argp-ex3.c: Likewise.
45275 2012-02-16  Richard Henderson  <rth@redhat.com>
45277         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45278         * sysdeps/s390/s390-32/initfini.c: Remove.
45279         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45280         * sysdeps/s390/s390-64/initfini.c: Remove.
45282 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45284         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45285         compiler output for sysdeps/generic/initfini.c.
45286         * sysdeps/sh/elf/initfini.c: Remove file.
45288 2012-02-16  David S. Miller  <davem@davemloft.net>
45290         [BZ #11494]
45291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45293         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45294         * sysdeps/sparc/crti.S: New file.
45295         * sysdeps/sparc/crtn.S: New file.
45296         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45297         * sysdeps/sparc/sparc64/Makefile: Likewise.
45299 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45301         [BZ #3335]
45302         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45304 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45306         [BZ #4822]
45307         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45309         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45310         (write, read, close): Likewise.
45311         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45313 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45315         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45316         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45317         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45318         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45319         <bits/signalfd.h>.
45320         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45322         bits/signalfd.h.
45324 2012-02-14  Marek Polacek  <polacek@redhat.com>
45326         * sysdeps/x86_64/crti.S: New file.
45327         * sysdeps/x86_64/crtn.S: New file.
45328         * sysdeps/x86_64/elf/initfini.c: Remove file.
45330 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45332         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45333         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45334         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45335         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45336         <bits/inotify.h>.
45337         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45339         bits/inotify.h.
45341 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45343         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45344         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45345         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45346         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45347         <bits/eventfd.h>.
45348         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45350         bits/eventfd.h.
45352 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45354         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45355         __feraiseexcept instead of feraiseexcept.
45357         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45358         nanosleep invocations.
45359         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45360         strings, and add error checking for a nanosleep invocations.
45362 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45364         Replace FSF snail mail address with URLs, as per GNU coding standards.
45365         Most of the snail mail addresses were wrong anyway, and omitting
45366         them makes the source code easier to maintain.  Almost all of the
45367         changes are to license notices and to locale LC_IDENTIFICATION
45368         addresses, except for this one:
45369         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45370         not its snail mail address.
45372 2012-02-09  Richard Henderson  <rth@twiddle.net>
45374         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45375         of kernel-features.h.
45377         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45379 2012-02-08  Marek Polacek  <polacek@redhat.com>
45381         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45382         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45383         * sysdeps/gnu/_G_config.h: Likewise.
45384         * sysdeps/generic/_G_config.h: Likewise.
45386 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45388         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45389         tests.
45390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45392         * sysdeps/powerpc/powerpc32/crti.S: New file.
45393         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45394         * sysdeps/powerpc/powerpc64/crti.S: New file.
45395         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45397         * Makeconfig (have-initfini): Don't set.
45398         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45399         * configure.in (nopic_initfini): Don't substitute.
45400         * config.h.in (HAVE_INITFINI): Don't #undef.
45401         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45402         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45404 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45406         Support crti.S and crtn.S provided directly by architectures.
45407         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45408         [crti.S in sysdirs] (omit-deps): Likewise.
45409         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45410         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45411         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45412         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45413         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45414         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45415         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45416         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45417         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45418         compiler output for sysdeps/generic/initfini.c.
45419         * sysdeps/i386/elf/Makefile: Remove file.
45420         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45422 2012-02-07  Marek Polacek  <polacek@redhat.com>
45424         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45425         * sysdeps/gnu/_G_config.h: Likewise.
45426         * sysdeps/mach/hurd/_G_config.h: Likewise.
45428 2012-02-07  Marek Polacek  <polacek@redhat.com>
45430         * math/Makefile (tests): Add tst-CMPLX2.
45431         * math/tst-CMPLX2.c: New file.
45433 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45435         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45437         * math/libm-test.inc (jn_test): Add missing L suffix.
45439 2012-02-06  Marek Polacek  <polacek@redhat.com>
45441         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45442         * sysdeps/i386/fpu/e_powf.S: Likewise.
45443         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45444         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45445         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45446         * sysdeps/i386/fpu/e_pow.S: Likewise.
45447         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45448         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45449         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45450         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45451         * sysdeps/i386/fpu/e_log2.S: Likewise.
45452         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45453         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45454         * sysdeps/i386/fpu/e_powl.S: Likewise.
45455         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45456         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45457         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45458         * sysdeps/i386/fpu/e_logl.S: Likewise.
45459         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45460         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45461         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45462         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45463         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45464         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45465         * sysdeps/i386/fpu/e_log.S: Likewise.
45466         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45467         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45468         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45469         * sysdeps/i386/fpu/e_logf.S: Likewise.
45470         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45471         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45472         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45473         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45474         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45475         * sysdeps/i386/fpu/e_log10.S: Likewise.
45476         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45477         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45478         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45479         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45480         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45481         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45482         * sysdeps/i386/asm-syntax.h: Likewise.
45483         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45484         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45485         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45486         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45487         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45488         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45489         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45490         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45491         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45492         * sysdeps/powerpc/sysdep.h: Likewise.
45493         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45494         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45496 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45498         [BZ #411]
45499         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45501 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45503         * sysdeps/i386/sysdep.h: Include <features.h>.
45504         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45505         version.
45507 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45509         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45510         Define.
45511         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45512         LOAD_PIC_REG_STR.
45514 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45516         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45517         (SETUP_PIC_REG): Use GET_PC_THUNK.
45518         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45519         macro.
45521 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45523         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45524         for non-PIC compilation.
45525         (SETUP_PIC_REG): Add .p2align directive.
45526         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45527         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45528         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45529         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45530         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45531         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45532         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45533         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45534         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45535         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45536         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45537         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45538         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45539         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45540         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45541         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45542         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45543         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45544         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45545         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45546         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45547         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45548         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45549         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45550         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45551         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45552         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45553         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45554         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45555         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45556         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45557         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45558         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45559         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45560         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45561         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45562         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45563         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45564         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45565         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45566         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45568 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45570         * math/tst-CMPLX.c: Include <stdio.h>.
45572 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
45574         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45575         float.
45576         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45577         * sysdeps/sparc/bits/mathdef.h: Likewise.
45579 2012-01-31  Marek Polacek  <polacek@redhat.com>
45581         * libio/libio.h: Don't define _PARAMS.
45582         * locale/programs/config.h: Don't define PARAMS.
45583         * stdlib/strtol_l.c: Likewise.
45584         (__strtol_l): Remove PARAMS from the prototype.
45586 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
45588         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
45589         names.  Just use the correct names.  Remove unnecessary wrapper
45590         functions.
45591         * malloc/arena.c: Likewise.
45592         * malloc/hooks.c: Likewise.
45594         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45595         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45596         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45598 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45600         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45601         into tail calls.
45602         (update_get_addr): New function.
45603         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45604         GET_ADDR_MODULE parameter.
45606 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45608         * crypt/cert.c: Remove __STDC__ conditionals.
45609         * crypt/crypt-entry.c: Likewise.
45610         * crypt/crypt_util.c: Likewise.
45611         * libio/filedoalloc.c: Likewise.
45612         * libio/fileops.c: Likewise.
45613         * libio/genops.c: Likewise.
45614         * libio/iofclose.c: Likewise.
45615         * libio/iofdopen.c: Likewise.
45616         * libio/iofopen.c: Likewise.
45617         * libio/iofopen64.c: Likewise.
45618         * libio/iogetdelim.c: Likewise.
45619         * libio/iopopen.c: Likewise.
45620         * libio/obprintf.c: Likewise.
45621         * libio/oldfileops.c: Likewise.
45622         * libio/oldiofclose.c: Likewise.
45623         * libio/oldiofdopen.c: Likewise.
45624         * libio/oldiofopen.c: Likewise.
45625         * libio/oldiopopen.c: Likewise.
45626         * libio/wfiledoalloc.c: Likewise.
45627         * libio/wgenops.c: Likewise.
45628         * locale/programs/xmalloc.c: Likewise.
45629         * misc/syslog.c: Likewise.
45630         * stdio-common/xbug.c: Likewise.
45631         * string/memchr.c: Likewise.
45632         * string/memcmp.c: Likewise.
45633         * string/memrchr.c: Likewise.
45634         * string/rawmemchr.c: Likewise.
45635         * sysdeps/posix/getcwd.c: Likewise.
45636         * time/strftime_l.c: Likewise.
45638 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45640         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45641         * config.make.in (config-cflags-sse2avx): Define.
45642         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45643         Fix typo.
45645 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45647         * scripts/config.guess: Update from upstream config git repository.
45648         * scripts/config.sub: Likewise.
45650 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45652         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45653         (EM_NUM): Update.
45654         (R_TILEPRO_*, R_TILEGX_*): New macros.
45656         * scripts/firstversions.awk: Fix bug in version range handling.
45658         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45660         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45662         * include/sys/epoll.h: New file.
45663         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45664         libc_hidden_def.
45666 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45668         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45669         Avoid unnecessary __WORDSIZE == 64 test.
45670         (fmaxf): Use VEX format if possible.
45671         (fmax): Likewise.
45672         (fminf): Likewise.
45673         (fmin): Likewise.
45675         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45676         * math/math_private.h: Remove libc_fegetround* and
45677         libc_fesetround*.
45678         * sysdeps/i386/configure.in: Check for -msse2avx.
45679         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45680         also if SSE2AVX is defined.
45681         Remove libc_fegetround* and libc_fesetround*.
45682         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45683         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45685         of HAS_YMM_USABLE.
45686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45687         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45689         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45690         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45692         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45694 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45696         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45697         size is not set.
45698         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45700 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45702         [BZ #13618]
45703         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45704         relocation.
45705         * Makeconfig (libm): Define.
45706         * elf/Makefile: Add rules to build and run tst-relsort1.
45707         * elf/tst-relsort1.c: New file.
45708         * elf/tst-relsort1mod1.c: New file.
45709         * elf/tst-relsort1mod2.c: New file.
45711 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45713         * math/s_ldexp.c: Remove __STDC__ conditionals.
45714         * math/s_ldexpf.c: Likewise.
45715         * math/s_ldexpl.c: Likewise.
45716         * math/s_nextafter.c: Likewise.
45717         * math/s_nexttowardf.c: Likewise.
45718         * math/s_significand.c: Likewise.
45719         * math/s_significandf.c: Likewise.
45720         * math/s_significandl.c: Likewise.
45721         * math/w_jnl.c: Likewise.
45722         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45723         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45724         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45725         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45726         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45727         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45728         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45729         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45730         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45731         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45732         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45733         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45734         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45735         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45736         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45737         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45738         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45739         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45741         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45742         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45743         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45744         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45746         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45747         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45748         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45749         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45750         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45751         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45752         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45753         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45754         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45755         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45756         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45757         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45758         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45759         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45760         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45761         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45762         * sysdeps/ieee754/k_standard.c: Likewise.
45763         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45765         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45766         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45767         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45768         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45769         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45770         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45771         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45772         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45773         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45774         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45775         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45776         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45777         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45779         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45780         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45782         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45783         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45784         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45788         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45794         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45795         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45796         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45797         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45798         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45799         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45801         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45802         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45803         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45805         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45806         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45808         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45809         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45811         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45812         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45813         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45814         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45815         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45816         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45817         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45818         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45819         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45820         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45821         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45822         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45823         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45824         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45825         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45826         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45827         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45829         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45830         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45833         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45834         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45835         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45836         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45837         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45838         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45839         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45840         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45841         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45842         * sysdeps/ieee754/s_matherr.c: Likewise.
45843         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45844         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45848 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45850         * crypt/md5.h: Remove __STDC__ conditionals.
45851         * libio/libioP.h: Likewise.
45852         * locale/programs/config.h: Likewise.
45853         * sysdeps/generic/sysdep.h: Likewise.
45854         * sysdeps/i386/asm-syntax.h: Likewise.
45855         * sysdeps/s390/asm-syntax.h: Likewise.
45856         * sysdeps/unix/sysdep.h: Likewise.
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45860 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45862         * libio/libio.h: Remove __STDC__ conditionals.
45863         * malloc/obstack.h: Likewise.
45864         * math/complex.h: Likewise.
45865         * math/math.h: Likewise.
45866         * sysdeps/generic/_G_config.h: Likewise.
45867         * sysdeps/gnu/_G_config.h: Likewise.
45868         * sysdeps/mach/hurd/_G_config.h: Likewise.
45869         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45870         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45871         * sysdeps/sparc/bits/mathdef.h: Likewise.
45873 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45875         [BZ #13583]
45876         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45877         Clean up HAS_* macros.
45878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45879         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45880         possible.
45881         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45882         HAS_AVX.
45883         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45884         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45885         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45886         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45887         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45889 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45891         * elf/tst-unique3.cc (gets): Remove declaration.
45892         * elf/tst-unique3lib.cc (gets): Likewise.
45893         * elf/tst-unique3lib2.cc (gets): Likewise.
45894         * elf/tst-unique4.cc (gets): Likewise.
45896 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45898         * include/stdio.h: Add C++ protection.  Add gets declarations and
45899         definitions.
45900         * debug/tst-chk1.c: Don't declare gets here.
45901         * stdio-common/tst-gets.c: Likewise.
45903 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45905         * posix/glob: Remove directory.
45907 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45909         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45911 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45913         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45914         of the non-standard EPFNOSUPPORT.
45916 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45918         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45919         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45920         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45922 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45924         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45926 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45928         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45929         transient errors.
45930         * nscd/grpcache.c (cache_addgr): Likewise.
45931         * nscd/hstcache.c (cache_addhst): Likewise.
45932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45933         * nscd/pwdcache.c (cache_addpw): Likewise.
45934         * nscd/servicescache.c (cache_addserv): Likewise.
45936 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45938         * malloc/malloc.c: Various cleanups.
45939         * malloc/hooks.c: Likewise.
45941         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45942         * stdlib/bug-fmtmsg1.c: New file.
45944         * stdlib/fmtmsg.c (init): Add missing unlock.
45945         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45947 2012-01-12  Marek Polacek  <polacek@redhat.com>
45949         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45950         and _GNU_SOURCE.
45952 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45954         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45955         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45956         macro to ensure uniqueness of label name.
45957         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45958         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45960 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45962         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45964         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45965         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45966         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45967         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45969 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45971         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45973         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45974         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45975         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45977         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45979         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45980         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45981         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45984         * math/bits/math-finite.h: Add ldexp support.
45986 2012-01-10  Marek Polacek  <polacek@redhat.com>
45988         * locale/programs/localedef.h (show_archive_content): Add noreturn
45989         attribute.
45991 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
45993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45995 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
45997         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45999         * io/Makefile (headers): Add bits/poll2.h.
46001 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46004         typo #include statement.
46006 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46008         * include/sys/cdefs.h: Define __attribute_alloc_size.
46009         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46010         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46011         * elf/pldd.c: Likewise.
46012         * iconv/iconv_charmap.c: Likewise.
46013         * iconv/iconvconfig.c: Likewise.
46014         * iconv/strtab.c: Likewise.
46015         * locale/programs/locale.c: Likewise.
46016         * locale/programs/localedef.h: Likewise.
46017         * locale/programs/simple-hash.c: Likewise.
46018         * nscd/nscd.h: Likewise.
46019         * nss/makedb.c: Likewise.
46020         * sysdeps/generic/ldconfig.h: Likewise.
46021         * locale/programs/localedef.c: Remove xmalloc prototype.
46022         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46024 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46026         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46027         appropriate.
46029 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46031         * math/Makefile (tests): Add tst-CMPLX.
46032         * math/tst-CMPLX.c: New file.
46034         * math/complex.h (CMPLXL): Fix typo.
46036         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46037         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46038         GLIBC_2.16.
46039         * debug/tst-chk1.c: Add poll and ppoll tests.
46040         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46041         * include/sys/poll.h: Add hidden proto for ppoll.
46042         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46043         * sysdeps/mach/hurd/ppoll.c: Likewise.
46044         * io/ppoll.c: Likewise.
46045         * debug/poll_chk.c: New file.
46046         * debug/ppoll_chk.c: New file.
46047         * include/bits/poll2.h: New file.
46048         * io/bits/poll2.h: New file.
46050         [BZ #1350]
46051         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46053         * configure.in: static is always set to yes.  Remove.
46054         * config.make.in: Don't set build-static.
46055         * Makeconfig: Remove use of build-static.
46056         * dlfcn/Makefile: Likewise.
46057         * elf/Makefile: Likewise.
46058         * math/Makefile: Likewise.
46059         * misc/Makefile: Likewise.
46060         * nptl/Makefile: Likewise.
46061         * sysdeps/mach/hurd/Makefile: Likewise.
46063         * configure.in: PWD_P is not used anymore.
46064         * config.make.in: Remove PWD_P entry.
46066         * configure.in: Remove last remnants of RANLIB.
46067         No need to check for signed size_t anymore.
46068         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46069         and IA-64.
46070         Remove __builtin_expect test because we require at least gcc 3.4.
46071         * aclocal.m4: Likewise.
46073         * wcsmbs/mbrtoc16.c: Implement using towc function.
46074         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46075         * wcsmbs/wcsmbsload.c: Likewise.
46076         * iconv/gconv_simple.c: Likewise.
46077         * iconv/gconv_int.h: Likewise.
46078         * iconv/gconv_builtin.h: Likewise.
46079         * iconv/iconv_prog.c: Remove CHAR16 handling.
46081         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46083         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46085         * configure.in: Remove --with-elf and --enable-bounded options.
46086         Dont set base_machine for ia64.  More non-ELF conditions removed.
46087         Remove testing and setting of leading underscore information.
46088         * config.make.in (build-bounded): Set to no.
46089         * config.h.in: Remove NO_UNDERSCORES entry.
46090         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46091         them.
46092         * csu/start.c: Remove !NO_UNDERSCORE code.
46093         * locale/localeinfo.h: Likewise.
46094         * sysdeps/generic/machine-gmon.h: Likewise.
46095         * sysdeps/generic/sysdep.h: Likewise.
46096         * sysdeps/i386/sysdep.h: Likewise.
46097         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46098         * sysdeps/mach/sysdep.h: Likewise.
46099         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46100         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46101         * sysdeps/sh/sysdep.h: Likewise.
46102         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46103         * sysdeps/unix/i386/sysdep.S: Likewise.
46104         * sysdeps/unix/sparc/start.c: Likewise.
46105         * sysdeps/unix/sparc/sysdep.S: Likewise.
46106         * sysdeps/unix/sparc/sysdep.h: Likewise.
46107         * sysdeps/unix/start.c: Likewise.
46108         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46109         * sysdeps/x86_64/sysdep.h: Likewise.
46111 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46113         [BZ #13553]
46114         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46115         for non-gcc.
46116         * argp/argp-fmtstream.h: Use const instead __const.
46117         * argp/argp.h: Likewise.
46118         * assert/assert.h: Likewise.
46119         * bits/fenv.h: Likewise.
46120         * bits/sched.h: Likewise.
46121         * bits/sigset.h: Likewise.
46122         * bits/sigthread.h: Likewise.
46123         * catgets/nl_types.h: Likewise.
46124         * conform/data/pthread.h-data: Likewise.
46125         * crypt/crypt-private.h: Likewise.
46126         * crypt/crypt.h: Likewise.
46127         * crypt/crypt_util.c: Likewise.
46128         * ctype/ctype.h: Likewise.
46129         * debug/execinfo.h: Likewise.
46130         * debug/mbsnrtowcs_chk.c: Likewise.
46131         * debug/mbsrtowcs_chk.c: Likewise.
46132         * debug/wcsnrtombs_chk.c: Likewise.
46133         * debug/wcsrtombs_chk.c: Likewise.
46134         * debug/wcstombs_chk.c: Likewise.
46135         * dirent/dirent.h: Likewise.
46136         * dlfcn/dlfcn.h: Likewise.
46137         * elf/neededtest4.c: Likewise.
46138         * grp/grp.h: Likewise.
46139         * gshadow/gshadow.h: Likewise.
46140         * iconv/gconv.h: Likewise.
46141         * iconv/gconv_int.h: Likewise.
46142         * iconv/gconv_simple.c: Likewise.
46143         * iconv/iconv.h: Likewise.
46144         * iconv/loop.c: Likewise.
46145         * iconv/skeleton.c: Likewise.
46146         * include/aio.h: Likewise.
46147         * include/aliases.h: Likewise.
46148         * include/argz.h: Likewise.
46149         * include/arpa/inet.h: Likewise.
46150         * include/assert.h: Likewise.
46151         * include/dirent.h: Likewise.
46152         * include/dlfcn.h: Likewise.
46153         * include/execinfo.h: Likewise.
46154         * include/fcntl.h: Likewise.
46155         * include/fenv.h: Likewise.
46156         * include/glob.h: Likewise.
46157         * include/grp.h: Likewise.
46158         * include/libintl.h: Likewise.
46159         * include/mntent.h: Likewise.
46160         * include/netdb.h: Likewise.
46161         * include/pwd.h: Likewise.
46162         * include/rpc/netdb.h: Likewise.
46163         * include/sched.h: Likewise.
46164         * include/search.h: Likewise.
46165         * include/shadow.h: Likewise.
46166         * include/signal.h: Likewise.
46167         * include/stdio.h: Likewise.
46168         * include/stdlib.h: Likewise.
46169         * include/string.h: Likewise.
46170         * include/sys/socket.h: Likewise.
46171         * include/sys/stat.h: Likewise.
46172         * include/sys/statfs.h: Likewise.
46173         * include/sys/statvfs.h: Likewise.
46174         * include/sys/syslog.h: Likewise.
46175         * include/sys/time.h: Likewise.
46176         * include/sys/uio.h: Likewise.
46177         * include/time.h: Likewise.
46178         * include/unistd.h: Likewise.
46179         * include/utmp.h: Likewise.
46180         * include/wchar.h: Likewise.
46181         * include/wctype.h: Likewise.
46182         * inet/aliases.h: Likewise.
46183         * inet/arpa/inet.h: Likewise.
46184         * inet/netinet/ether.h: Likewise.
46185         * inet/netinet/in.h: Likewise.
46186         * intl/libintl.h: Likewise.
46187         * io/bits/fcntl2.h: Likewise.
46188         * io/fcntl.h: Likewise.
46189         * io/ftw.h: Likewise.
46190         * io/sys/poll.h: Likewise.
46191         * io/sys/stat.h: Likewise.
46192         * io/sys/statfs.h: Likewise.
46193         * io/sys/statvfs.h: Likewise.
46194         * io/utime.h: Likewise.
46195         * libio/bits/stdio.h: Likewise.
46196         * libio/bits/stdio2.h: Likewise.
46197         * libio/libio.h: Likewise.
46198         * libio/libioP.h: Likewise.
46199         * libio/stdio.h: Likewise.
46200         * locale/lc-ctype.c: Likewise.
46201         * locale/locale.h: Likewise.
46202         * login/utmp.h: Likewise.
46203         * malloc/arena.c: Likewise.
46204         * malloc/malloc.c: Likewise.
46205         * malloc/malloc.h: Likewise.
46206         * malloc/mcheck.c: Likewise.
46207         * malloc/mtrace.c: Likewise.
46208         * math/bits/mathcalls.h: Likewise.
46209         * math/fenv.h: Likewise.
46210         * math/math_private.h: Likewise.
46211         * misc/bits/error.h: Likewise.
46212         * misc/bits/syslog.h: Likewise.
46213         * misc/err.h: Likewise.
46214         * misc/error.h: Likewise.
46215         * misc/fstab.h: Likewise.
46216         * misc/mntent.h: Likewise.
46217         * misc/regexp.h: Likewise.
46218         * misc/search.h: Likewise.
46219         * misc/sgtty.h: Likewise.
46220         * misc/sys/mman.h: Likewise.
46221         * misc/sys/syslog.h: Likewise.
46222         * misc/sys/uio.h: Likewise.
46223         * misc/sys/xattr.h: Likewise.
46224         * misc/ttyent.h: Likewise.
46225         * nis/rpcsvc/ypclnt.h: Likewise.
46226         * nss/nss.h: Likewise.
46227         * posix/bits/unistd.h: Likewise.
46228         * posix/fnmatch.h: Likewise.
46229         * posix/glob.h: Likewise.
46230         * posix/sched.h: Likewise.
46231         * posix/spawn.h: Likewise.
46232         * posix/sys/wait.h: Likewise.
46233         * posix/unistd.h: Likewise.
46234         * posix/wordexp.h: Likewise.
46235         * pwd/pwd.h: Likewise.
46236         * resolv/netdb.h: Likewise.
46237         * resource/sys/resource.h: Likewise.
46238         * rt/aio.h: Likewise.
46239         * rt/bits/mqueue2.h: Likewise.
46240         * rt/mqueue.h: Likewise.
46241         * shadow/shadow.h: Likewise.
46242         * signal/signal.h: Likewise.
46243         * socket/send.c: Likewise.
46244         * socket/sendto.c: Likewise.
46245         * socket/sys/socket.h: Likewise.
46246         * stdio-common/printf.h: Likewise.
46247         * stdlib/bits/stdlib.h: Likewise.
46248         * stdlib/fmtmsg.h: Likewise.
46249         * stdlib/monetary.h: Likewise.
46250         * stdlib/stdlib.h: Likewise.
46251         * stdlib/ucontext.h: Likewise.
46252         * streams/stropts.h: Likewise.
46253         * string/argz.h: Likewise.
46254         * string/bits/string2.h: Likewise.
46255         * string/string.h: Likewise.
46256         * string/strings.h: Likewise.
46257         * sunrpc/rpc/auth.h: Likewise.
46258         * sunrpc/rpc/auth_des.h: Likewise.
46259         * sunrpc/rpc/clnt.h: Likewise.
46260         * sunrpc/rpc/netdb.h: Likewise.
46261         * sunrpc/rpc/pmap_clnt.h: Likewise.
46262         * sunrpc/rpc/xdr.h: Likewise.
46263         * sysdeps/generic/inttypes.h: Likewise.
46264         * sysdeps/generic/net/if.h: Likewise.
46265         * sysdeps/generic/sys/swap.h: Likewise.
46266         * sysdeps/gnu/net/if.h: Likewise.
46267         * sysdeps/gnu/utmpx.h: Likewise.
46268         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46269         * sysdeps/i386/i486/bits/string.h: Likewise.
46270         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46271         * sysdeps/s390/bits/string.h: Likewise.
46272         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46273         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46274         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46275         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46276         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46277         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46278         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46279         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46280         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46281         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46282         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46283         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46284         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46285         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46286         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46287         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46288         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46290         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46291         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46292         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46293         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46294         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46295         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46296         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46297         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46298         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46299         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46300         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46301         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46302         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46303         * sysvipc/sys/ipc.h: Likewise.
46304         * sysvipc/sys/msg.h: Likewise.
46305         * sysvipc/sys/sem.h: Likewise.
46306         * sysvipc/sys/shm.h: Likewise.
46307         * termios/termios.h: Likewise.
46308         * time/sys/time.h: Likewise.
46309         * time/time.h: Likewise.
46310         * wcsmbs/bits/wchar2.h: Likewise.
46311         * wcsmbs/uchar.h: Likewise.
46312         * wcsmbs/wchar.h: Likewise.
46313         * wctype/wctype.h: Likewise.
46315         [BZ #13551]
46316         * Makeconfig: Remove all but ELF support including AIX support.
46317         * Makerules: Likewise.
46318         * config.h.in: Likewise.
46319         * config.make.in: Likewise.
46320         * configure: Likewise.
46321         * configure.in: Likewise.
46322         * csu/Makefile: Likewise.
46323         * csu/version.c: Likewise.
46324         * debug/Makefile: Likewise.
46325         * dlfcn/Makefile: Likewise.
46326         * elf/Makefile: Likewise.
46327         * extra-lib.mk: Likewise.
46328         * iconv/Makefile: Likewise.
46329         * include/libc-symbols.h: Likewise.
46330         * include/shlib-compat.h: Likewise.
46331         * resolv/Makefile: Likewise.
46332         * resolv/res_libc.c: Likewise.
46333         * rt/Makefile: Likewise.
46334         * sysdeps/i386/asm-syntax.h: Likewise.
46335         * sysdeps/i386/sysdep.h: Likewise.
46336         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46337         * sysdeps/mach/sysdep.h: Likewise.
46338         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46339         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46340         * sysdeps/s390/asm-syntax.h: Likewise.
46341         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46342         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46343         * sysdeps/sh/sysdep.h: Likewise.
46344         * sysdeps/unix/sparc/sysdep.h: Likewise.
46345         * sysdeps/wordsize-32/divdi3.c: Likewise.
46346         * sysdeps/x86_64/sysdep.h: Likewise.
46348         * argp/Versions: Remove _argp_unlock_xxx.
46350         [BZ #13559]
46351         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46352         * abilist/libBrokenLocale.abilist: Likewise.
46353         * abilist/libanl.abilist: Likewise.
46354         * abilist/libc.abilist: Likewise.
46355         * abilist/libcrypt.abilist: Likewise.
46356         * abilist/libdl.abilist: Likewise.
46357         * abilist/libm.abilist: Likewise.
46358         * abilist/libnsl.abilist: Likewise.
46359         * abilist/libpthread.abilist: Likewise.
46360         * abilist/libresolv.abilist: Likewise.
46361         * abilist/librt.abilist: Likewise.
46362         * abilist/libthread_db.abilist: Likewise.
46363         * abilist/libutil.abilist: Likewise.
46364         * abilist/libnss_db.abilist: New file.
46366         * scripts/abilist.awk: Add support for indirect functions.
46368         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46370         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46372         * shlib-versions: Remove entries for ports architectures.
46374         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46375         files in ports.
46376         * elf/stackguard-macros.h: Remove support for IA-64.
46377         * elf/tst-auditmod1.c: Likewise.
46378         * sysdeps/generic/ldsodefs.h: Likewise.
46380         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46381         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46382         configure files.
46384         [BZ #13552]
46385         * configure.in: Remove --enable-omitfp support.
46386         * FAQ.in: Adjust.
46387         * config.make.in: Likewise.
46388         * Makeconfig: Likewise.
46389         * manual/install.texi: Likewise.
46391         In case anyone cares, the IA-64 architecture could move to ports.
46392         * sysdeps/ia64/*: Removed.
46393         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46394         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46396         [BZ #13555]
46397         * configure.in: Remove entries for unsupported architectures.
46399         [BZ #13533]
46400         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46401         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46402         routines.
46403         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46404         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46405         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46406         fall back to using wcrtomb.
46407         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46408         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46409         renaming.
46410         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46411         * wcsmbs/tst-c16c32-1.c: New file.
46413         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46414         local variable.
46416         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46418         * elf/tst-unique3.cc: Add explicit declaration of gets.
46419         * elf/tst-unique3lib.cc: Likewise.
46420         * elf/tst-unique3lib2.cc: Likewise.
46421         * elf/tst-unique4.cc: Likewise.
46423         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46425 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46427         [BZ #13566]
46428         * assert/assert.h (static_assert): Don't define for C++.
46429         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46430         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46432 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46434         * iconv/loop.c (single loop): Fix assertion in storing of
46435         remaining bytes.
46437         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46439 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46441         * posix/getconf.c: Update copyright year.
46442         * nss/getent.c: Likewise.
46443         * nss/makedb.c: Likewise.
46444         * iconv/iconvconfig.c: Likewise.
46445         * iconv/iconv_prog.c: Likewise.
46446         * elf/ldconfig.c: Likewise.
46447         * elf/pldd.c: Likewise.
46448         * elf/sotruss.ksh: Likewise.
46449         * catgets/gencat.c: Likewise.
46450         * csu/version.c: Likewise.
46451         * elf/ldd.bash.in: Likewise.
46452         * elf/sprof.c (print_version): Likewise.
46453         * locale/programs/locale.c: Likewise.
46454         * locale/programs/localedef.c: Likewise.
46455         * login/programs/pt_chown.c: Likewise.
46456         * nscd/nscd.c (print_version): Likewise.
46457         * debug/xtrace.sh: Likewise.
46458         * malloc/memusage.sh: Likewise.
46459         * malloc/mtrace.pl: Likewise.
46460         * debug/catchsegv.sh: Likewise.
46462 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46464         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46465         pure attribute.
46467 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46469         [BZ #13533]
46470         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46471         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46472         transformations.
46473         * iconv/gconv_int.h: Likewise.
46474         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46475         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46476         from libc for GLIBC_2.16.
46477         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46478         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46479         * wcsmbs/uchar.h: Really define mbstate_t.
46480         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46481         * wcsmbs/c16rtomb.c: New file.
46482         * wcsmbs/mbrtoc16.c: New file.
46483         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46484         for C/POSIX locale.
46485         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46486         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46488         * wcsmbs/wchar.h: Add missing __restrict.
46490 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46492         [BZ #13532]
46493         * time/Makefile (routines): Add timespec_get.
46494         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46495         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46496         timespec for ISO C11.
46497         * time/timespec_get.c: New file.
46498         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46499         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46501         [BZ #13531]
46502         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46503         * stdlib/stdlib.h: Declare aligned_alloc.
46504         * Versions.def: Add GLIBC_2.16 for libc.
46505         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46507         [BZ 13527]
46508         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46509         ISO C11.
46511         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46512         code.
46514         [BZ #13528]
46515         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46517         [BZ #13529]
46518         * assert/assert.h (static_assert): Define.
46520         * version.h: Update for 2.16 development version.
46522         [BZ #13526]
46523         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46524         _ISOC11_SOURCE.
46526         * version.h (RELEASE): Bump for 2.15 release.
46527         * include/features.h (__GLIBC_MINOR__): Bump to 15.
46529         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46530         Patch by Marek Polacek <mpolacek@redhat.com>.
46532         * bits/byteswap.h: Protect long long constants with __extension__.
46533         * sysdeps/i386/bits/byteswap.h: Likewise.
46534         * sysdeps/ia64/bits/byteswap.h: Likewise.
46535         * sysdeps/s390/bits/byteswap.h: Likewise.
46536         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46538 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46540         [BZ #13540]
46541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46542         destination buffer.
46543         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46545 2011-12-23  Marek Polacek  <polacek@redhat.com>
46547         * elf/dl-addr.c (determine_info): Add inline keyword.
46548         * elf/tst-auditmod4b.c (check_avx): Likewise.
46549         * elf/tst-auditmod6b.c (check_avx): Likewise.
46550         * elf/tst-auditmod6c.c (check_avx): Likewise.
46551         * elf/tst-auditmod7b.c (check_avx): Likewise.
46553 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46555         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46556         !__SSE_MATH__.
46558 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46560         [BZ #13540]
46561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46562         processing for last bytes.
46564 2011-08-06  Bruno Haible  <bruno@clisp.org>
46566         [BZ #13061]
46567         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46568         U+0385, not to U+1FEE.
46570         [BZ #13062]
46571         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46572         entry for U+00A5 U+0301.
46574 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46576         [BZ #13166]
46577         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46578         buffer for the output is too small.
46580         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46581         optimization.
46583         [BZ #13185]
46584         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46585         SSE flags if possible.
46587 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46589         [BZ #13540]
46590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46591         processing for last bytes.
46593 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46595         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46596         (syscall-list-default-options, syscall-list-default-condition)
46597         (syscall-list-includes): Define.
46598         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46599         list of ABIs and options and #if conditions for each ABI.  Do not
46600         handle common syscalls between ABIs specially.
46601         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46602         Remove.
46603         (syscall-list-variants, syscall-list-32bit-options)
46604         (syscall-list-32bit-condition, syscall-list-64bit-options)
46605         (syscall-list-64bit-condition): Define.
46606         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46607         (syscall-list-variants, syscall-list-32bit-options)
46608         (syscall-list-32bit-condition, syscall-list-64bit-options)
46609         (syscall-list-64bit-condition): Define.
46610         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46611         Remove.
46612         (syscall-list-variants, syscall-list-32bit-options)
46613         (syscall-list-32bit-condition, syscall-list-64bit-options)
46614         (syscall-list-64bit-condition): Define.
46615         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46616         Remove.
46617         (syscall-list-variants, syscall-list-32bit-options)
46618         (syscall-list-32bit-condition, syscall-list-64bit-options)
46619         (syscall-list-64bit-condition): Define.
46621 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46623         * locale/iso-639.def: Add brx entry.
46625         [BZ #13328]
46626         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46627         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46629         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46630         __feraiseexcept_renamed.
46632 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46634         [BZ #13538]
46635         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46636         EPOLLET with unsigned values.
46637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46638         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46640         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46641         to large cancellation.
46642         * math/s_cacoshf.c: Likewise.
46643         * math/s_cacoshl.c: Likewise.
46645 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46647         [BZ #13305]
46648         [BZ #12786]
46649         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46650         * math/s_cacoshf.c: Likewise.
46651         * math/s_cacoshl.c: Likewise.
46653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46655         [BZ #13439]
46656         * iconv/gconv.h: Define __GCONV_SWAP.
46657         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46658         * iconvdata/utf-16.c: Likewise.
46659         * iconvdata/utf-32.c: Likewise.
46661 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46663         [BZ #13524]
46664         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46665         numerator after shifting it by one limb.
46667 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46669         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46670         under [__USE_EXTERN_INLINES].
46672 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46674         [BZ #13446]
46675         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46677 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46679         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46680         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46681         optimized code.
46682         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46683         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46684         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46685         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46686         for strncasecmp/strncasecmp_l compilation.
46687         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46688         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46690 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46692         [BZ #13484]
46693         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46694         of __asm__.
46696 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46698         [BZ #13506]
46699         * time/tzfile.c (__tzfile_read): Check values from file header.
46701 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46703         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46704         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46705         * powerpc/powerpc32/dl-start.S: Likewise.
46706         * powerpc/powerpc32/elf/start.S: Likewise.
46707         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46708         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46709         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46710         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46711         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46712         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46713         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46714         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46715         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46716         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46717         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46718         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46719         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46720         * powerpc/powerpc32/memset.S: Likewise.
46721         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46722         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46723         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46724         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46725         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46726         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46727         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46728         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46729         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46730         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46731         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46732         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46733         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46735 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46737         * math/libm-test.inc: Added more nearbyint tests.
46738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46741         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46743 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46745         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46746         FD_CLOEXEC.
46748 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46750         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46751         Add wcscpy-ssse3 wcscpy-c.
46752         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46753         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46754         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46755         * sysdeps/x86_64/wcschr.S: New file.
46756         * sysdeps/x86_64/wcsrchr.S: New file.
46757         * string/test-strcmp.c: Remove checking of wcscmp function for
46758         wrong alignments.
46759         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46760         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46761         wcsrchr-sse2 wcsrchr-c.
46762         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46763         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46764         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46765         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46766         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46767         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46768         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46769         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46770         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46771         * wcsmbc/wcschr.c (WCSCHR): New macro.
46773 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46775         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46776         * wcsmbs/test-wcsrchr.c: New file.
46777         * string/test-strrchr.c: Add wcsrchr support.
46778         (WIDE): New macro.
46779         * wcsmbs/test-wcscpy.c: New file.
46780         * string/test-strcpy.c: Add wcscpy support.
46781         (WIDE): New macro.
46783 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46785         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46786         the inner loop.
46788 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46790         [BZ #13472]
46791         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46793 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46795         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46796         Minor optimizations.
46798         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46799         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46800         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46802 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46804         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46805         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46806         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46807         for gcc to avoid warnings.
46808         * inet/Makefile (tests): Add tst-checks.
46809         * inet/tst-checks.c: New file.
46811         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46812         warning.
46814         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46815         __wmemcmp_sse2.
46817         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46818         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46820         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46822 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46824         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46825         problem.
46827         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46829 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46831         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46832         conditional on GCC version.
46833         (__arch_compare_and_exchange_val_8_acq)
46834         (__arch_compare_and_exchange_val_16_acq)
46835         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46836         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46837         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46839 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46841         * sysdeps/sh/backtrace.c: New file.
46843 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46845         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46846         parenthesis.
46848 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46850         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46851         falling back to utime.
46853 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46855         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46856         expectations for float.
46858 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46860         * locale/weight.h (findidx): Add parameter len.
46861         * locale/weightwc.h (findidx): Likewise.
46862         * posix/fnmatch_loop.c (FCT): Adjust caller.
46863         * posix/regcomp.c (build_equiv_class): Likewise.
46864         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46865         * posix/regexec.c (check_node_accept_bytes): Likewise.
46866         * string/strcoll_l.c (STRCOLL): Likewise.
46867         * string/strxfrm_l.c (STRXFRM): Likewise.
46869 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46871         * Makefile.in: Remove CVSOPT handling.
46872         * configure.in: Remove use of AC_REVISION.
46873         * iconvdata/Makefile (distribute): No need to filter out CVS.
46874         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46875         handling.
46877 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46880         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46881         [USE_AS_STRNCASECMP_L]: Likewise.
46882         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46883         NO_TLS_DIRECT_SEG_REFS.
46884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46885         Fix argument offsets for non-PIC.
46886         [USE_AS_STRNCASECMP_L]: Likewise.
46887         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46888         NO_TLS_DIRECT_SEG_REFS.
46890 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46892         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46893         O_CLOEXEC.
46894         * locale/loadlocale.c (_nl_load_locale): Likewise.
46896 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46898         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46899         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46900         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46901         (SYSCALL_GETTIME): Set errno on error.
46903         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46904         count references to noai6ai_cached.
46906 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46908         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46910         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46911         FD_CLOEXEC for /proc/self/maps.
46913         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46914         FD_CLOEXEC for /proc/meminfo.
46916         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46917         gai.conf.
46919         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46920         FD_CLOEXEC for given file.
46922         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46924         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46925         FD_CLOEXEC for /etc/hosts.
46926         (_gethtent): Likewise.
46928         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46930         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46931         cancellation and set FD_CLOEXEC for /etc/netgroup.
46933         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46934         reading /etc/publickey.
46936         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46937         allow cancellation when reading /etc/group.
46939         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46940         cancellation.
46941         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46943         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46944         when using data file.
46946         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46948         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46949         (write_nis_obj): Use "c" and "e" in fopen.
46951         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46953         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46955         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46957         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46959         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46960         locale.alias.
46962         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46964         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46966         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46968         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46969         file parsing and set FD_CLOEXEC.
46971 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46973         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46975 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46977         * malloc/arena.c (arena_get2): Don't call reused_arena when
46978         _int_new_arena failed.
46980 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46982         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46983         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46984         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46985         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46986         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46988         to compile strcasecmp and strncasecmp.
46989         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46990         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46994 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
46996         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46997         locale-defines.sym to gen-as-const-headers.
46998         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46999         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47001         to compile strcasecmp and strncasecmp.
47002         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47003         strcasecmp_l and strncasecmp_l.
47004         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47005         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47006         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47007         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47008         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47009         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47010         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47011         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47012         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47013         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47014         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47016 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47018         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47019         result of SYSDEP_GETTIME_CPU to retval.
47020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47021         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47023         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47024         variable.
47026         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47027         mantissa words.
47028         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47030         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47031         from unused variable.
47033         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47034         DWARF definitions.
47035         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47036         for assembling.
47038         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47039         over namespaces.
47041         * sunrpc/rpc_prot.c (rejected): Fix case value.
47043         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47044         unsigned long long int to avoid warnings in shift.
47046         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47047         of use of trans.
47048         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47049         variable tmp.
47051         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47052         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47053         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47055         * nis/nis_table.c (nis_list): Use variable of correct type for
47056         result of __follow_path call.
47058 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47060         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47061         of math functions ceil, trunc, floor, round, and sqrt, when
47062         avaliable on the platform.
47063         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47064         name clash.
47065         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47066         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47067         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47069 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47071         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47072         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47074 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47076         * include/unistd.h: Fix __readlink return type.
47077         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47079 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47081         * stdlib/ucontext.h: Undo last change for makecontext.
47083 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47085         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47087         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47088         * setjmp/setjmp.h: Mark functions as non-leaf.
47089         * setjmp/bits/setjmp2.h: Likewise.
47090         * stdlib/ucontext.h: Likewise.
47092 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47094         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47095         (reused_arena): Don't check arena limit.
47096         (arena_get2): Atomically check arena limit.
47098 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47100         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47101         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47103         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47104         instructions.
47106 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47108         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47109         handler when locking.
47111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47112         Fix size of allocated buffer.
47114 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47116         [BZ #10103]
47117         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47118         declarations for long double functions.
47119         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47121         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47123 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47125         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47126         installed.
47128         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47129         is disabled.
47131 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47133         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47135 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47137         * include/alloca.h (stackinfo_alloca_round): Define.
47138         (extend_alloca): Use it.
47139         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47140         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47141         here.
47143         * scripts/check-local-headers.sh: Ignore libaudit.h.
47145         * nscd/Makefile (extra-objs): Make recursively expanded.
47147 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47149         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47152         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47153         * posix/tst-rfc3484-2.c: Likewise.
47154         * posix/tst-rfc3484-3.c: Likewise.
47156         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47157         process_vm_writev.
47158         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47159         process_vm_writev.
47160         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47161         process_vm_writev from libc using GLIBC_2.15 version.
47163         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47165 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47167         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47168         stack usage.
47170 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47172         [BZ #13367]
47173         * nss/getent.c (initgroups_keys): Show error message in case no group
47174         names are given.
47176         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47177         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47178         __bump_nl_timestamp.
47179         * nscd/connections (nscd_init): When host database is served open
47180         netlink socket and request notification about configuration changes.
47181         (main_loop_poll): Track netlink file descriptor and bump timestamp
47182         in case data becomes available.
47183         (main_loop_epoll): Likewise.
47184         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47185         (database_pers_head): Add extra_data fileds.
47186         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47187         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47188         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47189         Adjust caller.
47190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47191         in6ai data, call __free_in6ai.
47192         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47193         Add -DHAVE_NETLINK.
47194         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47195         interface information.  Reuse previous data if netlink timestamp
47196         is not changed.
47197         (__bump_nl_timestamp): New function.
47198         (__free_in6ai): New function.
47200 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47202         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47203         close_not_cancel_no_status here.
47204         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47206 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47208         [BZ #13276]
47209         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47210         return value.
47212         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47213         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47214         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47216 2011-07-03  Andreas Jaeger  <aj@suse.de>
47218         [BZ #10709]
47219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47220         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47221         * math/libm-test.inc (sin_test): Add test case.
47223 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47225         [BZ #13337]
47226         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47227         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47229         * elf/chroot_canon.c (chroot_canon): Cleanups.
47231         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47233         [BZ #13335]
47234         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47235         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47237         * string/test-strchr.c: Make usable for strchrnul testing.
47238         * string/test-strchrnul.c: New file.
47239         * string/Makefile (strop-tests): Add strchrnul.
47241         * po/it.po: Update from translation team.
47242         * po/es.po: Likewise.
47244 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47246         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47247         the three constants needed as parameters.  Drop the others.
47248         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47249         __m128i_strloadu_tolower.
47250         Create and initialize variable zero and use it in all the places
47251         where _mm_setzero_si128 was used.
47253         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47254         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47255         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47256         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47257         anymore.
47258         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47259         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47260         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47261         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47262         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47263         __mpranred, __mptan.
47264         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47265         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47266         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47267         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47268         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47269         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47271         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47272         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47274 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47276         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47277         redefine if SHARED.
47278         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47281         wide char related routines to wcsmbs subdir.
47283 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47285         [BZ #13344]
47286         * misc/sys/cdefs.h (__THROWNL): Define.
47287         * posix/unistd.h: Use __THREADNL instead of __THREAD
47288         for memory synchronization functions.
47290 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47292         [BZ #13349]
47293         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47294         doesn't exist.
47295         * manual/stdio.texi (Obstack Streams): Node removed.
47297 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47299         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47300         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47301         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47303         * math/math_private.h (math_force_eval): Allow non-addressable
47304         arguments.
47305         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47307 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47309         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47310         file is not needed.
47312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47313         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47316         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47319         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47320         Add AVX variants.
47321         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47322         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47323         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47324         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47325         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47326         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47327         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47328         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47329         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47330         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47331         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47332         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47334         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47335         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47336         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47337         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47338         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47339         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47341         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47342         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47345         place.  Use VEX encoding when compiling for AVX.
47347 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47349         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47350         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47352         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47354 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47356         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47357         useless if() expression.
47358         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47359         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47360         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47361         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47362         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47363         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47364         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47365         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47367         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47369         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47370         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47371         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47372         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47373         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47375         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47376         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47378         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47380 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47382         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47383         condition.
47384         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47386 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47388         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47389         .text section.  Avoid duplicate constants.
47390         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47398         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47399         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47402         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47403         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47404         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47405         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47406         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47407         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47413         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47414         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47415         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47416         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47417         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47418         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47419         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47420         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47421         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47423         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47424         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47425         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47426         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47428         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47429         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47430         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47431         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47432         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47433         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47434         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47436 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47438         * sysdeps/x86_64/dla.h: Move to ...
47439         * sysdeps/x86_64/fpu/dla.h: ...here.
47440         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47441         situations.  Use __builtin_fma only for gcc 4.6 and up.
47443         * config.make.in: Add have-mfma4 entry.
47444         * configure.in: Substitute libc_cv_cc_fma4.
47445         * math/Makefile (dbl-only-routines): Add sincostab.
47446         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47447         Use __sincostab not sincos.
47448         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47449         name is a macro.
47450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47454         using __copysign.
47455         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47456         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47457         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47458         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47459         and __inv.
47460         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47461         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47462         __copysign.
47463         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47464         define aliases when function name is a macro.
47465         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47466         sysdeps/ieee754/dbl-64/sincos.tbl.
47467         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47468         fma4-enabled routines.
47469         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47470         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47471         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47472         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47473         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47474         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47476         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47478         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47479         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47480         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47481         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47482         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47483         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47484         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47485         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47486         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47487         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47489         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47490         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47493         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47495         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47496         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47497         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47498         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47500         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47501         rename.
47502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47506         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47509         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47511 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47513         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47515 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47519         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47520         prediction.
47521         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47523         * string/strnlen.c: Don't define STRNLEN, reverse logic.
47524         Remove unused variable magic_bits.
47525         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47527         * string/strnlen.c: Define and use STRNLEN macro.
47528         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47529         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47531         * wcsmbs/wcslen.c: Define and use WCSLEN.
47532         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47533         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47534         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47535         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47536         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47537         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47538         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47540 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47543         strnlen-sse2-no-bsf.
47544         Rename strlen-no-bsf to strlen-sse2-no-bsf.
47545         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47546         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47547         Add strnlen support.
47548         (USE_AS_STRNLEN): New macro.
47549         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47550         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47551         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47552         * sysdeps/x86_64/wcslen.S: New file.
47554 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
47556         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47557         XMM-moves are used for copying on small sizes.
47559 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47561         * wcsmbs/Makefile (strop-tests): Add wcschr.
47562         * wcsmbs/test-wcschr.c: New file.
47563         * string/test-strchr.c: Update.
47564         Add wcschr support.
47565         (WIDE): New macro.
47567 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47569         * wcsmbs/Makefile (strop-tests): Add wcslen.
47570         * wcsmbs/test-wcslen.c: New file.
47571         * string/test-strlen.c: Update.
47572         Add wcslen support.
47573         (WIDE): New macro.
47575 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47577         * po/it.po: Update from translation team.
47579 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47581         * sysdeps/x86_64/wcscmp.S: Update.
47582         Fix wrong comparison semantics.
47583         wcscmp shall use signed comparison not unsigned.
47584         Don't use substraction to avoid overflow bug.
47585         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47586         * wcsmbc/wcscmp.c: Likewise.
47587         * string/test-strcmp.c: Likewise.
47588         Add new tests to check cases with negative values.
47590 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47592         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47593         * sysdeps/x86_64/dla.h: ...here.  New file.
47594         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47604 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47606         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47607         __ynl_finite aliases.
47609 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47613         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47614         define DLA_FMA.
47615         [DLA_FMA] (EMULV): Use DLA_FMA.
47616         [DLA_FMA] (MUL12): Use EMULV.
47617         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47618         that are not needed.
47619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47624         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47627 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47629         * math/s_nan.c: Undef __nan.
47630         * math/s_nanf.c: Undef __nanf.
47631         * math/s_nanl.c: Undef __nanl.
47632         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47633         "math_private.h".
47635 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47637         * math/s_catan.c: Add branch predictions.
47638         * math/s_catanf.c: Likewise.
47639         * math/s_catanh.c: Likewise.
47640         * math/s_catanhf.c: Likewise.
47641         * math/s_catanhl.c: Likewise.
47642         * math/s_catanl.c: Likewise.
47643         * math/s_cexp.c: Likewise.
47644         * math/s_cexpf.c: Likewise.
47645         * math/s_cexpl.c: Likewise.
47646         * math/s_clog.c: Likewise.
47647         * math/s_clog10.c: Likewise.
47648         * math/s_clog10f.c: Likewise.
47649         * math/s_clog10l.c: Likewise.
47650         * math/s_clogf.c: Likewise.
47651         * math/s_clogl.c: Likewise.
47652         * math/s_csqrt.c: Likewise.
47653         * math/s_csqrtf.c: Likewise.
47654         * math/s_csqrtl.c: Likewise.
47655         * math/s_ctanf.c: Likewise.
47656         * math/s_ctanh.c: Likewise.
47657         * math/s_ctanhf.c: Likewise.
47658         * math/s_ctanhl.c: Likewise.
47659         * math/s_ctanl.c: Likewise.
47661         * math/math_private.h: Define __nan, __nanf, __nanl.
47662         * math/s_cacosh.c: Include <math_private.h>.
47663         * math/s_cacoshl.c: Likewise.
47664         * math/s_casinh.c: Likewise.
47665         * math/s_casinhf.c: Likewise.
47666         * math/s_casinhl.c: Likewise.
47667         * math/s_ccos.c: Rely entire on ccosh.
47668         * math/s_ccosf.c: Rely entire on ccoshf.
47669         * math/s_ccosl.c: Rely entirely on ccoshl.
47670         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47671         Remove tests for FE_INVALID.
47672         * math/s_ccoshf.c: Likewise.
47673         * math/s_ccoshl.c: Likewise.
47674         * math/s_csin.c: Likewise.
47675         * math/s_csinf.c: Likewise.
47676         * math/s_csinh.c Likewise.
47677         * math/s_csinhf.c: Likewise.
47678         * math/s_csinhl.c: Likewise.
47679         * math/s_csinl.c: Likewise.
47680         * math/s_ctan.c: Likewise.
47681         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47682         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47683         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47685 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47688         compilation problems.
47690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47691         __builtin_expect.
47693 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47695         * sysdeps/i386/configure.in: Test for -mfma4 option.
47696         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47697         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47698         COMMON_CPUID_INDEX_80000001.
47699         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47700         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47701         use it if FMA3 is not supported.
47702         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47704         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47705         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47707 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47709         [BZ #12892]
47710         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47711         it would create a cycle with a link time dependency.
47713 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47715         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47716         instruction.
47717         * string/Makefile (strop-tests): Add rawmemchr.
47718         * string/test-rawmemchr.c: New file.
47720         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47721         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47722         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47723         when compiling str{,n}casecmp and when AVX is available.  Hook up
47724         new optimized code in initializers.
47726 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47728         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47729         __feraiseexcept instead of feraiseexcept.
47731 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47733         * math/math_private.h: Define defaults for libc_fetestexcept and
47734         libc_feupdateenv.
47735         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47736         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47737         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47738         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47739         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47740         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47741         libc_fetestexcept and libc_feupdateenv.
47743         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47744         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47745         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47746         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47747         libc_feholdexcept_setround.
47749         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47750         Add s_nearbyint-c and s_nearbyintf-c.
47751         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47752         nearbyintf inlines.
47753         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47754         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47755         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47756         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47758         * math/math_private.h: Define defaults for libc_fegetround,
47759         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47760         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47761         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47762         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47763         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47764         standard functions.
47765         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47766         Remove comments and hacks for old compiler versions.
47767         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47768         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47769         libc_feholdexceptl.
47771 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47773         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47774         (__feraiseexcept_renamed): Add __NTH.
47775         (feraiseexcept): Add __NTH.  Rename local variables to fix
47776         namespace violations.
47778 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47780         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47782         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47784         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47785         recently added interfaces.
47786         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47788         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47789         about macro parameter expansion.
47791         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47792         __NO_MATH_INLINES is defined.  Cleanups.
47794         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47795         and __floorf is target has SSE4.1.
47796         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47797         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47798         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47799         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47801         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47802         name.
47803         (floorf): Likewise.
47805         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47807 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47809         * misc/sys/cdefs.h: Fix last change.
47811         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47812         database lookup.
47814 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47816         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47818         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47819         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47820         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47822         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47823         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47824         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47826         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47827         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47828         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47829         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47830         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47831         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47832         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47833         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47834         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47835         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47836         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47837         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47838         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47839         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47841         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47842         ceil, ceilf, floor, floorf.
47844         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47845         Perform IRELATIVE relocations last.
47847         * elf/do-rel.h: Add another parameter nrelative, replacing the
47848         local variable with the same name.  Change name of the function
47849         to end in Rel or Rela (uppercase).
47850         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47851         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47852         elf_dynamic_do_##reloc function.
47854 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47856         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47857         is sufficient, at least on modern CPUs.
47859         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47861         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47862         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47864         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47865         __expl_finite.
47866         * math/bits/math-finite.h: Add entries for exp.
47867         * math/e_expl.c: Add __*_finite alias.
47868         * sysdeps/i386/fpu/e_exp.S: Likewise.
47869         * sysdeps/i386/fpu/e_expf.S: Likewise.
47870         * sysdeps/i386/fpu/e_expl.c: Likewise.
47871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47872         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47875         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47876         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47877         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47879         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47880         is sufficient, at least on modern CPUs.
47882         * ctype/ctype-info.c (__ctype_init): Define.
47883         * include/ctype.h (__ctype_init): Declare.
47884         (__ctype_b_loc): The variable is always initialized.
47885         (__ctype_toupper_loc): Likewise.
47886         (__ctype_tolower_loc): Likewise.
47887         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47888         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47890 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47892         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47894         * configure.in: Also look in $cxxmachine/include for C++ system
47895         headers.
47897 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47899         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47900         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47901         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47902         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47903         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47904         (USE_AS_WMEMCMP): New macro.
47905         Fixing indents.
47906         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47907         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47908         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47909         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47911         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47912         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47913         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47914         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47915         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47916         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47917         (USE_AS_WMEMCMP): New macro.
47918         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47919         * sysdeps/string/test-memcmp.c: Update.
47920         Fix simple_wmemcmp.
47921         Add new tests.
47922         * wcsmbs/wmemcmp.c: Update.
47923         (WMEMCMP): New macro.
47924         Fix overflow bug.
47926 2011-10-12  Andreas Jaeger  <aj@suse.de>
47928         [BZ #13268]
47929         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47931 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47933         * libio/iofwide.c (do_length): Avoid warning.
47935         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47937 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47939         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47941         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47942         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47943         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47944         * sysdeps/i386/i686/fpu/e_log.S: New file.
47945         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47946         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47948         * ctype/ctype.h: Add support for inlined isXXX functions when
47949         compiling C++ code.
47951 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47953         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47955         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47957 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47959         [BZ #13291]
47960         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47962 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47964         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47965         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47966         feraiseexcept.
47968         * sysdeps/x86_64/memrchr.S: Check for zero size.
47970         * string/stratcliff.c: Add memrchr tests.
47972 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47975         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47976         rawmemchr-sse2 rawmemchr-sse2-bsf.
47977         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47978         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47979         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47980         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47981         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47982         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47983         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47984         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47985         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47986         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47987         * string/memrchr.c (MEMRCHR): New macro.
47989 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
47991         Add integration with gcc's -ffinite-math-only and optimize wrapper
47992         functions in libm.
47993         * Versions.def: Define GLIBC_2.15 version for libm.
47994         * math/Makefile (headers): Add bits/math-finite.h.
47995         * math/bits/math-finite.h: New file.
47996         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47997         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47998         * math/e_acoshl.c: Add __*_finite alias.
47999         * math/e_acosl.c: Likewise.
48000         * math/e_asinl.c: Likewise.
48001         * math/e_atan2l.c: Likewise.
48002         * math/e_atanhl.c: Likewise.
48003         * math/e_coshl.c: Likewise.
48004         * math/e_exp10.c: Likewise.
48005         * math/e_exp10f.c: Likewise.
48006         * math/e_exp10l.c: Likewise.
48007         * math/e_exp2l.c: Likewise.
48008         * math/e_fmodl.c: Likewise.
48009         * math/e_gammal_r.c: Likewise.
48010         * math/e_hypotl.c: Likewise.
48011         * math/e_j0l.c: Likewise.
48012         * math/e_j1l.c: Likewise.
48013         * math/e_jnl.c: Likewise.
48014         * math/e_lgammal_r.c: Likewise.
48015         * math/e_log10l.c: Likewise.
48016         * math/e_log2l.c: Likewise.
48017         * math/e_logl.c: Likewise.
48018         * math/e_powl.c: Likewise.
48019         * math/e_sinhl.c: Likewise.
48020         * math/e_sqrtl.c: Likewise.
48021         * math/e_scalb.c: Completely rewritten and optimized.
48022         * math/e_scalbf.c: Likewise.
48023         * math/e_scalbl.c: Likewise.
48024         * math/w_acos.c: Likewise.
48025         * math/w_acosf.c: Likewise.
48026         * math/w_acosl.c: Likewise.
48027         * math/w_acosh.c: Likewise.
48028         * math/w_acoshf.c: Likewise.
48029         * math/w_acoshl.c: Likewise.
48030         * math/w_asin.c: Likewise.
48031         * math/w_asinf.c: Likewise.
48032         * math/w_asinl.c: Likewise.
48033         * math/w_atan2.c: Likewise.
48034         * math/w_atan2f.c: Likewise.
48035         * math/w_atan2l.c: Likewise.
48036         * math/w_atanh.c: Likewise.
48037         * math/w_atanhf.c: Likewise.
48038         * math/w_atanhl.c: Likewise.
48039         * math/w_exp10.c: Likewise.
48040         * math/w_exp10f.c: Likewise.
48041         * math/w_exp10l.c: Likewise.
48042         * math/w_fmod.c: Likewise.
48043         * math/w_fmodf.c: Likewise.
48044         * math/w_fmodl.c: Likewise.
48045         * math/w_j0.c: Likewise.
48046         * math/w_j0f.c: Likewise.
48047         * math/w_j0l.c: Likewise.
48048         * math/w_j1.c: Likewise.
48049         * math/w_j1f.c: Likewise.
48050         * math/w_j1l.c: Likewise.
48051         * math/w_jn.c: Likewise.
48052         * math/w_jnf.c: Likewise.
48053         * math/w_log.c: Likewise.
48054         * math/w_logf.c: Likewise.
48055         * math/w_logl.c: Likewise.
48056         * math/w_log10.c: Likewise.
48057         * math/w_log10f.c: Likewise.
48058         * math/w_log10l.c: Likewise.
48059         * math/w_log2.c: Likewise.
48060         * math/w_log2f.c: Likewise.
48061         * math/w_log2l.c: Likewise.
48062         * math/w_pow.c: Likewise.
48063         * math/w_powf.c: Likewise.
48064         * math/w_powl.c: Likewise.
48065         * math/w_remainder.c: Likewise.
48066         * math/w_remainderf.c: Likewise.
48067         * math/w_remainderl.c: Likewise.
48068         * math/w_scalb.c: Likewise.
48069         * math/w_scalbf.c: Likewise.
48070         * math/w_scalbl.c: Likewise.
48071         * math/w_sqrt.c: Likewise.
48072         * math/w_sqrtf.c: Likewise.
48073         * math/w_sqrtl.c: Likewise.
48074         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48075         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48076         used.
48077         * math/math_private.h: Declare __kernel_standard_f.
48078         * math/w_cosh.c: Remove cruft and optimize a bit.
48079         * math/w_coshf.c: Likewise.
48080         * math/w_coshl.c: Likewise.
48081         * math/w_exp2.c: Likewise.
48082         * math/w_exp2f.c: Likewise.
48083         * math/w_exp2l.c: Likewise.
48084         * math/w_hypot.c: Likewise.
48085         * math/w_hypotf.c: Likewise.
48086         * math/w_hypotl.c: Likewise.
48087         * math/w_lgamma.c: Likewise.
48088         * math/w_lgamma_r.c: Likewise.
48089         * math/w_lgammaf.c: Likewise.
48090         * math/w_lgammaf_r.c: Likewise.
48091         * math/w_lgammal.c: Likewise.
48092         * math/w_lgammal_r.c: Likewise.
48093         * math/w_sinh.c: Likewise.
48094         * math/w_sinhf.c: Likewise.
48095         * math/w_sinhl.c: Likewise.
48096         * math/w_tgamma.c: Likewise.
48097         * math/w_tgammaf.c: Likewise.
48098         * math/w_tgammal.c: Likewise.
48099         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48100         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48101         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48102         Minor optimizations.  Pretty printing.  Remove cruft.
48103         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48104         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48105         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48106         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48107         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48108         * sysdeps/i386/fpu/e_asin.S: Likewise.
48109         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48110         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48111         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48112         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48113         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48114         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48115         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48116         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48117         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48118         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48119         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48120         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48121         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48122         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48123         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48124         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48125         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48126         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48127         * sysdeps/i386/fpu/e_log.S: Likewise.
48128         * sysdeps/i386/fpu/e_log10.S: Likewise.
48129         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48130         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48131         * sysdeps/i386/fpu/e_log2.S: Likewise.
48132         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48133         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48134         * sysdeps/i386/fpu/e_logf.S: Likewise.
48135         * sysdeps/i386/fpu/e_logl.S: Likewise.
48136         * sysdeps/i386/fpu/e_pow.S: Likewise.
48137         * sysdeps/i386/fpu/e_powf.S: Likewise.
48138         * sysdeps/i386/fpu/e_powl.S: Likewise.
48139         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48140         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48141         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48142         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48143         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48144         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48145         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48146         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48147         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48148         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48149         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48151         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48152         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48153         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48154         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48155         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48156         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48157         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48158         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48159         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48160         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48161         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48162         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48164         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48165         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48168         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48169         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48170         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48171         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48172         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48173         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48174         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48175         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48176         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48177         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48178         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48179         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48181         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48182         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48183         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48184         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48185         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48186         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48187         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48188         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48189         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48190         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48191         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48192         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48193         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48194         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48195         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48196         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48197         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48198         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48199         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48200         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48201         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48203         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48204         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48205         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48206         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48207         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48208         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48211         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48212         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48213         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48214         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48216         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48217         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48218         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48221         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48222         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48223         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48225         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48226         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48227         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48228         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48229         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48230         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48231         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48232         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48233         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48234         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48235         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48236         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48237         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48238         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48239         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48240         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48241         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48242         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48243         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48244         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48245         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48246         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48247         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48248         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48249         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48250         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48251         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48252         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48253         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48254         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48255         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48256         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48257         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48258         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48259         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48260         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48261         (__isnanf): Likewise.
48262         (__isinf_ns): Likewise.
48263         (__isinf_nsf): Likewise.
48264         (__finite): Likewise.
48265         (__finitef): Likewise.
48266         (__ieee754_sqrt): Define as macro.
48267         (__ieee754_sqrtf): Define as macro.
48268         (__ieee754_sqrtl): Define as macro.
48269         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48270         inlined copy.
48271         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48272         __FINITE_MATH_ONLY__ consistent.
48273         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48275 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48277         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48278         of rawmemchr.
48280         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48282 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48284         * po/ja.po: Update from translation team.
48286 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48288         * locale/programs/locarchive.c (prepare_address_space): New function.
48289         (create_archive, enlarge_archive, open_archive): Use it.
48291         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48292         inside [SHARED], where it is used.
48294         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48296         * nss/getent.c (netgroup_keys): Remove unused variable.
48297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48299 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48301         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48302         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48304         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48305         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48306         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48307         * math/Makefile (libm-calls): Add s_isinf_ns.
48308         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48309         * math/multc3.c: Likewise.
48310         * math/s_casin.c: Likewise.
48311         * math/s_casinf.c: Likewise.
48312         * math/s_casinl.c: Likewise.
48313         * math/s_ccos.c: Likewise.
48314         * math/s_ccosf.c: Likewise.
48315         * math/s_ccosl.c: Likewise.
48316         * math/s_ctan.c: Likewise.
48317         * math/s_ctanf.c: Likewise.
48318         * math/s_ctanh.c: Likewise.
48319         * math/s_ctanhf.c: Likewise.
48320         * math/s_ctanhl.c: Likewise.
48321         * math/s_ctanl.c: Likewise.
48322         * math/w_fmod.c: Likewise.
48323         * math/w_fmodf.c: Likewise.
48324         * math/w_fmodl.c: Likewise.
48325         * math/w_remainder.c: Likewise.
48326         * math/w_remainderf.c: Likewise.
48327         * math/w_remainderl.c: Likewise.
48328         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48329         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48332         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48333         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48334         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48335         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48337         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48338         of the number.
48339         * stdio-common/printf_fphex.c: Likewise.
48340         * stdio-common/printf_size.c: Likewise.
48342         * math/e_exp10.c: Include math_private.h using <...> not "...".
48343         * math/e_exp10f.c: Likewise.
48344         * math/e_exp10l.c: Likewise.
48345         * math/e_exp2l.c: Likewise.
48346         * math/e_j0l.c: Likewise.
48347         * math/e_j1l.c: Likewise.
48348         * math/e_jnl.c: Likewise.
48349         * math/e_lgammal_r.c: Likewise.
48350         * math/e_rem_pio2l.c: Likewise.
48351         * math/e_scalb.c: Likewise.
48352         * math/e_scalbf.c: Likewise.
48353         * math/e_scalbl.c: Likewise.
48354         * math/k_cosl.c: Likewise.
48355         * math/k_sinl.c: Likewise.
48356         * math/k_tanl.c: Likewise.
48357         * math/s_cacoshf.c: Likewise.
48358         * math/s_catan.c: Likewise.
48359         * math/s_catanf.c: Likewise.
48360         * math/s_catanh.c: Likewise.
48361         * math/s_catanhf.c: Likewise.
48362         * math/s_catanhl.c: Likewise.
48363         * math/s_catanl.c: Likewise.
48364         * math/s_ccosh.c: Likewise.
48365         * math/s_ccoshf.c: Likewise.
48366         * math/s_ccoshl.c: Likewise.
48367         * math/s_cexp.c: Likewise.
48368         * math/s_cexpf.c: Likewise.
48369         * math/s_cexpl.c: Likewise.
48370         * math/s_clog.c: Likewise.
48371         * math/s_clog10.c: Likewise.
48372         * math/s_clog10f.c: Likewise.
48373         * math/s_clog10l.c: Likewise.
48374         * math/s_clogf.c: Likewise.
48375         * math/s_clogl.c: Likewise.
48376         * math/s_csin.c: Likewise.
48377         * math/s_csinf.c: Likewise.
48378         * math/s_csinh.c: Likewise.
48379         * math/s_csinhf.c: Likewise.
48380         * math/s_csinhl.c: Likewise.
48381         * math/s_csinl.c: Likewise.
48382         * math/s_csqrt.c: Likewise.
48383         * math/s_csqrtf.c: Likewise.
48384         * math/s_csqrtl.c: Likewise.
48385         * math/s_ctan.c: Likewise.
48386         * math/s_ctanf.c: Likewise.
48387         * math/s_ctanh.c: Likewise.
48388         * math/s_ctanhf.c: Likewise.
48389         * math/s_ctanhl.c: Likewise.
48390         * math/s_ctanl.c: Likewise.
48391         * math/s_ldexp.c: Likewise.
48392         * math/s_ldexpf.c: Likewise.
48393         * math/s_ldexpl.c: Likewise.
48394         * math/s_significand.c: Likewise.
48395         * math/s_significandf.c: Likewise.
48396         * math/s_significandl.c: Likewise.
48397         * math/w_acos.c: Likewise.
48398         * math/w_acosf.c: Likewise.
48399         * math/w_acosh.c: Likewise.
48400         * math/w_acoshf.c: Likewise.
48401         * math/w_acoshl.c: Likewise.
48402         * math/w_acosl.c: Likewise.
48403         * math/w_asin.c: Likewise.
48404         * math/w_asinf.c: Likewise.
48405         * math/w_asinl.c: Likewise.
48406         * math/w_atan2.c: Likewise.
48407         * math/w_atan2f.c: Likewise.
48408         * math/w_atan2l.c: Likewise.
48409         * math/w_atanh.c: Likewise.
48410         * math/w_atanhf.c: Likewise.
48411         * math/w_atanhl.c: Likewise.
48412         * math/w_cosh.c: Likewise.
48413         * math/w_coshf.c: Likewise.
48414         * math/w_coshl.c: Likewise.
48415         * math/w_dremf.c: Likewise.
48416         * math/w_exp10.c: Likewise.
48417         * math/w_exp10f.c: Likewise.
48418         * math/w_exp10l.c: Likewise.
48419         * math/w_exp2.c: Likewise.
48420         * math/w_exp2f.c: Likewise.
48421         * math/w_fmod.c: Likewise.
48422         * math/w_fmodf.c: Likewise.
48423         * math/w_fmodl.c: Likewise.
48424         * math/w_hypot.c: Likewise.
48425         * math/w_hypotf.c: Likewise.
48426         * math/w_hypotl.c: Likewise.
48427         * math/w_j0.c: Likewise.
48428         * math/w_j0f.c: Likewise.
48429         * math/w_j0l.c: Likewise.
48430         * math/w_j1.c: Likewise.
48431         * math/w_j1f.c: Likewise.
48432         * math/w_j1l.c: Likewise.
48433         * math/w_jn.c: Likewise.
48434         * math/w_jnf.c: Likewise.
48435         * math/w_jnl.c: Likewise.
48436         * math/w_lgamma.c: Likewise.
48437         * math/w_lgamma_r.c: Likewise.
48438         * math/w_lgammaf.c: Likewise.
48439         * math/w_lgammaf_r.c: Likewise.
48440         * math/w_lgammal.c: Likewise.
48441         * math/w_lgammal_r.c: Likewise.
48442         * math/w_log.c: Likewise.
48443         * math/w_log10.c: Likewise.
48444         * math/w_log10f.c: Likewise.
48445         * math/w_log10l.c: Likewise.
48446         * math/w_log2.c: Likewise.
48447         * math/w_log2f.c: Likewise.
48448         * math/w_log2l.c: Likewise.
48449         * math/w_logf.c: Likewise.
48450         * math/w_logl.c: Likewise.
48451         * math/w_pow.c: Likewise.
48452         * math/w_powf.c: Likewise.
48453         * math/w_powl.c: Likewise.
48454         * math/w_remainder.c: Likewise.
48455         * math/w_remainderf.c: Likewise.
48456         * math/w_remainderl.c: Likewise.
48457         * math/w_scalb.c: Likewise.
48458         * math/w_scalbf.c: Likewise.
48459         * math/w_scalbl.c: Likewise.
48460         * math/w_sinh.c: Likewise.
48461         * math/w_sinhf.c: Likewise.
48462         * math/w_sinhl.c: Likewise.
48463         * math/w_sqrt.c: Likewise.
48464         * math/w_sqrtf.c: Likewise.
48465         * math/w_sqrtl.c: Likewise.
48466         * math/w_tgamma.c: Likewise.
48467         * math/w_tgammaf.c: Likewise.
48468         * math/w_tgammal.c: Likewise.
48470         * po/ja.po: Update from translation team.
48472 2011-09-29  Andreas Jaeger  <aj@suse.de>
48474         [BZ #13179]
48475         * sunrpc/netname.c (netname2host): Fix logic.
48477         [BZ #6779]
48478         [BZ #6783]
48479         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48480         correctly.
48481         * math/w_remainder.c (__remainder): Likewise.
48482         * math/w_remainderf.c (__remainderf): Likewise.
48483         * math/libm-test.inc (remainder_test): Add test cases.
48485 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48487         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48488         sdiv_qrnnd.
48490 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48492         * string/test-memcmp.c: Avoid unncessary #defines.
48493         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48495 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48497         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48498         Use new sse2 version for core i3 - i7 as it's faster
48499         than sse42 version.
48500         (bit_Prefer_PMINUB_for_stringop): New.
48501         * sysdeps/x86_64/rawmemchr.S: Update.
48502         Replace with faster SSE2 version.
48503         * sysdeps/x86_64/memrchr.S: New file.
48504         * sysdeps/x86_64/memchr.S: Update.
48505         Replace with faster SSE2 version.
48507 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48509         * elf/dl-load.c (lose): Add cast to avoid warning.
48511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48513         * po/ca.po: Update from translation team.
48515         * inet/getnetgrent_r.c: Hook up nscd.
48516         * nscd/Makefile (routines): Add nscd_netgroup.
48517         (nscd-modules): Add netgroupcache.
48518         (CFLAGS-netgroupcache.c): Define.
48519         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48520         (cache_search): Add const to second parameter.
48521         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48522         INNETGR.
48523         (dbs): Add netgrdb entry.
48524         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48525         (verify_persistent_db): Handle netgrdb.
48526         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48527         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48528         GETFDNETGR.
48529         (netgroup_response_header): Define.
48530         (innetgroup_response_header): Define.
48531         (datahead): Add netgroup_response_header and innetgroup_response_header
48532         elements.
48533         * nscd/nscd.conf: Add entries for netgroup cache.
48534         * nscd/nscd.h (dbtype): Add netgrdb.
48535         (_PATH_NSCD_NETGROUP_DB): Define.
48536         (netgroup_iov_disabled): Declare.
48537         (xmalloc, xcalloc, xrealloc): Move declarations here.
48538         (cache_search): Adjust prototype.
48539         Add netgroup-related prototypes.
48540         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48541         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48542         (__nscd_innetgr): Declare.
48543         * nscd/selinux.c (perms): Use access_vector_t as element type and
48544         add netgroup-related initializers.
48545         * nscd/netgroupcache.c: New file.
48546         * nscd/nscd_netgroup.c: New file.
48547         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48548         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48549         For four parameters use innetgr.
48550         * nss/nss_files/files-init.c: Add definition and callback for netgr.
48551         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48552         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48553         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48555         * nscd/connections.c (register_traced_file): Don't register file
48556         for disabled databases.
48558 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
48560         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48562         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48563         from tree and freeing node.
48565 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
48567         * nss/nsswitch.c (__nss_database_lookup): Handle
48568         nss_parse_service_list out of memory case.
48570 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
48572         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48573         out of memory case.
48575 2011-10-04  Andreas Schwab  <schwab@redhat.com>
48577         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48578         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48579         pass it down.
48580         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48581         elf_machine_rela, elf_machine_lazy_rel.
48582         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48583         (ELF_DYNAMIC_DO_REL): Likewise.
48584         (ELF_DYNAMIC_DO_RELA): Likewise.
48585         (ELF_DYNAMIC_RELOCATE): Likewise.
48586         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48587         to ELF_DYNAMIC_DO_REL.
48588         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48589         (dl_main): In trace mode always set __RTLD_NOIFUNC.
48590         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48591         elf_machine_rela.
48592         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48593         skip_ifunc, don't call ifunc function if non-zero.
48594         (elf_machine_rela): Likewise.
48595         (elf_machine_lazy_rel): Likewise.
48596         (elf_machine_lazy_rela): Likewise.
48597         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48598         (elf_machine_lazy_rel): Likewise.
48599         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48600         Likewise.
48601         (elf_machine_lazy_rel): Likewise.
48602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48603         Likewise.
48604         (elf_machine_lazy_rel): Likewise.
48605         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48606         (elf_machine_lazy_rel): Likewise.
48607         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48608         (elf_machine_lazy_rel): Likewise.
48609         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48610         (elf_machine_lazy_rel): Likewise.
48611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48612         (elf_machine_lazy_rel): Likewise.
48613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48614         (elf_machine_lazy_rel): Likewise.
48615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48616         (elf_machine_lazy_rel): Likewise.
48618 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48620         * nss/nss_files/files-init.c (_nss_files_init): Use static
48621         initialization for all the *_traced_file variables.
48623 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48627 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48629         [BZ #13226]
48630         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48632 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48634         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48635         Reread the line before reparsing it.
48637 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48639         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48641 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48642             Maxim Kuvyrkov  <maxim@codesourcery.com>
48643             Joseph Myers  <joseph@codesourcery.com>
48645         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48646         if needed for __stack_chk_guard.
48648 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48650         * sysdeps/posix/spawni.c (script_execute): Always define it.
48651         It will be optimized away if unused.
48652         (maybe_script_execute): New function.
48653         (__spawni): Call it.
48655         * Makerules: Don't include tls.make.
48656         (config-tls): Always set to thread.
48657         * tls.make.c: File removed.
48659 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48661         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48662         * config.make.in (CPPFLAGS-config): New substituted variable.
48664 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48666         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48668         [BZ #13192]
48669         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48670         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48672 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48674         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48675         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48677         (CALL_FAIL): Likewise.
48678         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48679         (CALL_FAIL): Macro removed.
48680         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48682 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48684         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48685         for __FINITE_MATH_ONLY__ == 1.
48687 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48689         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48690         __ieee754_sqrt instead of sqrt.
48691         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48692         __ieee754_sqrtf instead of sqrtf.
48693         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48694         __floorf instead of floorf.
48695         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48696         __floorf, __truncf instead of floorf, truncf.
48698 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48700         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48702         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48703         __extern_always_inline.
48704         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48705         32-bit.
48707 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48709         * elf/rtld.c (dl_main): Also relocate in dependency order when
48710         doing symbol dependency testing.
48712 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48715         Always define `refsym'.
48717 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48719         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48720         (__FD_ELT): Renamed from __FDELT.
48721         * misc/bits/select2.h (__FD_ELT): Likewise.
48722         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48723         __FD_MASK instead of __FDELT, __FDMASK.
48724         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48725         Likewise.
48726         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48727         Likewise.
48729         * elf/Makefile (gen-ldd): Fix pattern.
48731         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48732         (init_tls): Likewise.
48734 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48738 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48740         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48741         `struct cmsghdr *' instead of `void *'.
48742         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48743         Likewise.
48745 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48747         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48748         if non-absolute.
48749         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48750         ldd_rewrite_script.
48752 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48754         * configure.in: Remove --with-tls option.
48755         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48756         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48757         out in case it is missing.
48758         * sysdeps/ia64/elf/configure.in: Likewise.
48759         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48760         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48761         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48762         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48763         * sysdeps/sh/elf/configure.in: Likewise.
48764         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48765         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48766         * sysdeps/x86_64/elf/configure.in: Likewise.
48767         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48768         * sysdeps/mach/hurd/tls.h: Likewise.
48770         [BZ #13067]
48771         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48773         [BZ #13090]
48774         * configure.in: Fix use of AC_INIT.
48776         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48778 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48780         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48781         __set_errno.
48782         * malloc/hooks.c: Likewise.
48784         [BZ #11929]
48785         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48786         variables statically.
48787         (narenas): Initialize.
48788         (list_lock): Initialize.
48789         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48790         initializtion of main_arena and list_lock.  Small cleanups.
48791         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48792         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48793         Add initializers to main_arena and mp_.
48794         (malloc_state): Remove pagesize member.  Change all users to use
48795         GLRO(dl_pagesize).
48797         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48798         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48799         is always initialized.
48801         * malloc/malloc.c: Removed unused configurations and dead code.
48802         * malloc/arena.c: Likewise.
48803         * malloc/hooks.c: Likewise.
48804         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48806         * include/tls.h: Removed.  USE___THREAD must always be defined.
48807         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48808         * elf/dl-libc.c: Likewise.
48809         * elf/dl-tsd.c: Likewise.
48810         * include/errno.h: Likewise.
48811         * include/netdb.h: Likewise.
48812         * include/resolv.h: Likewise.
48813         * inet/herrno-loc.c: Likewise.
48814         * inet/herrno.c: Likewise.
48815         * malloc/arena.c: Likewise.
48816         * malloc/hooks.c: Likewise.
48817         * malloc/malloc.c: Likewise.
48818         * resolv/res-state.c: Likewise.
48819         * resolv/res_libc.c: Likewise.
48820         * sysdeps/i386/dl-machine.h: Likewise.
48821         * sysdeps/ia64/dl-machine.h: Likewise.
48822         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48823         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48824         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48825         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48826         * sysdeps/sh/dl-machine.h: Likewise.
48827         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48828         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48829         * sysdeps/unix/i386/sysdep.S: Likewise.
48830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48831         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48836         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48840         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48841         * sysdeps/x86_64/dl-machine.h: Likewise.
48842         * tls.make.c: Likewise.
48844         * configure.in: Remove --with-__thread option.  Make tests for
48845         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48846         tls_model attribute fail if no support is available.  Remove
48847         USE_IN_LIBIO.
48848         * Makeconfig: Adjust for dropped configure option.  All features are
48849         now mandatory.
48850         * Makerules: Likewise.
48851         * Versions.def: Likewise.
48852         * argp/argp-fmtstream.c: Likewise.
48853         * argp/argp-fmtstream.h: Likewise.
48854         * argp/argp-help.c: Likewise.
48855         * assert/assert.c: Likewise.
48856         * config.h.in: Likewise.
48857         * config.make.in: Likewise.
48858         * configure: Likewise.
48859         * configure.in: Likewise.
48860         * csu/Versions: Likewise.
48861         * csu/init.c: Likewise.
48862         * elf/tst-audit2.c: Likewise.
48863         * elf/tst-tls10.c: Likewise.
48864         * elf/tst-tls10.h: Likewise.
48865         * elf/tst-tls11.c: Likewise.
48866         * elf/tst-tls12.c: Likewise.
48867         * elf/tst-tls14.c: Likewise.
48868         * elf/tst-tlsmod11.c: Likewise.
48869         * elf/tst-tlsmod12.c: Likewise.
48870         * elf/tst-tlsmod13.c: Likewise.
48871         * elf/tst-tlsmod13a.c: Likewise.
48872         * elf/tst-tlsmod14a.c: Likewise.
48873         * elf/tst-tlsmod15b.c: Likewise.
48874         * elf/tst-tlsmod16a.c: Likewise.
48875         * elf/tst-tlsmod16b.c: Likewise.
48876         * elf/tst-tlsmod7.c: Likewise.
48877         * elf/tst-tlsmod8.c: Likewise.
48878         * elf/tst-tlsmod9.c: Likewise.
48879         * gmon/gmon.c: Likewise.
48880         * grp/fgetgrent_r.c: Likewise.
48881         * grp/putgrent.c: Likewise.
48882         * hurd/fopenport.c: Likewise.
48883         * include/libc-symbols.h: Likewise.
48884         * include/tls.h: Likewise.
48885         * intl/gettextP.h: Likewise.
48886         * intl/loadinfo.h: Likewise.
48887         * locale/global-locale.c: Likewise.
48888         * locale/localeinfo.h: Likewise.
48889         * mach/devstream.c: Likewise.
48890         * malloc/arena.c: Likewise.
48891         * malloc/set-freeres.c: Likewise.
48892         * misc/err.c: Likewise.
48893         * misc/getttyent.c: Likewise.
48894         * misc/mntent_r.c: Likewise.
48895         * posix/getopt.c: Likewise.
48896         * posix/wordexp.c: Likewise.
48897         * pwd/fgetpwent_r.c: Likewise.
48898         * resolv/Versions: Likewise.
48899         * resolv/res_hconf.c: Likewise.
48900         * shadow/fgetspent_r.c: Likewise.
48901         * shadow/putspent.c: Likewise.
48902         * stdio-common/printf_fphex.c: Likewise.
48903         * stdio-common/tmpfile.c: Likewise.
48904         * stdlib/abort.c: Likewise.
48905         * stdlib/fmtmsg.c: Likewise.
48906         * sunrpc/auth_unix.c: Likewise.
48907         * sunrpc/clnt_perr.c: Likewise.
48908         * sunrpc/clnt_tcp.c: Likewise.
48909         * sunrpc/clnt_udp.c: Likewise.
48910         * sunrpc/clnt_unix.c: Likewise.
48911         * sunrpc/openchild.c: Likewise.
48912         * sunrpc/svc_simple.c: Likewise.
48913         * sunrpc/svc_tcp.c: Likewise.
48914         * sunrpc/svc_udp.c: Likewise.
48915         * sunrpc/svc_unix.c: Likewise.
48916         * sunrpc/xdr.c: Likewise.
48917         * sunrpc/xdr_array.c: Likewise.
48918         * sunrpc/xdr_rec.c: Likewise.
48919         * sunrpc/xdr_ref.c: Likewise.
48920         * sunrpc/xdr_stdio.c: Likewise.
48922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48924         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48926 2011-07-03  Andreas Jaeger  <aj@suse.de>
48928         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48929         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48930         regenerate with gen-libm-tests.pl.
48932 2010-05-12  Petr Baudis  <pasky@suse.cz>
48934         [BZ #11589]
48935         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48936         around j0() zero points by switching to j1().
48937         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48938         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48940         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48942 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48944         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48945         instead of 0.
48946         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48947         instead of 0.
48948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48949         Patch in part by Pavel Roskin <proski@gnu.org>.
48951         [BZ #13138]
48952         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48953         realloc.
48954         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48955         Free memory block if necessary.
48957         [BZ #12847]
48958         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48959         be NULL.  Don't lock in this case.
48961 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48963         * elf/elf.h (ELFOSABI_GNU): New macro.
48964         (ELFOSABI_LINUX): Define to that.
48966 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48968         * string/strncat.c (strncat): Undef the symbol in case it has been
48969         defined in bits/string.h.
48971 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48973         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48975         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48976         link map.
48978 2011-08-17  Andreas Jaeger  <aj@suse.de>
48980         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48982 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48983             Ian Lance Taylor  <iant@google.com>
48985         * math/libm-test.inc (lround_test): New testcase.
48986         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48988 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
48990         * Makefile: Remove support for automatic cvs check-ins.
48991         * Makerules: Likewise.
48992         * config.make.in: Likewise.
48993         * configure.in: Likewise.
48994         * intl/Makefile: Likewise.
48995         * locale/Makefile: Likewise.
48996         * po/Makefile: Likewise.
48997         * posix/Makefile: Likewise.
48998         * sysdeps/gnu/Makefile: Likewise.
48999         * sysdeps/mach/hurd/Makefile: Likewise.
49000         * sysdeps/sparc/sparc32/Makefile: Likewise.
49002         [BZ #13118]
49003         * posix/Makefile (bug-regex32-ENV): Define.
49004         Patch by John Stanley <jpsinthemix@verizon.net>.
49006         * misc/Makefile (headers): Add bits/select2.h.
49007         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49008         * misc/bits/select2.h: New file.
49009         * include/bits/select2.h: New file.
49010         * debug/Makefile (routines): Add fdelt_chk.
49011         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49012         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49013         FD_ISSET.
49014         * debug/fdelt_chk.c: New file.
49016         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49017         * wcsmbs/test-wmemcmp.c: Likewise.
49018         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49019         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49021 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49023         * string/Makefile (strop-tests): Add memcmp.
49024         * string/test-wmemcmp.c: New file.
49025         * string/test-memcmp.c: Add wmemcmp support.
49027 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49029         [BZ #13153]
49030         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49031         2011-07-19 change.
49033         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49034         garbage value in a __mach_port_mod_refs call in the cases of the
49035         task-self and thread-self ports.
49037 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49039         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49041 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49043         * elf/dl-load.c (lose): Check for non-null L.
49045 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49047         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49049         * elf/dl-libc.c (dlerror_run): Pass back error code from
49050         dl_catch_error.
49052         [BZ #13123]
49053         * elf/dl-load.c (lose): Free l_origin if it is valid.
49055         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49056         names.
49057         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49058         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49059         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49060         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49061         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49062         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49064 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49066         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49067         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49068         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49069         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49070         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49071         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49072         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49073         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49074         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49075         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49077 2011-08-15  Alan Modra  <amodra@gmail.com>
49079         [BZ #13092]
49080         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49081         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49082         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49083         ppc_mcount to static-only-routines.
49084         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49085         __mcount_internal.
49086         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49087         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49089 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49091         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49092         for finite and infinity parameters.
49094 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49096         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49097         and add nop instructions for throughput optimization.
49098         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49100 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49102         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49103         aligned copy for power7 with vector-scalar instructions.
49104         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49106 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49109         AVX check.
49111 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49113         [BZ #13144]
49114         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49115         last change.
49117 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49119         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49120         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49121         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49123         clock_gettime.
49125 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49127         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49128         Forgot to demangle the pointer.
49130         * sysdeps/i386/sysdep.h: Define atom_text_section.
49131         * sysdeps/x86_64/sysdep.h: Likewise.
49132         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49133         section with atom_text_section.
49134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49135         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49136         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49137         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49138         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49140         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49141         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49142         already be defined.  Change to take two parameters and don't assign
49143         result to variable.  Adjust all users.
49144         Define INTERNAL_GETTIME if not already defined.
49145         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49146         call.
49147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49148         HAVE_CLOCK_GETTIME_VSYSCALL.
49149         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49151         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49152         gettimeofday vsyscall, just use time.
49154 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49157         <errno.h>.
49159 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49161         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49162         syscall on x86-64.
49163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49164         syscall.
49165         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49166         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49167         syscall if possible.
49169 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49171         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49172         e_ident.  Don't pass to find_mapsXX.
49173         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49175 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49178         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49179         * sysdeps/x86_64/multiarch/strchr.S: Update.
49180         Check bit_slow_BSF bit.
49181         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49182         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49183         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49185 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49187         [BZ #13134]
49188         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49189         before glibc 2.15.
49190         (tryshell): Define.
49191         (__spawni): Change last parameter to be flag.  Test
49192         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49193         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49194         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49195         * posix/spawni.c: Likewise.
49196         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49197         * posix/spawnp.c: Likewise.  Change normal version to use
49198         SPAWN_XFLAGS_USE_PATH.
49199         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49200         SPAWN_XFLAGS_TRY_SHELL.
49202         [BZ #13150]
49203         * posix/glob.h: Remove gcc 1.x support.
49205         [BZ #13068]
49206         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49208 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49211         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49212         strrchr-sse2-bsf
49213         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49214         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49215         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49217         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49218         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49220 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49222         * sysdeps/x86_64/wcscmp.S: New file.
49224         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49225         wcscmp-c wcscmp-sse2
49226         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49227         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49228         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49229         * wcsmbs/wcscmp.c: Allow renaming.
49231 2011-09-05  David S. Miller  <davem@davemloft.net>
49233         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49234         stack slot, rather than the struct return pointer slot.
49235         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49236         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49238         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49240 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49242         * po/ja.po: Update from translation team.
49244         [BZ #13144]
49245         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49246         kernel in 64-bit binaries.
49248 2011-09-01  David S. Miller  <davem@davemloft.net>
49250         * elf/elf.h (HWCAP_SPARC_*): Move to..
49251         * sysdeps/sparc/sysdep.h: this new file and add new values.
49252         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49253         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49254         _DL_HWCAP_COUNT to 24.
49255         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49256         entries.
49257         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49258         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49259         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49261         instead of magic constants.
49262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49264 2011-08-31  David S. Miller  <davem@davemloft.net>
49266         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49268         Reimplement to do errno handling inline.
49269         (SYSCALL_ERROR_HANDLER): New macro.
49270         (__SYSCALL_STRING): Do not do errno handling in asm.
49271         (__CLONE_SYSCALL_STRING): Delete.
49272         (__INTERNAL_SYSCALL_STRING): Delete.
49273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49274         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49275         (PSEUDO): Reimplement to do errno handling inline.
49276         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49277         (SYSCALL_ERROR_HANDLER): New macro.
49278         (__SYSCALL_STRING): Do not do errno handling in asm.
49279         (__CLONE_SYSCALL_STRING): Delete.
49280         (__INTERNAL_SYSCALL_STRING): Delete.
49281         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49282         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49283         i386.
49284         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49285         (inline_syscall*): Add 'err' argument.
49286         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49287         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49288         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49289         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49291         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49292         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49294 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49296         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49298 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49300         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49301         directive.
49303 2011-08-24  David S. Miller  <davem@davemloft.net>
49305         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49307 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49309         * elf/Makefile: Add rules to build and run unload8 test.
49310         * elf/unload8.c: New file.
49311         * elf/unload8mod1.c: New file.
49312         * elf/unload8mod1x.c: New file.
49313         * elf/unload8mod2.c: New file.
49314         * elf/unload8mod3.c: New file.
49316         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49317         it wasn't used.
49319 2011-08-23  David S. Miller  <davem@davemloft.net>
49321         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49322         subtract stack bias.
49323         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49324         %sp not %fp in calculations.
49325         (_JMPBUF_UNWINDS_ADJ): Likewise.
49327         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49328         (aio_suspend): Call it to force an exception region around the
49329         AIO_MISC_WAIT() invocation.
49331 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49333         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49334         backslash.
49336 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49338         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49339         protection macro.
49340         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49341         and <dl-machine.h>.
49342         (Elf64_FuncDesc): Remove.
49344 2011-08-22  David S. Miller  <davem@davemloft.net>
49346         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49347         sigaltstack check, add missing cfi directives.
49348         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49349         missing cfi directives, and sigaltstack handling.
49351 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49353         [BZ #11724]
49354         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49355         object is seen twice.
49356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49358         * elf/Makefile (distribute): Add tst-initorder2.c.
49359         (tests): Add tst-initorder2.
49360         (modules-names): Add tst-initorder2a tst-initorder2b
49361         tst-initorder2c tst-initorder2d.  Add rules to build them.
49362         ($(objpfx)tst-initorder2.out): New rule.
49363         * elf/tst-initorder2.c: New file.
49364         * elf/tst-initorder2.exp: New file.
49366 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49368         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49370         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49371         dependencies back to end of function.
49373         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49374         $(elfobjdir)/ld.so.
49376 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49379         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49381         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49382         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49383         of __vdso_gettimeofday.
49384         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49385         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49386         attribute_hidden.
49387         (_libc_vdso_platform_setup): Remove initialization of
49388         __vdso_gettimeofday and __vdso_time.
49390 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49392         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49393         and fgetc_unlocked.
49394         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49395         getc_unlocked.
49397         * elf/dl-open.c (add_to_global): Report additions to the global scope
49398         for LD_DEBUG=scopes.
49399         (dl_open_worker): Also print scope of newly loaded dependencies.
49400         (_dl_show_scope): Indicate if there is no scope.
49402         [BZ #13114]
49403         * stdio-common/Makefile (tests): Add bug24.
49404         * stdio-common/bug24.c: New file.
49406 2011-08-19  Andreas Jaeger  <aj@suse.de>
49408         [BZ #13114]
49409         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49410         non-existant file when using close-on-exec mode.
49412 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49415         the very first instruction.
49417         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49418         the CFI state in the end.
49419         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49420         inclusion of dl-trampoline.h.
49421         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49423 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49425         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49426         expectations for long double.
49428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49429         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49431 2011-08-14  David S. Miller  <davem@davemloft.net>
49433         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49434         artificual limit depends upon the system page size.
49436 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49438         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49439         * resolv/Makefile: Define CFLAGS-libresolv.
49441 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49443         * nss/makedb.c (compute_tables): Make variables used in nested
49444         function static.
49446 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49448         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49449         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49450         if buffer was too small.
49452         * elf/pldd.c (main): Attach to all threads in the process.
49453         Rewrite /proc handling to use *at functions.
49455 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49457         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49458         specifies first scope to show.
49459         (dl_open_worker): Update callers.  Move printing scope of new
49460         object to before the relocation.
49461         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49462         * sysdeps/generic/ldsodefs.h: Update declaration.
49464         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49465         string for the scope number.
49467 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49469         * nscd/servicescache.c (cache_addserv): Make sure written is always
49470         initialized.
49472 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49474         * sysdeps/i386/i486/bits/atomic.h
49475         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49476         statement expression, so as to suppress "set but not used" warning.
49477         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49479         * string/strncat.c (STRNCAT): Use prototype definition.
49481         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49482         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49483         -Iprograms here.
49484         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49485         (localedef-modules): Add localedef.
49486         (locale-modules): Add locale.
49488         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49489         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49490         to avoid a warning.
49492 2011-08-14  David S. Miller  <davem@davemloft.net>
49494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49495         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49497 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49499         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49500         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49501         * elf/rtld.c (dl_main): Set l_name of vDSO.
49502         Call _dl_show_scope when DL_DEBUG_SCOPES.
49503         (process_dl_debug): Recognize scopes flag and also set it for all.
49504         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49505         Declare _dl_show_scope.
49507         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49508         (do_dlopen): Pass caller_dlopen to dl_open.
49509         (__libc_dlopen_mode): Initialize caller_dlopen.
49511         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49512         of libc.  Make tolower call locale-independent.  Optimize a bit by
49513         using isdigit instead of isalnum.
49514         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49516 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49518         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49519         was a dependency or dynamically loaded.
49521 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
49523         * intl/l10nflist.c: Allow architecture-specific pop function.
49524         * sysdeps/x86_64/l10nflist.c: New file.
49526         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49527         classification.
49529 2011-08-10  Andreas Schwab  <schwab@redhat.com>
49531         * include/dirent.h: Add libc_hidden_proto for scandirat and
49532         scandirat64.  Don't declare __scandirat64.
49533         * dirent/scandirat.c: Add libc_hidden_def.
49534         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49535         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49537 2011-08-10  David S. Miller  <davem@davemloft.net>
49539         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49540         enum.
49541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49545 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
49547         * Versions.def [libc]: Add GLIBC_2.15.
49548         * dirent/Makefile (routines): Add scandirat and scandirat64.
49549         * dirent/Versions [libc]: Export scandirat and scandirat64 for
49550         GLIBC_2.15.
49551         * dirent/dirent.h: Declare scandirat and scandirat64.
49552         * dirent/scandirat.c: New file.
49553         * dirent/scandirat64.c: New file.
49554         * sysdeps/wordsize-64/scandirat.c: New file.
49555         * sysdeps/wordsize-64/scandirat64.c: New file.
49556         * dirent/opendir.c: Define opendirat.
49557         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
49558         using scandirat.
49559         * dirent/scandir64.c: Adjust for scandir.c change.
49560         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
49561         __scandirat64, and __scandir_cancel_handler.
49562         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
49563         additional parameter and use openat instead of open (outside of ld.so).
49564         Add new __opendir as wrapper around __opendirat.
49565         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49566         here without requiring old scandirat implementation.
49568 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
49570         * dirent/scandir.c (cancel_handler): Renamed to
49571         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
49572         defined.  Adjust users.
49573         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49574         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49576 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
49578         * string/test-string.h (IMPL): Use __STRING to expand name and then
49579         stringify it.
49581         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
49582         of cleanups.
49584 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49586         * string/Makefile: Update.
49587         (strop-tests): Append strncat.
49588         * string/test-wcscmp.c: New file.
49589         New comprehensive test for wcscmp.
49590         * string/test-strcmp.c: Update.
49591         (WIDE): New define.
49593 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49595         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49596         line.
49598 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49601         encoding to ACE if AI_IDN.
49603 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49606         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49608 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49610         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49611         Fix overflow bug in strncat.
49612         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49614         * string/test-strncat.c: Update.
49615         Add new tests for checking overflow bugs.
49617 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49620         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49621         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49622         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49624         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49625         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49626         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49627         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49629         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49630         (USE_AS_STRCAT): Define.
49631         Add strcat and strncat support.
49632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49634 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49636         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49637         __n bigger than INT_MAX+1.
49638         (__strncmp_g): Likewise.
49640 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49642         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49643         * libio/stido.h: Likewise.
49645         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49646         (AF_NFC): Define.
49647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49648         (AF_NFC): Define.
49650         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49651         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49653         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49654         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49656         [BZ #13021]
49657         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49658         installed.
49660         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49661         typo.
49662         (_dl_x86_64_save_sse): Likewise.
49664 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49667         OSXSAVE.
49668         (_dl_x86_64_save_sse): Likewise.
49670         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49672         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49674 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49677         change.
49678         (_dl_x86_64_save_sse): Use correct AVX check.
49680 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49682         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49683         bug in strncpy/strncat.
49684         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49686 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49688         * string/tester.c (test_strcat): Add tests for different alignments
49689         of source and destination.
49690         (test_strncat): Likewise.
49692 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49694         [BZ #12852]
49695         * posix/glob.c (glob): Check passed in values before using them in
49696         expressions to avoid some overflows.
49697         (glob_in_dir): Likewise.
49699         [BZ #13007]
49700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49701         check for AVX enablement so that we don't crash with old kernels and
49702         new hardware.
49703         * elf/tst-audit4.c: Add same checks here.
49704         * elf/tst-audit6.c: Likewise.
49706         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49708 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49710         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49712 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49714         * po/cs.po: Update from translation team.
49715         * po/bg.po: Likewise.
49717 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49719         * misc/sys/cdefs.h: Add support for const attribute.
49720         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49721         to gnu_dev_{major,minor,makedev} functions.
49723 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49725         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49727 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49729         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49730         strlen results.
49732 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49735         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49736         register in order to avoid conflicts with the soft frame pointer
49737         being held in r11 when necessary.
49738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49739         (INTERNAL_VSYSCALL_NCS): Likewise.
49741 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49743         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49744         * elf/dl-fini.c (_dl_fini): Adjust caller.
49745         * elf/dl-close.c (_dl_close_worker): Likewise.
49746         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49748 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49750         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49751         "aux_cache->nlibs < 0".
49753         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49754         in the reload-count case.
49756 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49759         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49760         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49761         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49762         * sysdeps/x86_64/multiarch/strcat.S: New file.
49763         * sysdeps/x86_64/multiarch/strncat.S: New file.
49764         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49765         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49766         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49767         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49769         (USE_AS_STRCAT): Define.
49770         Add strcat and strncat support.
49771         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49773         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49774         * string/strncat.c: Update.
49775         (USE_AS_STRNCAT): Define.
49776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49777         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49778         and i7.
49779         * sysdeps/x86_64/multiarch/init-arch.h
49780         (bit_Prefer_PMINUB_for_stringop): New.
49781         (index_Prefer_PMINUB_for_stringop): Likewise.
49782         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49783         bit_Prefer_PMINUB_for_stringop.
49785 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49787         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49788         buffer64.
49789         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49790         of casting of buffer.
49791         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49792         buffer32 and buffer64.
49793         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49794         writes instead of casting of buffer.
49795         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49796         buffer32.
49797         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49798         casting of buffer.
49800 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49802         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49804 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49806         * nscd/nscd.c (termination_handler): Don't do anything for a database
49807         if it has not yet been initialized.
49809 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49811         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49813 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49815         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49817 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49819         * po/nl.po: Update from translation team.
49820         * po/sv.po: Likewise.
49822 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49824         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49825         now disallowed by GCC.
49827         * configure.in (use-default-link): Default to yes if a test -shared
49828         link meets our qualifications.
49829         * configure: Regenerated.
49831         * config.make.in (output-format): New variable.
49832         * configure.in: Check for ld --print-output-format support.
49833         * configure: Regenerated.
49834         * Makerules ($(common-objpfx)format.lds)
49835         [$(output-format) != unknown]: Just use $(output-format),
49836         instead of the linker-script munging.
49838 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49840         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49841         of $(common-objpfx)shlib.lds.
49842         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49844         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49845         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49847         * configure.in (-z relro check): Adjust test code to add a large
49848         writable data section after it.
49849         * configure: Regenerated.
49851 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49853         * configure.in (-z relro check): Fix test code to make the variable
49854         truly const.
49855         * configure: Regenerated.
49857 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49859         * nscd/nscd.h (struct traced_file): Define.
49860         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49861         elements.  Add traced_files.
49862         (inotify_fd): Declare.
49863         (register_traced_file): Declare.
49864         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49865         (inotify_fd): Export.
49866         (resolv_conf_descr): Remove.
49867         (nscd_init): Move inotify descriptor creation to main.
49868         Don't register files for notification here.
49869         (register_traced_file): New function.
49870         (invalidate_cache): Don't use reset_res to determine whether to call
49871         res_init, go through the list of registered files.
49872         (main_loop_poll): The inotify descriptors are now stored in the
49873         structures for the traced files.
49874         (main_loop_epoll): Likewise
49875         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49876         to __nss_disable_nscd.
49877         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49878         for a database anymore.  Check the records for all the registered
49879         files instead.
49880         * nss/Makefile (libnss_files-routines): Add files-init.
49881         (libnss_db-routines): Add db-init.
49882         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49883         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49884         * nss/nss_db/db-init.c: New file.
49885         * nss/nss_files/files-init.c: New file.
49886         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49887         __nss_lookup_function.
49888         (__nss_lookup_function): Call nss_load_library.
49889         (nss_load_all_libraries): New function.
49890         (__nss_disable_nscd): Take parameter with callback function for files
49891         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49892         used for the cached services.
49893         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49894         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49895         options for features to all the files in nscd.
49897         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49899 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49901         * csu/elf-init.c (__libc_csu_init): Comment typo.
49903 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49905         * po/pl.po: Update from translation team.
49906         * po/ja.po: Likewise.
49907         * po/ru.po: Likewise.
49908         * po/ko.po: Likewise.
49909         * po/fr.po: Likewise.
49911 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49913         * configure.in (.ctors/.dtors header and trailer check):
49914         Use an empirical test on a built program.
49915         * configure: Regenerated.
49917         * configure.in (-z relro check): Use an empirical test on a built DSO.
49918         Detect, but do not require, on ia64.
49919         * configure: Regenerated.
49921         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49922         Update tests that use readelf to use $READELF instead.
49923         * configure: Regenerated.
49925 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49927         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49928         if the result is not used.
49930 2011-07-05  Andreas Jaeger  <aj@suse.de>
49932         [BZ#9696]
49933         * stdlib/tst-strtod.c: Add testcase.
49935 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49937         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49938         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49939         The latter has a higher limit.  Take additional parameter to pass to
49940         the new function.
49941         (__pathconf): Pass file to __statfs_link_max.
49942         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49943         __statfs_link_max.
49944         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49945         __statfs_link_max.
49947         [BZ #12868]
49948         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49949         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49950         Handle Lustre.
49951         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49952         (__statfs_filesize_max): Likewise.
49953         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49955 2011-07-05  Andreas Jaeger  <aj@suse.de>
49957         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49959 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49961         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49962         `status' variable.
49963         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49964         Likewise.
49966 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49968         * Makefile (strop-tests): Add strncat.
49969         * string/test-strncat.c: New file.
49971 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49973         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49975 2011-06-21  Andreas Jaeger  <aj@suse.de>
49977         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49978         Copy rule from iconvdata/Makefile.
49980 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49982         [BZ #12922]
49983         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49984         but no long options are defined, just return 'W'.
49986 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
49988         [BZ #9696]
49989         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49991 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49993         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49994         netgroups to read.
49995         (innetgr): Likewise.
49997 2011-07-05  Roland McGrath  <roland@hack.frob.com>
49999         * config.make.in (install_root): Default to $(DESTDIR).
50001 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50003         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50005 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50007         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50009         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50010         containing directory rather than embedding absolute directory names.
50012         * scripts/check-local-headers.sh: Rewritten using awk.
50013         Match by word, not by line.  Print error messages for matches.
50014         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50016         * Makerules [shlib-lds-flags empty]:
50017         ($(common-objpfx)libc_pic.opts): New target.
50018         ($(common-objpfx)libc_pic.os.clean): New target.
50019         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50021         * config.make.in (OBJCOPY): New variable.
50022         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50023         * configure: Regenerated.
50025         * config.make.in (use-default-link): New variable.
50026         * configure.in (use_default_link): Grok --with-default-link to set it.
50027         * configure: Regenerated.
50028         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50029         (shlib-lds, shlib-lds-flags): Define to empty.
50031         * Makerules (shlib-lds): New variable.
50032         (shlib-lds-flags): New variable.
50033         (build-shlib, build-moduile, build-module-asneeded): Use it.
50034         ($(common-objpfx)libc.so): Use $(shlib-lds).
50035         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50036         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50038         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50039         DT_FLAGS/DT_FLAGS_1 with zero flags.
50041         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50042         linker script munging.
50044 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50046         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50047         as 128-bit value.
50048         * crypt/sha512.c (sha512_process_block): Perform total addition using
50049         128-bit if possible.
50050         (__sha512_finish_ctx): Likewise.
50051         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50052         as 64-bit value.
50053         * crypt/sha256.c (SWAP64): Define.
50054         (sha256_process_block): Perform total addition using 64-bit if
50055         possible.
50056         (__sha256_finish_ctx): Likewise.
50058 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50060         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50062         * nscd/hstcache.c (cache_addhst): Likewise.
50063         * nscd/grpcache.c (cache_addgr): Likewise.
50064         * nscd/aicache.c (addhstaiX): Likewise
50065         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50067 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50069         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50071         * nscd/hstcache.c (cache_addhst): Likewise.
50072         * nscd/grpcache.c (cache_addgr): Likewise.
50073         * nscd/aicache.c (addhstaiX): Likewise
50075 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50077         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50078         domain only when needed.
50080 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50083         is always restored.
50085 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50087         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50088         are re-adding the entry.
50089         * nscd/servicescache.c (cache_addserv): Likewise.
50091 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50093         * sysdeps/generic/dl-irel.h: fix protection against multiple
50094         inclusions.
50095         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50097 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50099         [BZ #12935]
50100         * malloc/memusage.sh: Fix quoting in message.
50101         * debug/xtrace.sh: Likewise.
50103         * configure.in: Remove support for --experimental-malloc option, make
50104         it the default.
50105         * config.make.in: Likewise.
50106         * malloc/Makefile: Likewise.
50108 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50110         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50111         two-byte characters.
50113 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50115         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50116         AC_CACHE_CHECK invocation.
50117         * configure: Regenerated.
50119         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50121 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50123         [BZ #12350]
50124         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50125         bit from old_res_options.
50127         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50129         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50130         value type for setfct.
50132 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50134         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50135         __gettimeofday instead of gettimeofday.
50137 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50139         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50141 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50146         info.
50148 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50151         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50152         strcpy-sse2-unaligned strncpy-sse2-unaligned
50153         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50154         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50155         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50156         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50157         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50160         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50161         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50162         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50163         (STRCPY): Support SSE2 and SSSE3 versions.
50165 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50167         [BZ #12874]
50168         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50169         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50170         kernels which artificially limit size of requests.
50172 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50175         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50176         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50177         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50178         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50179         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50180         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50181         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50182         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50183         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50184         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50185         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50186         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50187         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50188         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50190         Enable unaligned load optimization for Intel Core i3, i5 and i7
50191         processors.
50192         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50193         Define.
50194         (index_Fast_Unaligned_Load): Define.
50195         (HAS_FAST_UNALIGNED_LOAD): Define.
50197 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50199         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50201 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50203         [BZ #12907]
50204         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50205         until it is clear that the information is realy needed.
50206         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50208 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50212 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50214         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50215         /sys/devices/system/cpu/online if it is usable.
50217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50218         reading the information from the /proc filesystem to once a second.
50220 2011-06-21  Andreas Jaeger  <aj@suse.de>
50222         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50223         NULL after inclusion of kernel headers.
50225 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50227         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50228         calls to internal_setent.
50230         [BZ #12885]
50231         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50232         addresses using gethostbyname4_r ignore IPv4 addresses.
50234         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50235         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50237         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50239 2011-06-20  David S. Miller  <davem@davemloft.net>
50241         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50242         inclusions.
50243         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50245         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50246         (elf_irel): Use it.
50247         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50248         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50249         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50250         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50251         * sysdeps/x86_64/dl-irel.h: Likewise.
50253         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50254         * elf/dl-sym.c: Likewise.
50256 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50258         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50259         need to dereference resplen2.
50261 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50263         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50265 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50267         * Makeconfig: Define vardbdir and inst_vardbdir.
50268         * nss/Makefile: Add rules to install db-Makefile.
50270         * nss/nss_db/db-XXX.c: Cleanup.
50272         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50273         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50274         GLIBC_PRIVATE.
50275         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50276         * nss/makedb.c: Implement -g option to specify that value strings
50277         are generated and should not be added to table iterated over for
50278         get*ent calls.
50279         * nss/nss_db/db-initgroups.c: New file.
50281         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50282         interface.
50284         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50285         (internal_getgrouplist): Adjust to name change.
50286         Update use_initgroups_entry if this is not the first call.
50287         * nss/databases.def: Add initgroups entry.
50289         * nss/makedb.c (compute_tables): Check result of multiple hash table
50290         sizes to minimize maximum chain length.
50292 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50294         * Versions.def: Add entry for libnss_db.
50295         * shlib-versions: Likewise.
50296         * nss/Makefile: Add rules to build libnss_db.
50297         * nss/Versions: Add libnss_db information.  Organize libnss_files
50298         entries better.
50299         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50300         makedb progra.  Some minor improvements to generate smaller files.
50301         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50302         here from...
50303         * nss/makedb.c: ...here.
50304         Improve database format to be smaller and require less memory at
50305         runtime.
50306         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50307         db anymore.
50308         * nss/nss_db/db-netgrp.c: Likewise.
50309         * nss/nss_db/db-open.c: Likewise.
50310         * nss/nss_files/flies-XXX.x: Adjust comments.
50311         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50312         * nss/nss_files/files-grp.c: Likewise.
50313         * nss/nss_files/files-hosts.c: Likewise.
50314         * nss/nss_files/files-network.c: Likewise.
50315         * nss/nss_files/files-proto.c: Likewise.
50316         * nss/nss_files/files-pwd.c: Likewise.
50317         * nss/nss_files/files-rpc.c: Likewise.
50318         * nss/nss_files/files-service.c: Likewise.
50319         * nss/nss_files/files-sgrp.c: Likewise.
50320         * nss/nss_files/files-spwd.c: Likewise.
50321         * nss/nss_db/db-alias.c: Removed.
50322         * nss/nss_db/dummy-db.h: Removed.
50324 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50326         * nss/makedb.c: Rewritten to not use database library.
50327         * nss/Makefile: Update to build new makedb program.
50329 2011-06-14  Andreas Jaeger  <aj@suse.de>
50331         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50332         memset declaration.
50334 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50337         tmpbuf.
50339 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50341         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50342         * elf/Makefile ($(objpfx)ld.so): Likewise.
50344         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50345         Don't list ld.so twice in dependencies.
50347         * posix/bug-regex31.c: Include <stdlib.h>.
50349         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50351         * nis/nss_compat/compat-spwd.c
50352         (getspent_next_nss_netgr): Remove unused variable.
50353         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50355         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50356         nonmembers" output to use the right array.
50358         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50360         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50362         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50363         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50364         * catgets/gencat.c (read_input_file): Likewise.
50365         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50367         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50368         variable definition inside #if's controlling its use.
50370         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50372         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50374         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50376         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50377         unreachable code.
50379         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50381         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50382         * configure: Regenerated.
50384         * Makerules: Revert last change.
50385         * elf/Makefile: Likewise.
50387 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50389         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50390         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50391         (reloc-link): Likewise.
50393 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50395         * elf/Makefile: Add rules to build pldd.
50396         * elf/pldd.c: New file.
50397         * elf/pldd-xx.c: New file.
50399 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50401         * version.h: Update for 2.15 development version.
50403 2011-06-07  David S. Miller  <davem@davemloft.net>
50405         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50406         ifuncs.
50407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50408         elf_machine_lazy_rel): Likewise.
50409         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50411         elf_machine_lazy_rel): Likewise.
50412         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50413         dl_hwcap via passed in argument.
50414         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50415         Likewise.
50417 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50419         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50421 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50423         [BZ #12849]
50424         * manual/fdl-1.1.texi: New file, verbatim from:
50425         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50426         * manual/lgpl-2.1.texi: New file, verbatim from:
50427         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50428         * manual/Makefile (licenses): New variable, list those new file names.
50429         (texis): Use it.
50430         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50432         * manual/fdl.texi: File removed.
50433         * manual/lesser.texi: File removed.
50434         * manual/libc.texinfo (Copying, Documentation License):
50435         Use new @include file names, put @appendix directive before @include.
50437 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50439         [BZ #12841]
50440         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50441         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50442         (mq_open): Add __NTH.
50444 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50447         Assume Intel Core i3/i5/i7 processor if AVX is available.
50449 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50452         typo.
50454 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50456         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50457         memory.  Use alloca_account.  Fix memory leak when retrying.
50459 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50461         * version.h (RELEASE): Bump for 2.14 release.
50462         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50464         * config.make.in (RANLIB): Remove entry.
50466 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50468         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50469         (libc.pot): Work around missing support for .ksh extension in xgettext.
50471         [BZ #12684]
50472         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50473         if both request failed.
50474         (send_dg): In case of server errors clear resplen or *resplen2.
50476         [BZ #12454]
50477         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50478         when there are multiple maps.
50479         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50480         (_dl_fini): Remove test here.
50482         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50484 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50486         [BZ #12350]
50487         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50488         bit from old_res_options.
50489         (gaih_inet): Likewise.
50491         [BZ #11099]
50492         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50493         as signed.
50495         * resolv/res_init.c (res_setoptions): Make the code more compact.
50497         [BZ #11558]
50498         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50499         set RES_USEVC.
50501         [BZ #11634]
50502         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50504         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50506         [BZ #11781]
50507         * malloc/malloc.h: Declare malloc hook variables as volatile.
50509         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50510         in last patch.
50512         [BZ #11799]
50513         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50514         raise in the comment.
50515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50517         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50519 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50521         [BZ #12811]
50522         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50523         grow the buffers more if it already has to be sufficient.
50524         (build_wcs_upper_buffer): Likewise.
50525         * posix/regexec.c (check_matching): Likewise.
50526         (clean_state_log_if_needed): Likewise.
50527         (extend_buffers): Don't enlarge buffers beyond size of the input
50528         buffer.
50529         Patches mostly by Emil Wojak <emil@wojak.eu>.
50530         * posix/bug-regex32.c: New file.
50531         * posix/Makefile (tests): Add bug-regex32.
50533         * locale/findlocale.c (_nl_find_locale): Return right away if
50534         _nl_explode_name failed.
50535         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50537         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50539         * debug/xtrace.sh: Unify messages.
50540         * malloc/memusage.sh: Likewise.
50542         [BZ #12813]
50543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50544         time symbol from vDSO.  Substitute with vsyscall if not available.
50545         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50546         __vdso_time.
50548         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50549         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50550         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50551         Add sendmmsg and internal_sendmmsg.
50552         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50553         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50554         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50556         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50557         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50558         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50560 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
50562         [BZ #12813]
50563         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50564         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
50565         available.
50566         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50567         __vdso_getcpu.
50569         [BZ #12814]
50570         * iconvdata/Makefile (tests): Add bug-iconv9.
50571         * iconvdata/bug-iconv9.c: New file.
50573 2011-05-27  Andreas Schwab  <schwab@redhat.com>
50575         [BZ #12814]
50576         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50578 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
50580         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50581         (struct user_regs_struct): Change intcs field back to cs.
50583 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
50585         * po/ja.po: Update from translation team.
50587 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
50589         [BZ #12795]
50590         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50591         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50593 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50595         * stdlib/longlong.h: Update from GCC.
50597 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50599         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50600         parameter name.
50601         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50602         Add parameter name.
50603         (__sysconf): Pass it down.
50605 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50607         [BZ #12671]
50608         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50609         some situations.
50610         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50611         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50612         add in in __libc_use_alloca calls.  Adjust callers.
50613         (glob): Use malloc in some situations.
50615         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50616         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50617         pltexit.
50619 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50621         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50622         and CLOCK_BOOTTIME_ALARM.
50624         [BZ #12782]
50625         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50626         is returned.
50628         * string/_strerror.c (__strerror_r): Print negative errors as signed
50629         numbers.
50631         [BZ #12777]
50632         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50633         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50634         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50636         * configure.in: Fix typo in redirection and correct removal of test
50637         files in two cases.
50639         [BZ #12788]
50640         * locale/setlocale.c (new_composite_name): Fix test to check for
50641         identical name of all categories.
50643         [BZ #12792]
50644         * libio/filedoalloc.c (local_isatty): New function.
50645         (_IO_file_doallocate): Use local_isatty.
50646         * stdio-common/perror.c (perror): In case a new stream is used
50647         forward the stream error.
50648         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50649         error flag.
50651 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50653         [BZ #11869]
50654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50655         alloca.
50656         * include/alloca.h (extend_alloca_account): Define.
50658         [BZ #11857]
50659         * posix/regex.h: Fix comments with documentation of user-accessible
50660         fields after compilation and describe correct free'ing of pattern
50661         after re_compile_pattern.
50662         Patch by Reuben Thomas <rrt@sc3d.org>.
50664 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50666         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50667         and -mno-altivec to prevent the compiler from using Altivec and/or
50668         VSX instructions when the corresponding registers are not available.
50670 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50672         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50674 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50676         * libio/freopen.c (freopen): Use __dup2, not dup2.
50677         * libio/freopen64.c (freopen64): Likewise.
50679 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50681         [BZ #12775]
50682         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50683         * math/Makefile (tests): Add test-powl.
50684         (CFLAGS-test-powl.c): Define.
50685         * math/test-powl.c: New file.
50687 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50689         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50691 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50693         [BZ #11837]
50694         * iconvdata/gb18030.c: Update to GB18020-2005.
50696 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50698         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50699         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50700         Patch by Aharon Robbins <arnold@skeeve.com>.
50702         [BZ #11892]
50703         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50704         on the stack.
50706         [BZ #11895]
50707         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50708         through underflows.
50710         [BZ #12766]
50711         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50712         point to strings before performing equality test for error_one_per_line
50713         mode.
50715         [BZ #11697]
50716         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50718         [BZ #11820]
50719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50720         (struct user_fpregs_struct): Avoid __uint*_t types.
50722         [BZ #6420]
50723         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50724         symbol info.  Use it instead of calling _dl_addr locally.
50725         (lock_and_info): New function.
50726         (tr_freehook): Call lock_and_info and pass symbol info as additional
50727         parameter to tr_where.
50728         (tr_mallochook): Likewise.
50729         (tr_reallochook): Likewise.
50730         (tr_memalignhook): Likewise.
50732         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50733         used and couldn't be at all thread-safe.
50735 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50737         * libio/freopen.c (freopen): Don't close old file descriptor
50738         before the new one is opened.  Instead dup the new file descriptor
50739         to the old one after the new stream is created.
50740         * libio/freopen64.c (freopen64): Likewise.
50741         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50742         * libio/fileops.c (_IO_new_file_close_it): Handle new
50743         _IO_FLAGS2_NOCLOSE flag.
50744         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50745         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50746         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50747         _IO_FLAGS2_NOCLOSE flag.
50748         * include/unistd.h: Add hidden_proto for dup3.
50749         Define __have_dup3.
50750         * io/dup3.c: Define hidden symbol.
50751         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50753         [BZ #7101]
50754         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50755         when an incomplete long option is used.
50756         * posix/tst-getopt_long1.c: New file.
50757         * posix/Makefile (tests): Add tst-getopt_long1.
50759         [BZ #10138]
50760         * scripts/config.guess: Update from autoconf-2.68.
50761         * scripts/config.sub: Likewise.
50763         [BZ #10157]
50764         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50765         tests into ...
50766         (has_cpuclock): ...this.  New function.
50767         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50768         macro here based on has_cpuclock code.
50770         [BZ #10149]
50771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50772         First byte (not low byte) is now always NUL.
50773         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50776         Use non-cancelable interfaces.
50778         [BZ #9809]
50779         * locale/iso-639.def: Add entry for Sorani.
50781         [BZ #11901]
50782         * include/stdlib.h: Move include protection to the right place.
50783         Define abort_msg_s.  Declare __abort_msg with it.
50784         * stdlib/abort.c (__abort_msg): Adjust type.
50785         * assert/assert.c (__assert_fail_base): New function.  Majority
50786         of code from __assert_fail.  Allocate memory for __abort_msg with
50787         mmap.
50788         (__assert_fail): Now call __assert_fail_base.
50789         * assert/assert-perr.c: Remove bulk of implementation.  Use
50790         __assert_fail_base.
50791         * include/assert.hL Declare __assert_fail_base.
50792         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50793         mmap.
50794         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50796 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50798         [BZ #11952]
50799         [BZ #12453]
50800         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50801         until all modules are registered in the DTV.
50802         * elf/Makefile: Add rules to build and run tst-tls19.
50803         * elf/tst-tls19.c: New file.
50804         * elf/tst-tls19mod1.c: New file.
50805         * elf/tst-tls19mod2.c: New file.
50806         * elf/tst-tls19mod3.c: New file.
50807         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50809         [BZ #12083]
50810         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50811         correctly.
50813         [BZ #12601]
50814         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50815         two-byte sequence errors.
50816         * iconvdata/Makefile (tests): Add bug-iconv8.
50817         * iconvdata/bug-iconv8.c: New file.
50819         [BZ #12626]
50820         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50821         buf2 definition.
50823         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50825         [BZ #12432]
50826         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50827         (dummy_getcfa): New function.
50828         (init): Get _Unwind_GetCFA address, use dummy if not found.
50829         (backtrace_helper): In recursion check, also check whether CFA changes.
50830         (__backtrace): Completely initialize arg.
50832         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50833         storing incomplete byte sequence in state object.  Avoid testing for
50834         guaranteed too small input if we know there is enough data available.
50836 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50838         * Makeconfig (+link-pie): Indent.
50839         * Rules (binaries-pie): Define if $(have-fpie) and
50840         $(build-shared).
50841         (binaries-shared): Also filter out $(binaries-pie).
50842         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50843         * nscd/Makefile (others-pie): Add nscd.
50844         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50845         ($(objpfx)nscd): Remove command override.
50846         * login/Makefile (others-pie): Add pt_chown.
50847         ($(objpfx)pt_chown): Remove command override.
50848         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50849         remove command overrides.
50851 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50853         * libio/tst_putwc.c: Fix error messages.
50855         [BZ #12724]
50856         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50857         currently writing and seek to current position when not.
50858         * libio/Makefile (tests): Add bug-fclose1.
50859         * libio/bug-fclose1.c: New file.
50861 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50863         [BZ #12511]
50864         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50865         don't set DF_1_NODELETE here.
50866         (do_lookup_x): When entering new entry test for copy relocation
50867         and if necessary set DF_1_NODELETE flag.
50868         * elf/tst-unique4.cc: New file.
50869         * elf/tst-unique4.h: New file.
50870         * elf/tst-unique4lib.cc: New file.
50871         * elf/Makefile: Add rules to build and run tst-unique4.
50872         Patch by Piotr Bury <pbury@goahead.com>.
50874 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50876         [BZ #12052]
50877         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50879         [BZ #12625]
50880         * misc/mntent_r.c (addmntent): Flush the stream after the output
50882         [BZ #12393]
50883         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50884         (is_trusted_path_normalize): Skip initial colon.  Append slash
50885         to empty buffer.  Duplicate is_trusted_path code but allow
50886         constructed patch to be prefix.
50887         (is_dst): Allow $ORIGIN followed by /.
50888         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50889         Correct testing of result of is_trusted_path_normalize
50890         (decompose_rpath): Fix warning.
50892 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50894         [BZ #11257]
50895         * grp/initgroups.c (internal_getgrouplist): When we found the service
50896         list through the initgroups entry in nsswitch.conf do not always
50897         continue on a successful lookup.  Don't always use the
50898         __nss_group_database value if it is set.
50899         * nss/nsswitch.conf (initgroups): Change action for successful db
50900         lookup to continue for compatibility.
50902 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50904         [BZ #11532]
50905         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50906         and CP774 modules.
50907         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50908         and CP774 modules.
50909         * iconvdata/tst-tables.sh: Likewise.
50910         * iconvdata/cp770.c: New file.
50911         * iconvdata/cp771.c: New file.
50912         * iconvdata/cp772.c: New file.
50913         * iconvdata/cp773.c: New file.
50914         * iconvdata/cp774.c: New file.
50915         * iconvdata/testdata/CP770: New file.
50916         * iconvdata/testdata/CP770..UTF8: New file.
50917         * iconvdata/testdata/CP771: New file.
50918         * iconvdata/testdata/CP771..UTF8: New file.
50919         * iconvdata/testdata/CP772: New file.
50920         * iconvdata/testdata/CP772..UTF8: New file.
50921         * iconvdata/testdata/CP773: New file.
50922         * iconvdata/testdata/CP773..UTF8: New file.
50923         * iconvdata/testdata/CP774: New file.
50924         * iconvdata/testdata/CP774..UTF8: New file.
50926         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50927         END CHARMAP line.
50928         * iconvdata/gen-8bit-gap.sh: Likewise.
50929         * iconvdata/gen-8bit.sh: Likewise.
50931         * locale/iso-639.def: Add ary entry.
50933         [BZ #11258]
50934         * locale/C-translit.h.in: Add U20A1 transliteration.
50936         [BZ #12178]
50937         * locale/iso-639.def: Add wae entry.
50938         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50940         [BZ #12545]
50941         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50942         for n.
50944         [BZ #12711]
50945         * locale/C-translit.h.in: Add entry for U20B9.
50946         Patch by pravin.d.s@gmail.com.
50948 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50950         [BZ #12713]
50951         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50952         ENAMETOOLONG use generic getcwd.
50953         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50954         in rtld.  Use *stat64.
50955         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50956         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50957         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50958         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50959         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50960         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50961         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50962         __fstatat64 macros.
50963         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50964         * dirent/rewinddir.c: Add libc_hidden_def.
50965         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50966         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50968         * include/dirent.h (__alloc_dir): Add flags parameter.
50969         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50970         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50971         __alloc_dir.
50972         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50973         from fdopendir if O_CLOEXEC is already set.
50975 2011-03-15  Alan Modra  <amodra@gmail.com>
50977         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50978         l_tls_firstbyte_offset non-zero.  Save padding offset in
50979         l_tls_firstbyte_offset for later use.
50980         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50981         freeing static tls block.
50983 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50985         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50986         where #ifdef was intended.  The intent is to prevent ARG_MAX from
50987         being defined by the kernel headers.
50989 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
50991         [BZ #12734]
50992         * resolv/resolv.h: Define RES_NOTLDQUERY.
50993         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50994         no-tld-query and set RES_NOTLDQUERY.
50995         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50996         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50997         modern BIND to search name as TLD unless forbidden.
50999 2011-05-07  Petr Baudis  <pasky@suse.cz>
51000             Ulrich Drepper  <drepper@gmail.com>
51002         [BZ #12393]
51003         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51004         (is_trusted_path): ...to here.
51005         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51006         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51007         using is_trusted_path_normalize() in setuid scripts.
51009 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51011         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51012         __BEGIN/__END_DECLS.
51014 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51016         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51017         NSS_STATUS_NOTFOUND if no record was found.
51019 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51021         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51022         (headers-not-in-tirpc): Remove rpc/netdb.h
51023         * resolv/netdb.h: Revert last change.
51025 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51027         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51028         circular dependency between libgcc.a and libc.a.
51030 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51032         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51033         * nis/Makefile: Don't install rpcsvc/*.
51034         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51035         instead of <rpc/types.h>.
51036         (MAXHOSTNAMELEN): Define.
51038 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51040         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51042 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51044         [BZ #12714]
51045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51046         gethostbyname4_r when IPv6 results are possible.
51048 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51050         [BZ #12723]
51051         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51052         _PC_PIPE_BUF handling.
51054 2011-04-30  Bruno Haible  <bruno@clisp.org>
51056         [BZ #12717]
51057         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51058         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51059         to 'int'.
51060         * inet/getnameinfo.c (getnameinfo): Likewise.
51062 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51064         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51065         to groups setting in database lookup.
51066         * nss/nsswitch.conf: Add initgroups entry.
51068 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51070         [BZ #12685]
51071         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51072         mode string.
51073         Patch by Eric Blake <eblake@redhat.com>.
51075 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51077         * sunrpc/Makefile (need-export-routines): Add svc_run.
51078         (routines): Remove svc_run.
51079         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51080         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51081         * sunrpc/svc_run.c (svc_run): Likewise.
51082         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51084 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51086         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51087         problem in reallocation in last patch.
51089 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51091         * sunrpc/Makefile: Move inclusion of Rules.
51093 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51095         * nss/nss_files/files-initgroups.c: New file.
51096         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51097         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51098         _nss_files_initgroups_dyn.
51100 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51102         * elf/elf.h (R_ARM_IRELATIVE): Define.
51104 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51106         * po/ru.po: Update from translation team.
51108 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51110         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51111         dependencies.
51113 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51115         [BZ #12653]
51116         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51117         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51118         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51119         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51122 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51124         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51125         differing bytes.
51126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51128         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51130 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51132         [BZ #12420]
51133         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51134         storing it.
51135         * stdlib/bug-getcontext.c: New file.
51136         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51138 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51140         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51141         instructions into .machine "z9-109".
51142         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51143         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51145 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51147         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51148         between environment variables and auxiliary vector.
51150 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51152         * Makefile: Add rules to build linkobj/libc.so.
51153         * include/libc-symbols.h: Define libc_hidden_nolink.
51154         * include/rpc/auth.h: Mark functions which are to be hidden.
51155         * include/rpc/auth_des.h: Likewise.
51156         * include/rpc/auth_unix.h: Likewise.
51157         * include/rpc/clnt.h: Likewise.
51158         * include/rpc/des_crypt.h: Likewise.
51159         * include/rpc/key_prot.h: Likewise.
51160         * include/rpc/pmap_clnt.h: Likewise.
51161         * include/rpc/pmap_prot.h: Likewise.
51162         * include/rpc/pmap_rmt.h: Likewise.
51163         * include/rpc/rpc_msg.h: Likewise.
51164         * include/rpc/svc.h: Likewise.
51165         * include/rpc/svc_auth.h: Likewise.
51166         * include/rpc/xdr.h: Likewise.
51167         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51168         * nss/Makefile: Likewise.
51169         * sunrpc/Makefile: Don't install headers.  Build library with normal
51170         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51171         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51172         for the compat linking library.  Remove use of INTDEF/INTUSE.
51173         * sunrpc/auth_none.c: Likewise.
51174         * sunrpc/auth_unix.c: Likewise.
51175         * sunrpc/authdes_prot.c: Likewise.
51176         * sunrpc/authuxprot.c: Likewise.
51177         * sunrpc/clnt_gen.c: Likewise.
51178         * sunrpc/clnt_perr.c: Likewise.
51179         * sunrpc/clnt_raw.c: Likewise.
51180         * sunrpc/clnt_simp.c: Likewise.
51181         * sunrpc/clnt_tcp.c: Likewise.
51182         * sunrpc/clnt_udp.c: Likewise.
51183         * sunrpc/clnt_unix.c: Likewise.
51184         * sunrpc/des_crypt.c: Likewise.
51185         * sunrpc/des_soft.c: Likewise.
51186         * sunrpc/get_myaddr.c: Likewise.
51187         * sunrpc/key_call.c: Likewise.
51188         * sunrpc/key_prot.c: Likewise.
51189         * sunrpc/netname.c: Likewise.
51190         * sunrpc/pm_getmaps.c: Likewise.
51191         * sunrpc/pm_getport.c: Likewise.
51192         * sunrpc/pmap_clnt.c: Likewise.
51193         * sunrpc/pmap_prot.c: Likewise.
51194         * sunrpc/pmap_prot2.c: Likewise.
51195         * sunrpc/pmap_rmt.c: Likewise.
51196         * sunrpc/publickey.c: Likewise.
51197         * sunrpc/rpc_cmsg.c: Likewise.
51198         * sunrpc/rpc_common.c: Likewise.
51199         * sunrpc/rpc_dtable.c: Likewise.
51200         * sunrpc/rpc_prot.c: Likewise.
51201         * sunrpc/rpc_thread.c: Likewise.
51202         * sunrpc/rtime.c: Likewise.
51203         * sunrpc/svc.c: Likewise.
51204         * sunrpc/svc_auth.c: Likewise.
51205         * sunrpc/svc_authux.c: Likewise.
51206         * sunrpc/svc_raw.c: Likewise.
51207         * sunrpc/svc_run.c: Likewise.
51208         * sunrpc/svc_simple.c: Likewise.
51209         * sunrpc/svc_tcp.c: Likewise.
51210         * sunrpc/svc_udp.c: Likewise.
51211         * sunrpc/svc_unix.c: Likewise.
51212         * sunrpc/svcauth_des.c: Likewise.
51213         * sunrpc/xcrypt.c: Likewise.
51214         * sunrpc/xdr.c: Likewise.
51215         * sunrpc/xdr_array.c: Likewise.
51216         * sunrpc/xdr_float.c: Likewise.
51217         * sunrpc/xdr_intXX_t.c: Likewise.
51218         * sunrpc/xdr_mem.c: Likewise.
51219         * sunrpc/xdr_rec.c: Likewise.
51220         * sunrpc/xdr_ref.c: Likewise.
51221         * sunrpc/xdr_sizeof.c: Likewise.
51222         * sunrpc/xdr_stdio.c: Likewise.
51224 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51226         [BZ #12650]
51227         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51228         * sysdeps/ia64/dl-tls.h: Likewise.
51229         * sysdeps/powerpc/dl-tls.h: Likewise.
51230         * sysdeps/s390/dl-tls.h: Likewise.
51231         * sysdeps/sh/dl-tls.h: Likewise.
51232         * sysdeps/sparc/dl-tls.h: Likewise.
51233         * sysdeps/x86_64/dl-tls.h: Likewise.
51234         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51236 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51238         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51239         rpath element also skip the following colon.
51240         (expand_dynamic_string_token): Add is_path parameter and pass
51241         down to DL_DST_REQUIRED and _dl_dst_substitute.
51242         (decompose_rpath): Call expand_dynamic_string_token with
51243         non-zero is_path.  Ignore empty rpaths.
51244         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51245         with zero is_path.
51247 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51250         Make cancelable.
51252 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51254         [BZ #12655]
51255         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51256         Patch by Filipe David Manana <fdmanana@apache.org>.
51258 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51261         Maintain aligned stack.
51262         (CHECK_RSP): Remove unused macro.
51264 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51266         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51267         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51269 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51271         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51273         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51275 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51277         [BZ #12518]
51278         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51279         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51280         * sysdeps/x86_64/memmove.c: New file.
51281         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51282         (memcpy): Renamed to ...
51283         (__new_memcpy): This.
51284         (memcpy): Provide GLIBC_2_14 memcpy.
51285         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51286         (memcpy): Provide GLIBC_2_2_5 memcpy.
51288 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51290         [BZ #12631]
51291         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51293 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51295         * misc/syncfs.c: New file.
51296         * misc/Makefile (routines): Add syncfs.
51297         * posix/unistd.h: Declare syncfs.
51298         * sysdeps/unix/syscalls.list: Add syncfs.
51300 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51302         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51303         open_by_handle_at.
51304         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51305         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51307         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51309         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51312 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51316         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51317         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51318         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51322         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51323         sync_file_range.c with -fexceptions.
51324         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51325         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51326         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51327         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51328         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51329         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51331         sync_file_range as cancellation point
51332         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51333         now a wrapper around __call_sync_file_range with cancellation handling.
51334         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51335         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51336         function name to __call_sync_file_range.
51337         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51338         Add call_sync_file_range.
51340 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51343         bits/timex.h.
51345 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51347         * iconv/iconv.h: Fix typo in comment.
51348         * io/fcntl.h: Likewise.
51349         * libio/stdio.h: Likewise.
51350         * posix/spawn.h: Likewise.
51351         * posix/unistd.h: Likewise.
51352         * stdlib/stdlib.h: Likewise.
51353         * time/time.h: Likewise.
51354         * wcsmbs/wchar.h: Likewise.
51356         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51357         open_by_handle): Add.
51358         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51359         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51360         Augment a few comments.
51361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51365         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51366         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51367         open_by_handle.
51369         * io/fcntl.h (AT_EMPTY_PATH): Define.
51371 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51373         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51374         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51375         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51376         to...
51377         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51378         * Versions.def: Add GLIBC_2.14.
51379         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51380         Export.
51382 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51384         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51385         round counter.
51386         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51388 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51390         [BZ #12597]
51391         * string/test-strncmp.c (do_page_test): New function.
51392         (check2): Likewise.
51393         (test_main): Call check2.
51394         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51396 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51398         [BZ #12587]
51399         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51400         Handle cache information in CPU leaf 4.
51401         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51403 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51405         [BZ #12583]
51406         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51407         character representation.
51408         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51410 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51412         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51413         END(__isnan) to END(__isnanf) to match function entry point/label
51414         EALIGN(__isnanf,...).
51416 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51418         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51420 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51422         [BZ #12510]
51423         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51424         copy from the symbol referenced in the relocation to initialize the
51425         used variable.
51426         Patch by Piotr Bury <pbury@goahead.com>.
51427         * elf/Makefile: Add rules to build and tst-unique3.
51428         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51429         * elf/tst-unique3.cc: New file.
51430         * elf/tst-unique3.h: New file.
51431         * elf/tst-unique3lib.cc: New file.
51432         * elf/tst-unique3lib2.cc: New file.
51434         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51436 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51438         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51439         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51440         to _start.
51442 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51444         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51445         to-be-loaded object along a path to loader is ld.so.
51447 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51448             Ulrich Drepper  <drepper@gmail.com>
51450         * sysdeps/x86_64/memset.S: After aligning destination, code
51451         branches to different locations depending on the value of
51452         misalignment, when multiarch is enabled. Fix this.
51454 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51456         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51457         Set _x86_64_preferred_memory_instruction for AMD processsors.
51458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51459         Set bit_Prefer_SSE_for_memop for AMD processors.
51461 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51463         * libio/fmemopen.c (fmemopen): Optimize a bit.
51465 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51467         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51469 2011-03-03  Roland McGrath  <roland@redhat.com>
51471         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51473 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51475         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51476         __bzero_ultra1 instead of __memset_ultra1.
51478 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51479             Ulrich Drepper  <drepper@gmail.com>
51481         [BZ #12509]
51482         * include/link.h (struct link_map): Add l_orig_initfini.
51483         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51484         returning unsuccessfully.
51485         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51486         close of a file loaded at startup, restore the original l_initfini
51487         list.
51488         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51489         list, store the pointer.
51490         * elf/Makefile ($(objpfx)noload-mem): New rule.
51491         (noload-ENV): Define.
51492         (tests): Add $(objpfx)noload-mem.
51493         * elf/noload.c: Include <memcheck.h>.
51494         (main): Call mtrace.  Close all opened handles.
51496 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51498         [BZ #12454]
51499         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51500         dependencies are missing.
51502 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51504         Fix __if_freereq crash: Unlike the generic version which uses free,
51505         Hurd needs munmap.
51506         * sysdeps/mach/hurd/ifreq.h: New file.
51508 2011-01-27  Petr Baudis  <pasky@suse.cz>
51509             Ulrich Drepper  <drepper@gmail.com>
51511         [BZ 12445]#
51512         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51513         to extend_alloca().
51514         * stdio-common/bug23.c: New file.
51515         * stdio-common/Makefile (tests): Add bug23.
51517 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51518             Ulrich Drepper  <drepper@gmail.com>
51520         [BZ #12489]
51521         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51522         before performing relro protection.  At old place add assertion
51523         to make sure nothing changed.
51525 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
51526             Glauber de Oliveira Costa  <glommer@gmail.com>
51528         * elf/elf.h: Add new ARM TLS relocs.
51530 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
51532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51533         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51534         cast from r3.
51535         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
51536         'tests' variable.
51537         * sysdeps/wordsize-64/tst-writev.c: New file.
51539 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
51541         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51542         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51543         insns in _dl_start to prevent a TOC reference before relocs are
51544         resolved.
51546 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
51548         [BZ #12469]
51549         * Makeconfig: Remove RANLIB definition.
51550         * Makerules: Don't use RANLIB.
51551         * aclocal.m4: Remove ranlib test.
51552         * configure.in: No need to check for ranlib.
51553         * elf/rtld-Rules: Don't use RANLIB.
51555 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51557         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51558         protection macro.
51559         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51560         inclusion protection macro.
51562         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51563         SIGRTMIN and SIGRTMAX and print information in that case only when
51564         SIGRTMIN is defined.
51566 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
51568         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51569         arginfo fn returning -1.
51571         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51572         and thousands string is zero terminated.
51574 2011-02-03  Andreas Schwab  <schwab@redhat.com>
51576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51577         sysdeps/unix/sysv/linux/bits/socket.h.
51579 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51581         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51582         (__CPU_COUNT): Remove old macros.
51583         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51584         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51585         (__CPU_ALLOC, __CPU_FREE): Add macros.
51586         (__sched_cpualloc, __sched_cpufree): Add declarations.
51588 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
51590         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51591         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51592         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51593         (readdhstai): Return value of addhstaiX call.
51594         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51595         (addgrbyX): Return value returned by cache_addgr.
51596         (readdgrbyname): Return value returned by addgrbyX.
51597         (readdgrbygid): Likewise.
51598         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51599         (addpwbyX): Return value returned by cache_addpw.
51600         (readdpwbyname): Return value returned by addhstbyX.
51601         (readdpwbyuid): Likewise.
51602         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51603         (addservbyX): Return value returned by cache_addserv.
51604         (readdservbyname): Return value returned by addservbyX:
51605         (readdservbyport): Likewise.
51606         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51607         (addhstbyX): Return value returned by cache_addhst.
51608         (readdhstbyname): Return value returned by addhstbyX.
51609         (readdhstbyaddr): Likewise.
51610         (readdhstbynamev6): Likewise.
51611         (readdhstbyaddrv6): Likewise.
51612         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51613         (readdinitgroups): Return value returned by addinitgroupsX.
51614         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51615         (prune_cache): Keep track of timeout value of re-added entries.
51616         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51617         * nscd/nscd.h: Adjust prototypes of readd* functions.
51619 2011-02-04  Roland McGrath  <roland@redhat.com>
51621         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51622         (nis_stats): Likewise.
51623         * nis/nis_modify.c (nis_modify): Likewise.
51624         * nis/nis_remove.c (nis_remove): Likewise.
51625         * nis/nis_add.c (nis_add): Likewise.
51627         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51629         * posix/fnmatch_loop.c: Add some consts.
51631         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51633 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51635         [BZ #12460]
51636         * config.make.in (config-cflags-novzeroupper): Define.
51637         * configure.in: Substitute libc_cv_cc_novzeroupper.
51638         * elf/Makefile (AVX-CFLAGS): Define.
51639         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51640         (CFLAGS-tst-auditmod4a.c): Likewise.
51641         (CFLAGS-tst-auditmod4b.c): Likewise.
51642         (CFLAGS-tst-auditmod6b.c): Likewise.
51643         (CFLAGS-tst-auditmod6c.c): Likewise.
51644         (CFLAGS-tst-auditmod7b.c): Likewise.
51645         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51647 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51649         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51650         function to the callback.
51651         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51653 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51655         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51656         of errno.
51658 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51660         [BZ #11724]
51661         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51662         of constructors.
51663         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51664         of destructors.
51665         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51667         [BZ #11724]
51668         * elf/Makefile: Add rules to build and run new test.
51669         * elf/tst-initorder.c: New file.
51670         * elf/tst-initorder.exp: New file.
51671         * elf/tst-initordera1.c: New file.
51672         * elf/tst-initordera2.c: New file.
51673         * elf/tst-initordera3.c: New file.
51674         * elf/tst-initordera4.c: New file.
51675         * elf/tst-initorderb1.c: New file.
51676         * elf/tst-initorderb2.c: New file.
51677         * elf/tst-order-a1.c: New file.
51678         * elf/tst-order-a2.c: New file.
51679         * elf/tst-order-a3.c: New file.
51680         * elf/tst-order-a4.c: New file.
51681         * elf/tst-order-b1.c: New file.
51682         * elf/tst-order-b2.c: New file.
51683         * elf/tst-order-main.c: New file.
51684         New test case by George Gensure <werkt0@gmail.com>.
51686 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51689         decoding ACE if AI_CANONIDN.
51691 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51693         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51695 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51697         * version.h (RELEASE): Bump for 2.13 release.
51698         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51700         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51702         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51703         MADV_NOHUGEPAGE.
51704         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51705         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51707         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51709         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51711         * posix/getconf.c: Update copyright year.
51712         * catgets/gencat.c: Likewise.
51713         * csu/version.c: Likewise.
51714         * debug/catchsegv.sh: Likewise.
51715         * debug/xtrace.sh: Likewise.
51716         * elf/ldconfig.c: Likewise.
51717         * elf/ldd.bash.in: Likewise.
51718         * elf/sprof.c (print_version): Likewise.
51719         * iconv/iconv_prog.c: Likewise.
51720         * iconv/iconvconfig.c: Likewise.
51721         * locale/programs/locale.c: Likewise.
51722         * locale/programs/localedef.c: Likewise.
51723         * malloc/memusage.sh: Likewise.
51724         * malloc/mtrace.pl: Likewise.
51725         * nscd/nscd.c (print_version): Likewise.
51726         * nss/getent.c: Likewise.
51728         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51729         PF_CAIF, and PF_ALG.
51730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51732 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51734         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51735         (modules-names): Use them.
51736         (ifunc-test-modules, ifunc-pie-tests): Define.
51737         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51738         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51739         (test-extras): Likewise.
51740         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51741         $(compile-command.c).
51742         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51743         (all-built-dso): Define.
51744         (check-textrel.out, check-execstack.out): Depend on it.
51746         * configure.in: Don't override --enable-multi-arch.
51748 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51750         [BZ #6812]
51751         * nscd/hstcache.c (tryagain): Define.
51752         (cache_addhst): Return tryagain not notfound for temporary errors.
51753         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51754         failed.
51756 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51758         [BZ #10563]
51759         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51760         to make the syscall.
51761         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51763         [BZ #12378]
51764         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51765         and fall back to matching as normal character if the string ends before
51766         the matching ']' is found.  This is what POSIX requires.
51767         * posix/testfnm.c: Adjust test result.
51768         * posix/globtest.sh: Adjust test result.  Add new test.
51769         * posix/tst-fnmatch.input: Likewise.
51770         * posix/tst-fnmatch2.c: Add new test.
51772 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51774         * elf/Makefile (check-execstack): Revert last change.  Depend on
51775         check-execstack.h.
51776         (check-execstack.h): New target.
51777         (generated): Add check-execstack.h.
51778         * elf/check-execstack.c: Include "check-execstack.h".
51779         (main): Revert last change.
51780         (handle_file): Return zero if GNU_STACK is absent and
51781         DEFAULT_STACK_PERMS doesn't include PF_X.
51783 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51785         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51786         in child fails because the descriptor is already closed.
51787         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51788         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51789         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51791         [BZ #12397]
51792         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51793         syscall.
51795         [BZ #10484]
51796         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51797         temporary buffer used to handle multi lookups locally.
51798         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51800 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51802         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51803         loader is ld.so.
51805 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51807         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51808         alignment for SSE2.
51810 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51812         [BZ #12394]
51813         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51814         characters.  When rounding increased number of integer digits recompute
51815         number of groups.
51816         * stdio-common/tst-grouping.c: New file.
51817         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51819 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51821         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51822         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51824         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51825         void.
51826         * bits/select.h: Likewise.
51828 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51830         * po/ja.po: Update from translation team.
51832 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51834         [BZ #11155]
51835         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51836         implementation just like for lxstat, fxstatat, et al.
51838 2010-12-27  Jim Meyering  <meyering@redhat.com>
51840         [BZ #12348]
51841         * posix/regexec.c (build_trtable): Return failure indication upon
51842         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51844 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51846         [BZ #12201]
51847         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51848         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51849         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51850         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51852         [BZ #12207]
51853         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51855         [BZ #12204]
51856         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51857         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51859 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51861         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51862         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51863         script has SORT_BY_INIT_PRIORITY.
51864         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51865         NO_CTORS_DTORS_SECTIONS is defined.
51866         * elf/soinit.c: Likewise.
51867         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51868         NO_CTORS_DTORS_SECTIONS is defined.
51869         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51870         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51871         * sysdeps/sh/init-first.c: Likewise.
51872         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51874 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51876         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51877         always use the slow path.
51879 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51881         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51882         similar rule which adds the sysdep directories to the header search in
51883         order to pick up the correct platform stackinfo.h.
51884         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51885         perform test if it is, otherwise return successfully without testing.
51886         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51887         DEFAULT_STACK_PERMS define in stackinfo.h.
51888         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51889         defined in stackinfo.h.
51890         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51891         DEFAULT_STACK_PERMS defined in stackinfo.h.
51892         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51893         * sysdeps/ia64/stackinfo.h: Likewise.
51894         * sysdeps/s390/stackinfo.h: Likewise.
51895         * sysdeps/sh/stackinfo.h: Likewise.
51896         * sysdeps/sparc/stackinfo.h: Likewise.
51897         * sysdeps/x86_64/stackinfo.h: Likewise.
51898         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51899         PF_X for powerpc64.  Retain PF_X for powerpc32.
51901 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51903         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51904         accurately.
51905         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51906         GETDENTS_64BIT_ALIGNED.
51908 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51910         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51912 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51914         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51915         _GNU_SOURCE.
51917         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51918         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51919         Remove __restrict.
51920         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51921         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51923 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51925         [BZ #11655]
51926         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51927         are initialized.
51929 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51931         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51933 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51935         * po/it.po: Update from translation team.
51937 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51940         unused codes.
51942 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51944         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51946 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51948         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51949         specially.
51950         (gaih_getanswer_slice): Likewise.
51952 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51956 2010-05-31  Petr Baudis  <pasky@suse.cz>
51958         [BZ #11149]
51959         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51960         silently even in the chroot mode.
51962 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51964         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51965         last patch a bit.  Pretty printing
51967 2010-05-31  Petr Baudis <pasky@suse.cz>
51969         [BZ #10085]
51970         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51971         initialization of skip_initgroups_dyn.
51973 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51975         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51978 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51980         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51982 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51984         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51985         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51986         (tst-fnmatch-ENV): Set MALLOC_TRACE.
51987         ($(objpfx)tst-fnmatch-mem): New rule.
51988         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51989         * posix/tst-fnmatch.c (main): Call mtrace.
51991 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
51993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51994         Support Intel processor model 6 and model 0x2c.
51996 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
51998         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51999           signed comparison.
52001 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52003         [BZ #12205]
52004         * string/test-strncasecmp.c (check_result): New function.
52005         (do_one_test): Use it.
52006         (check1): New function.
52007         (test_main): Use it.
52008         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52009         Support strcasecmp and strncasecmp.
52011 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52013         [BZ #12194]
52014         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52015         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52017 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52019         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52020         IFUNC support.
52021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52022         memset-x86-64.
52023         * sysdeps/x86_64/multiarch/bzero.S: New file.
52024         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52025         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52026         * sysdeps/x86_64/multiarch/memset.S: New file.
52027         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52029         Set bit_Prefer_SSE_for_memop for Intel processors.
52030         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52031         Define.
52032         (index_Prefer_SSE_for_memop): Define.
52033         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52035 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52037         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52038         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52040 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52042         [BZ #12191]
52043         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52044         (__x86_64_raw_data_cache_size_half): Likewise.
52045         (__x86_64_raw_shared_cache_size): Likewise.
52046         (__x86_64_raw_shared_cache_size_half): Likewise.
52048         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52049         (__x86_64_raw_data_cache_size_half): Likewise.
52050         (__x86_64_raw_shared_cache_size): Likewise.
52051         (__x86_64_raw_shared_cache_size_half): Likewise.
52052         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52053         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52054         and __x86_64_raw_shared_cache_size_half.  Round
52055         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52056         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52057         to multiple of 256 bytes.
52059 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52061         [BZ #12167]
52062         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52063         of inacessible symlinks.  Verify result of symlink before returning it.
52064         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52065         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52067 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52069         * math/math.h (isinf): Fix typo in comment.
52071 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52073         * po/da.po: Update from translation team.
52075 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52077         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52078         is added to the list.
52080 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52081             Ulrich Drepper  <drepper@gmail.com>
52083         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52084         the global list here.  Move code to...
52085         (_dl_add_to_namespace_list): ...here.  New function.
52086         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52087         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52088         * elf/dl-load.c (lose): Don't remove the element from the list.
52089         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52090         (_dl_map_object): Likewise.
52092 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52094         [BZ #12159]
52095         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52096         into all bytes of SSE register.
52097         Patch by Richard Li <richardpku@gmail.com>.
52099 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52101         [BZ #12140]
52102         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52103         perturbing.
52105 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52107         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52108         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52109         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52110         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52112         submachine.
52113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52115 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52117         * include/dlfcn.h (__RTLD_SECURE): Define.
52118         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52119         mode & __RTLD_SECURE instead.
52120         (open_path): Rename preloaded parameter to secure.
52121         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52122         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52123         * elf/dl-deps.c (openaux): Likewise.
52124         * elf/rtld.c (struct map_args): Remove is_preloaded.
52125         (map_doit): Don't use it.
52126         (dl_main): Likewise.
52127         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52128         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52130 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52132         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52133         (sysd-rules-targets): Remove duplicates.
52134         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52135         rtld-%.$o dependency.
52137 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52139         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52140         _dl_map_object do it.
52142 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52144         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52145         fast fma builtins, define the macros in the C99 standard.
52146         (FP_FAST_FMAF): Likewise.
52147         (FP_FAST_FMAL): Likewise.
52148         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52150         * bits/mathdef.h: Update copyright year.
52151         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52153 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52155         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52156         builtins, define the macros in the C99 standard.
52157         (FP_FAST_FMAF): Likewise.
52158         (FP_FAST_FMAL): Likewise.
52159         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52160         multiply/add.
52161         (FP_FAST_FMAF): Likewise.
52163 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52165         [BZ #3268]
52166         * math/libm-test.inc (fma_test): Some new testcases.
52167         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52168         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52169         y and infinite z.  Do multiplication by C already in long double.
52170         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52172         y and infinite z.  Do bitwise or of inexact bit into u.d.
52173         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52174         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52175         * sysdeps/i386/fpu/s_fma.S: Removed.
52176         * sysdeps/i386/fpu/s_fmal.S: Removed.
52178 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52180         [BZ #3268]
52181         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52183         computation is not scheduled after fetestexcept.  Fix value
52184         of minimum denormal long double.
52186 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52188         [BZ #3268]
52189         * math/libm-test.inc (fma_test): Add some more tests.
52190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52191         correctly.
52193 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52195         * scripts/data/localplt-s390-linux-gnu.data: New file.
52196         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52198 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52200         [BZ #3268]
52201         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52202         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52203         instead of dbl-64.
52204         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52205         inlines.
52206         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52208         if one of x and y is very large and the other is subnormal.
52209         * sysdeps/s390/fpu/s_fmaf.c: New file.
52210         * sysdeps/s390/fpu/s_fma.c: New file.
52211         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52212         * sysdeps/powerpc/fpu/s_fma.S: New file.
52213         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52214         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52215         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52217 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52219         [BZ #3268]
52220         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52221         fma tests.
52222         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52223         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52224         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52225         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52226         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52227         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52228         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52230 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52232         [BZ #12078]
52233         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52234         * posix/bug-regex31.input: Add test case.
52236 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52238         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52239         * posix/bug-regex31.input: New file.
52241         [BZ #12078]
52242         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52243         (parse_sub_exp): Fix last change, use postorder.
52245         * posix/bug-regex31.c: New file.
52246         * posix/Makefile: Add rules to build and run bug-regex31.
52248         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52250         [BZ #12078]
52251         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52253         [BZ #12108]
52254         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52255         to have entries in sys_siglist.
52257         [BZ #12093]
52258         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52259         be NULL.
52261 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52263         [BZ #3268]
52264         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52265         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52266         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52267         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52268         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52269         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52270         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52271         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52272         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52273         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52274         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52275         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52276         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52277         * math/ftestexcept.c (fetestexcept): Likewise.
52278         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52279         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52280         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52281         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52282         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52283         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52284         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52286 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52288         [BZ #12107]
52289         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52290         newline.
52292 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52294         * string/bug-strstr1.c: New file.
52295         * string/Makefile: Add rules to build and run bug-strstr1.
52297 2010-10-05  Eric Blake  <eblake@redhat.com>
52299         [BZ #12092]
52300         * string/str-two-way.h (two_way_long_needle): Always clear memory
52301         when skipping input due to the shift table.
52303 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52305         [BZ #12005]
52306         * malloc/mcheck.c: Handle large requests.
52308         [BZ #12077]
52309         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52310         for strncmp and strncasecmp.
52311         * string/stratcliff.c: Add tests for strcmp and strncmp.
52312         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52314 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52316         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52317         __set_fpscr.
52319 2010-09-30  Andreas Jaeger  <aj@suse.de>
52321         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52322         (CGROUP_SUPER_MAGIC): Define.
52323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52324         Handle btrfs and cgroup file systems.
52325         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52326         Likewise.
52328 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52330         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52331         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52333 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52335         [BZ #12067]
52336         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52337         trying to locate the ELF header.
52339 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52341         [BZ #11611]
52342         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52343         Mask out sign-bit copies when constructing f_fsid.
52345 2010-09-24  Petr Baudis <pasky@suse.cz>
52347         * debug/stack_chk_fail_local.c: Add missing licence exception.
52348         * debug/warning-nop.c: Likewise.
52350 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52353         implementing getdents64 using getdents syscall, set d_type if
52354         __ASSUME_GETDENTS32_D_TYPE.
52356 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52358         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52359         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52361 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52363         [BZ #12037]
52364         * posix/unistd.h: Undo change of feature selection for ftruncate from
52365         2010-01-11.
52367 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52369         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52370         detection.
52372 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52374         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52375         fanotify_mark.
52376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52378 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52380         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52381         variables after CHECK_SP call.
52382         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52384 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52385             Ulrich Drepper  <drepper@redhat.com>
52387         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52388         re-relocationg ld.so.
52389         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52390         _dl_init_paths call.
52391         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52392         here anymore.
52394 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52396         * resolv/res_init.c (__res_vinit): Count the default server we added.
52398 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52399             Ulrich Drepper  <drepper@redhat.com>
52401         [BZ #11968]
52402         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52403         (____longjmp_chk): Use %ebx for saving value across system call.
52404         Add unwind info.
52406 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52408         * manual/Makefile: Don't mix pattern rules with normal rules.
52410 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52412         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52413         operation.
52414         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52415         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52416         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52417         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52419         Likewise.
52421 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52423         [BZ #11979]
52424         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52425         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52427 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52429         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52430         * sysdeps/x86_64/addmul_1.S: Likewise.
52431         * sysdeps/x86_64/lshift.S: Likewise.
52432         * sysdeps/x86_64/mul_1.S: Likewise.
52433         * sysdeps/x86_64/rshift.S: Likewise.
52434         * sysdeps/x86_64/sub_n.S: Likewise.
52435         * sysdeps/x86_64/submul_1.S: Likewise.
52437 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52439         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52440         Define __sched_param instead of SCHED_* and sched_param when
52441         <bits/sched.h> is included with __need_schedparam defined.
52442         * bits/sched.h [__need_schedparam]
52443         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52444         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52445         (__defined_schedparam): Define to 1.
52446         (__sched_param): New structure, identical to sched_param.
52447         (__need_schedparam): Undefine.
52449 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52451         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52452         (epoll_create1): Declare.
52454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52456 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52458         [BZ #7066]
52459         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52460         shifting retval into place.
52462 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52464         * nis/rpcsvc/nis.h: Update copyright notice.
52465         * nis/rpcsvc/nis.x: Likewise.
52466         * nis/rpcsvc/nis_callback.h: Likewise.
52467         * nis/rpcsvc/nis_callback.x: Likewise.
52468         * nis/rpcsvc/nis_object.x: Likewise.
52469         * nis/rpcsvc/nis_tags.h: Likewise.
52470         * nis/rpcsvc/yp.h: Likewise.
52471         * nis/rpcsvc/yp.x: Likewise.
52472         * nis/rpcsvc/ypupd.h: Likewise.
52473         * nis/yp_xdr.c: Likewise.
52474         * nis/ypupdate_xdr.c: Likewise.
52476         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52477         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52478         (pmap_getport): Use __libc_rpc_getport.
52479         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52480         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52481         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52483 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52486         fanotify_mark.
52488 2010-08-27  Roland McGrath  <roland@redhat.com>
52490         * sysdeps/i386/i686/multiarch/Makefile
52491         (CFLAGS-varshift.c): New variable.
52493 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52495         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52496         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52500         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52502 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52504         * sysdeps/x86_64/strlen.S: Unroll the loop.
52505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52506         strlen-sse2 strlen-sse2-bsf.
52507         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52508         __strlen_no_bsf if bit_Slow_BSF is set.
52509         (__strlen_sse42): Removed.
52510         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52511         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52513 2010-08-25  Roland McGrath  <roland@redhat.com>
52515         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52516         * sysdeps/x86_64/multiarch/varshift.c: New file.
52517         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52518         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52519         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52520         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52522 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
52524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52525         strlen-sse2 strlen-sse2-bsf.
52526         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52527         __strlen_sse2_bsf if bit_Slow_BSF is unset.
52528         (__strlen_sse2): Removed.
52529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52532         bit_Slow_BSF for Atom.
52533         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52534         (index_Slow_BSF): Define.
52535         (HAS_SLOW_BSF): Define.
52537 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
52539         [BZ #10851]
52540         * resolv/res_init.c (__res_vinit): When no server address at all
52541         is given default to loopback.
52543 2010-08-24  Roland McGrath  <roland@redhat.com>
52545         * configure.in: Remove config-name.h generation.
52546         * configure: Regenerated.
52547         * config-name.in: File removed.
52548         * scripts/config-uname.sh: New file.
52549         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52550         ($(objdir)config-name.h): New target.
52552         * sunrpc/rpc_parse.h: Avoid nested comment.
52554 2010-08-24  Richard Henderson  <rth@redhat.com>
52555             Ulrich Drepper  <drepper@redhat.com>
52556             H.J. Lu  <hongjiu.lu@intel.com>
52558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52560         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52561         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
52562         _mm_alignr_epi8 with _mm_loadu_si128.
52563         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52564         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52565         (__m128i_shift_right): Removed.
52566         * sysdeps/i386/i686/multiarch/varshift.h: New file.
52567         * sysdeps/i386/i686/multiarch/varshift.S: New file.
52568         * sysdeps/x86_64/multiarch/varshift.h: New file.
52569         * sysdeps/x86_64/multiarch/varshift.S: New file.
52571 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
52573         * configure.in: Move assembler checks to before sysdep dir checking.
52575 2010-08-20  Petr Baudis  <pasky@suse.cz>
52577         * LICENSES: Sync the sunrpc license.
52579 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
52581         * sunrpc/auth_des.c: Update copyright notice once again.
52582         * sunrpc/auth_none.c: Likewise.
52583         * sunrpc/auth_unix.c: Likewise.
52584         * sunrpc/authdes_prot.c: Likewise.
52585         * sunrpc/authuxprot.c: Likewise.
52586         * sunrpc/bindrsvprt.c: Likewise.
52587         * sunrpc/clnt_gen.c: Likewise.
52588         * sunrpc/clnt_perr.c: Likewise.
52589         * sunrpc/clnt_raw.c: Likewise.
52590         * sunrpc/clnt_simp.c: Likewise.
52591         * sunrpc/clnt_tcp.c: Likewise.
52592         * sunrpc/clnt_udp.c: Likewise.
52593         * sunrpc/clnt_unix.c: Likewise.
52594         * sunrpc/des_crypt.c: Likewise.
52595         * sunrpc/des_soft.c: Likewise.
52596         * sunrpc/get_myaddr.c: Likewise.
52597         * sunrpc/getrpcport.c: Likewise.
52598         * sunrpc/key_call.c: Likewise.
52599         * sunrpc/key_prot.c: Likewise.
52600         * sunrpc/openchild.c: Likewise.
52601         * sunrpc/pm_getmaps.c: Likewise.
52602         * sunrpc/pm_getport.c: Likewise.
52603         * sunrpc/pmap_clnt.c: Likewise.
52604         * sunrpc/pmap_prot.c: Likewise.
52605         * sunrpc/pmap_prot2.c: Likewise.
52606         * sunrpc/pmap_rmt.c: Likewise.
52607         * sunrpc/rpc/auth.h: Likewise.
52608         * sunrpc/rpc/auth_unix.h: Likewise.
52609         * sunrpc/rpc/clnt.h: Likewise.
52610         * sunrpc/rpc/des_crypt.h: Likewise.
52611         * sunrpc/rpc/key_prot.h: Likewise.
52612         * sunrpc/rpc/netdb.h: Likewise.
52613         * sunrpc/rpc/pmap_clnt.h: Likewise.
52614         * sunrpc/rpc/pmap_prot.h: Likewise.
52615         * sunrpc/rpc/pmap_rmt.h: Likewise.
52616         * sunrpc/rpc/rpc.h: Likewise.
52617         * sunrpc/rpc/rpc_des.h: Likewise.
52618         * sunrpc/rpc/rpc_msg.h: Likewise.
52619         * sunrpc/rpc/svc.h: Likewise.
52620         * sunrpc/rpc/svc_auth.h: Likewise.
52621         * sunrpc/rpc/types.h: Likewise.
52622         * sunrpc/rpc/xdr.h: Likewise.
52623         * sunrpc/rpc_clntout.c: Likewise.
52624         * sunrpc/rpc_cmsg.c: Likewise.
52625         * sunrpc/rpc_common.c: Likewise.
52626         * sunrpc/rpc_cout.c: Likewise.
52627         * sunrpc/rpc_dtable.c: Likewise.
52628         * sunrpc/rpc_hout.c: Likewise.
52629         * sunrpc/rpc_main.c: Likewise.
52630         * sunrpc/rpc_parse.c: Likewise.
52631         * sunrpc/rpc_parse.h: Likewise.
52632         * sunrpc/rpc_prot.c: Likewise.
52633         * sunrpc/rpc_sample.c: Likewise.
52634         * sunrpc/rpc_scan.c: Likewise.
52635         * sunrpc/rpc_scan.h: Likewise.
52636         * sunrpc/rpc_svcout.c: Likewise.
52637         * sunrpc/rpc_tblout.c: Likewise.
52638         * sunrpc/rpc_util.c: Likewise.
52639         * sunrpc/rpc_util.h: Likewise.
52640         * sunrpc/rpcinfo.c: Likewise.
52641         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52642         * sunrpc/rpcsvc/key_prot.x: Likewise.
52643         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52644         * sunrpc/rpcsvc/mount.x: Likewise.
52645         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52646         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52647         * sunrpc/rpcsvc/rex.x: Likewise.
52648         * sunrpc/rpcsvc/rstat.x: Likewise.
52649         * sunrpc/rpcsvc/rusers.x: Likewise.
52650         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52651         * sunrpc/rpcsvc/spray.x: Likewise.
52652         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52653         * sunrpc/rtime.c: Likewise.
52654         * sunrpc/svc.c: Likewise.
52655         * sunrpc/svc_auth.c: Likewise.
52656         * sunrpc/svc_authux.c: Likewise.
52657         * sunrpc/svc_raw.c: Likewise.
52658         * sunrpc/svc_run.c: Likewise.
52659         * sunrpc/svc_simple.c: Likewise.
52660         * sunrpc/svc_tcp.c: Likewise.
52661         * sunrpc/svc_udp.c: Likewise.
52662         * sunrpc/svc_unix.c: Likewise.
52663         * sunrpc/svcauth_des.c: Likewise.
52664         * sunrpc/xcrypt.c: Likewise.
52665         * sunrpc/xdr.c: Likewise.
52666         * sunrpc/xdr_array.c: Likewise.
52667         * sunrpc/xdr_float.c: Likewise.
52668         * sunrpc/xdr_mem.c: Likewise.
52669         * sunrpc/xdr_rec.c: Likewise.
52670         * sunrpc/xdr_ref.c: Likewise.
52671         * sunrpc/xdr_sizeof.c: Likewise.
52672         * sunrpc/xdr_stdio.c: Likewise.
52674         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52675         handling.
52677 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52679         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52681 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52683         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52684         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52685         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52686         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52687         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52688         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52689         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52690         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52692         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52693         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52694         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52695         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52696         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52698 2010-07-26  Anton Blanchard  <anton@samba.org>
52700         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52701         * malloc/arena.c (heap_trim): Likewise.
52703 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52705         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52706         here.  Not...
52707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52708         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52710 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52712         * sysdeps/i386/elf/Makefile: New file.
52714 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52716         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52717         from fanotify_init.
52718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52721 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52723         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52724         of strncasecmp_l.
52725         * sysdeps/multiarch/strcmp.S: Likewise.
52727 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52729         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52730         strncase_l-nonascii.
52731         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52732         Add strncase_l-ssse3.
52733         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52734         * sysdeps/x86_64/strcmp.S: Likewise.
52735         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52736         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52737         * sysdeps/x86_64/strncase.S: New file.
52738         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52739         * sysdeps/x86_64/strncase_l.S: New file.
52740         * string/Makefile (strop-tests): Add strncasecmp.
52741         * string/test-strncasecmp.c: New file.
52743         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52744         warning.
52746         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52749 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52751         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52753 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52755         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52756         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52757         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52759 2010-05-01  Alan Modra  <amodra@gmail.com>
52761         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52762         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52763         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52764         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52765         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52766         tidying.  Don't tail-call __sigjmp_save for static lib.
52767         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52768         save location.
52769         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52770         (CALL_MCOUNT): Add eh info, and nop after bl.
52771         (TAIL_CALL_SYSCALL_ERROR): New macro.
52772         (PSEUDO_RET): Use it.
52773         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52774         Correct save location of integer regs and cr.
52775         (_dl_profile_resolve): Correct cr save location.  Delete nops
52776         after bl when SHARED.  Reduce cfi size a little by better
52777         placement of cfi directives.
52778         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52779         make a stack frame.  Instead use parm save area as a temp.
52780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52781         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52783         Don't make a stack frame for parent, use parm save area.
52784         Increase child stack frame to 112 bytes.  Don't save unused reg,
52785         and adjust reg usage.  Set up cfi on error recovery and
52786         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52788         (__makecontext): Add dummy nop after jump to exit.
52789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52790         Use correct parm save area and cr save, reduce stack frame.
52791         Correct cfi for possible PSEUDO_RET frame setup.
52792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52793         Branch to local label emitted by PSEUDO_RET rather than
52794         __syscall_error.
52796 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52798         [BZ #11904]
52799         * locale/programs/locale.c (print_assignment): New function.
52800         (show_locale_vars): Use it.
52802 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52804         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52805         field.
52806         (struct statfs64): Likewise.
52807         (_STATFS_F_FLAGS): Define.
52808         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52809         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52810         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52811         (ST_VALID): Define locally.
52812         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52813         __statvfs_getflags, use the provided value.
52814         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52815         __ASSUME_STATFS_F_FLAGS.
52817         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52819         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52820         Add sys/fanotify.h.
52821         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52822         fanotify_mask for GLIBC_2.13.
52823         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52824         fanotify_init and fanotify_mark.
52825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52826         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52828         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52829         Add prlimit.
52830         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52831         prlimit64 for GLIBC_2.13.
52832         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52833         prlimit64.
52834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52835         syscall.
52836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52838         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52839         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52840         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52841         add prlimit alias.
52842         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52844         [BZ #11903]
52845         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52846         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52848         * nss/Makefile: Add rules to build and run tst-nss-test1.
52849         * shlib-versions: Add entry for libnss_test1.
52850         * nss/nss_test1.c: New file.
52851         * nss/tst-nss-test1.c: New file.
52853         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52854         (__nss_configure_lookup): Set appropriate entry in
52855         __nss_configure_lookup to true.
52856         * nss/nsswitch.h: Define enum with indeces of databases in
52857         databases and __nss_database_custom arrays.  Declare
52858         __nss_database_custom.
52859         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52860         to avoid using nscd when custom rules are installed.
52861         * nss/getXXbyYY_r.c: Likewise.
52862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52864         * nss/nss_files/files-parse.c: Whitespace fixes.
52866 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52868         [BZ #11883]
52869         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52870         * posix/fnmatch_loop.c: Likewise.
52872 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52874         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52875         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52876         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52877         * Versions.def [GLIBC_2.13]: Add.
52879 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52881         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52882         Also fail if tpwd after pwuid call is NULL.
52884 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52886         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52887         when converting to ms.
52889 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52891         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52892         EOPNOTSUPP errors with ENOTTY.
52893         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52894         EOPNOTSUPP errors with ENOTTY.
52896 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52898         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52899         Add strcasecmp_l-ssse3.
52900         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52901         strcasecmp.
52902         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52903         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52904         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52906 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52908         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52910         * string/Makefile (strop-tests): Add strcasecmp.
52911         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52912         strcasecmp_l-nonascii.
52913         (gen-as-const-headers): Add locale-defines.sym.
52914         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52915         * sysdeps/x86_64/strcasecmp.S: New file.
52916         * sysdeps/x86_64/strcasecmp_l.S: New file.
52917         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52918         * sysdeps/x86_64/locale-defines.sym: New file.
52919         * string/test-strcasecmp.c: New file.
52921         * string/test-strcasestr.c: Test both ends of the range of characters.
52922         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52924 2010-07-29  Roland McGrath  <roland@redhat.com>
52926         [BZ #11856]
52927         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52929 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52931         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52932         for ld.so.
52934 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52936         * manual/memory.texi (Malloc Tunable Parameters): Document
52937         M_PERTURB.
52939 2010-07-26  Roland McGrath  <roland@redhat.com>
52941         [BZ #11840]
52942         * configure.in (-fgnu89-inline check): Set and substitute
52943         gnu89_inline, not libc_cv_gnu89_inline.
52944         * configure: Regenerated.
52945         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52947 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52949         * string/test-strnlen.c: New file.
52950         * string/Makefile (strop-tests): Add strnlen.
52951         * string/tester.c (test_strnlen): Add a few more test cases.
52952         * string/tst-strlen.c: Better error reporting.
52954         * sysdeps/x86_64/strnlen.S: New file.
52956 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52958         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52959         lower-latency instructions.
52961 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52963         * string/test-strcasestr.c: New file.
52964         * string/test-strstr.c: New file.
52965         * string/Makefile (strop-tests): Add strstr and strcasestr.
52966         * string/str-two-way.h: Don't undefine MAX.
52967         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52969 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52972         strcasestr-nonascii.
52973         (CFLAGS-strcasestr-nonascii.c): Define.
52974         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52975         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52976         Remove unused attribute.
52978 2010-07-20  Roland McGrath  <roland@redhat.com>
52980         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52981         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52982         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52983         like LD_HWCAP_MASK can disable hwcaps.
52985 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
52987         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52989 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
52991         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52992         call in strcasestr.
52993         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52994         __strcasestr_sse42_nonascii.
52995         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52996         strcasestr-nonascii.c.
52997         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52999 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53001         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53003         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53004         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53006 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53008         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53009         fcntl.
53011 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53013         [BZ #11577]
53014         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53015         dl_signal_cerror.
53017 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53019         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53020         _PC_PIPE_BUF using F_GETPIPE_SZ.
53022 2010-07-05  Roland McGrath  <roland@redhat.com>
53024         * manual/arith.texi (Rounding Functions): Fix rint description
53025         implicit in round description.
53027 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53029         * elf/Makefile: Fix linking for a few tests to make recent linker
53030         happy.
53032 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53034         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53035         $(common-objpfx)libc_nonshared.a.
53037 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53039         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53040         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53041         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53042         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53043         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53044         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53045         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53046         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53061         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53062         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53063         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53064         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53065         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53066         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53067         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53068         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53069         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53070         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53071         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53072         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53088 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53090         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53091         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53092         * string/memmove.c (memmove): Renamed to ...
53093         (MEMMOVE): ...this.  Default to memmove.
53094         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53095         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53096         (END_CHK): Define.
53097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53098         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53099         mempcpy-ssse3-back memmove-ssse3-back.
53100         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53102         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53103         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53104         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53105         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53106         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53107         * sysdeps/x86_64/multiarch/memmove.c: New file.
53108         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53109         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53110         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53111         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53113         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53114         Define.
53115         (index_Fast_Copy_Backward): Define.
53116         (HAS_ARCH_FEATURE): Define.
53117         (HAS_FAST_REP_STRING): Define.
53118         (HAS_FAST_COPY_BACKWARD): Define.
53120 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53122         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53123         Restore proper fallback handling.
53125 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53127         [BZ #11701]
53128         * posix/group_member.c (__group_member): Correct checking loop.
53130         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53131         OOM in getpwuid_r correctly.  Return error number when the caller
53132         should return, otherwise -1.
53133         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53134         call returning > 0 value.
53135         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53137 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53139         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53140         libc_nonshared.a from targets in modules-names.
53142 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53144         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53145         requires it.
53147 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53149         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53150         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53154 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53156         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53158 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53160         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53161         and F_GETPIPE_SZ.
53162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53169 2010-06-14  Roland McGrath  <roland@redhat.com>
53171         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53173 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53175         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53176         __REDIRECT followed by __THROW.
53177         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53178         * posix/getopt.h (getopt): Likewise.
53180 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53182         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53183         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53184         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53185         in AT_FLAGS.
53186         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53187         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53189 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53191         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53193 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53195         [BZ #11640]
53196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53197         Properly check family and model.
53199 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53201         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53203 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53205         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53207 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53209         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53210         symbol reference.
53212 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53214         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53215         symbol reference.
53217 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53219         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53220         and internal_recvmmsg.
53221         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53222         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53223         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53224         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53226         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53227         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53228         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53230 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53232         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53234 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53236         POWER7 optimizations.
53237         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53238         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53240 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53242         * version.h: Update for 2.13 development version.
53244 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53246         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53247         exceptions.  Return 0.
53249 2010-05-07  Roland McGrath  <roland@redhat.com>
53251         * elf/ldconfig.c (main): Add a const.
53253 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53255         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53256         (args_options): Add no-idn option.
53257         (ahosts_keys_int): Add idn_flags to ai_flags.
53258         (parse_option): Handle 'i' option to clear idn_flags.
53260         * malloc/malloc.c (_int_free): Possible race in the most recently
53261         added check.  Only act on the data if no current modification
53262         happened.
53264 See ChangeLog.17 for earlier changes.