Fix perror fileno namespace (bug 17633).
[glibc.git] / ChangeLog
blobec318746e9f61be782ee4a61dfa2f228fb292383
1 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17633]
4         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6         variable.
7         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12         * string/strncpy.c (strncpy): Improve performance by using memset.
14 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16         * string/strcpy.c (strcpy):
17         Improve performance by using strlen and memcpy.
19 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21         * string/strcoll_l.c (get_next_seq): __always_inline.
22         * string/strcoll_l.c (do_compare): __always_inline.
24 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27         defined.
28         * include/mqueue.h: Likewise.
29         * include/stdlib.h: Likewise.
31         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32         (get_null_defines): Adjust.
33         * sunrpc/Makefile: Adjust comment.
34         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36         (CFLAGS-interp.c): Likewise.
37         (CFLAGS-ldconfig.c): Likewise.
38         (CPPFLAGS-.os): Likewise.
39         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41         * extra-modules.mk (extra-modules.mk): Likewise.
42         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
44         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
45         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
46         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
47         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
48         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
49         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
50         * iconvdata/Makefile (CPPFLAGS): Likewise.
51         (cpp-srcs-left): Add libof for all iconvdata routines.
52         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
53         * include/assert.h: Likewise.
54         * include/ctype.h: Likewise.
55         * include/errno.h: Likewise.
56         * include/libc-symbols.h: Likewise.
57         * include/math.h: Likewise.
58         * include/netdb.h: Likewise.
59         * include/resolv.h: Likewise.
60         * include/stdio.h: Likewise.
61         * include/stdlib.h: Likewise.
62         * include/string.h: Likewise.
63         * include/sys/stat.h: Likewise.
64         * include/wctype.h: Likewise.
65         * intl/l10nflist.c: Likewise.
66         * libidn/idn-stub.c: Likewise.
67         * libio/libioP.h: Likewise.
68         * nptl/libc_multiple_threads.c: Likewise.
69         * nptl/pthreadP.h: Likewise.
70         * posix/regex_internal.h: Likewise.
71         * resolv/res_hconf.c: Likewise.
72         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
73         * sysdeps/arm/memmove.S: Likewise.
74         * sysdeps/arm/sysdep.h: Likewise.
75         * sysdeps/generic/_itoa.h: Likewise.
76         * sysdeps/generic/symbol-hacks.h: Likewise.
77         * sysdeps/gnu/errlist.awk: Likewise.
78         * sysdeps/gnu/errlist.c: Likewise.
79         * sysdeps/i386/i586/memcpy.S: Likewise.
80         * sysdeps/i386/i586/memset.S: Likewise.
81         * sysdeps/i386/i686/memcpy.S: Likewise.
82         * sysdeps/i386/i686/memmove.S: Likewise.
83         * sysdeps/i386/i686/mempcpy.S: Likewise.
84         * sysdeps/i386/i686/memset.S: Likewise.
85         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
88         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
89         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
90         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
91         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
92         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
93         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
94         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
95         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
96         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
97         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
98         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
99         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
100         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
101         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
102         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
103         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
104         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
105         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
106         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
107         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
108         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
109         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
110         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
111         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
112         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
113         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
114         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
115         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
116         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
118         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
119         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
121         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
122         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
123         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
124         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
125         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
126         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
127         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
128         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
129         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
130         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
131         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
132         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
133         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
134         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
135         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
136         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
137         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
138         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
139         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
140         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
141         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
142         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
143         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
144         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
145         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
146         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
147         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
148         * sysdeps/nptl/bits/libc-lock.h: Likewise.
149         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
150         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
151         * sysdeps/posix/closedir.c: Likewise.
152         * sysdeps/posix/opendir.c: Likewise.
153         * sysdeps/posix/readdir.c: Likewise.
154         * sysdeps/posix/rewinddir.c: Likewise.
155         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
156         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
157         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
158         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
159         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
160         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
161         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
162         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
163         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
165         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
166         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
167         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
168         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
169         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
170         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
171         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
172         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
175         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
176         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
177         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
178         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
179         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
180         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
182         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
183         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
187         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
190         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
191         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
192         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
193         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
194         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
195         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
196         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
197         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
198         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
199         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
200         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
201         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
202         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
203         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
204         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
205         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
206         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
208         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
209         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
211         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
212         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
213         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
214         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
215         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
216         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
217         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
218         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
219         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
220         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
221         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
222         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
223         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
224         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
225         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
226         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
227         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
228         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
229         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
230         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
231         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
232         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
233         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
234         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
235         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
236         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
237         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
238         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
239         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
240         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
241         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
242         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
243         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
244         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
245         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
246         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
247         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
248         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
249         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
250         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
251         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
253         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
254         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
255         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
256         * sysdeps/unix/alpha/sysdep.S: Likewise.
257         * sysdeps/unix/alpha/sysdep.h: Likewise.
258         * sysdeps/unix/make-syscalls.sh: Likewise.
259         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
261         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
262         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
263         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
264         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
265         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
266         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
267         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
268         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
269         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
270         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
271         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
272         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
273         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
274         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
275         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
276         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
277         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
278         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
279         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
280         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
281         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
282         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
283         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
284         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
288         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
289         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
292         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
293         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
294         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
295         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
297         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
298         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
299         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
300         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
301         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
302         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
303         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
304         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
306         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
309         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
310         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
311         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
312         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
314         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
315         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
317         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
318         * sysdeps/x86_64/memcpy.S: Likewise.
319         * sysdeps/x86_64/memmove.c: Likewise.
320         * sysdeps/x86_64/memset.S: Likewise.
321         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
322         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
323         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
324         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
325         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
326         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
327         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
328         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
329         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
330         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
331         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
332         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
333         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
334         * sysdeps/x86_64/multiarch/memset.S: Likewise.
335         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
336         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
337         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
338         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
339         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
340         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
341         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
342         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
343         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
344         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
345         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
346         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
347         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
348         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
349         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
350         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
351         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
352         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
353         * sysdeps/x86_64/strcmp.S: Likewise.
355         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
357         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
358         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
359         * elf/rtld-Rules: Likewise.
360         * elf/setup-vdso.h: Likewise.
361         * include/assert.h: Likewise.
362         * include/bits/stdlib-float.h: Likewise.
363         * include/errno.h: Likewise.
364         * include/sys/stat.h: Likewise.
365         * include/unistd.h: Likewise.
366         * sysdeps/aarch64/setjmp.S: Likewise.
367         * sysdeps/alpha/setjmp.S: Likewise.
368         * sysdeps/arm/__longjmp.S: Likewise.
369         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
370         * sysdeps/arm/setjmp.S: Likewise.
371         * sysdeps/arm/sysdep.h: Likewise.
372         * sysdeps/generic/_itoa.h: Likewise.
373         * sysdeps/generic/dl-sysdep.h: Likewise.
374         * sysdeps/generic/ldsodefs.h: Likewise.
375         * sysdeps/i386/dl-tls.h: Likewise.
376         * sysdeps/i386/setjmp.S: Likewise.
377         * sysdeps/m68k/setjmp.c: Likewise.
378         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
379         * sysdeps/mach/hurd/opendir.c: Likewise.
380         * sysdeps/posix/getcwd.c: Likewise.
381         * sysdeps/posix/opendir.c: Likewise.
382         * sysdeps/posix/profil.c: Likewise.
383         * sysdeps/powerpc/dl-procinfo.h: Likewise.
384         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
385         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
386         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
387         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
388         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
389         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
390         * sysdeps/s390/dl-tls.h: Likewise.
391         * sysdeps/s390/s390-32/setjmp.S: Likewise.
392         * sysdeps/s390/s390-64/setjmp.S: Likewise.
393         * sysdeps/sh/sh3/setjmp.S: Likewise.
394         * sysdeps/sh/sh4/setjmp.S: Likewise.
395         * sysdeps/unix/alpha/sysdep.h: Likewise.
396         * sysdeps/unix/arm/sysdep.S: Likewise.
397         * sysdeps/unix/i386/sysdep.S: Likewise.
398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
399         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
400         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
401         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
402         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
403         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
404         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
405         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
406         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
407         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
408         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
409         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
410         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
413         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
416         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
417         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
418         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
421         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
422         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
423         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
425         * sysdeps/unix/x86_64/sysdep.S: Likewise.
426         * sysdeps/x86_64/setjmp.S: Likewise.
428         * include/math.h: Use IS_IN instead of IS_IN_libm.
429         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
430         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
431         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
432         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
433         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
434         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
435         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
436         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
437         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
438         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
439         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
440         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
441         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
442         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
443         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
444         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
445         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
446         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
447         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
448         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
449         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
450         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
451         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
452         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
453         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
454         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
455         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
456         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
457         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
458         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
459         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
460         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
461         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
463         Likewise.
464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
465         Likewise.
466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
467         Likewise.
468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
469         Likewise.
470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
471         Likewise.
472         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
474         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
475         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
476         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
477         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
483         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
484         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
485         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
486         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
487         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
488         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
489         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
490         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
491         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
492         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
493         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
495         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
496         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
498         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
500         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
501         * nptl/pthreadP.h: Likewise.
502         * nptl_db/structs.def: Likewise.
503         * sysdeps/arm/sysdep.h: Likewise.
504         * sysdeps/nptl/bits/libc-lock.h: Likewise.
505         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
506         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
507         * sysdeps/unix/alpha/sysdep.h: Likewise.
508         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
510         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
511         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
512         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
513         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
514         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
515         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
516         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
517         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
518         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
519         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
520         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
521         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
524         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
525         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
526         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
529         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
530         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
531         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
532         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
533         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
535         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
536         * nptl/pthreadP.h: Likewise.
537         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
538         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
539         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
540         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
541         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
542         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
543         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
544         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
545         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
546         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
547         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
548         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
550         Likewise.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
552         Likewise.
553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
555         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
556         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
558         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
559         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
560         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
562         * dlfcn/dladdr.c: Use IS_IN.
563         * dlfcn/dladdr1.c: Likewise.
564         * dlfcn/dlclose.c: Likewise.
565         * dlfcn/dlerror.c: Likewise.
566         * dlfcn/dlinfo.c: Likewise.
567         * dlfcn/dlmopen.c: Likewise.
568         * dlfcn/dlopen.c: Likewise.
569         * dlfcn/dlsym.c: Likewise.
570         * dlfcn/dlvsym.c: Likewise.
572         * include/ifaddrs.h: Use IS_IN.
573         * inet/check_pf.c: Likewise.
574         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
575         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
577         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
578         IS_IN_ldconfig.
579         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
580         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
582         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
583         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
584         IS_IN (libc).
586         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
588         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
589         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
590         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
591         * include/libc-symbols.h (IS_IN_LIB): New macro.
592         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
593         * include/netdb.h: Likewise.
594         * include/stap-probe.h: Remove all uses of IN_LIB.
596         * Makeconfig (module-cppflags-real): Define MODULE_NAME
597         instead of IN_MODULE.
598         * include/libc-symbols.h (IN_MODULE): Define using
599         MODULE_NAME.
600         (PASTE_NAME, PASTE_NAME1): New macros.
601         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
602         of IN_LIB.
603         (STAP_PROBE_ASM): Likewise.
605 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
607         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
608         __mach_init in dlopened libc.
610 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
612         * sysdeps/arm/preconfigure.ac: Delete EABI check.
613         * sysdeps/arm/preconfigure: Regenerate.
615 2014-11-21  Roland McGrath  <roland@hack.frob.com>
617         * nptl/pthread_create.c (__pthread_create_2_1): Set
618         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
619         when copying values from IATTR into PD.
621 2014-11-21  Will Newton  <will.newton@linaro.org>
622             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
624         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
625         Refactor inline-asm.  Also add comment.
627         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
628         ElfW macro instead of hardcoded Elf64 types.
629         (la_aarch64_gnu_pltenter): Likewise.
630         * sysdeps/aarch64/dl-machine.h
631         (elf_machine_runtime_setup): Use ElfW(Addr).
633         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
634         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
635         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
636         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
637         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
638         (R_AARCH64_TLS_DTPMOD64): Rename to ..
639         (R_AARCH64_TLS_DTPMOD): This.
640         (R_AARCH64_TLS_DTPREL64): Rename to ...
641         (R_AARCH64_TLS_DTPREL): This.
642         (R_AARCH64_TLS_TPREL64): Rename to ...
643         (R_AARCH64_TLS_TPREL): This.
644         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
645         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
646         R_AARCH64_TLS_TPREL64.
647         (elf_machine_rela): Likewise.
649 2014-11-21  Torvald Riegel  <triegel@redhat.com>
651         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
652         by setting it to 0.  64b atomics are not supported currently.
654 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
656         [BZ #16469]
657         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
658         search domain names.
660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
662         [BZ #16469]
663         * NEWS: Update.
664         * resolv/res_query.c (__libc_res_nquerydomain): Retain
665         trailing dot.
666         * posix/tst-getaddrinfo5.c: New.
667         * posix/Makefile (tests): Add it.
669 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
671         [BZ #14498]
672         * NEWS: Fixed.
673         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
674         after parsing line but before break_if_match.
675         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
676         if there is a protocol mismatch.
678 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
680         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
681         because the potential race is on the user-supplied stream.
683 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
685         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
686         string literal if not passed a buffer.
687         * manual/job.texi (ctermid): Update reasoning, note deviation
688         from posix, suggest mtasurace when not passed a buffer, for
689         future non-preliminary safety notes.
691 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
693         * manual/users.texi (cuserid): Fix MT-Safety note for the case
694         of not passing it a buffer.
695         Reported by Peng Haitao.
697 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
699         * manual/Makefile ($(objpfx)stamp-summary): Require
700         check-safety.sh to pass.
701         * manual/check-safety.sh: Wish for verification that every
702         @deftypefn and @deftypefun is followed by a @safety remark.
704 2014-11-20  Roland McGrath  <roland@hack.frob.com>
706         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
708         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
709         PTHREAD_CANCEL_ASYNCHRONOUS.
710         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
711         send SIGCANCEL.
713         * nptl/default-sched.h: New file.
714         * sysdeps/unix/sysv/linux/default-sched.h: New file.
715         * nptl/pthread_create.c: Include it.
716         (__pthread_create_2_1): Use collect_default_sched instead of making
717         Linux syscalls here directly.
719 2014-11-20  Torvald Riegel  <triegel@redhat.com>
721         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
722         __pthread_once): Use C11 atomics.
724 2014-11-20  Torvald Riegel  <triegel@redhat.com>
726         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
728 2014-11-20  Torvald Riegel  <triegel@redhat.com>
730         * include/atomic.h (__atomic_link_error, __atomic_check_size,
731         atomic_thread_fence_acquire, atomic_thread_fence_release,
732         atomic_thread_fence_seq_cst, atomic_load_relaxed,
733         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
734         atomic_compare_exchange_weak_relaxed,
735         atomic_compare_exchange_weak_acquire,
736         atomic_compare_exchange_weak_release,
737         atomic_exchange_acquire, atomic_exchange_release,
738         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
739         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
740         atomic_fetch_and_acquire,
741         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
743 2014-11-20  Torvald Riegel  <triegel@redhat.com>
745         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
746         USE_ATOMIC_COMPILER_BUILTINS): Define.
747         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
749         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
751         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
752         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
753         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
754         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
755         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
757         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
758         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
759         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
760         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
761         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
762         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
763         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
764         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
765         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
766         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
767         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
769         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
771         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
772         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
773         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
774         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
775         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
776         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
777         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
778         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
779         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
781         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
782         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
783         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
784         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
785         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
788 2014-11-19  Roland McGrath  <roland@hack.frob.com>
790         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
791         the sched_priority value here.  It was already checked when the user
792         called pthread_attr_setschedparam.
794         * nptl/tst-bad-schedattr.c: New file.
795         * nptl/Makefile (tests): Add it.
797 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
798             Florian Weimer  <fweimer@redhat.com>
799             Joseph Myers  <joseph@codesourcery.com>
800             Adam Conrad  <adconrad@0c3.net>
801             Andreas Schwab  <schwab@suse.de>
802             Brooks  <bmoses@google.com>
804         [BZ #17625]
805         * wordexp-test.c (__dso_handle): Add prototype.
806         (__register_atfork): Likewise.
807         (__app_register_atfork): New function.
808         (registered_forks): New global.
809         (register_fork): New function.
810         (test_case): Add 3 new tests for WRDE_CMDSUB.
811         (main): Call __app_register_atfork.
812         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
813         fork count is non-zero fail the test.
814         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
815         is set.
816         (parse_dollars): Remove check for WRDE_NOCMD.
817         (parse_dquote): Likewise.
819 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
821         * Makeconfig (built-modules): List non-library modules to be
822         built.
823         (module-cppflags): Include libc-modules.h for
824         everything except shlib-versions.v.i.
825         (CPPFLAGS): Use it.
826         (before-compile): Add libc-modules.h.
827         ($(common-objpfx)libc-modules.h,
828         $(common-objpfx)libc-modules.stmp): New targets.
829         (common-generated): Add libc-modules.h and libc-modules.stmp.
830         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
831         * include/libc-symbols.h: Don't include libc-modules.h.
832         * include/libc-modules.h: Remove file.
833         * scripts/gen-libc-modules.awk: New script to generate
834         libc-modules.h.
835         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
836         Depend on libc-modules.stmp.
838         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
840         * Makeconfig (in-module): Get value of libof set for the
841         translation unit.
842         (CPPFLAGS): Use $(in-module).
843         * Makerules: Don't suffix routine names for nonlib.
844         * include/libc-modules.h: New file.
845         * include/libc-symbols.h: Include libc-modules.h
846         (IS_IN): New macro to replace IS_IN_* macros.
847         * elf/Makefile: Set libof-* for each routine.
848         * elf/rtld-Rules: Likewise.
849         * extra-modules.mk: Likewise.
850         * iconv/Makefile: Likewise.
851         * iconvdata/Makefile: Likewise.
852         * locale/Makefile: Likewise.
853         * malloc/Makefile: Likewise.
854         * nss/Makefile: Likewise.
855         * sysdeps/gnu/Makefile: Likewise.
856         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
857         * sysdeps/unix/sysv/linux/Makefile: Likewise.
858         * sysdeps/s390/s390-64/Makefile: Likewise.
859         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
860         CPPFLAGS for nscd instead of nonlib.
862 2014-11-18  Roland McGrath  <roland@hack.frob.com>
864         * nptl/createthread.c: New file.
866         * nptl/createthread.c: Moved ...
867         * sysdeps/unix/sysv/linux/createthread.c: ... here.
869         * nptl/createthread.c: Add proper top-line comment.
870         (do_clone): Folded into ...
871         (create_thread): ... here.  Take new arguments STOPPED_START and
872         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
873         increment __nptl_threads, do event-reporting logic, do
874         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
875         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
876         resource cleanup if sched_setaffinity or sched_setscheduler fails,
877         just send SIGCANCEL.
878         * nptl/pthread_create.c: Forward-declare create_thread before
879         including createthread.c.
880         (start_thread): Use new macro START_THREAD_DEFN to replace defining
881         declaration, and new macro START_THREAD_SELF to replace argument.
882         Remove return statement.
883         (report_thread_creation): New function.
884         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
885         synchronization logic, and __nptl_nthreads increment here, around
886         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
887         PD->parent_cancelhandling here, before create_thread.  When
888         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
889         __deallocate_stack, and ENOMEM translation here.
891 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
893         [BZ #17616]
894         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
895         (mptwo): Rename to __mptwo.
896         (__inv): Use __mptwo instead of mptwo.
897         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
898         (mptwo): Rename to __mptwo.
899         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
900         of mpone and __mptwo instead of mptwo.
901         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
902         instead of mpone.
903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
904         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
905         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
906         of mpone and __mptwo instead of mptwo.
907         (__mpranred): Use __mpone instead of mpone.
908         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
909         variable.
910         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
911         (test-xfail-ISO99/math.h/linknamespace): Likewise.
912         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
913         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
914         (test-xfail-ISO11/math.h/linknamespace): Likewise.
915         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
916         (test-xfail-XPG3/math.h/linknamespace): Likewise.
917         (test-xfail-XPG4/math.h/linknamespace): Likewise.
918         (test-xfail-POSIX/math.h/linknamespace): Likewise.
919         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
920         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
921         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
922         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
923         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
924         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
925         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
926         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
927         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
928         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
930 2014-11-18  Tom de Vries  <tom@codesoucery.com>
932         * manual/signal.texi (Primitives Interrupted by Signals): In section,
933         replace BSD Handler xref with BSD Signal Handling.
935 2014-11-17  Richard Henderson  <rth@redhat.com>
937         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
938         (_FP_PACK_RAW_2): Remove.
939         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
940         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
941         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
942         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
943         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
944         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
945         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
946         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
947         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
948         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
949         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
950         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
951         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
952         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
953         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
954         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
956 2014-11-14  Roland McGrath  <roland@hack.frob.com>
958         * signal/signal.h [__USE_MISC]
959         (struct sigvec): Remove type.
960         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
961         (sigvec): Remove declaration.
962         * sysdeps/posix/sigvec.c: Moved ...
963         * signal/sigvec.c: ... here, replacing old file.
964         (struct sigvec): New type, copied from old signal.h definition.
965         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
966         (__sigvec): Convert definition to prototype.
967         (sigvec): Replace weak_alias with compat_symbol.
968         * signal/Versions (libc: GLIBC_2.21): New version set.
969         * include/signal.h: Remove __sigvec declaration.
970         * sysdeps/unix/bsd/sigvec.c: Remove file.
971         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
972         * manual/signal.texi (BSD Handler): Remove subsection.
973         Move siginterrupt up to ...
974         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
975         (Blocking in BSD): Fold subsection into its parent.
976         * NEWS: Mention sigvec removal.
978 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
980         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
981         (DLA_FMS): Make definition conditional only on [__FMA4__].
982         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
983         definition.
985         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
986         Make definition conditional only on [PROF].
987         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
988         definition.
989         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
990         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
992         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
993         !__GNUC__].
994         * include/signal.h (__sigpause): Move declaration above call to
995         libc_hidden_proto.
996         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
997         variable.
998         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
999         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1001 2014-11-14  David S. Miller  <davem@davemloft.net>
1003         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1004         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1006 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1008         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1009         * configure: Regenerated.
1010         * manual/install.texi (Tools for Compilation): Document a
1011         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1012         compiler verified to work.
1013         * INSTALL: Regenerated.
1015         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1016         redeclare with asm name.
1017         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1018         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1019         including <string.h>.
1020         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1022         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1023         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1024         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1025         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1026         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1028 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1030         * stdlib/strtol.c (__strtol): Use prototype definition.
1032         [BZ #17594]
1033         * stdlib/strtol.c (SYM__): New macro.
1034         (SYM__1): Likewise.
1035         (__strtol): Likewise.
1036         (strtol): Rename to __strtol and define as weak alias of
1037         __strtol.  Use libc_hidden_weak.
1039 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1041         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1042         Use numbered labels in inline assembly.
1044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1046         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1047         Add setjmp LIBC_PROBE.
1048         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1049         Likewise.
1050         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1051         Add longjmp, longjmp_target LIBC_PROBE.
1052         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1053         Likewise.
1055 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1057         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1058         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1059         to get rid of unused variable warning.
1061 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1063         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1064         Check for unwind_backtrace ==  NULL only in SHARED case.
1065         (__backchain_backtrace): Compile only in SHARED case.
1066         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1067         Likewise.
1068         (__backchain_backtrace): Declare as static.
1070 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1072         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1073         (__libc_multiple_threads_ptr): Variable moved ...
1074         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1076 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1078         * conform/GlibcConform.pm: New file.
1079         * conform/conformtest.pl: Use GlibcConform module.
1080         * conform/linknamespace.pl: New file.
1081         * conform/list-header-symbols.pl: Likewise.
1082         * conform/Makefile (linknamespace-symlists-base): New variable.
1083         (linknamespace-symlists-tests): Likewise.
1084         (linknamespace-header-base): Likewise.
1085         (linknamespace-header-tests): Likewise.
1086         (tests-special): Add new tests.
1087         ($(linknamespace-symlists-tests)): New rule.
1088         (linknamespace-libs): New variable.
1089         ($(objpfx)symlist-stdlibs): New rule.
1090         ($(linknamespace-header-tests)): Likewise.
1091         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1092         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1093         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1094         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1095         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1096         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1097         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1098         (test-xfail-ISO/math.h/linknamespace): Likewise.
1099         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1100         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1101         (test-xfail-ISO/time.h/linknamespace): Likewise.
1102         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1103         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1104         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1105         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1106         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1107         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1108         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1109         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1110         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1111         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1112         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1113         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1114         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1115         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1116         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1117         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1118         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1119         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1120         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1121         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1122         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1123         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1124         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1125         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1126         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1127         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1128         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1129         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1130         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1131         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1132         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1133         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1134         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1135         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1136         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1137         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1138         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1139         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1140         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1141         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1142         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1143         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1144         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1145         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1146         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1147         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1148         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1149         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1150         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1151         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1152         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1153         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1154         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1155         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1156         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1157         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1158         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1159         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1160         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1161         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1162         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1163         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1164         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1165         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1166         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1167         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1168         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1169         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1170         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1171         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1172         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1173         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1174         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1175         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1176         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1177         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1178         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1179         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1180         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1181         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1182         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1183         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1184         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1185         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1186         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1187         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1188         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1189         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1190         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1191         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1192         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1193         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1194         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1195         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1196         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1197         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1198         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1199         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1200         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1201         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1202         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1203         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1204         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1205         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1206         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1207         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1208         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1209         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1210         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1211         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1212         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1213         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1214         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1215         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1216         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1217         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1218         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1219         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1220         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1221         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1222         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1223         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1224         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1225         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1226         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1227         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1228         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1229         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1230         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1231         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1232         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1233         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1234         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1235         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1236         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1237         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1238         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1239         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1240         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1241         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1242         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1243         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1244         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1245         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1246         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1247         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1248         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1249         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1250         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1251         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1253         [BZ #17589]
1254         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1255         of fgets_unlocked.
1257         [BZ #17585]
1258         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1259         (memmem): Rename to __memmem and define as weak alias of
1260         __memmem.  Use libc_hidden_weak.
1261         (__memmem): Use libc_hidden_def.
1262         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1263         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1264         memmem.
1266         [BZ #17582]
1267         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1268         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1269         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1270         and define as weak alias of __fgets_unlocked.  Use
1271         libc_hidden_weak.
1272         (__fgets_unlocked): Use libc_hidden_def.
1273         * include/stdio.h (__fgets_unlocked): Declare.  Use
1274         libc_hidden_proto.
1275         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1276         __fgets_unlocked instead of fgets_unlocked.
1277         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1278         (GET_NPROCS_CONF_PARSER): Likewise.
1279         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1280         (GET_NPROCS_CONF_PARSER): Likewise.
1282         [BZ #17574]
1283         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1284         weak alias of __wmemset.  Use libc_hidden_weak.
1285         (__wmemset): Use libc_hidden_def.
1286         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1287         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1288         of wmemset.
1290         [BZ #17573]
1291         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1292         with asm name __mempcpy.
1293         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1295         [BZ #17572]
1296         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1297         and define as weak alias of __rawmemchr.
1298         (__rawmemchr): Do not define as strong alias of rawmemchr.
1300         [BZ #17571]
1301         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1302         alias of __qsort_r.
1303         (qsort): Call __qsort_r instead of qsort_r.
1304         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1305         (__qsort_r): Declare.  Call libc_hidden_proto.
1306         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1307         instead of qsort_r.
1308         * nscd/gai.c (__qsort_r): Define to qsort_r.
1309         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1310         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1311         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1313         [BZ #17570]
1314         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1315         define as weak alias of __malloc_info.
1317         [BZ #17584]
1318         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1319         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1320         (__rewinddir): Use libc_hidden_def.
1321         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1322         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1323         (__rewinddir): Use libc_hidden_def.
1324         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1325         weak alias of __rewinddir.  Don't use libc_hidden_def.
1326         (__rewinddir): Use libc_hidden_def.
1327         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1328         (__rewinddir): Use libc_hidden_proto.
1329         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1330         rewinddir.
1331         (__getcwd): Use __rewinddir instead of rewinddir.
1333         [BZ #17583]
1334         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1335         alias of __fileno.  Use libc_hidden_weak.
1336         (__fileno): Use libc_hidden_def.
1337         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1338         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1339         alias of __ftello.
1340         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1341         __ftello.
1342         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1343         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1344         libc_hidden_def.
1345         (fread_unlocked): Don't use libc_hidden_ver.
1346         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1347         and define as weak alias of __fread_unlocked.  Don't use
1348         libc_hidden_def.
1349         (__fread_unlocked): Use libc_hidden_def.
1350         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1351         (ftello): Don't use libc_hidden_proto.
1352         (__ftello): Declare.  Use libc_hidden_proto.
1353         (fread_unlocked): Don't use libc_hidden_proto.
1354         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1355         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1356         and __ftello instead of fileno, fread_unlocked and ftello.
1358 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1360         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1361         GOT12.
1362         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1363         Likewise.
1364         (_dl_start_user): Likewise.
1365         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1367 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1368             Siddhesh Poyarekar  <siddhesh@redhat.com>
1370         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1371         Move argv and envp down instead of moving argc up.
1372         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1374 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1376         [BZ #17506]
1377         * test-skeleton.c (main): Return successful if one of
1378         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1379         * string/tst-strcoll-overflow.c: Define expected status.
1381 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1383         [BZ #17475]
1384         * locale/iso-639.def: Define Bhili and Tulu language codes.
1386 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1388         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1390 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1392         [BZ #17555]
1393         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1395 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1397         * configure.ac: Updated check of minimal required version to
1398         2.22.
1399         * manual/install.texi (Tools for Compilation): Updated version
1400         number.
1401         * configure: Regenerated.
1402         * INSTALL: Likewise.
1404 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1406         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1407         __tls_get_addr.
1409 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1411         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1412         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1413         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1414         libc_hidden_weak.
1415         (waitpid): Define as alias of __waitpid.
1416         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1417         __waitpid.
1418         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1419         libc_hidden_weak.
1420         (waitpid): Define as alias of __waitpid.
1421         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1422         __libc_waitpid alias.
1423         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1424         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1425         Likewise.
1426         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1427         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1428         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1429         alias.
1430         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1431         __waitpid.
1432         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1433         libc_hidden_weak.
1434         (waitpid): Define as alias of __waitpid.
1436 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1438         * manual/llio.texi: Add comment that write safety has been
1439         fixed in Linux.
1441         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1442         (localplt-build-dso): Add elf/ld.so.
1443         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1444         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1445         and free for ld.so.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1447         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1451         Likewise.
1452         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1453         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1454         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1455         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1456         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1457         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1458         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1459         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1460         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1461         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1462         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1464 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1466         [BZ #14132]
1467         * include/libc-symbols.h (INTUSE): Remove macro.
1468         (INTDEF): Likewise.
1469         (INTVARDEF): Likewise.
1470         (_INTVARDEF): Likewise.
1471         (INTDEF2): Likewise.
1472         (INTVARDEF2): Likewise.
1473         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1474         rtld_hidden_def instead of INTVARDEF.
1475         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1476         (_dl_starting_up_internal): Remove declaration.
1477         (_dl_starting_up): Use rtld_hidden_proto.
1478         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1479         declaration.
1480         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1481         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1482         _dl_starting_up.
1483         * elf/dl-writev.h (_dl_writev): Likewise.
1484         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1485         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1486         _dl_starting_up_internal.
1488 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1491         test-skeleton.c.
1493 2014-11-05  Will Newton  <will.newton@linaro.org>
1495         * benchtests/Makefile: (bench-malloc): Add malloc thread
1496         scalability benchmark.
1497         * benchtests/bench-malloc-threads.c: New file.
1499 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1501         * sysdeps/aarch64/strchrnul.S: New file.
1503 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1505         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1506         definition.
1507         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1508         Likwise.
1509         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1510         Likewise.
1511         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1512         Likewise.
1513         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1514         Likewise.
1515         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1516         Likewise.
1518 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1520         * catgets/test-gencat.c: Use test-skeleton.c.
1521         * catgets/tst-catgets.c: Likewise.
1522         * csu/tst-empty.c: Likewise.
1523         * elf/tst-audit2.c: Likewise.
1524         * elf/tst-global1.c: Likewise.
1525         * elf/tst-pathopt.c: Likewise.
1526         * elf/tst-piemod1.c: Likewise.
1527         * elf/tst-tls10.c: Likewise.
1528         * elf/tst-tls11.c: Likewise.
1529         * elf/tst-tls12.c: Likewise.
1530         * gnulib/tst-gcc.c: Likewise.
1531         * iconvdata/tst-e2big.c: Likewise.
1532         * iconvdata/tst-loading.c: Likewise.
1533         * iconv/tst-iconv1.c: Likewise.
1534         * iconv/tst-iconv2.c: Likewise.
1535         * inet/test-inet6_opt.c: Likewise.
1536         * inet/tst-gethnm.c: Likewise.
1537         * inet/tst-network.c: Likewise.
1538         * inet/tst-ntoa.c: Likewise.
1539         * intl/tst-codeset.c: Likewise.
1540         * intl/tst-gettext2.c: Likewise.
1541         * intl/tst-gettext3.c: Likewise.
1542         * intl/tst-ngettext.c: Likewise.
1543         * intl/tst-translit.c: Likewise.
1544         * io/test-stat.c: Likewise.
1545         * libio/test-fmemopen.c: Likewise.
1546         * libio/tst-freopen.c: Likewise.
1547         * libio/tst-sscanf.c: Likewise.
1548         * libio/tst-ungetwc1.c: Likewise.
1549         * libio/tst-ungetwc2.c: Likewise.
1550         * libio/tst-widetext.c: Likewise.
1551         * localedata/tst-ctype.c: Likewise.
1552         * localedata/tst-digits.c: Likewise.
1553         * localedata/tst-leaks.c: Likewise.
1554         * localedata/tst-mbswcs1.c: Likewise.
1555         * localedata/tst-mbswcs2.c: Likewise.
1556         * localedata/tst-mbswcs3.c: Likewise.
1557         * localedata/tst-mbswcs4.c: Likewise.
1558         * localedata/tst-mbswcs5.c: Likewise.
1559         * localedata/tst-setlocale.c: Likewise.
1560         * localedata/tst-trans.c: Likewise.
1561         * localedata/tst-wctype.c: Likewise.
1562         * localedata/tst-xlocale1.c: Likewise.
1563         * login/tst-grantpt.c: Likewise.
1564         * malloc/tst-calloc.c: Likewise.
1565         * malloc/tst-malloc.c: Likewise.
1566         * malloc/tst-mallocstate.c: Likewise.
1567         * malloc/tst-mcheck.c: Likewise.
1568         * malloc/tst-mtrace.c: Likewise.
1569         * malloc/tst-obstack.c: Likewise.
1570         * math/atest-exp2.c: Likewise.
1571         * math/atest-exp.c: Likewise.
1572         * math/atest-sincos.c: Likewise.
1573         * math/test-matherr.c: Likewise.
1574         * math/test-misc.c: Likewise.
1575         * math/test-powl.c: Likewise.
1576         * math/tst-definitions.c: Likewise.
1577         * misc/tst-dirname.c: Likewise.
1578         * misc/tst-efgcvt.c: Likewise.
1579         * misc/tst-fdset.c: Likewise.
1580         * misc/tst-hsearch.c: Likewise.
1581         * misc/tst-mntent2.c: Likewise.
1582         * nptl/tst-sem7.c: Likewise.
1583         * nptl/tst-sem8.c: Likewise.
1584         * nptl/tst-sem9.c: Likewise.
1585         * nss/test-netdb.c: Likewise.
1586         * posix/tst-fnmatch.c: Likewise.
1587         * posix/tst-getlogin.c: Likewise.
1588         * posix/tst-gnuglob.c: Likewise.
1589         * posix/tst-mmap.c: Likewise.
1590         * pwd/tst-getpw.c: Likewise.
1591         * resolv/tst-inet_ntop.c: Likewise.
1592         * rt/tst-timer.c: Likewise.
1593         * stdio-common/test-fseek.c: Likewise.
1594         * stdio-common/test-popen.c: Likewise.
1595         * stdio-common/test-vfprintf.c: Likewise.
1596         * stdio-common/tst-cookie.c: Likewise.
1597         * stdio-common/tst-fileno.c: Likewise.
1598         * stdio-common/tst-gets.c: Likewise.
1599         * stdio-common/tst-obprintf.c: Likewise.
1600         * stdio-common/tst-perror.c: Likewise.
1601         * stdio-common/tst-sprintf2.c: Likewise.
1602         * stdio-common/tst-sprintf3.c: Likewise.
1603         * stdio-common/tst-sprintf.c: Likewise.
1604         * stdio-common/tst-swprintf.c: Likewise.
1605         * stdio-common/tst-tmpnam.c: Likewise.
1606         * stdio-common/tst-unbputc.c: Likewise.
1607         * stdio-common/tst-wc-printf.c: Likewise.
1608         * stdlib/tst-environ.c: Likewise.
1609         * stdlib/tst-fmtmsg.c: Likewise.
1610         * stdlib/tst-limits.c: Likewise.
1611         * stdlib/tst-rand48-2.c: Likewise.
1612         * stdlib/tst-rand48.c: Likewise.
1613         * stdlib/tst-random2.c: Likewise.
1614         * stdlib/tst-random.c: Likewise.
1615         * stdlib/tst-strtol.c: Likewise.
1616         * stdlib/tst-strtoll.c: Likewise.
1617         * stdlib/tst-tls-atexit.c: Likewise.
1618         * stdlib/tst-xpg-basename.c: Likewise.
1619         * string/test-ffs.c: Likewise.
1620         * string/tst-bswap.c: Likewise.
1621         * string/tst-inlcall.c: Likewise.
1622         * string/tst-strtok.c: Likewise.
1623         * string/tst-strxfrm.c: Likewise.
1624         * sysdeps/x86_64/tst-audit10.c: Likewise.
1625         * sysdeps/x86_64/tst-audit3.c: Likewise.
1626         * sysdeps/x86_64/tst-audit4.c: Likewise.
1627         * sysdeps/x86_64/tst-audit5.c: Likewise.
1628         * time/tst-ftime_l.c: Likewise.
1629         * time/tst-getdate.c: Likewise.
1630         * time/tst-mktime3.c: Likewise.
1631         * time/tst-mktime.c: Likewise.
1632         * time/tst-posixtz.c: Likewise.
1633         * time/tst-strptime2.c: Likewise.
1634         * time/tst-strptime3.c: Likewise.
1635         * wcsmbs/tst-btowc.c: Likewise.
1636         * wcsmbs/tst-mbrtowc.c: Likewise.
1637         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1638         * wcsmbs/tst-wchar-h.c: Likewise.
1639         * wcsmbs/tst-wcpncpy.c: Likewise.
1640         * wcsmbs/tst-wcrtomb.c: Likewise.
1641         * wcsmbs/tst-wcsnlen.c: Likewise.
1642         * wcsmbs/tst-wcstof.c: Likewise.
1644 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1646         [BZ #14132]
1647         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1648         INTDEF.
1649         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1650         declaration.
1651         (_dl_mcount): Use rtld_hidden_proto.
1652         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1653         _dl_mcount.
1654         * elf/rtld.c (_rtld_global_ro): Likewise.
1656         [BZ #14132]
1657         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1658         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1659         of _dl_init_internal.
1660         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1661         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1662         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1663         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1664         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1665         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1666         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1667         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1668         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1669         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1670         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1671         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1672         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1673         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1674         * sysdeps/tile/dl-start.S (_start): Likewise.
1675         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1676         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1678         [BZ #14132]
1679         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1680         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1681         (rtld_progname): Make macro definition unconditional.
1682         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1683         INTDEF.
1684         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1685         (dl_main): Likewise.
1686         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1687         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1688         instead of _dl_argv_internal.
1689         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1690         __GI__dl_argv instead of INTUSE(_dl_argv).
1691         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1692         __GI__dl_argv instead of _dl_argv_internal.
1694         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1695         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1696         macro.
1697         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1698         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1699         New macro.
1700         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1701         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1702         macro.
1703         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1704         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1706 2014-11-04  Andreas Schwab  <schwab@suse.de>
1708         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1710 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1712         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1713         mtvsrd instruction in binary form.
1715 2014-11-03  Andreas Schwab  <schwab@suse.de>
1717         [BZ #17522]
1718         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1719         for less than MB_LEN_MAX use a local buffer of that size.
1720         * libio/tst-fputws.c: New file.
1721         * libio/Makefile (tests): Add tst-fputws.
1723 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1725         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1726         the size of the fpu_fr.fpu_dregs[] array.
1728 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1730         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1731         (__nanosleep): Do not define as alias.
1732         (nanosleep): Define as alias of __nanosleep.
1733         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1734         __libc_nanosleep name.
1736 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1738         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1739         install.texi in comment.
1741 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1743         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1744         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1745         ... add here and use lwsync or sync ...
1746         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1747         ... and add here using lwsync.
1749 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1751         * elf/dl-machine-reject-phdr.h: New file.
1752         * elf/dl-load.c: #include that.
1753         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1754         if that returned true.
1756 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1758         [BZ #17496]
1759         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1760         gen-as-const-headers chunk.  Add a big scare comment after the last
1761         safe place to touch before-compile.
1763 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1765         * manual/install.texi (Tools for Compilation): Update autoconf
1766         version requirements.
1767         * INSTALL: Regenerated.
1769         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1770         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1771         (__libc_pselect): Likewise.
1773         [BZ #14138]
1774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1779 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1781         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1782         correct barrier instruction.
1783         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1784         Likewise.
1785         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1786         Likewise.
1788 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1790         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1791         after defining inlines.  Instead, just use parens to defeat macro
1792         expansion of __isctype in its declaration.
1794 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1796         * include/sys/uio.h (__libc_readv): Remove declaration.
1797         (__libc_writev): Likewise.
1798         * misc/readv.c (__libc_readv): Rename to __readv.
1799         (__readv): Do not define as alias.
1800         (readv): Define as alias of __readv.
1801         * misc/writev.c (__libc_writev): Rename to __writev.
1802         (__writev): Do not define as alias.
1803         (writev): Define as alias of __writev.
1804         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1805         (__readv): Do not define as alias.
1806         (readv): Define unconditionally as alias of __readv.
1807         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1808         (__writev): Do not define as alias.
1809         (writev): Define unconditionally as alias of __writev.
1810         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1811         name.
1812         (writev): Do not define __libc_writev name.
1814 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1816         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1817         (convert_charseq): New function, broken out of ...
1818         (use_from_charmap): ... here.  Call it.
1819         (use_to_charmap): Use convert_charseq and free instead of duplicating
1820         its code with a variable-length stack struct.
1822 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1824         * include/fcntl.h (__libc_creat): Remove declaration.
1825         * io/creat.c (__libc_creat): Rename to creat.
1826         (creat): Do not define as alias.
1827         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1828         of creat instead of __libc_creat.
1829         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1830         to creat.
1831         (creat): Do not define as alias.
1832         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1833         __libc_creat.
1834         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1835         __libc_creat name.
1836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1837         Likewise.
1839 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1841         * manual/llio.texi: Add comments discussing why write() may be
1842         considered MT-unsafe on Linux.
1844 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1846         * dl-load.c (local_strdup): Remove.
1847         (expand_dynamic_string_token): Use __strdup.
1848         (decompose_rpath): Likewise.
1849         (_dl_map_object): Likewise.
1851 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1853         [BZ #14132]
1854         * sysdeps/generic/unwind-dw2-fde.c
1855         (__register_frame_info_bases_internal): Do not declare.
1856         (__register_frame_info_table_bases_internal): Likewise.
1857         (__deregister_frame_info_bases_internal): Likewise.
1858         (__register_frame_info_bases): Declare and use hidden_proto before
1859         definition.  Use hidden_def instead of INTDEF.
1860         (__register_frame_info_table_bases): Likewise.
1861         (__deregister_frame_info_bases): Likewise.
1862         (__register_frame_info): Do not use INTUSE.
1863         (__register_frame): Likewise.
1864         (__register_frame_info_table): Likewise.
1865         (__register_frame_table): Likewise.
1866         (__deregister_frame_info): Likewise.
1867         (__deregister_frame): Likewise.
1869 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1871         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1872         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1873         not undefine.
1874         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1875         Likewise.
1876         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1877         Likewise.
1879 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1881         [BZ #14138]
1882         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1883         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1884         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1885         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1886         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1887         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1890         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1891         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1892         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1893         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1894         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1895         syscall.
1896         (setfsuid): Likewise.
1897         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1898         (setfsuid): Likewise.
1899         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1900         (setfsuid): Likewise.
1901         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1902         Likewise.
1903         (setfsuid): Likewise.
1904         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1905         (setfsuid): Likewise.
1906         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1907         Likewise.
1908         (setfsuid): Likewise.
1910 2014-10-27  Andreas Schwab  <schwab@suse.de>
1912         [BZ #17501]
1913         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1914         check for Slow_SSE4_2 feature bit.
1915         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1916         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1917         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1918         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1920 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1922         * configure.ac: Validate compiler version with a empirical test of
1923         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1924         $CC -v output.
1925         * configure: Regenerated.
1927         * inet/htons.c (htons): Prototypify.
1928         * inet/htonl.c (htonl): Likewise.
1930 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1932         * string/strncat.c (strncat): Improve performance by using strlen.
1934 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1936         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1938 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1940         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1941         Call libc_fetestexcept_aarch64.
1943 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1945         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1946         Call libc_feholdexcept_aarch64.
1948 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1950         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1951         Call get_rounding_mode.
1953 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1955         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1956         Simplify logic.
1958 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1960         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1961         Simplify logic.
1963 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1965         [BZ #14138]
1966         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1967         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1968         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1969         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1970         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1971         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1972         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1973         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1974         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1975         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1976         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1977         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1978         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1979         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1980         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1981         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1982         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1983         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1984         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1985         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1986         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1987         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1988         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1989         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1990         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1991         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1992         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1993         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1994         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1995         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1996         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1997         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1998         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1999         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2000         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2001         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2002         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2003         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2004         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2005         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2006         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2007         syscall.
2008         (geteuid): Likewise.
2009         (getgid): Likewise.
2010         (getuid): Likewise.
2011         (getresgid): Likewise.
2012         (getresuid): Likewise.
2013         (getgroups): Likewise.
2014         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2015         (geteuid): Likewise.
2016         (getgid): Likewise.
2017         (getuid): Likewise.
2018         (getresgid): Likewise.
2019         (getresuid): Likewise.
2020         (getgroups): Likewise.
2021         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2022         (geteuid): Likewise.
2023         (getgid): Likewise.
2024         (getuid): Likewise.
2025         (getresgid): Likewise.
2026         (getresuid): Likewise.
2027         (getgroups): Likewise.
2028         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2029         Likewise.
2030         (geteuid): Likewise.
2031         (getgid): Likewise.
2032         (getuid): Likewise.
2033         (getresgid): Likewise.
2034         (getresuid): Likewise.
2035         (getgroups): Likewise.
2036         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2037         (geteuid): Likewise.
2038         (getgid): Likewise.
2039         (getuid): Likewise.
2040         (getresgid): Likewise.
2041         (getresuid): Likewise.
2042         (getgroups): Likewise.
2043         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2044         Likewise.
2045         (geteuid): Likewise.
2046         (getgid): Likewise.
2047         (getuid): Likewise.
2048         (getgroups): Likewise.
2050         [BZ #14138]
2051         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2052         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2053         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2054         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2055         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2056         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2057         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2058         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2059         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2061         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2062         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2063         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2064         __chown.
2065         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2066         (lchown): Likewise.
2067         (fchown): Likewise.
2068         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2069         Likewise.
2070         (lchown): Likewise.
2071         (fchown): Likewise.
2072         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2073         (lchown): Likewise.
2074         (fchown): Likewise.
2075         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2076         Likewise.
2077         (lchown): Likewise.
2078         (fchown): Likewise.
2080 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2082         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2083         Simplify logic.
2085 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2087         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2088         Cleanup logic.
2090 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2092         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2093         Remove unused include.
2095 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2097         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2098         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2099         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2100         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2102 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2103             Helge Deller <deller@gmx.de>
2105         [BZ #17508]
2106         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2107         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2108         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2110 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2112         [BZ #14132]
2113         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2114         Remove macro definition.
2115         (__ashrdi3_v_glibc20): Likewise.
2116         (__lshrdi3_v_glibc20): Likewise.
2117         (__cmpdi2_v_glibc20): Likewise.
2118         (__ucmpdi2_v_glibc20): Likewise.
2119         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2120         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2121         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2122         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2123         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2124         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2126 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2128         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2129         old GNU extension [0] syntax.
2130         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2131         alloca rather than an array member with variable length.
2132         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2133         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2134         (parse_opt): ... here.  Likewise use alloca there.
2135         Validate the -i argument before checking for rootness.
2136         (send_shutdown): New function, broken out of ...
2137         (parse_opt): ... here.
2139 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2141         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2142         macro to get at the _rt_local_ro field.
2143         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2144         ([PIC] case) or _dl_hwcap ([!PIC] case).
2145         * sysdeps/arm/setjmp.S: Likewise.
2147         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2148         * sysdeps/arm/configure.ac: New check to define it.
2149         * sysdeps/arm/configure: Regenerated.
2150         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2151         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2152         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2153         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2154         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2155         Use move/movt pair instead of a load.
2156         (LDST_GLOBAL): Macro removed.
2157         (LDR_GLOBAL): New macro replaces it.
2158         (LDR_HIDDEN): New macro.
2159         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2160         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2162         * setjmp/tst-setjmp-static.c: New file.
2163         * setjmp/Makefile (tests): Add it.
2164         (tests-static): New variable.
2166 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2168         [BZ #17485]
2169         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2171 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2173         [BZ #14132]
2174         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2176 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2178         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2180 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2182         * io/fts.c (dirent_not_directory): New function.
2183         (fts_build): Call it.
2185 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2187         * nptl/version.c (__nptl_main): Use normal __write rather than
2188         INTERNAL_SYSCALL.
2189         (banner): Update copyright years.
2191         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2192         gettimeofday.
2193         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2194         * nptl/pthread_cond_timedwait.c: Likewise.
2195         * nptl/pthread_mutex_timedlock.c: Likewise.
2196         * nptl/sem_timedwait.c: Likewise.
2198         * sysdeps/nptl/bits/libc-lock.h
2199         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2200         (__libc_lock_init_recursive): Return void, not 0.
2201         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2202         (__libc_rwlock_init): Likewise.
2203         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2205 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2207         [BZ #15215]
2208         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2209         (__pthread_once_slow): ... here.
2210         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2211         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2213 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2215         [BZ #15215]
2216         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2217         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2218         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2219         * nptl/pthread_once.c (__pthread_once): Likewise.
2220         Update comments.
2222 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2224         [BZ #14138]
2225         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2226         name.
2227         (writev): Use __libc_writev as strong name.
2228         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2229         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2231 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2233         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2235         * sysdeps/i386/nptl/tls.h
2236         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2237         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2238         New macros.
2239         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2240         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2241         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2242         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2243         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2244         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2246         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2247         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2248         on [__NR_futex].
2249         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2250         broken out of ...
2251         (__pthread_mutex_init): ... here.  Call it.
2252         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2253         Conditionalize PI cases on [__NR_futex].
2254         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2255         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2256         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2258         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2259         conditional on [SIGSETXID].
2260         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2261         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2262         is defined.  Likewise for SIGSETXID.
2263         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2264         Conditionalize definitions on [SIGSETXID].
2265         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2266         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2267         unblocking on [SIGCANCEL].
2269         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2270         [__NR_set_robust_list].
2272 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2274         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2275         (do_compare): Likewise.
2277 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2279         [BZ #15884]
2280         * string/strcoll_l.c: Don't include stdio.h.
2281         (coll_seq): Remove members idxarr and rulearr.
2282         (get_next_seq_cached): Remove function.
2283         (get_next_seq): Likewise.
2284         (get_next_seq_nocache): Rename to get_next_seq.
2285         (do_compare): Remove function.
2286         (do_compare_nocache): Rename to do_compare.
2287         (STRCOLL): Remove weight and rules cache.
2289 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2291         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2292         * sysdeps/arm/sfp-machine.h: ... to here.
2293         * sysdeps/arm/Implies: Remove arm/soft-fp.
2295 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2297         * conform/data/sys/utsname.h-data (*_t): Allow.
2298         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2299         [POSIX] (WEXITED): Do not expect constant.
2300         [POSIX] (WSTOPPED): Likewise.
2301         [POSIX] (WNOHANG): Likewise.
2302         [POSIX] (WNOWAIT): Likewise.
2303         [POSIX] (siginfo_t): Do not expect type or elements.
2304         [POSIX] (pid_t): Do not expect type.
2305         [POSIX] (signal.h): Do not allow header.
2306         [POSIX] (sys/resource.h): Likewise.
2307         [POSIX] (si_*): Do not allow pattern.
2308         [POSIX] (W*): Likewise.
2309         [POSIX] (P_*): Likewise.
2310         [POSIX] (BUS_*): Likewise.
2311         [POSIX] (CLD_*): Likewise.
2312         [POSIX] (FPE_*): Likewise.
2313         [POSIX] (ILL_*): Likewise.
2314         [POSIX] (POLL_*): Likewise.
2315         [POSIX] (SEGV_*): Likewise.
2316         [POSIX] (SI_*): Likewise.
2317         [POSIX] (TRAP_*): Likewise.
2318         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2319         variable.
2321 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2323         [BZ #12926]
2324         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2325         infinite loop when __recvmsg returns 0.
2327 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2329         * CANCEL-FCT-WAIVE: Remove file.
2330         * CANCEL-FILE-WAIVE: Likewise.
2332         [BZ #14132]
2333         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2334         instead of INTVARDEF.
2335         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2336         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2337         rtld_hidden_data_def instead of INTVARDEF.
2338         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2339         * elf/dl-deps.c (expand_dst): Likewise.
2340         * elf/dl-load.c (_dl_dst_count): Likewise.
2341         (_dl_dst_substitute): Likewise.
2342         (decompose_rpath): Likewise.
2343         (_dl_init_paths): Likewise.
2344         (open_path): Likewise.
2345         (_dl_map_object): Likewise.
2346         * elf/rtld.c (dl_main): Likewise.
2347         (process_dl_audit): Likewise.
2348         (process_envvars): Likewise.
2349         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2350         Remove declaration.
2351         (__libc_enable_secure): Use rtld_hidden_proto.
2353 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2355         * elf/dl-load.c
2356         (add_path): New function broken out of _dl_rtld_di_serinfo.
2357         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2359 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2361         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2362         parentheses around macro arguments.
2363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2366         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2367         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2371         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2374         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2375         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2376         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2377         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2378         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2379         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2381         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2387         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2390         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2391         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2392         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2393         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2394         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2395         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2396         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2397         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2398         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2399         Likewise.
2400         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2401         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2402         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2405         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2406         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2407         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2408         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2409         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2410         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2411         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2412         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2414         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2415         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2416         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2417         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2418         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2419         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2421         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2422         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2423         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2424         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2425         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2426         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2427         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2428         (_FP_FRAC_SRS_1): Likewise.
2429         (_FP_FRAC_CLZ_1): Likewise.
2430         (_FP_MUL_MEAT_1_imm): Likewise.
2431         (_FP_MUL_MEAT_1_wide): Likewise.
2432         (_FP_MUL_MEAT_1_hard): Likewise.
2433         (_FP_SQRT_MEAT_1): Likewise.
2434         (_FP_FRAC_ASSEMBLE_1): Likewise.
2435         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2436         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2437         (__FP_CLZ_2): Likewise.
2438         (_FP_MUL_MEAT_2_wide): Likewise.
2439         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2440         (_FP_MUL_MEAT_2_gmp): Likewise.
2441         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2442         (_FP_SQRT_MEAT_2): Likewise.
2443         (_FP_FRAC_ASSEMBLE_2): Likewise.
2444         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2445         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2446         (_FP_FRAC_CLZ_4): Likewise.
2447         (_FP_MUL_MEAT_4_wide): Likewise.
2448         (_FP_MUL_MEAT_4_gmp): Likewise.
2449         (_FP_SQRT_MEAT_4): Likewise.
2450         (_FP_FRAC_ASSEMBLE_4): Likewise.
2451         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2452         * soft-fp/op-common.h (_FP_CMP): Likewise.
2453         (_FP_CMP_EQ): Likewise.
2454         (_FP_CMP_UNORD): Likewise.
2455         (_FP_TO_INT): Likewise.
2456         (_FP_FROM_INT): Likewise.
2457         [!__FP_CLZ] (__FP_CLZ): Likewise.
2458         (_FP_DIV_HELP_imm): Likewise.
2459         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2460         Likewise.
2461         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2464         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2465         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2466         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2467         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2469         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2470         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2471         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2472         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2473         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2474         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2475         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2476         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2477         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2478         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2479         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2480         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2481         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2482         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2487         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2488         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2489         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2490         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2491         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2492         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2493         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2494         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2495         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2496         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2497         (FP_UNPACK_RAW_SP): Likewise.
2498         (FP_PACK_RAW_S): Likewise.
2499         (FP_PACK_RAW_SP): Likewise.
2500         (FP_UNPACK_S): Likewise.
2501         (FP_UNPACK_SP): Likewise.
2502         (FP_UNPACK_SEMIRAW_S): Likewise.
2503         (FP_UNPACK_SEMIRAW_SP): Likewise.
2504         (FP_PACK_S): Likewise.
2505         (FP_PACK_SP): Likewise.
2506         (FP_PACK_SEMIRAW_S): Likewise.
2507         (FP_PACK_SEMIRAW_SP): Likewise.
2508         (_FP_SQRT_MEAT_S): Likewise.
2509         (FP_CMP_S): Likewise.
2510         (FP_CMP_EQ_S): Likewise.
2511         (FP_CMP_UNORD_S): Likewise.
2512         (FP_TO_INT_S): Likewise.
2513         (FP_FROM_INT_S): Likewise.
2515         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2517         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2518         (FP_EX_INVALID_IMZ): Likewise.
2519         (FP_EX_INVALID_IMZ_FMA): Likewise.
2520         (FP_EX_INVALID_ISI): Likewise.
2521         (FP_EX_INVALID_ZDZ): Likewise.
2522         (FP_EX_INVALID_IDI): Likewise.
2523         (FP_EX_INVALID_SQRT): Likewise.
2524         (FP_EX_INVALID_CVI): Likewise.
2525         (FP_EX_INVALID_VC): Likewise.
2526         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2527         "invalid" exceptions.
2528         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2529         (_FP_ADD_INTERNAL): Likewise.
2530         (_FP_MUL): Likewise.
2531         (_FP_FMA): Likewise.
2532         (_FP_DIV): Likewise.
2533         (_FP_CMP_CHECK_NAN): Likewise.
2534         (_FP_SQRT): Likewise.
2535         (_FP_TO_INT): Likewise.
2536         (FP_EXTEND): Likewise.
2538 2014-10-09  Allan McRae  <allan@archlinux.org>
2540         * po/fr.po: Update French translation from translation project.
2542 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2544         [BZ #14132]
2545         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2546         of INTDEF.
2547         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2548         (__cxa_atexit): Use libc_hidden_proto.
2549         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2551         [BZ #14132]
2552         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2553         declaration.
2554         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2555         [!_ISOMAC] (__iswspace_l_internal): Likewise.
2556         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2557         [!_ISOMAC] (__iswctype_internal): Likewise.
2558         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2559         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2560         alias.
2561         (fcntl): Remove __fcntl_internal alias.
2562         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2563         __connect_internal alias.
2564         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2565         Likewise.
2567         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2568         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2569         FP_DENORM_ZERO.
2570         (_FP_CHECK_FLUSH_ZERO): New macro.
2571         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2572         (_FP_CMP): Likewise.
2573         (_FP_CMP_EQ): Likewise.
2574         (_FP_TO_INT): Do not set inexact for subnormal arguments if
2575         FP_DENORM_ZERO.
2576         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2577         (FP_TRUNC): Likewise.
2579         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2580         treated as invalid conversion, not as normal exponent.
2582         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2583         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
2584         (_FP_CMP_EQ): Likewise.
2585         (_FP_CMP_UNORD): Likewise.
2586         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2587         (FP_CMP_EQ_D): Likewise.
2588         (FP_CMP_UNORD_D): Likewise.
2589         * soft-fp/extended.h (FP_CMP_E): Likewise.
2590         (FP_CMP_EQ_E): Likewise.
2591         (FP_CMP_UNORD_E): Likewise.
2592         * soft-fp/quad.h (FP_CMP_Q): Likewise.
2593         (FP_CMP_EQ_Q): Likewise.
2594         (FP_CMP_UNORD_Q): Likewise.
2595         * soft-fp/single.h (FP_CMP_S): Likewise.
2596         (FP_CMP_EQ_S): Likewise.
2597         (FP_CMP_UNORD_S): Likewise.
2598         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2599         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2600         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2601         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2602         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2603         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2604         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2605         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2606         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2607         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2608         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2609         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2610         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2611         to FP_CMP_Q.
2612         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2613         FP_CMP_Q.
2614         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2615         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2616         FP_CMP_EQ_Q.
2617         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2618         FP_CMP_Q.
2619         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2620         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2621         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2622         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2623         FP_CMP_EQ_Q.
2624         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2625         FP_CMP_Q.
2626         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2627         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2628         FP_CMP_EQ_Q.
2629         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2630         FP_CMP_Q.
2631         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2632         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2633         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2634         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2635         FP_CMP_EQ_Q.
2637         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2638         a subnormal result, set the underflow exception if trapping on
2639         underflow is enabled.
2640         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2641         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2642         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2643         redefine to 0.
2644         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2645         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2646         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2647         * soft-fp/extendxftf2.c (__extendxftf2): Use
2648         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2650         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2651         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2652         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2653         FP_HANDLE_EXCEPTIONS.
2654         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2655         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2656         FP_HANDLE_EXCEPTIONS.
2657         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2658         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2659         FP_HANDLE_EXCEPTIONS.
2660         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2661         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2662         FP_HANDLE_EXCEPTIONS.
2664 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2666         [BZ #14132]
2667         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2668         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2669         use INTUSE.
2670         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2671         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2672         Remove alias.
2673         (__adjtimex): Define using libc_hidden_ver.
2674         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2675         Remove declaration.
2676         (ntp_gettime): Call __adjtimex directly.
2677         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2678         Remove declaration.
2679         (ntp_gettimex): Call __adjtimex directly.
2680         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2681         __adjtimex_internal alias.
2683 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2685         [BZ #17460]
2686         * nscd/nscd.c (more_help): Rewrite list of tables collection
2687         using xstrdup and asprintf.
2689         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2691 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2692             Roland McGrath  <roland@hack.frob.com>
2694         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2695         (do_lookup_unique): ... local function 'enter' here; update callers.
2697 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2699         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2700         compat_symbol calls on [SHARED].
2701         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2702         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2703         Remove.
2704         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2705         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2706         (oldsetrlimit): Remove.
2707         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2709         (lchown): New syscall entry.
2710         (oldsetrlimit): Remove.
2711         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2712         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2713         (oldsetrlimit): Remove.
2714         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2716         [BZ #14138]
2717         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2718         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2719         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2720         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2721         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2722         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2723         (fchown): Likewise.
2724         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2725         (fchown): Likewise.
2726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2727         Likewise.
2729 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2731         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2732         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2733         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2734         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2735         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2736         Likewise.
2737         (__old_sem_post): Likewise.
2739 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2741         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2742         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2743         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2744         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2745         Use INLINE_VSYSCALL macro.
2746         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2747         __vdso_clock_gettime.
2748         * sysdeps/unix/sysv/linux/tile/init-first.c
2749         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2750         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2751         __vdso_clock_gettime.
2753         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2754         to set up frame more cleanly.
2756         * sysdeps/tile/memcmp.c: New file.
2758         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2760         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2761         * sysdeps/tile/tilegx/strcasestr.c: New file.
2762         * sysdeps/tile/tilegx/strnlen.c: New file.
2763         * sysdeps/tile/tilegx/strstr.c: New file.
2765         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2767 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2769         * nptl/tst-setuid3.c: Write errors to stdout.
2771 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2773         * elf/dl-deps.c
2774         (preload): New functions broken out of _dl_map_object_deps.
2775         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2777 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2779         [BZ #14138]
2780         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2781         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2783 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2785         * sysdeps/mips/strcmp.S: New.
2787 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2789         [BZ #14138]
2790         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2791         (linkat): Likewise.
2792         (mkdirat): Likewise.
2793         (readlinkat): Likewise.
2794         (renameat): Likewise.
2795         (symlinkat): Likewise.
2796         (unlinkat): Likewise.
2797         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2798         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2799         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2800         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2801         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2802         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2803         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2805 2014-09-30  Will Newton  <will.newton@linaro.org>
2807         * math/math.h: Define long double math functions if
2808         _LIBC_TEST is defined.
2809         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2811         * localedata/Makefile: Move assignment to tests-special
2812         into an ifdef testing run-built-tests.
2813         * timezone/Makefile: Likewise.
2815 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2817         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2818         with $(BASH) not $(SHELL).
2820 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2821             Matthew LeGendre  <legendre1@llnl.gov>
2823         [BZ #17411]
2824         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2825         l_reloc_result.
2827 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2829         * stdio-common/printf_fp.c
2830         (hack_digit): New function, broken out of ...
2831         (__printf_fp): ... local function here.  Update call sites.
2832         hack_digit now takes an additional parameter that is a pointer
2833         to a struct of the referenced locals.  Those locals moved inside
2834         the struct and references updated.
2836 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2838         * aclocal.m4: Require autoconf 2.69.
2839         * configure: Regenerated.
2840         * sysdeps/aarch64/configure: Likewise.
2841         * sysdeps/alpha/configure: Likewise.
2842         * sysdeps/arm/armv7/configure: Likewise.
2843         * sysdeps/arm/configure: Likewise.
2844         * sysdeps/ia64/configure: Likewise.
2845         * sysdeps/mach/configure: Likewise.
2846         * sysdeps/mips/configure: Likewise.
2847         * sysdeps/s390/configure: Likewise.
2848         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2851         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2852         file.
2853         * sysdeps/ia64/configure.ac: Likewise.
2855 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2858         specify symbol version for ld.so.  Do not include entry for
2859         libpthread.
2860         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2861         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2862         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2864         [BZ #14171]
2865         * Makeconfig [$(build-shared) = yes]
2866         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2867         makefiles.
2868         [$(build-shared) = yes && $(soversions.mk-done) = t]
2869         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2870         [$(build-shared) = yes && $(soversions.mk-done) = t]
2871         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2872         to Makerules.
2873         [$(build-shared) = yes && $(soversions.mk-done) = t]
2874         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2875         here.
2876         [$(build-shared) = yes && $(soversions.mk-done) = t]
2877         (common-generated): Don't append gnu/lib-names.h and
2878         gnu/lib-names.stmp here.
2879         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2880         (lib-names-h-abi): New variable.
2881         [$(build-shared) = yes && $(soversions.mk-done) = t]
2882         (lib-names-stmp-abi): Likewise.
2883         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2884         abi-variants] (before-compile): Append
2885         $(common-objpfx)$(lib-names-h-abi).
2886         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2887         abi-variants] (common-generated): Append gnu/lib-names.h.
2888         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2889         abi-variants] (install-others-nosubdir): Depend on
2890         $(inst_includedir)/$(lib-names-h-abi).
2891         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2892         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2893         [$(build-shared) = yes && $(soversions.mk-done) = t]
2894         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2895         [$(build-shared) = yes && $(soversions.mk-done) = t]
2896         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2897         [$(build-shared) = yes && $(soversions.mk-done) = t]
2898         (common-generated): Append $(lib-names-h-abi) and
2899         $(lib-names-stmp-abi).
2900         * scripts/lib-names.awk: Do not handle multi being set.
2901         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2902         Remove variable.
2903         (abi-lp64_be-ld-soname): Likewise.
2904         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2905         Likewise.
2906         (abi-hard-ld-soname): Likewise.
2907         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2908         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2909         Remove variable.
2910         (abi-o32_hard-ld-soname): Likewise.
2911         (abi-o32_soft_2008-ld-soname): Likewise.
2912         (abi-o32_hard_2008-ld-soname): Likewise.
2913         (abi-n32_soft-ld-soname): Likewise.
2914         (abi-n32_hard-ld-soname): Likewise.
2915         (abi-n32_soft_2008-ld-soname): Likewise.
2916         (abi-n32_hard_2008-ld-soname): Likewise.
2917         (abi-n64_soft-ld-soname): Likewise.
2918         (abi-n64_hard-ld-soname): Likewise.
2919         (abi-n64_soft_2008-ld-soname): Likewise.
2920         (abi-n64_hard_2008-ld-soname): Likewise.
2921         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2922         Likewise.
2923         (abi-64-v2-ld-soname): Likewise.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2925         ld.so entries.
2926         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2927         variable.
2928         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2929         entry.
2930         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2931         variable.
2932         (abi-64-ld-soname): Likewise.
2933         (abi-x32-ld-soname): Likewise.
2934         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2935         entry.
2936         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2938 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2940         [BZ #14138]
2941         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2942         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2943         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2944         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2945         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2946         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2947         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2948         syscall entry for GLIBC_2.2 symbol version.
2949         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2950         Likewise.
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2952         (setrlimit): Likewise.
2953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2954         Likewise.
2956 2014-09-23  Will Newton  <will.newton@linaro.org>
2958         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2959         _LINUX_ARM_SYSDEP_H include guard too.
2960         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2961         define.
2963 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2965         * sysdeps/unix/sysv/linux/eventfd.c:
2966         Make first argument unsigned.
2967         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2968         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2970 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
2972         * socket/recvmmsg.c (recvmmsg): Drop const argument.
2973         * socket/sys/socket.h: Likewise
2974         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2976 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2978         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2980 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
2982         * time/tst-ftime.c: New test.
2983         * time/Makefile (tests): Add tst-ftime.
2985 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2987         * soft-fp/extended.h: Fix comment formatting.
2988         * soft-fp/op-1.h: Likewise.
2989         * soft-fp/op-2.h: Likewise.
2990         * soft-fp/op-4.h: Likewise.
2991         * soft-fp/op-8.h: Likewise.
2992         * soft-fp/op-common.h: Likewise.
2993         * soft-fp/soft-fp.h: Likewise.
2995         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2997 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
2999         [BZ #6652]
3000         * Makeconfig (soversions-default-setname): Remove variable.
3001         ($(common-objpfx)soversions.i): Don't pass default_setname to
3002         soversions.awk.
3003         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3004         oldest_abi to abi-versions.awk.
3005         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3006         * config.make.in (oldest-abi): Remove variable.
3007         * configure.ac (--enable-oldest-abi): Remove configure option.
3008         * configure: Regenerated.
3009         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3010         text.
3011         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3012         * scripts/soversions.awk: Do not handle default_setname variable.
3013         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3014         variable.
3015         * sysdeps/mach/hurd/configure: Regenerated.
3016         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3017         variable.
3018         * sysdeps/unix/sysv/linux/configure: Regenerated.
3020 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3022         * elf/Makefile (CFLAGS-interp.c): Remove.
3023         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3024         path string.
3025         * elf/interp.c: Include generated runtime-linker.h
3027         * Makerules (lib%.so): Don't include $(+interp) in
3028         prerequisites.
3029         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3030         * dlfcn/eval.c: Remove file.
3032         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3033         macros.
3035         [BZ #17266]
3036         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3037         4.2 and newer.
3039         [BZ #17370]
3040         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3042 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3043             Jakub Jelinek  <jakub@redhat.com>
3045         [BZ #17266]
3046         * libio/stdio.h: Check definition of __fortify_function
3047         instead of __extern_always_inline to include bits/stdio2.h.
3048         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3049         check if __extern_always_inline is defined.
3050         [__USE_MISC || __USE_XOPEN]: Likewise.
3051         [__USE_ISOC99] Likewise.
3052         * misc/sys/cdefs.h (__fortify_function): Define only if
3053         __extern_always_inline is defined.
3054         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3055         __extern_always_inline and __extern_inline only for g++-4.3
3056         and newer or a compatible gcc.
3058 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3060         [BZ #17371]
3061         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3062         last change to handle zero prefix length.
3064 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3066         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3067         _SC_REGEX_VERSION.
3069         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3070         _POSIX_RAW_SOCKETS.
3072 2014-09-13  Allan McRae  <allan@archlinux.org>
3074         * po/ru.po: Update Russian translation from translation project.
3076 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3078         * locale/programs/locale.c (show_locale_vars): Inline local function
3079         into its sole call site.  Clean up some style nits.
3080         (print_item): New function, broken out of ...
3081         (show_info): ... local function here.  Clean up style nits.
3083         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3084         out of ...
3085         (set_class_defaults): ... local function set_default here.
3086         Define set_default as a macro locally to pass constant parameters.
3087         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3088         rather than a shared local.
3090         * stdlib/rpmatch.c (try): New function, broken out of ...
3091         (rpmatch): ... local function here.  Also, prototypify definition.
3093 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3095         * scripts/soversions.awk: Do not handle configuration names.
3096         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3097         vendor and os variables to soversions.awk.
3098         * configure.ac: Do not modify gnu-* host_os.
3099         * configure: Regenerated
3100         * shlib-versions: Remove first column with configuration names.
3101         * nptl/shlib-versions: Likewise.
3102         * nptl_db/shlib-versions: Likewise.
3103         * sysdeps/hppa/shlib-versions: Likewise.
3104         * sysdeps/m68k/shlib-versions: Likewise.
3105         * sysdeps/mach/hurd/shlib-versions: Likewise.
3106         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3107         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3108         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3109         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3110         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3111         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3112         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3113         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3115         Likewise.
3116         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3117         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3118         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3119         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3120         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3121         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3122         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3123         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3126         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3128         Regenerated.
3129         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3131         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3133         * shlib-versions: Remove OS-specific entries.  Moved to files in
3134         sysdeps.
3135         * sysdeps/mach/hurd/shlib-versions: New file.
3136         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3138         * nptl/shlib-versions: Remove architecture-specific entries.
3139         Moved to files in sysdeps.
3140         * shlib-versions: Likewise.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3142         file.
3143         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3144         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3145         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3146         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3148         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3149         (UDP_NO_CHECK6_RX): Likewise.
3151 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3153         * sysdeps/posix/sysconf.c (__sysconf): Spell
3154         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3156 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3158         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3159         loading.
3160         * iconv/Versions (__gconv_transliterate): Export for use from
3161         gconv modules.
3162         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3163         (struct __gconv_trans_data, __gconv_trans_fct,
3164         __gconv_trans_context_fct, __gconv_trans_query_fct,
3165         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3166         definitions.
3167         (struct __gconv_step_data): Remove __trans member.
3168         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3169         longer hidden.  Remove unused trans_data argument.
3170         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3171         (__gconv_translit_find): Remove declaration.
3172         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3173         prototype.
3174         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3175         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3176         trans_data argument.  Add hidden definition.
3177         (__gconv_translit_find): Remove.
3178         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3179         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3180         * iconv/skeleton.c: Remove transliteration initialization.
3181         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3182         __gconv_step_data initialization.
3183         * libio/iofwide.c (__libio_translit_): Remove.
3184         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3185         * wcsmbs/btowc.c (__btowc): Likewise.
3186         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3187         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3188         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3189         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3190         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3191         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3192         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3193         * wcsmbs/wctob.c (wctob): Likewise.
3195 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3197         [BZ #16194]
3198         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3199         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3200         register usage.
3201         * sysdeps/x86/Makefile: Adjust.
3203 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3204             Roland McGrath  <roland@hack.frob.com>
3206         * locale/weight.h: Add include guard.
3207         (findidx): Make static rather than auto; take new parameters
3208         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3209         * locale/weightwc.h: Likewise.
3210         * posix/fnmatch_loop.c
3211         (FCT): Change type of EXTRA from int32_t to wint_t.
3212         Don't include either header inside the function.
3213         Call FINDIDX rather than findidx, and pass new arguments.
3214         #undef FINDIDX at the end of the file.
3215         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3216         FINDIDX before including fnmatch_loop.c for the non-wide version.
3217         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3218         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3219         for the wide version.
3220         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3221         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3222         Pass new arguments to findidx.
3223         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3224         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3225         Don't #include it inside the function.  Pass new arguments to findidx.
3226         * posix/regex_internal.h
3227         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3228         (re_string_elem_size_at): Don't #include it inside the function.
3229         Pass new arguments to findidx.
3230         * string/strcoll_l.c: #include WEIGHT_H at top level.
3231         (get_next_seq): Don't #include it inside the function.
3232         Pass new arguments to findidx.
3233         (get_next_seq_nocache): Likewise.
3234         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3235         (STRXFRM): Don't #include it inside the function.
3236         Pass new arguments to findidx.
3238 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3240         [BZ #17344]
3241         * malloc/malloc.c (unlink): Turn asserts into a call to
3242         malloc_printerr.
3244 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3246         [BZ #17370]
3247         * libio/wfileops (do_ftell_wide): Free OUT.
3249 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3251         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3253 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3255         [BZ #17363]
3256         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3257         group if the current group is empty.
3259 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3261         * benchtests/bench-memset.c (test_main): Add more test from size
3262         from 32 to 512 bytes.
3263         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3264         Add POWER8 memset object.
3265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3266         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3267         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3268         implementation.
3269         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3270         Likewise.
3271         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3272         multiarch POWER8 memset optimization.
3273         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3274         POWER8 memset optimization.
3276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3277         Remove bzero multiarch objects.
3278         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3279         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3280         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3281         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3282         Remove define.
3283         [__bzero]: Redefine to specific name.
3284         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3285         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3286         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3287         define.
3288         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3289         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3291 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3293         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3294         warnings into errors.
3296         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3297         __cxa_thread_atexit_impl prototype.
3299 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3301         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3302         Fix capitalization of error message.
3304 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3306         * sysdeps/mips/preconfigure: Modify ABI tests.
3308 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3310         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3312 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3313             Carlos O'Donell  <carlos@systemhalted.org>
3315         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3316         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3317         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3318         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3319         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3320         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3321         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3322         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3323         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3324         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3325         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3326         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3327         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3328         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3329         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3330         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3331         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3332         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3334         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3336         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3337         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3338         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3339         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3340         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3341         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3342         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3343         Deconditionalize the code that was previously under [RESET_PID].
3344         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3345         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3346         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3347         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3348         include sysdep.h.
3350 2014-09-08  Allan McRae  <allan@archlinux.org>
3352         * version.h (RELEASE): Set to "development".
3353         (VERSION): Set to "2.20.90"
3355 2014-09-07  Allan McRae  <allan@archlinux.org
3357         * version.h (RELEASE): Set to "stable".
3358         (VERSION): Set to "2.20"
3359         * include/features.h (__GLIBC_MINOR__): Set to 20.
3361         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3362         Liebler.
3364         * po/ko.po: Update Korean translation from translation project.
3366 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3368         [BZ #17354]
3369         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3370         macro for handling signed relocations.
3372 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3374         [BZ #17325]
3375         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3376         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3377         assert.
3378         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3379         * iconvdata/ibm935.c (BODY): Likewise.
3380         * iconvdata/ibm937.c (BODY): Likewise.
3381         * iconvdata/ibm939.c (BODY): Likewise.
3382         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3383         assert.
3384         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3385         script.
3386         * iconvdata/run-iconv-test.sh: New test loop for checking for
3387         decoder crashers.
3389 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3391         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3392         libm_hidden_ver.
3394 2014-09-01  Allan McRae  <allan@archlinux.org>
3396         * po/eo.po: Update Esperanto translation from translation project.
3398         * po/ca.po: Update Catalan translation from translation project.
3400 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3402         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3403         __proc_dostop call.
3405 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3407         [BZ #17319]
3408         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3409         to call set_thread_area instead of hand written asm.
3410         (__NR_set_thread_area): Removed define.
3411         (TLS_FLAG_WRITABLE): Likewise.
3412         (__ASSUME_SET_THREAD_AREA): Remove check.
3413         (TLS_EBX_ARG): Remove define.
3414         (TLS_LOAD_EBX): Likewise.
3416 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3418         Simplify atomicity of socket creation in bind.
3420         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3421         looking up the name after linking the file.
3423 2014-08-27  Allan McRae  <allan@archlinux.org>
3425         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3427 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3429         [BZ #17187]
3430         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3431         trans_compare, open_translit, __gconv_translit_find):
3432         Remove module loading code.
3434 2014-08-26  Allan McRae  <allan@archlinux.org>
3436         * po/vi.po: Update Vietnamese translation from translation project.
3438         * po/uk.po: Update Ukrainian translation from translation project.
3440         * po/fr.po: Update French translation from translation project.
3442         * po/ru.po: Update Russian translation from translation project.
3444         * po/pl.po: Update Polish translation from translation project.
3446         * po/cs.po: Update Czech translation from translation project.
3448         * po/de.po: Update German translation from translation project.
3450         * po/bg.po: Update Bulgarian translation from translation project.
3452         * po/sv.po: Update Sweedish translation from translation project.
3454         * po/nl.po: Update Dutch translation from translation project.
3456         * po/es.po: Update Spanish translation from translation project.
3458 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3460         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3462         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3463         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3464         (CPPFLAGS-iconvconfig): Likewise.
3465         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3467         * include/libc-symbols.h: Remove unnecessary check for
3468         NOT_IN_libc.
3469         * nptl/pthreadP.h: Likewise.
3470         * sysdeps/aarch64/setjmp.S: Likewise.
3471         * sysdeps/alpha/setjmp.S: Likewise.
3472         * sysdeps/arm/sysdep.h: Likewise.
3473         * sysdeps/i386/setjmp.S: Likewise.
3474         * sysdeps/m68k/setjmp.c: Likewise.
3475         * sysdeps/posix/getcwd.c: Likewise.
3476         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3477         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3478         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3479         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3480         * sysdeps/sh/sh3/setjmp.S: Likewise.
3481         * sysdeps/sh/sh4/setjmp.S: Likewise.
3482         * sysdeps/unix/alpha/sysdep.h: Likewise.
3483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3485         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3486         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3491         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3493         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3494         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3495         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3496         * sysdeps/x86_64/setjmp.S: Likewise.
3498 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3500         [BZ #17263]
3501         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3502         <stdint.h>.
3503         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3504         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3506 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3508         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3510         [BZ #17262]
3511         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3512         and __x86_64__ when disabling x87 inline functions.
3514 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3516         [BZ #17259]
3517         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3518         asm statement with __cpuid_count.
3520 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3522         * configure.ac: Change __ehdr_start code to dereference the struct.
3523         Run readelf on the output to look for relocations.
3524         * configure: Regenerated.
3526 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3528         [BZ #17261]
3529         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3530         value to 0.
3531         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3533 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3535         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3537 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
3539         [BZ #16892]
3540         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3541         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3543 2014-08-12  Sean Anderson  <seanga2@gmail.com>
3545         * malloc/malloc.c: Fix typo in comment.
3547 2014-08-09  Allan McRae  <allan@archlinux.org>
3549         * Regenerate libc.po.
3551 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
3553         * intl/tst-gettext2.sh: Check every lang file for creation.
3555 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3557         * sysdeps/aarch64/fpu/math_private.h
3558         (libc_feholdsetround_noex_aarch64_ctx): New function.
3560 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3562         * sysdeps/arm/armv6/strcpy.S (strcpy):
3563         Fix performance issue in misaligned cases.
3565 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3567         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3568         Move definition from termios.h.
3569         (struct termio): Likewise.
3570         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3571         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3572         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3573         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3576         Move definition to ioctl-types.h
3577         (struct termio): Likewise.
3578         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3579         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3580         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3581         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3582         Likewise.
3584 2014-08-05  Richard Henderson  <rth@redhat.com>
3586         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3587         exceptions.
3588         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3589         Add fraiseexcpt.
3590         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3591         Use __feraiseexcept.
3592         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3593         Protect libm symbols with IS_IN_libm.
3595         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3597 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
3599         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3601 2014-08-04  Will Newton  <will.newton@linaro.org>
3603         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3604         file.
3606 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3608         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3609         variants for each function.
3611 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3613         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3614         appended ...
3615         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3616         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3617         appended ...
3618         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3619         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3620         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3621         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3622         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3623         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3624         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3625         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3626         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3627         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3628         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3629         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3630         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3631         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3632         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3633         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3634         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3635         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3636         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3637         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3638         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3640         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3642         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3650         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3652         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3654         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3655         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3656         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3657         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3658         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3660         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3662         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3664         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3666         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3667         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3668         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3669         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3670         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3671         Update #include.
3672         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3673         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3675 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3677         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3678         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3679         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3680         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3681         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3682         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3684 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3686         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3687         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3688         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3689         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3691 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3693         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3694         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3695         (__libc_vfork): Define function under this name.
3696         (__vfork): Define as an alias.
3697         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3698         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3700 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3702         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3703         that was previously under [RESET_PID].
3704         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3706 2014-08-04  Andreas Schwab  <schwab@suse.de>
3708         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3710 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3712         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3713         (main): Likewise.
3715 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3717         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3719 2014-08-01  Richard Henderon  <rth@redhat.com>
3721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3722         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3723         typo in exact zero test.
3724         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3725         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3726         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3728 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3730         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3731         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3732         * sysdeps/arm/sysdep.h: ... here.
3733         [!__ASSEMBLER__]: Include <stdint.h>.
3735 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3737         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3738         (HAVE_WCTYPE_H): Likewise.
3739         (HAVE_ISWCTYPE): Likewise.
3740         (ENABLE_NLS): Likewise.
3741         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3742         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3744         * posix/regex_internal.c: Check if DEBUG is defined and is
3745         set.
3747         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3748         (HAVE_MBSRTOWCS): Likewise.
3749         * posix/fnmatch.c: Include string.h unconditionally.
3751 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3753         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3754         reversal.
3756 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3758         * sysdeps/generic/safe-fatal.h: New file.
3759         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3760         * nptl/forward.c: Include it.
3761         (__pthread_unwind): Use __safe_fatal as default action, rather
3762         than a bogus use of INTERNAL_SYSCALL that could never work.
3764         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3765         * configure.ac (libc_cv_builtin_trap): New test.
3766         * configure: Regenerated.
3767         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3768         (ABORT_INSTRUCTION): Define using __builtin_trap.
3770         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3771         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3772         * sysdeps/nptl/nptl-signals.h: New file.
3773         * nptl/pthreadP.h: Include <nptl-signals.h>.
3775 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3777         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3778         (ONE_DIRECTION): Define.
3779         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3780         (ONE_DIRECTION): Define.
3781         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3782         (ONE_DIRECTION): Define.
3784 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3786         * sysdeps/s390/Makefile: Delete file.
3787         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3788         * sysdeps/s390/__longjmp.c: Delete file.
3789         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3790         Remove fields __flags and __reserved.
3791         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3792         and add versioning.
3793         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3794         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3795         * sysdeps/s390/rtld-setjmp.S: Likewise.
3796         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3797         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3798         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3799         * sysdeps/s390/s390-32/setjmp.S: ... here.
3800         Add versioning.
3801         (__sigsetjmp): Remove setting __flags field.
3802         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3803         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3804         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3805         * sysdeps/s390/s390-64/setjmp.S: ... here.
3806         Add versioning.
3807         (__sigsetjmp): Remove setting __flags field.
3808         * sysdeps/s390/setjmp.S: Delete file.
3809         * sysdeps/s390/sigjmp.c: Likewise.
3810         * sysdeps/s390/v1-longjmp.c: Likewise.
3811         * sysdeps/s390/v1-setjmp.h: Likewise.
3812         * sysdeps/s390/v1-sigjmp.c: Likewise.
3813         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3814         Remove v1-longjmp_chk.
3815         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3816         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3817         Include debug/longjmp_chk.c and add versioning.
3818         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3819         Include nptl/pt-longjmp.c and add versioning.
3820         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3821         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3822         Include __longjmp.c.
3823         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3824         Move to ...
3825         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3826         (__getcontext): Remove setting __flags field.
3827         Add versioning.
3828         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3829         Don't restore upper high grps.
3830         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3831         Likewise.
3832         (__swapcontext): Remove setting uc_flags field.
3833         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3834         Delete file.
3835         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3836         Include __longjmp.c.
3837         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3838         Move to ...
3839         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3840         (__getcontext): Remove setting __flags field.
3841         Add versioning.
3842         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3843         (__swapcontext): Remove setting uc_flags field.
3844         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3845         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3846         Remove fields uc_high_gprs and __reserved.
3847         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3848         New file with reverted content.
3849         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3850         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3851         Regenerated.
3852         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3853         Regenerated.
3855 2014-07-31  Andreas Schwab  <schwab@suse.de>
3857         * config.h.in (HAVE_IFUNC): Define to 0.
3858         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3859         definedness.
3861 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3864         memmove-avx-unaligned, memcpy-avx-unaligned and
3865         mempcpy-avx-unaligned.
3866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3867         Add tests for AVX memcpy functions.
3868         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3869         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3870         memcpy_chk.
3871         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3872         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3873         memmove_chk.
3874         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3875         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3876         mempcpy_chk.
3877         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3878         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3879         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3881 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3883         [BZ #17213]
3884         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3885         powerpc64le.
3887 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3889         [BZ #16839]
3890         * manual/llio.texi: Add section about open file description locks.
3891         * manual/examples/ofdlocks.c: Example of open file description
3892         lock usage.
3893         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3894         F_OFD_SETLK, and F_OFD_SETLKW.
3896 2014-07-23  Allan McRae  <allan@archlinux.org>
3898         * po/es.po: Update Spanish translation from translation project.
3900 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3902         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3904 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3906         [BZ #17078]
3907         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3908         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3909         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3911 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3913         [BZ #17088]
3914         * math/fesetenv.c (__fesetenv)
3915         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3916         * math/feupdateenv.c (__feupdateenv)
3917         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3919         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3920         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3921         (__ASSUME_SOCKETCALL): Do not define.
3923         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3924         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3925         (__ASSUME_SOCKETCALL): Do not define.
3926         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3927         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3928         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3929         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3931         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3932         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3933         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3935         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3936         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3937         (__ASSUME_SOCKETCALL): Do not define.
3938         (__ASSUME_IPC64): Define unconditionally.
3939         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3940         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3941         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3942         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3943         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3944         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3945         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3946         Likewise.
3948         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3949         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3950         (__ASSUME_SOCKETCALL): Do not define.
3951         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3952         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3953         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3954         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3955         (__ASSUME_REQUEUE_PI): Define unconditionally.
3956         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3957         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3958         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3959         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3960         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3961         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3963         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3964         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3965         (__ASSUME_SOCKETCALL): Do not define.
3966         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3967         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3968         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3969         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3970         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3971         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3973         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3974         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3975         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3976         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3977         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3978         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3979         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3980         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3981         (__ASSUME_GETCPU_SYSCALL): Likewise.
3983         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3984         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
3985         cases for individual architectures.
3986         * sysdeps/gnu/configure: Regenerated.
3987         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3988         LIBC_SLIBDIR_RTLDDIR.
3989         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3990         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3991         LIBC_SLIBDIR_RTLDDIR.
3992         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3994         LIBC_SLIBDIR_RTLDDIR.
3995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3996         Regenerated.
3997         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3998         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3999         file.
4000         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4001         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4002         file.
4003         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4004         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4005         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4006         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4008         * sysdeps/aarch64/shlib-versions: Move to ...
4009         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4010         * sysdeps/alpha/shlib-versions: Move to ...
4011         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4012         * sysdeps/arm/shlib-versions: Move to ...
4013         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4014         * sysdeps/hppa/shlib-versions: Move all contents except for
4015         libgcc_s entry to ...
4016         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4017         entry from ...
4018         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4019         * sysdeps/ia64/shlib-versions: Move to ...
4020         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4021         entry from ...
4022         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4023         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4024         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4025         * sysdeps/microblaze/shlib-versions: Move to ...
4026         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4027         * sysdeps/mips/shlib-versions: Move to ...
4028         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4029         entry from ...
4030         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4031         * sysdeps/tile/shlib-versions: Move to ...
4032         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4033         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4034         from ...
4035         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4036         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4037         entry from ...
4038         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4040 2014-07-17  Will Newton  <will.newton@linaro.org>
4042         * sysdeps/arm/bits/atomic.h
4043         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4044         (__arch_compare_and_exchange_bool_16_int): Likewise.
4045         (__arch_compare_and_exchange_bool_64_int): Likewise.
4047         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4048         into an #else block.
4050 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4052         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4053         just Linux configurations.  Test empirically that the compiler sets
4054         __ARM_EABI__, rather than using the tuple to decide.
4055         * sysdeps/arm/preconfigure: Regenerated.
4056         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4057         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4058         contents appended ...
4059         * sysdeps/arm/configure.ac: ... here.
4060         * sysdeps/arm/configure: Regenerated.
4062 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4064         * nptl/pthread_kill.c: New file.
4065         * nptl/pthread_sigmask.c: New file.
4066         * nptl/pthread_sigqueue.c: New file.
4068         * sysdeps/nptl/lowlevellock.h: New file.
4069         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4070         * sysdeps/nptl/lowlevellock-futex.h: New file.
4072         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4073         Remove dead declarations.
4075 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4077         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4078         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4079         config-cflags-avx2.
4080         * sysdeps/x86_64/configure.ac: Likewise.
4081         * sysdeps/i386/configure: Regenerated.
4082         * sysdeps/x86_64/configure: Likewise.
4083         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4084         memset-avx2 only if config-cflags-avx2 is yes.
4085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4086         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4087         defined.
4088         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4089         only if HAVE_AVX2_SUPPORT is defined.
4090         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4092 2014-07-14  Alan Modra  <amodra@gmail.com>
4094         [BZ #17153]
4095         * elf/elf.h (DT_PPC64_NUM): Correct value.
4096         * NEWS: Add to fixed bug list.
4098 2014-07-13  Jim Meyering  <meyering@fb.com>
4100         [BZ 17150]
4101         regex: don't deref NULL upon heap allocation failure
4102         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4103         failure in one more place.
4104         To trigger the segfault, configure grep -with-included-regex,
4105         build it, and run these commands:
4106         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4108 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4110         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4112 2014-07-11  Richard Henderson  <rth@redhat.com>
4114         * sysdeps/aarch64/libm-test-ulps: Update.
4116 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4118         [BZ #17135]
4119         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4120         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4121         (__nptl_setxid): Initialize error member.  Call
4122         __nptl_setxid_error.
4123         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4124         * nptl/descr.h (struct xid_command): Add error member.
4125         * nptl/tst-setuid3.c: New file.
4126         * nptl/Makefile (tests): Add it.
4128 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4130         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4131         New define.
4132         (__lll_trylock): Use __lll_base_trylock.
4133         (__lll_cond_trylock): Likewise.
4135 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4137         * nptl/pthread_create.c (start_thread): Use atomic_or and
4138         lll_futex_wake directly rather than lll_robust_dead.
4139         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4140         (lll_robust_dead): Macro removed.
4141         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4142         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4143         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4144         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4146         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4147         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4148         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4149         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4150         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4152         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4153         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4154         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4155         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4157         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4158         Use atomic_compare_and_exchange_val_acq directly rather than
4159         lll_robust_trylock.
4160         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4161         (__lll_robust_trylock, lll_robust_trylock): Removed.
4162         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4163         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4164         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4165         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4166         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4167         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4168         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4169         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4171         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4172         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4173         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4174         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4175         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4177 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4179         * manual/locale.texi (Locale Names): New section documenting
4180         locale name syntax.  Adjust menu and node chaining accordingly.
4181         (Choosing Locale): Reference Locale Names, Locale Categories.
4182         Mention setting LC_ALL=C.  Reflect that name syntax is now
4183         documented.
4184         (Locale Categories): New section title.  Reference Locale Names.
4185         LC_ALL is an environment variable, but not a category.
4186         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4187         description, now in Locale Name.  Reference that section.  Locale
4188         name syntax is now documented.
4190 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4192         [BZ #17137]
4193         * locale/findlocale.c (name_present, valid_locale_name): New
4194         functions.
4195         (_nl_find_locale): Use the loc_name variable to store name
4196         candidates.  Call name_present and valid_locale_name to check and
4197         validate locale names.  Return an error if the locale is invalid.
4199 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4201         * locale/setlocale.c (setlocale): Use strdup for allocating
4202         composite name copy.
4204 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4206         Sync up with gnulib.
4207         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4208         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4209         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4210         and _GL_ARG_NONNULL.
4211         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4212         [!_LIBC]: Include code for Windows and Cygwin.
4213         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4214         Include prototype for int strerror_r.
4215         [!_LIBC] (is_open): New function.
4216         (flush_stdout): New function.
4217         (print_errno_message): Use it.
4218         (error): Likewise.
4219         (error_at_line): Likewise.
4220         (error_tail) Add function attribute macros.  Use
4221         __builtin_expect.
4223         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4225         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4227         * io/ftw.c: Include sys/param.h unconditionally.
4229         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4231         [BZ #17125]
4232         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4233         libc_freeres_ptr.
4234         (freecache): New function to free CACHE on exit.
4236         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4237         initialization.
4239 2014-07-09  David S. Miller  <davem@davemloft.net>
4241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4243         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4244         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4245         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4246         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4247         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4248         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4249         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4250         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4251         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4252         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4253         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4254         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4255         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4257 2014-07-09  Andreas Schwab  <schwab@suse.de>
4259         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4260         output.
4261         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4262         (do_test): Likewise.
4264         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4266 2014-07-09  Will Newton  <will.newton@linaro.org>
4268         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4269         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4270         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4271         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4272         * sysdeps/hppa/start.S (_start): Likewise.
4274 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4276         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4278         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4279         defined.
4281 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4283         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4284         after checking that it is non-NULL.
4286         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4288 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4290         * sysdeps/powerpc/memmove.c: Remove file.
4291         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4292         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4293         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4294         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4295         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4296         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4297         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4298         string memmove instead of removed powerpc one.
4300         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4301         [weak_alias]: Fix compiler warning due trailing data.
4302         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4303         [weak_alias]: Likewise.
4304         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4305         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4308         (__libc_ifunc_impl_list): Add memmove functions.
4310 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4312         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4313         Remove code.
4314         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4315         Likewise
4316         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4317         Likewise
4318         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4319         Likewise
4320         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4321         Likewise
4322         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4323         Likewise
4324         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4325         Likewise
4326         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4327         Likewise
4328         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4329         Likewise
4330         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4331         Likewise
4332         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4333         Likewise
4334         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4335         Likewise
4336         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4337         Likewise
4338         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4339         Likewise
4340         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4341         Likewise
4342         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4343         Likewise
4344         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4345         Likewise
4347 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4349         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4350         to avoid alignment traps in non-cacheable memory.
4351         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4354         multiarch objects.
4355         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4356         file: multiarch power7 memmove.
4357         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4358         multiarch default memmove.
4359         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4360         multiarch memove for powerpc32/power4.
4362         * string/bcopy.c: Use full path to include memmove.c.
4363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4364         multiarch objects.
4365         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4366         bcopy for powerpc64.
4367         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4368         bcopy for powerpc64.
4369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4370         and memmove implementations.
4371         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4372         optimized multiarch memmove for POWER7/powerpc64.
4373         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4374         default multiarch memmove for powerpc64.
4375         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4376         multiarch for powerpc64.
4377         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4378         for POWER7/powerpc64.
4379         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4380         memmove for POWER7/powerpc64.
4382         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4383         glibc default one.
4385         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4386         __ELF_NATIVE_CLASS equal to 64.
4388 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4390         * sysdeps/nptl/lowlevellock.h: File removed.
4392         * NEWS: NPTL is no longer an add-on!
4393         * nptl/internaltypes.h: Moved ...
4394         * sysdeps/nptl/internaltypes.h: ... here.
4395         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4396         * sysdeps/nptl/fork.c: Likewise.
4397         * sysdeps/nptl/gai_misc.h: Likewise.
4398         * sysdeps/nptl/librt-cancellation.c: Likewise.
4399         * sysdeps/nptl/jmp-unwind.c: Likewise.
4400         * sysdeps/nptl/setxid.h: Likewise.
4401         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4402         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4403         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4404         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4405         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4406         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4407         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4408         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4409         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4410         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4411         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4412         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4413         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4414         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4415         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4416         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4417         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4418         * nptl/Makeconfig: Moved ...
4419         * sysdeps/nptl/Makeconfig: ... here.
4420         * nptl/configure: File removed.
4421         * nptl/ANNOUNCE: File removed.
4422         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4423         * sysdeps/unix/sysv/linux/configure: Regenerated.
4425         * nptl/Makefile (routines): Add libc_pthread_init,
4426         libc_multiple_threads, register-atfork and unregister-atfork.
4427         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4428         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4429         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4430         pthread-pi-defines.sym, structsem.sym.
4431         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4432         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4433         [$(subdir) = nptl] (tests): Add tst-setgetname.
4434         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4435         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4436         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4437         [!LIBC_SIGACTION]: Remove aliases.
4438         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4439         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4440         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4441         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4442         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4443         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4444         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4445         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4446         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4447         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4448         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4449         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4450         __libc_allocate_rtsig_private.
4451         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4452         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4453         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4454         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4455         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4456         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4457         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4458         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4459         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4460         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4461         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4462         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4463         * nptl/internaltypes.h: ... here.
4464         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4465         * sysdeps/nptl/jmp-unwind.c: ... here.
4466         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4467         * nptl/libc-lowlevellock.c: ... here.
4468         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4469         * nptl/libc_multiple_threads.c: ... here.
4470         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4471         * nptl/libc_pthread_init.c: ... here.
4472         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4473         * nptl/lowlevelbarrier.sym: ... here.
4474         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4475         * nptl/lowlevelcond.sym: ... here.
4476         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4477         * nptl/lowlevellock.c: ... here.
4478         * nptl/lowlevellock.h: Moved ...
4479         * sysdeps/nptl/lowlevellock.h: ... here.
4480         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4481         * nptl/lowlevelrobustlock.c: ... here.
4482         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4483         * nptl/lowlevelrobustlock.sym: ... here.
4484         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4485         * nptl/lowlevelrwlock.sym: ... here.
4486         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4487         * nptl/pt-fork.c: ... here.
4488         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4489         * nptl/pthread-pi-defines.sym: ... here.
4490         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4491         * nptl/pthread_attr_getaffinity.c: ... here.
4492         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4493         * nptl/pthread_attr_setaffinity.c: ... here.
4494         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4495         * nptl/pthread_mutex_cond_lock.c: ... here.
4496         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4497         Update #include.
4498         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4499         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4500         * nptl/pthread_once.c: ... here, replacing old file.
4501         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4502         * nptl/pthread_yield.c: ... here.
4503         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4504         * nptl/register-atfork.c: ... here.
4505         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4506         * nptl/sem_post.c: ... here.
4507         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4508         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4509         * nptl/sem_timedwait.c: ... here.
4510         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4511         * nptl/sem_trywait.c: ... here.
4512         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4513         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4514         * nptl/sem_wait.c: ... here.
4515         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4516         * nptl/structsem.sym: ... here.
4517         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4518         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4519         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4520         * nptl/unregister-atfork.c: ... here.
4521         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4522         * nptl/unwindbuf.sym: ... here.
4523         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4524         * sysdeps/nptl/fork.c: ... here.
4525         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4526         * sysdeps/nptl/fork.h: ... here.
4527         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4528         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4529         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4530         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4531         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4532         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4533         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4534         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4535         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4536         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4537         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4538         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4539         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4540         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4541         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4542         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4543         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4544         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4545         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4546         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4547         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4548         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4549         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4550         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4551         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4552         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4553         * sysdeps/unix/sysv/linux/raise.c: ... here.
4554         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4555         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4556         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4557         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4558         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4559         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4560         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4561         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4562         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4563         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4564         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4565         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4566         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4567         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4568         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4570 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4572         * sysdeps/generic/memcopy.h: Add comment for
4573         MEMCPY_OK_FOR_FWD_MEMMOVE.
4575 2014-07-04  Will Newton  <will.newton@linaro.org>
4577         * string/memchr.c: Merge from gnulib.
4578         [_LIBC]: Remove conditionals.
4579         (__ptr_t): Remove define.
4580         (LONG_MAX_32_BITS): Likewise.
4581         (LONG_MAX): Likewise.
4582         (MEMCHR): Use ANSI prototype and optimize algorithm.
4584         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4586 2014-07-03  Roland McGrath  <roland@hack.frob.com>
4588         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4589         (lll_futex_timed_wait_bitset): Fix syscall argument count.
4591         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4592         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4593         in a bare environment with no <stdlib.h> installed.
4594         * sysdeps/nptl/configure: Regenerated.
4596         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4598         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4599         AC_EGREP_CPP for kernel header checks, so they only succeed if
4600         including <linux/version.h> actually works right.
4601         * sysdeps/unix/sysv/linux/configure: Regenerated.
4603         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4604         value so it's not diagnosed as unused.
4606         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4607         thing) with "ifeq ($(subdir),rt)".
4609 2014-07-03  Richard Henderson  <rth@redhat.com>
4611         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4612         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4613         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4615         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4616         (math_force_eval): New.
4618         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4619         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4621         * sysdeps/alpha/fpu/s_round.c: Remove file.
4622         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4624         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4625         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4626         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4627         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4628         (_dl_start, print_statistics): Likewise.
4629         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4630         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4632         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4633         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4634         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4635         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4637         (HP_SMALL_TIMING_AVAIL): Define.
4638         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4640         (HP_SMALL_TIMING_AVAIL): Define.
4641         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4642         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4644         * sysdeps/aarch64/hp-timing.h: New file.
4646         * sysdeps/generic/hp-timing.h: Remove dead comment.
4647         * sysdeps/generic/hp-timing-common.h: New file.
4648         * sysdeps/alpha/hp-timing.h: Include it.
4649         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4650         * sysdeps/i386/i686/hp-timing.h: Likewise.
4651         * sysdeps/ia64/hp-timing.h: Likewise.
4652         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4653         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4654         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4655         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4656         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4657         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4658         (hp_timing_t): New.
4660         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4661         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4662         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4663         * elf/rtld.c (_dl_start_final): Likewise.
4664         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4665         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4666         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4667         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4668         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4669         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4670         (HP_TIMING_DIFF_INIT): Remove.
4671         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4672         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4673         (HP_TIMING_DIFF_INIT): Remove.
4674         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4675         * sysdeps/i386/i686/hp-timing.c: Remove file.
4676         * sysdeps/x86_64/hp-timing.c: Remove file.
4677         * sysdeps/ia64/hp-timing.c: Remove file.
4678         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4679         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4680         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4681         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4683         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4684         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4685         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4686         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4687         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4688         (HP_TIMING_ACCUM): Remove.
4689         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4690         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4691         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4693         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4694         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4695         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4696         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4698         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4699         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4700         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4702         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4704 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4706         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4708 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4710         Sync up with gettext.
4711         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4712         [_MSC_VER]: Include malloc.h
4713         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4714         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4715         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4716         TEMP_FAILURE_RETRY.  Cast return of alloca.
4717         [!_LIBC] Call gl_rwlock_init.
4718         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4720 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4722         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4723         before checking its value.
4725 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4727         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4729         * debug/memcpy_chk.c: Don't include pagecopy.h.
4730         * debug/mempcpy_chk.c: Likewise.
4731         * string/memcpy.c: Likewise.
4732         * string/memmove.c: Likewise.
4733         * sysdeps/powerpc/memmove.c: Likewise.
4734         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4735         definition of PAGE_COPY_FWD_MAYBE here...
4736         * sysdeps/generic/pagecopy.h: ... from here.
4737         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4739 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4740             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4742         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4744         optimizations.
4745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4746         (__libc_ifunc_impl_list): Likewise.
4747         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4748         multiarch strcat for PPC64.
4749         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4750         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4752 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4754         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4756 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4758         * intl/loadmsgcat.c: Remove declaration of
4759         get_sysdep_segment_value.
4760         (get_sysdep_segment_value): Use ISO C style.
4761         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4762         semicolon.  Fix typo and formatting in comment.
4763         (_nl_unload_domain): Use ISO C style.
4765         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4767 2014-07-02  Will Newton  <will.newton@linaro.org>
4769         * malloc/obstack.c: Merge from gnulib master.
4770         [HAVE_CONFIG_H]: Remove conditional code.
4771         [!_LIBC]: Include config.h.
4772         [!ELIDE_CODE]: Don't include inttypes.h, include
4773         stdint.h unconditionally.
4774         (print_and_abort): Mark as _Noreturn.
4775         (_obstack_allocated_p): Mark as __attribute_pure__.
4776         (obstack_free): Rename to __obstack_free.
4777         [!__attribute__]: Remove conditional code.
4778         * malloc/obstack.h: Merge from gnulib master.
4779         [__cplusplus]: Move conditional down.
4780         [!__attribute_pure__]: Define __attribute_pure__ here
4781         if it is not already defined.
4782         (_obstack_memory_used): Mark as __attribute_pure__.
4783         [!__obstack_free]: Define as obstack_free.
4784         [__GNUC__]: Remove check for ancient NeXT gcc.
4786 2014-07-02  Will Newton  <will.newton@linaro.org>
4787             Paul Eggert  <eggert@cs.ucla.edu>
4789         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4791 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4793         * resolv/gethnamaddr.c: Add comment warning that the file is
4794         not maintained.
4796 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4798         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4799         entries.
4801         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4802         entry for aio_cancel and aio_cancel64.
4803         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4804         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4805         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4806         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4807         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4808         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4809         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4810         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4811         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4812         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4813         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4814         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4815         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4817 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4819         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4820         * nptl/pthread_mutex_lock.c: Likewise.
4821         * nptl/pthread_mutex_timedlock.c: Likewise.
4822         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4824 2014-07-01  Richard henderson  <rth@redhat.com>
4826         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4827         (__isnan, __isnanl): Remove.
4828         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4830         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4832 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4834         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4836 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4838         * resolv/nss_dns/dns-host.c (getanswer_r)
4839         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4841 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4843         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4844         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4845         undefine.
4846         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4847         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4849 2014-07-01  Roland McGrath <roland@hack.frob.com>
4851         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4852         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4854         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4855         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4857         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4858         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4859         ... here.
4860         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4861         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4863         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4864         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4865         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4866         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4868         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4869         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4870         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4871         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4872         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4873         Moved ...
4874         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4875         ... here.
4876         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4877         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4878         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4879         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4880         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4881         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4882         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4883         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4884         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4885         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4886         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4887         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4888         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4889         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4890         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4891         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4892         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4893         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4894         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4895         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4896         ... here.
4897         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4898         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4899         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4900         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4901         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4902         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4903         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4904         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4906 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4908         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4909         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4910         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4911         Add sysdep.
4913 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4917 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4919         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4920         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4922         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4924         * sysdeps/arm/libm-test-ulps: Regenerated.
4926 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4927             Roland McGrath <roland@hack.frob.com>
4929         * test-skeleton.c (signal_handler): Kill the whole process group
4930         before killing the child individually.
4931         (main): Report any failure on `setpgid'.
4933 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4935         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4936         from _TLS_H to _ARM_NPTL_TLS_H.
4937         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4938         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4940 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4942         [BZ #16539]
4943         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4944         (__expm1l): Return argument unchanged when small but not
4945         subnormal.
4947         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4948         include macro name.
4949         (_FP_UNPACK_RAW_1_P): Likewise.
4950         (_FP_PACK_RAW_1): Likewise.
4951         (_FP_PACK_RAW_1_P): Likewise.
4952         (_FP_MUL_MEAT_1_wide): Likewise.
4953         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4954         (_FP_MUL_MEAT_1_hard): Likewise.
4955         (_FP_DIV_MEAT_1_imm): Likewise.
4956         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4957         (_FP_DIV_MEAT_1_udiv): Likewise.
4958         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4959         (_FP_UNPACK_RAW_2): Likewise.
4960         (_FP_UNPACK_RAW_2_P): Likewise.
4961         (_FP_PACK_RAW_2): Likewise.
4962         (_FP_PACK_RAW_2_P): Likewise.
4963         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4964         (_FP_MUL_MEAT_2_wide): Likewise.
4965         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4966         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4967         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4968         (_FP_MUL_MEAT_2_gmp): Likewise.
4969         (_FP_DIV_MEAT_2_udiv): Likewise.
4970         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4971         (_FP_FRAC_SRL_4): Likewise.
4972         (_FP_FRAC_SRST_4): Likewise.
4973         (_FP_FRAC_SRS_4): Likewise.
4974         (_FP_UNPACK_RAW_4): Likewise.
4975         (_FP_UNPACK_RAW_4_P): Likewise.
4976         (_FP_PACK_RAW_4): Likewise.
4977         (_FP_PACK_RAW_4_P): Likewise.
4978         (_FP_MUL_MEAT_DW_4_wide): Likewise.
4979         (_FP_MUL_MEAT_4_wide): Likewise.
4980         (_FP_MUL_MEAT_4_gmp): Likewise.
4981         (umul_ppppmnnn): Likewise.
4982         (_FP_DIV_MEAT_4_udiv): Likewise.
4983         (__FP_FRAC_ADD_4): Likewise.
4984         (__FP_FRAC_SUB_3): Likewise.
4985         (__FP_FRAC_SUB_4): Likewise.
4986         (__FP_FRAC_DEC_3): Likewise.
4987         (__FP_FRAC_DEC_4): Likewise.
4988         (__FP_FRAC_ADDI_4): Likewise.
4989         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4990         (_FP_FRAC_SRL_8): Likewise.
4991         (_FP_FRAC_SRS_8): Likewise.
4993         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4994         include macro name.
4995         (FP_UNPACK_RAW_EP): Likewise.
4996         (FP_PACK_RAW_E): Likewise.
4997         (FP_PACK_RAW_EP): Likewise.
4998         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4999         (_FP_ISSIGNAN): Likewise.
5000         (_FP_ADD_INTERNAL): Likewise.
5001         (_FP_FMA): Likewise.
5002         (_FP_CMP): Likewise.
5003         (_FP_SQRT): Likewise.
5004         (_FP_TO_INT): Likewise.
5005         (_FP_FROM_INT): Likewise.
5006         (FP_EXTEND): Likewise.
5007         (_FP_DIV_MEAT_N_loop): Likewise.
5009 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5011         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5012         throughout.
5014 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5016         [BZ #17097]
5017         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5018         result with correct sign in case of exponents that produce
5019         overflow except for X very close to 1.
5021 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5023         mktime: merge #if/#ifdef usage from glibc
5024         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5025         as that works with both Glibc's and Gnulib's style.
5026         See thread starting at Siddhesh Poyarekar's bug report at:
5027         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5029 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5031         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5032         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5033         * sysdeps/tile/tilegx/memmove.c: Remove file.
5035 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5037         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5038         abi-name definition.
5039         * scripts/soversions.awk: Do not handle or generate ABI lines.
5040         * shlib-versions: Remove ABI entries.
5041         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5042         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5044 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5047         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5048         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5049         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5051         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5053         Moved ...
5054         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5055         ... here.
5056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5057         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5059         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5061         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5063         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5065         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5067         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5069         Moved ...
5070         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5072         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5074         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5076         Moved ...
5077         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5079         Moved ...
5080         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5082         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5084         Moved ...
5085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5087         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5089         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5091         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5093         Moved ...
5094         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5096         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5097         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5098         Moved ...
5099         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5101         Moved ...
5102         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5104         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5106         Moved ...
5107         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5108         ... here.
5109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5110         Identical file removed.
5111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5112         Moved ...
5113         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5115         Identical file removed.
5116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5117         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5119         Moved ...
5120         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5122         Identical file removed.
5123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5124         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5126         Identical file removed.
5127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5128         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5130         Identical file removed.
5131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5132         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5134         Identical file removed.
5135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5136         Moved ...
5137         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5139         Identical file removed.
5140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5141         Moved ...
5142         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5144         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5146         Identical file removed.
5147         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5148         Moved ...
5149         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5150         ... here.
5151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5152         Identical file removed.
5153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5154         Moved ...
5155         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5157         Identical file removed.
5158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5159         Moved ...
5160         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5162         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5165         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5166         Moved ...
5167         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5168         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5169         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5171         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5172         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5173         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5174         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5175         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5177 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5179         [BZ #17092]
5180         * nscd/nscd.c (monitor_child): Return exit status of child
5181         instead of return value from wait syscall.
5183 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5185         * configure.ac (libc_commonpagesize): Remove variable.
5186         (libc_relro_required): Likewise.
5187         (libc_cv_z_relro): Remove configure test.
5188         * configure: Regenerated.
5189         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5190         variable.
5191         (libc_relro_required): Likewise.
5192         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5193         (libc_relro_required): Likewise.
5194         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5195         (libc_relro_required): Likewise.
5196         * sysdeps/arm/preconfigure: Regenerated.
5197         * sysdeps/ia64/preconfigure: Remove file.
5198         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5199         variable.
5200         (libc_relro_required): Likewise.
5202         [BZ #16561]
5203         [BZ #16562]
5204         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5205         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5206         recompute overflowing results in original rounding mode.
5207         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5208         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5209         recompute overflowing results in original rounding mode.
5210         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5211         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5212         recompute overflowing results in original rounding mode.
5213         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5214         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5215         recompute overflowing results in original rounding mode.
5216         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5217         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5218         recompute overflowing results in original rounding mode.
5219         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5220         (libc_feholdsetround_ctx): New macro.
5221         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5222         * sysdeps/i386/fpu/libm-test-ulps: Update.
5223         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5225 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5227         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5228         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5229         corresponding .cpsetup call.
5231 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5233         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5234         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5235         * sysdeps/arm/Makefile [$(subdir) = csu]
5236         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5237         (static-only-routines): Add aeabi_read_tp here.
5238         (shared-only-routines): Add libc-aeabi_read_tp here.
5239         (CFLAGS-libc-start.c): Add -fexceptions here.
5240         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5241         (sysdep_routines, static-only-routines, shared-only-routines):
5242         Don't add to these here.
5243         (CFLAGS-libc-start.c): Likewise.
5245         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5246         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5247         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5248         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5249         * sysdeps/arm/Makefile [$(subdir) = rt]
5250         (librt-sysdep_routines, librt-shared-only-routines):
5251         Append rt-aeabi_unwind_cpp_pr1 here.
5252         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5253         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5254         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5255         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5256         Append nptl-aeabi_unwind_cpp_pr1 here.
5257         (tests): Filter out tst-cleanupx4 here.
5258         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5259         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5260         Don't do those here.
5262 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5264         * scripts/list-sources.sh: Do not handle ports specially.
5266 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5268         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5269         * sysdeps/arm/feupdateenv.c: Likewise.
5271         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5273 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5275         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5276         trailing whitespace removed.
5277         * scripts/config.guess: Update to version 2014-03-23.
5278         * scripts/config.sub: Update to version 2014-05-01
5279         * scripts/install-sh: Update to version 2013-12-25.23.
5280         * scripts/move-if-change: Update from gnulib.
5282 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5284         * debug/memmove_chk.c: Remove pagecopy.h include.
5286 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5288         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5289         identical to gnulib mktime.
5291 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5293         * configure.ac: Do not test for machine being rs6000.  Do not test
5294         for powerpc*-*soft.
5295         * configure: Regenerated.
5297         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5298         test.
5299         * configure: Regenerated.
5300         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5301         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5302         Remove configure test.
5303         * sysdeps/arm/configure: Regenerated.
5304         * sysdeps/nptl/configure.ac: Do not check
5305         libc_cv_asm_cfi_directives.
5306         * sysdeps/nptl/configure: Regenerated.
5307         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5308         * sysdeps/x86_64/nptl/configure: Remove generated file.
5309         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5310         unconditional.
5311         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5313 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5315         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5316         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5317         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5318         it is defined.
5320         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5321         instead of whether it is defined.
5322         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5323         * sysdeps/hppa/dl-machine.h: Likewise.
5324         * sysdeps/ia64/dl-machine.h: Likewise.
5325         * sysdeps/m68k/dl-machine.h: Likewise.
5326         * sysdeps/microblaze/dl-machine.h: Likewise.
5327         * sysdeps/mips/dl-machine.: Likewise.
5328         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5329         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5330         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5331         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5332         * sysdeps/sh/dl-machine.h: Likewise.
5333         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5334         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5335         * sysdeps/tile/dl-machine.h: Likewise.
5336         * sysdeps/x86_64/dl-machine.h: Likewise.
5338         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5339         code.
5340         (verify_persistent_db): Likewise.
5342 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5345         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5347         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5349         Moved ...
5350         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5351         ... here.
5352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5353         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5355         Identical file removed.
5356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5357         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5359         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5361         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5363         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5365         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5367         Moved ...
5368         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5370         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5372         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5374         Moved ...
5375         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5377         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5379         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5381         Identical file removed.
5382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5383         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5385         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5387         Moved ...
5388         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5389         ... here.
5390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5391         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5393         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5395         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5397         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5399         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5401         Moved ...
5402         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5404         Moved ...
5405         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5407         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5409         Moved ...
5410         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5412         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5414         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5415         folded into ...
5416         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5417         * sysdeps/unix/sysv/linux/s390/Versions
5418         (libpthread: GLIBC_2.19): New version set.
5419         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5420         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5421         (librt: GLIBC_2.3.3): New version set.
5422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5423         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5424         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5425         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5426         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5427         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5428         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5429         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5430         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5431         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5432         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5433         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5434         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5435         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5436         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5437         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5438         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5439         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5440         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5441         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5442         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5443         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5444         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5445         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5446         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5447         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5448         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5449         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5450         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5451         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5452         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5453         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5455         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5458         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5460         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5462         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5464         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5466         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5468         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5469         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5470         (__libc_vfork): Define the function under this name.
5471         [!NOT_IN_libc] (__vfork): Make this an alias.
5472         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5474         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5475         (__libc_vfork): Define the function under this name.
5476         [!NOT_IN_libc] (__vfork): Make this an alias.
5477         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5478         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5479         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5481         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5482         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5484         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5485         code that was previously under [RESET_PID].
5486         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5487         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5490         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5491         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5492         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5493         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5494         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5495         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5496         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5497         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5498         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5499         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5500         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5501         Moved ...
5502         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5503         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5504         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5505         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5506         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5507         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5508         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5509         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5510         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5511         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5512         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5513         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5514         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5515         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5516         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5517         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5518         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5519         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5520         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5521         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5522         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5523         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5524         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5525         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5526         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5527         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5528         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5529         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5530         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5532 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5534         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5535         that was previously under [RESET_PID].
5536         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5538 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5540         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5541         not undefine and redefine.
5542         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5543         [O_CLOEXEC]: Make code unconditional.
5544         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5545         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5546         <kernel-features.h>.
5547         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5548         conditional variable definition.
5549         (shm_open) [O_CLOEXEC]: Make code unconditional.
5550         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5551         code.
5553         * configure.ac (USE_REGPARMS): Don't define here.
5554         * configure: Regenerated.
5555         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5556         * sysdeps/i386/configure: Regenerated.
5558         * nptl/createthread.c: Don't include kernel-features.h.
5559         * nptl/pthread_cancel.c: Likewise.
5560         * nptl/pthread_condattr_setclock.c: Likewise.
5561         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5562         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5563         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5564         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5565         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5566         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5567         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5568         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5570         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5571         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5572         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5573         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5574         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5575         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5576         * nscd/gai.c: Likewise.
5577         * nss/nss_db/db-open.c: Likewise.
5578         * sysdeps/generic/ldsodefs.h: Likewise.
5579         * sysdeps/sh/nptl/tls.h: Likewise.
5580         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5581         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5582         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5583         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5584         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5585         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5586         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5587         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5588         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5589         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5590         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5591         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5592         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5593         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5594         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5595         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5596         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5597         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5598         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5599         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5602         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5603         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5604         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5605         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5606         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5608         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5609         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5610         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5611         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5612         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5613         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5614         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5615         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5616         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5617         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5618         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5619         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5620         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5621         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5622         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5623         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5624         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5625         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5626         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5627         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5628         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5629         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5630         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5631         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5632         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5633         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5634         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5635         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5636         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5637         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5660         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5661         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5662         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5663         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5664         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5665         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5666         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5667         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5668         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5669         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5670         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5671         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5672         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5673         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5674         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5675         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5676         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5677         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5678         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5679         * sysdeps/unix/sysv/linux/system.c: Likewise.
5680         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5681         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5682         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5683         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5684         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5685         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5686         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5688         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5689         * configure: Regenerated.
5690         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5692         * configure.ac (base_machine): Do not set specially for particular
5693         machines here.
5694         * configure: Regenerated.
5695         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5696         settings from configure.ac.
5697         * sysdeps/i386/preconfigure: New file.
5698         * sysdeps/s390/preconfigure: Likewise.
5699         * sysdeps/sh/preconfigure: Likewise.
5700         * sysdeps/sparc/preconfigure: Likewise.
5702 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5704         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5705         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5706         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5707         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5708         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5709         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5710         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5711         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5712         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5713         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5714         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5715         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5716         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5717         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5719         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5720         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5721         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5722         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5724         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5725         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5726         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5727         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5728         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5729         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5730         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5731         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5732         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5733         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5734         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5735         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5736         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5737         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5738         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5739         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5740         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5741         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5742         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5743         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5744         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5745         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5746         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5747         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5748         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5749         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5750         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5751         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5752         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5753         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5754         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5755         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5756         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5757         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5758         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5759         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5760         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5761         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5764         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5766         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5768         Moved ...
5769         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5770         ... here.
5771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5772         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5774         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5776         Moved ...
5777         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5779         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5781         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5783         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5785         Moved ...
5786         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5788         Moved ...
5789         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5791         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5793         Moved ...
5794         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5796         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5798         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5800         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5802         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5804         Moved ...
5805         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5806         ... here.
5807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5808         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5810         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5812         Moved ...
5813         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5815         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5817         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5819         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5821         Moved ...
5822         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5824         Moved ...
5825         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5827         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5829         Moved ...
5830         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5832         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5834         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5836 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5838         * timezone/checktab.awk: Update from tzcode 2014e.
5839         * timezone/private.h: Likewise.
5840         * timezone/tzfile.h: Likewise.
5841         * timezone/zdump.c: Likewise.
5842         * timezone/zic.c: Likewise.
5844         * sysdeps/unix/sysv/linux/kernel-features.h
5845         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5846         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5847         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5848         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5849         Remove conditional code.
5851 2014-06-25  Will Newton  <will.newton@linaro.org>
5853         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5854         (_dl_arm_cap_flags): Add HWCAP2 values.
5855         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5856         (_DL_HWCAP_COUNT): Increase to 37.
5857         (_DL_HWCAP_LAST): New define.
5858         (_DL_HWCAP2_LAST): New define.
5859         (_dl_procinfo): Add support for printing
5860         AT_HWCAP2 entries.
5861         (_dl_string_hwcap): Use _dl_hwcap_string.
5863 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5867 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5869         * README: Do not mention ports directory.
5871         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5872         Remove macro.
5873         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5874         <kernel-features.h>.
5875         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5876         conditional variable definition.
5877         (__futimes): Update comment.
5878         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5879         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5881         [BZ #16560]
5882         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5883         arguments close to 0.
5884         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5885         Likewise.
5886         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5887         Likewise.
5888         * math/auto-libm-test-in: Add more tests of exp10.
5889         * math/auto-libm-test-out: Regenerated.
5890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5892         * sysdeps/unix/sysv/linux/kernel-features.h
5893         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5894         * sysdeps/unix/sysv/linux/readv.c: Do not include
5895         <kernel-features.h>.
5896         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5897         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5898         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5899         unconditional.
5900         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5901         conditional code.
5902         * sysdeps/unix/sysv/linux/writev.c: Do not include
5903         <kernel-features.h>.
5904         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5905         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5906         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5907         unconditional.
5908         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5909         conditional code.
5911 2014-06-25  Will Newton  <will.newton@linaro.org>
5913         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5914         comment changes throughout the file.  Remove checks
5915         for HAVE_*_H definitions that are not required.
5916         (__gen_tempname): Call abort if an unknown kind value is
5917         passed.
5919 2014-06-25  Andreas Schwab  <schwab@suse.de>
5921         [BZ #17086]
5922         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5923         scalbln, scalblnf, scalblnl in libc.
5925 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5927         [BZ #17086]
5928         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5929         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5930         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5932 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5934         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5935         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5936         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5937         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5938         Update #include.
5939         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5940         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5941         Update #include.
5942         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5943         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5944         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5945         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5946         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5947         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5948         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5949         * sysdeps/x86/bits/semaphore.h: ... here.
5950         * sysdeps/x86/nptl/elide.h: Moved ...
5951         * sysdeps/x86/elide.h: ... here.
5952         * sysdeps/x86_64/nptl/Implies: File removed.
5953         * sysdeps/i386/nptl/Implies: File removed.
5955 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5957         [BZ #16539]
5958         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5959         return the argument for normal arguments with exponent below -64.
5960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5961         Likewise.
5962         * math/auto-libm-test-in: Add another test of expm1.
5963         * math/auto-libm-test-out: Regenerated.
5965         [BZ #16287]
5966         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5967         calling __erfcl for arguments at least 16.
5968         * math/auto-libm-test-in: Add more tests of erf.
5969         * math/auto-libm-test-out: Regenerated.
5971         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5972         individual architectures.
5973         * sysdeps/unix/sysv/linux/configure: Regenerated.
5974         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5975         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5976         * sysdeps/unix/sysv/linux/powerpc/configure.ac
5977         (ldd_rewrite_script): Define variable.
5978         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5980         file.
5981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5982         generated file.
5983         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5984         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5985         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5986         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5987         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5988         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5989         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5990         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5992 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5994         [BZ #17084]
5995         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5996         Rename member __data.d to __data.__elision_data.
5998 2014-06-24  Wilco  <wdijkstr@arm.com>
6000         * NEWS: Add 16918 to fixed bug list.
6002 2014-06-24  Wilco  <wdijkstr@arm.com>
6004         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6006 2014-06-24  Wilco  <wdijkstr@arm.com>
6008         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6009         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6010         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6011         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6012         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6013         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6014         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6015         Use _FPU_MASK_RM.
6017 2014-06-24  Wilco  <wdijkstr@arm.com>
6019         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6021 2014-06-24  Wilco  <wdijkstr@arm.com>
6023         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6024         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6025         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6026         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6028 2014-06-24  Wilco  <wdijkstr@arm.com>
6030         [BZ #16918]
6031         * sysdeps/arm/feupdateenv.c (feupdateenv):
6032         Rewrite to reduce FPSCR accesses and fix return value.
6034 2014-06-24  Wilco  <wdijkstr@arm.com>
6036         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6037         Optimize to avoid unnecessary FPSCR writes.
6038         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6039         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6040         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6041         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6043 2014-06-24  Wilco  <wdijkstr@arm.com>
6045         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6046         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6047         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6048         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6049         Call libc_fetestexcept_vfp.
6050         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6051         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6052         __SOFTFP__ ifdef so that they can be built for softfp.
6054 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6056         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6057         argument type signed char.
6059         * Makerules (check-abi): Dump diff of symlist if the test
6060         fails.
6062 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6064         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6065         using abort.
6067         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6068         Remove unused variable ST.
6070 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6072         [BZ #16354]
6073         [BZ #17061]
6074         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6075         small arguments before calling __expm1.
6076         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6077         small arguments before calling __expm1f.
6078         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6079         small arguments before calling __expm1l.
6080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6081         Likewise.
6082         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6083         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6084         spurious underflow for some cosh tests.
6085         * math/auto-libm-test-out: Regenerated.
6086         * sysdeps/i386/fpu/libm-test-ulps: Update.
6088         [BZ #17050]
6089         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6090         (__ieee754_y1): Set errno if return value overflows.
6091         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6092         (__ieee754_y1f): Set errno if return value overflows.
6093         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6094         (__ieee754_y1l): Set errno if return value overflows.
6095         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6096         (__ieee754_y1l): Set errno if return value overflows.
6097         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6098         * math/auto-libm-test-out: Regenerated.
6100         * math/gen-auto-libm-tests.c: Document use of
6101         ignore-zero-inf-sign.
6102         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6103         (input_flags): Add ignore-zero-inf-sign.
6104         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6105         * math/gen-libm-test.pl (generate_testfile): Handle
6106         ignore-zero-inf-sign.
6107         * math/auto-libm-test-in: Mark some cpow tests with
6108         ignore-zero-inf-sign and some with xfail-rounding.
6109         * math/auto-libm-test-out: Regenerated.
6110         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6111         * sysdeps/i386/fpu/libm-test-ulps: Update.
6112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6114         [BZ #16315]
6115         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6116         overflowing or underflowing operations take place with sign of
6117         result.
6118         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6119         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6120         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6121         (__ieee754_pow): Recompute overflowing and underflowing results in
6122         original rounding mode.
6123         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6124         (__powl_helper): Allow negative argument X and scale negated value
6125         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6126         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6127         overflowing or underflowing operations take place with sign of
6128         result.
6129         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6130         Include <math.h>.
6131         * math/auto-libm-test-in: Add more tests of pow.
6132         * math/auto-libm-test-out: Regenerated.
6133         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6134         (pow_tonearest_test_data): Remove.
6135         (pow_test_tonearest): Likewise.
6136         (pow_towardzero_test_data): Likewise.
6137         (pow_test_towardzero): Likewise.
6138         (pow_downward_test_data): Likewise.
6139         (pow_test_downward): Likewise.
6140         (pow_upward_test_data): Likewise.
6141         (pow_test_upward): Likewise.
6142         (main): Don't call removed functions.
6143         * sysdeps/i386/fpu/libm-test-ulps: Update.
6144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6146 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6149         Moved ...
6150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6152         Moved ...
6153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6155         Moved ...
6156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6158         Moved ...
6159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6161         File removed.
6162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6163         File removed.
6164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6165         File removed.
6166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6167         File removed.
6168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6169         File removed.
6170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6171         File removed.
6172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6173         File removed.
6174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6175         File removed.
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6177         File removed.
6178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6179         File removed.
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6181         File removed.
6182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6183         File removed.
6184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6185         Moved ...
6186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6188         Moved ...
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6190         ... here.
6191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6192         Moved ...
6193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6195         Moved ...
6196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6198         Moved ...
6199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6201         Moved ...
6202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6204         Moved ...
6205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6207         Moved ...
6208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6210         Moved ...
6211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6214         ... here.
6215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6216         Moved ...
6217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6219         Moved ...
6220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6221         ... here.
6222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6223         Moved ...
6224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6225         ... here.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6227         Moved ...
6228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6229         ... here.
6230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6231         Moved ...
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6239         Moved ...
6240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6241         ... here.
6242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6243         Moved ...
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6245         ... here.
6246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6247         Moved ...
6248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6250         Moved ...
6251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6253         Moved ...
6254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6256         Moved ...
6257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6259         Moved ...
6260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6261         ... here.
6262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6263         Moved ...
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6269         Moved ...
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6272         Moved ...
6273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6277         Moved ...
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6280         Moved ...
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6283         Moved ...
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6285         ... here.
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6287         Moved ...
6288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6289         ... here.
6290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6291         Moved ...
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6293         ... here.
6294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6298         Moved ...
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6301         Moved ...
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6304         Moved ...
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6306         ... here.
6307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6308         Moved ...
6309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6310         ... here.
6311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6312         Moved ...
6313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6314         ... here.
6315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6316         Moved ...
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6319         Moved ...
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6322 2014-06-23  Will Newton  <will.newton@linaro.org>
6323             Wilco  <wdijkstr@arm.com>
6325         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6326         implementation.  Include get-rounding-mode.h.
6327         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6328         [!libc_feholdsetround_noex_ctx]: Define
6329         libc_feholdsetround_noex_ctx.
6330         [!libc_feholdsetround_noexf_ctx]: Define
6331         libc_feholdsetround_noexf_ctx.
6332         [!libc_feholdsetround_noexl_ctx]: Define
6333         libc_feholdsetround_noexl_ctx.
6334         (libc_feholdsetround_ctx): New function.
6335         (libc_feresetround_ctx): New function.
6336         (libc_feholdsetround_noex_ctx): New function.
6337         (libc_feresetround_noex_ctx): New function.
6339 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6341         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6342         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6343         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6344         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6345         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6346         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6348         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6349         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6350         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6351         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6352         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6353         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6355         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6357         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6359         Moved ...
6360         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6361         ... here.
6362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6363         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6365         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6367         Moved ...
6368         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6370         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6372         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6373         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6374         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6376         Moved ...
6377         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6378         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6379         Moved ...
6380         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6381         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6382         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6383         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6384         Moved ...
6385         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6387         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6388         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6389         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6390         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6391         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6392         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6393         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6395         Moved ...
6396         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6397         ... here.
6398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6399         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6401         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6403         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6405         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6407         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6409         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6411         Moved ...
6412         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6413         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6414         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6415         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6416         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6417         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6418         Moved ...
6419         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6420         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6421         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6422         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6423         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6425         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6426         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6427         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6428         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6429         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6430         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6431         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6432         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6433         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6434         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6435         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6436         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6437         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6438         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6439         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6440         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6441         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6442         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6443         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6444         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6445         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6446         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6447         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6448         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6449         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6450         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6452         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6454 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6457         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6458         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6459         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6460         (IPV6_PMTUDISC_INTERFACE): Likewise.
6461         (IPV6_PMTUDISC_OMIT): Likewise.
6463 2014-06-23  Andreas Schwab  <schwab@suse.de>
6465         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6466         Remove unused errout label.
6468 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6470         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6471         macro: hardware supports Vector Crypto instructions.
6473 2014-06-23  Will Newton  <will.newton@linaro.org>
6475         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6476         rather than __builtin_expect.
6478         * elf/dl-lookup.c (undefined_msg): Remove variable.
6479         (_dl_lookup_symbol_x): Replace undefined_msg with string
6480         literal.
6482         * elf/dl-lookup.c (do_lookup_unique): New function.
6483         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6484         to a separate function.
6486 2014-06-23  Andreas Schwab  <schwab@suse.de>
6488         [BZ #17079]
6489         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6490         before reading the next line.
6492 2014-06-23  Will Newton  <will.newton@linaro.org>
6494         * test-skeleton.c (signal_handler): Use printf and %m
6495         rather than perror.  Use printf rather than fprintf to
6496         stderr.  Use puts rather than fputs to stderr.
6497         (main): Likewise.
6499 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6501         * nscd/nscd.c (thread_info_t): Remove typedef.
6502         (thread_info): Remove variable.
6504 2014-06-21  Allan McRae  <allan@archlinux.org>
6506         * NEWS: Mention CVE-2014-4043.
6508 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6510         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6511         * nptl/smp.h: ... here.
6513         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6515         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6516         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6517         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6518         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6520         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6521         * nptl/stack-aliasing.h: New file.
6522         * sysdeps/i386/i686/stack-aliasing.h: New file.
6523         * sysdeps/i386/i686/nptl/Makefile: File removed.
6524         * sysdeps/x86_64/stack-aliasing.h: New file.
6525         * sysdeps/x86_64/nptl/Makefile
6526         (CFLAGS-pthread_create.c): Variable removed.
6528         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6529         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6530         old file.
6531         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6532         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6533         old file.
6535 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
6537         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6538         (__ASSUME_SIGFRAME_V2): Remove macro.
6539         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6540         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6541         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6542         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6543         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6544         Declare as function.  Remove conditional macro definitions.
6545         (__default_rt_sa_restorer): Likewise.
6546         (__default_sa_restorer_v1): Remove declaration.
6547         (__default_sa_restorer_v2): Likewise.
6548         (__default_rt_sa_restorer_v1): Likewise.
6549         (__default_rt_sa_restorer_v2): Likewise.
6550         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6551         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6552         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6554 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6556         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6557         (libpthread-routines): Add sysdep.
6558         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6559         * sysdeps/unix/sysv/linux/sparc/Versions
6560         (libpthread: GLIBC_2.3.3): New version set.
6561         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6562         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6563         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6564         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6565         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
6566         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6567         Moved ...
6568         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6570         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6571         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6572         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6573         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6574         * sysdeps/sparc/nptl/sem_init.c: ... here.
6575         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6576         * sysdeps/sparc/nptl/sem_post.c: ... here.
6577         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6578         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6579         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6580         * sysdeps/sparc/nptl/sem_wait.c: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6582         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6583         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6584         (libpthread-routines): Add cpu_relax.
6585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6586         File removed.
6587         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6588         (librt: GLIBC_2.3.3): New version set.
6589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6590         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6591         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6592         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6595         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6597         Moved ...
6598         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6600         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6602         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6604         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6606         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6608         Moved ...
6609         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6610         Update #include.
6611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6612         Moved ...
6613         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6614         Update #include.
6615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6616         Moved ...
6617         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6618         Update #include.
6619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6620         Moved ...
6621         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6622         Update #include.
6623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6624         Moved ...
6625         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6626         Update #include.
6627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6628         Moved ...
6629         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6630         Update #include.
6631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6632         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6634         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6638         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6640         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6642         Moved ...
6643         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6645         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6647         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6649 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6651         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6652         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6653         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6654         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6655         * nscd/nscd.c: Likewise.
6656         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6657         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6658         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6659         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6661         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6662         <kernel-features.h>.
6663         (init_mq_netlink): Remove conditional have_sock_cloexec
6664         definitions.  Remove code conditional on have_sock_cloexec < 0.
6665         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6666         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6667         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6668         <kernel-features.h>.
6669         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6670         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6672 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6675         Add tests for memset_chk and memset.
6677         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6678         with AVX2_Usable.
6680 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6682         [BZ #16046]
6683         * elf/tst-dl-iter-static.c: New file.
6684         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6686         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6687         error.
6689 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6691         * sysdeps/unix/sysv/linux/kernel-features.h
6692         (__ASSUME_F_GETOWN_EX): Remove macro.
6693         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6694         <kernel-features.h>.
6695         (miss_F_GETOWN_EX): Remove variable or macro.
6696         (do_fcntl): Do not check miss_F_GETOWN_EX.
6697         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6699         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6700         Remove macro.
6701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6702         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6703         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6705         * sysdeps/unix/sysv/linux/kernel-features.h
6706         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6707         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6708         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6709         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6711 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6713         [BZ #17075]
6714         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6715         Fix calculation of the symbol's value.
6716         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6717         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6718         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6719         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6720         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6721         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6722         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6723         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6724         (modules-names): Add `tst-armtlsdescmod',
6725         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6726         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6727         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6728         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6729         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6730         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6731         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6732         ($(objpfx)tst-armtlsdescloc): New dependency.
6733         ($(objpfx)tst-armtlsdescextnow): Likewise.
6734         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6735         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6736         TLS scheme support.
6737         * sysdeps/arm/configure: Regenerate.
6739 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6741         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6742         (__atfct_seterrno_2): Likewise.
6743         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6744         <kernel-features.h>.
6745         (__ASSUME_ATFCTS): Do not undefine and redefine.
6746         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6747         (__have_atfcts): Remove conditional definition.
6748         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6749         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6750         unreachable if [__ASSUME_ATFCTS].
6751         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6752         not undefine and redefine.
6753         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6754         <kernel-features.h>.
6755         (faccessat) [__NR_faccessat]: Make code unconditional.
6756         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6757         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6758         <kernel-features.h>.
6759         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6760         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6761         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6762         <kernel-features.h>.
6763         (fchownat) [__NR_fchownat]: Make code unconditional.
6764         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6765         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6766         <kernel-features.h>.
6767         (futimesat) [__NR_futimesat]: Make code unconditional.
6768         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6769         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6770         <kernel-features.h>.
6771         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6772         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6773         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6774         <kernel-features.h>.
6775         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6776         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6777         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6778         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6779         <kernel-features.h>.
6780         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6781         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6782         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6783         <kernel-features.h>.
6784         (linkat) [__NR_linkat]: Make code unconditional.
6785         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6786         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6787         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6788         <kernel-features.h>.
6789         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6790         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6791         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6792         <kernel-features.h>.
6793         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6794         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6795         * sysdeps/unix/sysv/linux/openat.c: Do not include
6796         <kernel-features.h>.
6797         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6798         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6799         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6800         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6801         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6802         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6803         <kernel-features.h>.
6804         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6805         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6806         result of INLINE_SYSCALL directly, not via int variable.
6807         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6808         <kernel-features.h>.
6809         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6810         (renameat) [__NR_renameat]: Make code unconditional.
6811         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6812         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6813         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6814         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6815         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6816         (__ASSUME_ATFCTS): Do not undefine and redefine.
6817         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6818         <kernel-features.h>.
6819         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6820         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6821         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6822         <kernel-features.h>.
6823         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6824         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6825         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6826         (__ASSUME_ATFCTS): Do not undefine and redefine.
6827         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6828         <kernel-features.h>.
6829         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6830         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6831         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6832         <kernel-features.h>.
6833         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6834         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6836 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6838         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6840 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6842         [BZ #17069]
6843         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6844         constructed tree before returning error.
6845         * posix/bug-regexp36.c: Expand test case.
6847 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6849         [BZ #6803]
6850         * math/libm-test.inc (scalbln_test_date):
6851         Add errno expectations.
6852         * math/w_scalblnf.c: New File.
6853         Add wrapper which checks for setting errno to ERANGE.
6854         Add weak_alias for corresponding scalbln function.
6855         * math/w_scalbln.c: Likewise.
6856         * math/w_scalblnl.c: Likewise.
6857         * math/Makefile (libm-calls): Add w_scalbln.
6858         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6859         Remove weak_alias for corresponding scalbln function.
6860         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6861         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6862         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6863         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6864         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6865         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6866         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6867         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6868         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6869         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6870         Remove long_double_symbol for scalblnl function in libm, libc.
6871         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6872         Add wrapper which checks for setting errno to ERANGE.
6873         Add long_double_symbol for scalblnl function in libm, libc.
6874         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6875         Remove long_double_symbol for scalblnl in libm.
6876         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6877         Add wrapper which checks for setting errno to ERANGE.
6878         Add long_double_symbol for scalblnl function in libm.
6879         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6880         Do not use wrapper because of own implementation.
6882 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6884         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6885         3 bytes for __pad1 for x32.
6886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6888 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6889             H.J. Lu  <hongjiu.lu@intel.com>
6891         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6892         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6893         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6894         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6895         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6897 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6899         [BZ #17069]
6900         * posix/regcomp.c (parse_expression): Deallocate partially
6901         constructed tree before returning error.
6902         * posix/Makefile.c (tests): Add bug-regex36.
6903         (generated): Add bug-regex36.mtrace.
6904         (tests-special): Add $(objpfx)bug-regex36-mem.out
6905         (bug-regex36-ENV): New variable.
6906         ($(objpfx)bug-regex36-mem.out): New rule.
6907         * posix/bug-regex36.c: New file.
6909 2014-06-19  Will Newton  <will.newton@linaro.org>
6911         * malloc/malloc.c (systrim): If extra is zero then return
6912         early.
6914 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6916         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6918 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6920         * sysdeps/aarch64/strchr.S: New file.
6922 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6924         [BZ #17022]
6925         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6926         from arguments -2 or below.
6927         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6928         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6930 2014-06-18  Andreas Schwab  <schwab@suse.de>
6932         [BZ #17062]
6933         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6934         of a bracket expr not to run off the end of the string.
6935         * posix/Makefile (tests): Add tst-fnmatch3.
6936         * posix/tst-fnmatch3.c: New file.
6938 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6940         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6941         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6942         [$(cross-compiling) = no]: Likewise.
6943         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6944         [$(cross-compiling) = no]: Likewise.
6946 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6948         [BZ #17031]
6949         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6950         double, adjusted for any remainder from the high double.
6951         * math/libm-test.inc (nearbyint): Add tests.
6952         (rint): Likewise.
6954 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6956         * nptl/sysdeps/powerpc/Makefile: Moved ...
6957         * sysdeps/powerpc/nptl/Makefile: ... here.
6958         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6959         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6960         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6961         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6962         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6963         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6964         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6965         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6966         * nptl/sysdeps/powerpc/tls.h: Moved ...
6967         * sysdeps/powerpc/nptl/tls.h: ... here.
6969 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
6971         [BZ #16681]
6972         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6973         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6974         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6975         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6976         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6977         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6978         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6979         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6980         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6982 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
6984         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6986 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
6988         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6989         defined operator.
6991         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6992         $TIMEOUTFACTOR.
6994 2014-06-16  Florian Weimer  <fweimer@redhat.com>
6996         [BZ #17058]
6997         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6998         non-executed part of the test.
7000 2014-06-16  Andreas Schwab  <schwab@suse.de>
7002         * string/bits/string2.h (strdup, strndup): Update feature guard.
7004 2014-06-14  David S. Miller  <davem@davemloft.net>
7006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7008 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7010         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7011         that was previously under [RESET_PID].
7012         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7014         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7015         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7016         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7017         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7018         (__libc_vfork): New strong alias.
7019         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7021 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7023         * sysdeps/generic/elide.h: New file.
7025 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7027         * Makefile (installed-headers): Adjust path of pthread.h header.
7029 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7031         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7032         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7033         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7034         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7036         * nptl/sysdeps/s390/Makefile: Moved ...
7037         * sysdeps/s390/nptl/Makefile: ... here.
7038         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7039         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7040         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7041         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7042         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7043         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7044         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7045         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7046         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7047         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7048         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7049         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7050         * nptl/sysdeps/s390/tls.h: Moved ...
7051         * sysdeps/s390/nptl/tls.h: ... here.
7053         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7054         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7056 2014-06-13  David S. Miller  <davem@davemloft.net>
7058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7061         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7065         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7066         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7067         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7068         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7069         Remove RESET_PID cpp guards.
7070         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7071         Remove RESET_PID cpp guards.
7072         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7074 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7076         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7077         __sp to uintptr_t.
7079 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7081         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7082         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7083         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7084         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7085         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7086         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7087         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7089         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7090         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7091         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7092         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7093         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7094         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7095         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7096         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7097         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7098         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7099         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7100         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7102         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7103         (pthread_rwlock_rdlock): Add elision.
7104         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7105         (pthread_rwlock_wrlock): Add elision.
7106         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7107         (pthread_rwlock_trywrlock): Add elision.
7108         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7109         (pthread_rwlock_tryrdlock): Add elision.
7110         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7111         (pthread_rwlock_tryrdlock): Add elision unlock.
7112         * nptl/sysdeps/pthread/pthread.h:
7113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7114         (PTHREAD_RWLOCK_INITIALIZER,
7115         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7116         Handle new elision field.
7117         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7118         * sysdeps/arm/nptl/bits/pthreadtypes.h
7119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7120         * sysdeps/sh/nptl/bits/pthreadtypes.h
7121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7122         * sysdeps/tile/nptl/bits/pthreadtypes.h
7123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7124         * sysdeps/a/nptl/bits/pthreadtypes.h
7125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7126         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7128         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7130         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7132         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7134         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7136         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7138         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7140         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7142         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7143         (elision_init): Set try_xbegin to zero when no RTM.
7144         * sysdeps/x86/nptl/bits/pthreadtypes.h
7145         (pthread_rwlock_t): Change __pad1 to __rwelision.
7146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7148 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7150         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7151         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7152         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7153         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7155 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7157         [BZ #16996]
7158         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7159         that the cached result has been set before returning it.
7161 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7163         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7164         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7165         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7166         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7167         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7168         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7170         * nptl/sysdeps/sparc/Makefile: Moved ...
7171         * sysdeps/sparc/nptl/Makefile: ... here.
7172         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7173         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7174         * nptl/sysdeps/sparc/tls.h: Moved ...
7175         * sysdeps/sparc/nptl/tls.h: ... here.
7176         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7177         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7178         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7179         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7180         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7181         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7182         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7183         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7184         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7185         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7186         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7187         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7188         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7189         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7190         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7191         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7192         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7193         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7194         Update #include.
7195         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7196         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7197         Update #include.
7198         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7200         Update #include.
7201         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7203         Update #include.
7205         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7207         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7208         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7210         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7211         (struct list_links): Type removed.
7212         (struct thread_node, struct timer_node): Replace struct list_links
7213         with struct list_head.
7214         (list_unlink_ip): Likewise.
7215         * sysdeps/pthread/timer_routines.c
7216         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7217         (list_append, list_insbefore): Likewise.
7218         (list_init): Function removed.
7219         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7220         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7221         * sysdeps/pthread/Makefile: ... here, new file.
7223         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7224         * sysdeps/nptl/Implies: ... here.
7225         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7226         * nptl/sysdeps/pthread/list.h: Moved ...
7227         * include/list.h: ... here.
7228         * nptl/sysdeps/pthread/createthread.c: Moved ...
7229         * nptl/createthread.c: ... here.
7230         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7231         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7232         * nptl/pt-longjmp.c: ... here.
7233         * nptl/sysdeps/pthread/Makefile: Moved ...
7234         * sysdeps/nptl/Makefile: ... here.
7235         * nptl/sysdeps/pthread/Subdirs: Moved ...
7236         * sysdeps/nptl/Subdirs: ... here.
7237         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7238         * sysdeps/nptl/aio_misc.h: ... here.
7239         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7240         * sysdeps/nptl/bits/libc-lock.h: ... here.
7241         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7242         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7243         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7244         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7245         * nptl/sysdeps/pthread/configure: Moved ...
7246         * sysdeps/nptl/configure: ... here.
7247         * nptl/sysdeps/pthread/configure.ac: Moved ...
7248         * sysdeps/nptl/configure.ac: ... here.
7249         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7250         * sysdeps/nptl/gai_misc.h: ... here.
7251         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7252         * sysdeps/nptl/librt-cancellation.c: ... here.
7253         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7254         * sysdeps/nptl/malloc-machine.h: ... here.
7255         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7256         * sysdeps/nptl/pthread-functions.h: ... here.
7257         * nptl/sysdeps/pthread/pthread.h: Moved ...
7258         * sysdeps/nptl/pthread.h: ... here.
7259         * nptl/sysdeps/pthread/setxid.h: Moved ...
7260         * sysdeps/nptl/setxid.h: ... here.
7261         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7262         * sysdeps/nptl/sigfillset.c: ... here.
7263         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7264         * sysdeps/nptl/tcb-offsets.h: ... here.
7265         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7266         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7267         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7268         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7269         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7270         * sysdeps/pthread/allocalim.h: ... here.
7271         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7272         * sysdeps/pthread/bits/sigthread.h: ... here.
7273         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7274         * sysdeps/pthread/flockfile.c: ... here.
7275         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7276         * sysdeps/pthread/ftrylockfile.c: ... here.
7277         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7278         * sysdeps/pthread/funlockfile.c: ... here.
7279         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7280         * sysdeps/pthread/posix-timer.h: ... here.
7281         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7282         * sysdeps/pthread/timer_create.c: ... here.
7283         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7284         * sysdeps/pthread/timer_delete.c: ... here.
7285         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7286         * sysdeps/pthread/timer_getoverr.c: ... here.
7287         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7288         * sysdeps/pthread/timer_gettime.c: ... here.
7289         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7290         * sysdeps/pthread/timer_routines.c: ... here.
7291         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7292         * sysdeps/pthread/timer_settime.c: ... here.
7293         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7294         * sysdeps/pthread/tst-timer.c: ... here.
7295         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7296         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7298         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7299         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7301         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7302         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7303         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7304         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7305         Update #include target.
7306         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7307         * sysdeps/i386/i686/nptl/Makefile: ... here.
7308         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7309         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7310         Update #include target.
7311         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7312         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7313         * nptl/sysdeps/i386/Makefile: Moved ...
7314         * sysdeps/i386/nptl/Makefile: ... here.
7315         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7316         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7317         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7318         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7319         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7320         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7321         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7322         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7323         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7324         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7325         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7326         * nptl/sysdeps/i386/tls.h: Moved ...
7327         * sysdeps/i386/nptl/tls.h: ... here.
7329         * sysdeps/sh/Makefile [$(subdir) = csu]
7330         (gen-as-const-headers): Add tcb-offsets.sym.
7331         * nptl/sysdeps/sh/Makefile: File removed.
7332         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7333         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7334         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7335         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7336         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7337         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7338         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7339         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7340         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7341         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7342         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7343         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7344         * nptl/sysdeps/sh/tls.h: Moved ...
7345         * sysdeps/sh/nptl/tls.h: ... here.
7346         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7347         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7348         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7349         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7350         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7351         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7352         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7353         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7354         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7355         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7356         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7357         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7358         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7359         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7360         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7361         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7363         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7365         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7367         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7368         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7369         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7371         Moved ...
7372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7373         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7374         Moved ...
7375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7377         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7378         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7379         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7380         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7381         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7382         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7383         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7384         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7385         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7386         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7387         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7388         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7389         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7390         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7391         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7392         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7393         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7395 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7397         * posix/spawn_faction_addopen.c: Include string.h.
7399 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7401         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7402         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7403         * nptl/sysdeps/x86_64/Makefile: Moved ...
7404         * sysdeps/x86_64/nptl/Makefile: ... here.
7405         * nptl/sysdeps/x86_64/configure: Moved ...
7406         * sysdeps/x86_64/nptl/configure: ... here.
7407         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7408         * sysdeps/x86_64/nptl/configure.ac: ... here.
7409         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7410         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7411         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7412         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7413         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7414         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7415         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7416         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7417         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7418         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7419         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7420         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7421         * nptl/sysdeps/x86_64/tls.h: Moved ...
7422         * sysdeps/x86_64/nptl/tls.h: ... here.
7423         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7424         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7425         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7426         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7428         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7430 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7434 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7436         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7437         type.
7438         [POSIX] (off_t): Likewise.
7439         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7440         [POSIX] (S_ISBLK): Require macro.
7441         [POSIX] (S_ISCHR): Likewise.
7442         [POSIX] (S_ISDIR): Likewise.
7443         [POSIX] (S_ISFIFO): Likewise.
7444         [POSIX] (S_ISREG): Likewise.
7445         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7446         optional-macro.
7447         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7448         type.
7449         [POSIX] (time_t): Likewise.
7450         [POSIX] (timer_t): Likewise.
7452 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7454         [BZ #17048]
7455         * posix/spawn_int.h (struct __spawn_action): Make the path string
7456         non-const to support deallocation.
7457         * posix/spawn_faction_addopen.c
7458         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7459         * posix/spawn_faction_destroy.c
7460         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7461         path in all spawn_do_open actions.
7462         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7463         posix_spawn_file_actions_addopen.
7465 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7467         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7468         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7469         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7470         conditional code always true.
7471         (__libc_vfork): New alias.
7473 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7475         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7476         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7478         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7480         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7481         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7483         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7484         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7486         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7487         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7489 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7491         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7492         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7493         multiarch strcmp for PPC64.
7494         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7495         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7497         multiarch optimizations.
7498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7499         (__libc_ifunc_impl_list): Likewise.
7501 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7503         * benchtests/scripts/validate_benchout.py: New script.
7504         * benchtests/Makefile (bench-func): Call it.
7505         * benchtests/scripts/benchout.schema.json: New file.
7507 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7509         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7510         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7511         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7512         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7513         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7514         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7515         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7516         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7517         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7518         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7519         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7520         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7521         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7522         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7523         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7524         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7526         Moved ...
7527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7528         ... here.
7529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7530         Moved ...
7531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7533         Moved ...
7534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7535         ... here.
7536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7537         Moved ...
7538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7539         ... here.
7540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7541         Moved ...
7542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7544         Moved ...
7545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7546         ... here.
7547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7548         Moved ...
7549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7550         ... here.
7551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7552         Moved ...
7553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7555         Moved ...
7556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7557         ... here.
7558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7559         Moved ...
7560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7561         ... here.
7562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7563         Moved ...
7564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7565         ... here.
7566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7567         Moved ...
7568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7570         Moved ...
7571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7572         ... here.
7573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7574         Moved ...
7575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7576         ... here.
7577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7578         Moved ...
7579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7580         ... here.
7581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7582         Moved ...
7583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7585         Moved ...
7586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7587         ... here.
7588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7589         Moved ...
7590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7591         ... here.
7592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7593         Moved ...
7594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7596         Moved ...
7597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7598         ... here.
7599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7600         Moved ...
7601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7603         Moved ...
7604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7606         Moved ...
7607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7608         ... here.
7609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7610         Moved ...
7611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7612         ... here.
7613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7616         ... here.
7617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7618         Moved ...
7619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7623         ... here.
7624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7625         Moved ...
7626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7627         ... here.
7628         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7629         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7631         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7633         Moved ...
7634         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7635         ... here.
7636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7637         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7639         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7641         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7643         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7645         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7647         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7649         Moved ...
7650         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7652         Moved ...
7653         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7655         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7657         Moved ...
7658         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7660         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7661         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7662         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7663         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7664         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7666 2014-06-10  Wilco  <wdijkstr@arm.com>
7668         * math/test-fenv-return.c: New file.
7669         * math/Makefile: Add new test test-fenv-return.
7671 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7673         [BZ #17042]
7674         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7675         when x - 1 is zero.
7676         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7677         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7678         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7679         0.0L for an argument of 1.0L.
7680         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7681         Likewise.
7682         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7683         value when x - 1 is zero.
7684         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7685         * sysdeps/i386/fpu/libm-test-ulps: Update.
7686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7688 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7690         [BZ #15119]
7691         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7693 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7695         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7696         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7698 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7700         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7701         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7703         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7704         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7706         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7707         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7709         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7710         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7712         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7713         if not already defined.
7714         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7715         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7716         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7717         (TLS_INIT_TP): Use it.
7718         (TLS_DEFINE_INIT_TP): New macro.
7719         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7721 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7723         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7724         constant.
7725         [POSIX] (IXANY): Likewise.
7726         [POSIX] (OLCUC): Likewise.
7727         [POSIX || POSIX2008] (CBAUD): Do not allow.
7728         [POSIX || POSIX2008] (DEFECHO): Likewise.
7729         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7730         [POSIX || POSIX2008] (ECHOKE): Likewise.
7731         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7732         [POSIX || POSIX2008] (EXTA): Likewise.
7733         [POSIX || POSIX2008] (EXTB): Likewise.
7734         [POSIX || POSIX2008] (FLUSHO): Likewise.
7735         [POSIX || POSIX2008] (LOBLK): Likewise.
7736         [POSIX || POSIX2008] (PENDIN): Likewise.
7737         [POSIX || POSIX2008] (SWTCH): Likewise.
7738         [POSIX || POSIX2008] (VDISCARD): Likewise.
7739         [POSIX || POSIX2008] (VDSUSP): Likewise.
7740         [POSIX || POSIX2008] (VLNEXT): Likewise.
7741         [POSIX || POSIX2008] (VREPRINT): Likewise.
7742         [POSIX || POSIX2008] (VSTATUS): Likewise.
7743         [POSIX || POSIX2008] (VWERASE): Likewise.
7744         (B*): Change to B[0123456789]*.
7745         * conform/data/time.h-data [POSIX || UNIX98]
7746         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7747         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7748         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7749         [POSIX] (tm_*): Do not allow.
7751 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7753         * Makefile (install): Don't set LANGUAGE.
7754         * Makefile.in (install): Likewise.
7755         * assert/Makefile (test-assert-ENV): Remove variable.
7756         (test-assert-perr-ENV): Likewise.
7757         * elf/Makefile (neededtest4-ENV): Likewise.
7758         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7759         [$(cross-compiling) = no]: Don't set LANGUAGE.
7760         * io/ftwtest-sh (LANG): Remove variable.
7761         * libio/Makefile (tst-widetext-ENV): Likewise.
7762         * manual/install.texi (Running make install): Don't refer to
7763         environment settings for make install.
7764         * INSTALL: Regenerated.
7765         * nptl/tst-tls6.sh: Don't set LANG.
7766         * posix/globtest.sh (LANG): Remove variable.
7767         * string/Makefile (tester-ENV): Likewise.
7768         (inl-tester-ENV): Likewise.
7769         (noinl-tester-ENV): Likewise.
7770         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7771         [$(cross-compiling) = no]: Don't set LANGUAGE.
7772         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7773         without explicit environment settings.
7775 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7777         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7778         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7779         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7780         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7782 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7784         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7785         other files in the crypt directory.
7786         * crypt/crypt.c: Remove duplicate includes.
7787         * crypt/crypt-entry.c: Likewise.
7788         * crypt/crypt_util.c: Likewise.
7790 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7792         * Makeconfig (run-program-env): New variable.
7793         (run-program-prefix-before-env): Likewise.
7794         (run-program-prefix-after-env): Likewise.
7795         (run-program-prefix): Define in terms of new variables.
7796         (built-program-cmd-before-env): New variable.
7797         (built-program-cmd-after-env): Likewise.
7798         (built-program-cmd): Define in terms of new variables.
7799         (test-program-prefix-before-env): New variable.
7800         (test-program-prefix-after-env): Likewise.
7801         (test-program-prefix): Define in terms of new variables.
7802         (test-program-cmd-before-env): New variable.
7803         (test-program-cmd-after-env): Likewise.
7804         (test-program-cmd): Define in terms of new variables.
7805         * Rules (make-test-out): Use $(run-program-env).
7806         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7807         (help): Do not mention environment variables.  Mention
7808         --timeoutfactor option.
7809         (timeoutfactor): New variable.
7810         (blacklist_exports): Remove function.
7811         (exports): Remove variable.
7812         (command): Do not include ${exports}.
7813         * manual/install.texi (Configuring and compiling): Do not mention
7814         test wrappers preserving environment variables.  Mention that last
7815         assignment to a variable must take precedence.
7816         * INSTALL: Regenerated.
7817         * benchtests/Makefile (run-bench): Use $(run-program-env).
7818         * catgets/Makefile ($(objpfx)test1.cat): Use
7819         $(built-program-cmd-before-env), $(run-program-env) and
7820         $(built-program-cmd-after-env).
7821         ($(objpfx)test2.cat): Do not specify environment variables
7822         explicitly.
7823         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7824         $(run-program-env) and $(built-program-cmd-after-env).
7825         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7826         $(run-program-env) and $(test-program-cmd-after-env).
7827         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7828         explicitly.
7829         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7830         run_program_env and test_program_cmd_after_env arguments.
7831         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7832         * elf/tst-pathopt.sh: Use run_program_env argument.
7833         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7834         $(test-wrapper-env) and $(run-program-env).
7835         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7836         run_program_env arguments.
7837         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7838         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7839         $(test-program-prefix-before-env), $(run-program-env) and
7840         $(test-program-prefix-after-env).
7841         ($(objpfx)tst-gettext2.out): Likewise.
7842         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7843         run_program_env and test_program_prefix_after_env arguments.
7844         * intl/tst-gettext2.sh: Likewise.
7845         * intl/tst-gettext4.sh: Do not set environment variables
7846         explicitly.
7847         * intl/tst-gettext6.sh: Likewise.
7848         * intl/tst-translit.sh: Likewise.
7849         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7850         $(test-program-prefix-before-env), $(run-program-env) and
7851         $(test-program-prefix-after-env).
7852         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7853         run_program_env and test_program_prefix_after_env arguments.
7854         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7855         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7856         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7857         explicitly with each use of ${test_wrapper_env}.
7858         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7859         $(test-program-prefix-before-env), $(run-program-env) and
7860         $(test-program-prefix-after-env).
7861         * posix/tst-getconf.sh: Do not set environment variables
7862         explicitly.
7863         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7864         run_program_env and test_program_prefix_after_env arguments.
7865         * stdio-common/tst-printf.sh: Do not set environment variables
7866         explicitly.
7867         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7868         $(test-program-prefix-before-env), $(run-program-env) and
7869         $(test-program-prefix-after-env).
7870         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7871         run_program_env and test_program_prefix_after_env arguments.
7872         Split $test calls into $test_pre and $test.
7873         * timezone/Makefile (build-testdata): Use
7874         $(built-program-cmd-before-env), $(run-program-env) and
7875         $(built-program-cmd-after-env).
7877 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7879         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7880         strlen for non SHARED builds.
7882 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7884         * nptl/allocatestack.c (check_list): Inlined function...
7885         (__reclaim_stacks): ... here.
7887 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7889         [BZ #15698]
7890         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7891         memory overrun.
7893 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7895         * Rules (make-test-out): Include
7896         LOCPATH=$(common-objpfx)localedata in default environment.
7897         * debug/Makefile (tst-chk1-ENV): Remove variable.
7898         (tst-chk2-ENV): Likewise.
7899         (tst-chk3-ENV): Likewise.
7900         (tst-chk4-ENV): Likewise.
7901         (tst-chk5-ENV): Likewise.
7902         (tst-chk6-ENV): Likewise.
7903         (tst-lfschk1-ENV): Likewise.
7904         (tst-lfschk2-ENV): Likewise.
7905         (tst-lfschk3-ENV): Likewise.
7906         (tst-lfschk4-ENV): Likewise.
7907         (tst-lfschk5-ENV): Likewise.
7908         (tst-lfschk6-ENV): Likewise.
7909         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7910         (tst-iconv7-ENV): Likewise.
7911         * intl/Makefile (LOCPATH-ENV): Likewise.
7912         (tst-codeset-ENV): Likewise.
7913         (tst-gettext3-ENV): Likewise.
7914         (tst-gettext5-ENV): Likewise.
7915         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7916         (tst-fopenloc-ENV): Likewise.
7917         (tst-fgetws-ENV): Remove variable.
7918         (tst-ungetwc1-ENV): Likewise.
7919         (tst-ungetwc2-ENV): Likewise.
7920         (bug-ungetwc2-ENV): Likewise.
7921         (tst-swscanf-ENV): Likewise.
7922         (bug-ftell-ENV): Likewise.
7923         (tst-fgetwc-ENV): Likewise.
7924         (tst-fseek-ENV): Likewise.
7925         (tst-ftell-partial-wide-ENV): Likewise.
7926         (tst-ftell-active-handler-ENV): Likewise.
7927         (tst-ftell-append-ENV): Likewise.
7928         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7929         (tst-regexloc-ENV): Likewise.
7930         (bug-regex1-ENV): Likewise.
7931         (tst-regex-ENV): Likewise.
7932         (tst-regex2-ENV): Likewise.
7933         (bug-regex5-ENV): Likewise.
7934         (bug-regex6-ENV): Likewise.
7935         (bug-regex17-ENV): Likewise.
7936         (bug-regex18-ENV): Likewise.
7937         (bug-regex19-ENV): Likewise.
7938         (bug-regex20-ENV): Likewise.
7939         (bug-regex22-ENV): Likewise.
7940         (bug-regex23-ENV): Likewise.
7941         (bug-regex25-ENV): Likewise.
7942         (bug-regex26-ENV): Likewise.
7943         (bug-regex30-ENV): Likewise.
7944         (bug-regex32-ENV): Likewise.
7945         (bug-regex33-ENV): Likewise.
7946         (bug-regex34-ENV): Likewise.
7947         (bug-regex35-ENV): Likewise.
7948         (tst-rxspencer-ENV): Likewise.
7949         (tst-rxspencer-no-utf8-ENV): Likewise.
7950         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7951         (tst-sscanf-ENV): Likewise.
7952         (tst-swprintf-ENV): Likewise.
7953         (tst-swscanf-ENV): Likewise.
7954         (test-vfprintf-ENV): Likewise.
7955         (scanf13-ENV): Likewise.
7956         (bug14-ENV): Likewise.
7957         (tst-grouping-ENV): Likewise.
7958         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7959         (tst-strtod3-ENV): Likewise.
7960         (tst-strtod4-ENV): Likewise.
7961         (tst-strtod5-ENV): Likewise.
7962         (testmb2-ENV): Likewise./
7963         * string/Makefile (tst-strxfrm-ENV): Likewise.
7964         (tst-strxfrm2-ENV): Likewise.
7965         (bug-strcoll1-ENV): Likewise.
7966         (test-strcasecmp-ENV): Likewise.
7967         (test-strncasecmp-ENV): Likewise.
7968         * time/Makefile (tst-strptime-ENV): Likewise.
7969         (tst-ftime_l-ENV): Likewise.
7970         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7971         (tst-mbrtowc-ENV): Likewise.
7972         (tst-wcrtomb-ENV): Likewise.
7973         (tst-mbrtowc2-ENV): Likewise.
7974         (tst-c16c32-1-ENV): Likewise.
7975         (tst-mbsnrtowcs-ENV): Likewise.
7977 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7979         * manual/resource.texi (How to get information about the memory
7980         subsystem?): Fix typo.
7981         Reported by Peon de la Parra Ivan <peon@keba.com>
7983 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
7985         [BZ #16882]
7986         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7987         (pthread_spin_lock): Branch out of spin loop to proper location.
7988         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7989         (pthread_spin_lock): Likewise.
7991         * nptl/tst-spin4.c: New test.
7992         * nptl/Makefile (tests): Add tst-spin4.
7994 2014-06-03  Andreas Schwab  <schwab@suse.de>
7996         [BZ #15946]
7997         * resolv/res_send.c (send_dg): Reload file descriptor after
7998         calling reopen.
8000 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8002         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8004 2014-06-03  Richard Henderson  <rth@redhat.com>
8006         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8007         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8008         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8009         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8010         in the SAVE_PID block.
8011         (__libc_vfork): New alias.
8012         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8014         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8015         child in registers, not on the stack.  Remove RESET_PID conditionals.
8016         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8018 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8020         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8022 2014-06-03  Wilco  <wdijkstr@arm.com>
8024         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8025         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8026         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8027         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8028         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8029         Likewise.
8031 2014-06-03  Wilco  <wdijkstr@arm.com>
8033         * sysdeps/aarch64/fpu/math_private.h
8034         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8035         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8036         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8037         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8038         Fix declarations.
8040 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8042         * crypt/crypt-private.h: Include ufc-crypt.h.
8043         (__b64_from_24bit): Declare extern.
8044         * crypt/crypt_util.c(__b64_from_24bit): New function.
8045         (b64t): New static const variable.
8046         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8047         (b64t): Remove variable.
8048         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8049         * crypt/sha256-crypt.c: Include crypt-private.h.
8050         (b64t): Remove variable.
8051         (__sha256_crypt_r): Remove b64_from_24bit and replace
8052         with __b64_from_24bit.
8053         * crypt/sha512-crypt.c: Likewise.
8055 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8057         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8058         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8059         Label the code __libc_vfork rather than __vfork.
8060         [!NOT_IN_libc] (vfork): Define as weak alias.
8061         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8062         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8063         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8065 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8067         * malloc/malloc.c (malloc_info): Fix format specifier for
8068         n_mmaps.
8070 2014-06-02  Wilco  <wdijkstr@arm.com>
8072         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8073         FPCR write.
8075 2014-06-02  Wilco  <wdijkstr@arm.com>
8077         [BZ #17009]
8078         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8079         Rewrite to reduce FPCR/FPSR accesses.
8081 2014-06-01  David S. Miller  <davem@davemloft.net>
8083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8085 2014-05-31  David S. Miller  <davem@davemloft.net>
8087         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8088         to occur in round to nearest mode when |x| >= 2.0
8090 2014-05-30  Richard Henderson  <rth@twiddle.net>
8092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8093         (PSEUDO_RET_NOERRNO): Remove.
8094         (ret): Don't redefine.
8095         (ret_NOERRNO): Define in terms of ret.
8096         (ret_ERRVAL): Likewise.
8098         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8099         use of PSEUDO_RET; perform the error check directly.
8101 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8103         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8104         with __int128_t.
8106 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8108         * malloc/malloc (malloc_info): Fix formatting.
8110 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8111             Roland McGrath  <roland@hack.frob.com>
8113         * malloc/malloc (malloc_info): Also print mmapped statistics.
8115 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8117         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8118         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8120 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8122         * malloc/malloc.c (malloc_info): Inline mi_arena.
8124 2014-05-29  Richard Henderson  <rth@twiddle.net>
8126         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8127         Remove comma before expanding ASM_ARGS_##nr.
8128         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8129         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8130         of ASM_ARGS_##nr.
8131         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8132         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8133         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8134         (ASM_ARGS_1): Add leading comma.
8136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8137         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8138         to __errno_location.
8139         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8140         Remove the expected plt for __errno_location.
8142         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8143         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8144         call to __read_tp.
8146         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8147         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8148         it and break it down.
8149         (DOCARGS_0, DOCARGS_1): Do nothing.
8150         (DOCARGS_2): Update to store into the new stack frame.
8151         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8152         (UNDOCARGS_1): Update to restore from the new stack frame.
8153         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8154         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8157         (SINGLE_THREAD_P): New parameter for result regno.
8158         (PSEUDO): Update to match; use cbz instead of beq.
8160         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8161         Use ENTRY to define the _nocancel entry point.  Share the syscall
8162         and syscall error check paths with the cancel path.
8163         (PSEUDO_END): New.
8165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8166         whitespace; tabs before and after asm mnemonics.
8168 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8170         [BZ #15132]
8171         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8172         Call fstat64 or stat64 internally, depending on arguments passed.
8173         Replace stat buffer argument with file descriptor argument.
8174         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8175         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8176         Pass fd to __internal_statvfs instead of calling fstat64.
8177         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8178         Pass fd to __internal_statvfs64 instead of calling fstat64.
8179         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8180         Pass -1 to __internal_statvfs instead of calling stat64.
8181         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8182         Pass -1 to __internal_statvfs64 instead of calling stat64.
8184 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8186         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8187         that was previously under [RESET_PID].
8188         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8190         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8191         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8193 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8195         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8197         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8198         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8200 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8202         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8204 2014-05-27  Andreas Schwab  <schwab@suse.de>
8206         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8207         TLS_INIT_TP macro.
8208         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8209         * elf/rtld.c (init_tls, dl_main): Likewise.
8210         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8211         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8212         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8213         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8214         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8215         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8216         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8217         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8218         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8219         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8220         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8221         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8222         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8223         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8224         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8225         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8226         * sysdeps/generic/tls.h: Update description.
8228 2014-05-27  Will Newton  <will.newton@linaro.org>
8230         [BZ #16990]
8231         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8232         and restore r2 rather than just restoring.
8234 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8236         [BZ #16724]
8237         * libio/tst-ftell-append.c: New test case.
8238         * libio/Makefile (tests): Add test case.
8239         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8240         append mode.
8241         * libio/wfileops.c (do_ftell_wide): Likewise.
8243 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8247         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8248         ...
8249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8251         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8252         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8253         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8254         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8255         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8256         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8258         Moved ...
8259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8261         Moved ...
8262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8263         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8264         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8265         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8266         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8267         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8268         ...
8269         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8270         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8273         here.
8274         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8275         ...
8276         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8277         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8278         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8280         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8281         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8282         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8283         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8286         merge into ...
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8289         ...
8290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8292         ...
8293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8295         Moved ...
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8297         here.
8298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8299         Moved ...
8300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8302         Moved ...
8303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8306         conditional [RESET_PID].
8307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8309         removed.
8310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8311         removed.
8313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8314         <tcb-offsets.h>.
8315         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8316         (__libc_vfork): New strong alias.
8317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8318         removed.
8319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8320         Removed.
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8323         <tcb-offsets.h>.
8324         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8325         (__libc_vfork): New strong alias.
8326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8327         removed.
8328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8329         removed.
8331 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8333         * malloc/malloc.c (mi_arena): New function.
8334         (malloc_info): Remove nested function mi_arena. Call non-nosted
8335         function mi_arena.
8337 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8339         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8340         by insrwi.
8341         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8342         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8343         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8344         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8345         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8346         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8347         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8349 2014-05-26  Andreas Schwab  <schwab@suse.de>
8351         [BZ #16984]
8352         * locale/programs/repertoire.c (repertoire_read): Add slash
8353         between I18NPATH element and file name.
8354         * locale/programs/locfile.c (locfile_read): Likewise.
8356 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8358         * nptl/pthread_mutexattr_settype.c
8359         (__pthread_mutexattr_settype):
8360         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8362 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8364         * nptl/tst-mutex5 (do_test):
8365         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8367 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8369         * benchtests/README: Document 'init' directive.
8370         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8371         BENCH_INIT.
8372         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8373         (parse_file): Recognize 'init' directive.
8375 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8377         [BZ #16796]
8378         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8379         alignment of struct pthread.
8381 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8383         [BZ #16878]
8384         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8385         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8386         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8387         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8389 2014-05-25  Richard Henderson  <rth@twiddle.net>
8391         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8392         (SINGLE_THREAD_P_PIC): Remove.
8393         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8394         (SINGLE_THREAD_P_PIC): Remove.
8396         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8397         branch to syscall error ...
8398         (PSEUDO): ... here.
8399         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8400         from __local_syscall_error to .Lsyscall_error.
8401         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8402         (SYSCALL_ERROR): Update label name.
8404         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8405         Do not use DOARGS/UNDOARGS.
8406         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8407         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8408         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8409         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8410         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8413         block comment.
8415         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8416         define if !NOT_IN_libc.
8417         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8418         define with non-default symbol versions.
8420 2014-05-23  Richard Henderson  <rth@twiddle.net>
8422         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8423         (vfork, __vfork): Define via compat_symbol.
8425         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8426         [!HAVE_IFUNC] (vfork_compat): Remove.
8427         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8429 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8431         [BZ #16978]
8432         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8433         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8434         variable.
8436 2014-05-23  Richard Henderson  <rth@twiddle.net>
8438         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8439         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8440         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8441         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8443         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8444         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8445         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8446         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8447         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8448         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8449         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8450         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8451         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8452         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8453         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8454         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8455         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8456         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8457         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8458         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8459         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8460         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8461         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8462         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8463         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8464         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8465         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8466         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8467         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8468         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8469         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8470         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8471         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8472         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8473         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8474         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8475         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8476         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8477         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8478         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8479         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8480         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8481         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8482         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8483         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8484         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8485         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8486         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8487         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8488         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8490         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8492         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8493         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8494         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8496         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8498         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8500         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8501         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8502         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8503         before exiting on error.
8504         (__libc_vfork): New strong alias.
8505         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8506         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8508         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8509         that was previously under [RESET_PID].
8510         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8512         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8514 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8516         [BZ #16977]
8517         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8518         value when x - 1 is zero.
8519         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8520         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8521         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8522         0.0L for an argument of 1.0L.
8523         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8524         Likewise.
8525         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8526         value when x - 1 is zero.
8527         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8528         * sysdeps/i386/fpu/libm-test-ulps: Update.
8529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8531 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8533         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8534         alphasort and versionsort.
8536 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8538         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8539         macro.
8540         [copysignf]: Likewise.
8542 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         * crypt/md5-crypt.c: Fix formatting.
8546 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8548         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8549         (b64_from_24bit): New function.
8551 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8553         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8554         libc_hidden_builtin_def to ifunc.
8555         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8556         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8558 2014-05-21  Roland McGrath  <roland@hack.frob.com>
8560         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8561         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8563 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
8565         * nscd/Depend (linuxthreads): Remove.
8566         (nptl): Add.
8567         * resolv/Depend (linuxthreads): Remove.
8568         * rt/Depend (linuxthreads): Remove.
8570         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8571         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8572         $(common-objpfx)elf/.
8573         (link-libc-before-gnulib): Likewise.
8574         (elfobjdir): Remove variable.
8575         * Makefile (install): Use $(elf-objpfx) instead of
8576         $(common-objpfx)elf/.
8577         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8578         $(elfobjdir)/.
8579         (link-libc-deps): Likewise.
8580         ($(common-objpfx)libc.so): Likewise.
8581         ($(common-objpfx)linkobj/libc.so): Likewise.
8582         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8583         instead of $(common-objpfx)elf/.
8584         (symbolic-link-list): Likewise.
8585         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8586         [$(cross-compiling) = no]: Likewise.
8587         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8588         $(elfobjdir)/.
8589         (static-gnulib-arch): Likewise.
8590         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8591         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8592         $(common-objpfx)elf/.
8594 2014-05-21  Richard Henderson  <rth@redhat.com>
8596         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8597         (SINGLE_THREAD_P): Use the correct width load.  Fold
8598         into the ldr offset.
8600         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8601         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8603 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8605         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8606         (libgcc_s_resume): Use __attribute_used__.
8607         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8608         Likewise.
8610 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8612         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8613         optimization when used with float constants.
8615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8617 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8619         [BZ #16915]
8620         * locale/nl_langinfo_l.c: Make direct reference to every
8621         _nl_current_CATEGORY symbol.
8622         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8623         (tests-static): Add tst-langinfo-static.
8624         (tests-special): Add tst-langinfo-static.out.
8625         ($(objpfx)tst-langinfo.out): Redirect output.
8626         ($(objpfx)tst-langinfo-static.out): New.
8627         * localedata/tst-langinfo.sh: Send output to stdout.
8628         * localedata/tst-langinfo-static.c: New file.
8630         [BZ #16965]
8631         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8632         when the shift amount is modulo the limb size.
8634 2014-05-20  Richard Henderson  <rth@redhat.com>
8636         [BZ #16967]
8637         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8638         Change type of sa_flags from unsigned int to int.
8640         [BZ #16966]
8641         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8643         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8645 2014-05-20  Will Newton  <will.newton@linaro.org>
8647         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8648         Test the return value of the system call in the nocancel case.
8650 2014-05-20  Will Newton  <will.newton@linaro.org>
8651             Yvan Roux  <yvan.roux@linaro.org>
8653         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8654         #include of asm/ptrace.h.
8655         (PTRACE_GET_THREAD_AREA): Remove #undef.
8656         (PTRACE_GETHBPREGS): Likewise.
8657         (PTRACE_SETHBPREGS): Likewise.
8658         (struct user_regs_struct): New structure.
8659         (struct user_fpsimd_struct): New structure.
8660         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8661         #include of asm/ptrace.h and second #include of sys/user.h.
8662         (PTRACE_GET_THREAD_AREA): Remove #undef.
8663         (PTRACE_GETHBPREGS): Likewise.
8664         (PTRACE_SETHBPREGS): Likewise.
8665         (ELF_NGREG): Use new struct user_regs_struct.
8666         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8668 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8670         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8671         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8673 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8675         [BZ #16958]
8676         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8677         membar to avoid block loads/stores to overlap previous stores.
8679 2014-05-17  Richard Henderson  <rth@redhat.com>
8681         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8682         Create the __##syscall_name##_nocancel entry point.
8683         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8684         Remove; let the sysdep-cancel.h code create it.
8686 2014-05-17  David S. Miller  <davem@davemloft.net>
8688         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8689         Protect with __USE_GNU.
8690         (TIOCSET_TEMPT): Likewise.
8691         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8692         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8693         these are already provided in bits/ioctl-types.h
8695 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8697         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8698         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8700         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8701         Use wait4 regardless of [__NR_waitpid].
8703 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8705         PR libgcc/60166
8706         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8707         (_FP_NANSIGN_Q): Set the quiet bit.
8709 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8711         * benchtests/Makefile
8712         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8713         not $(common-objpfx)math/libm.so.
8714         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8715         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8716         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8717         $(common-objpfx)dlfcn/libdl.so.
8718         ($(objpfx)tst-audit8): Depend on $(libm), not
8719         $(common-objpfx)math/libm.so.
8720         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8721         not $(common-objpfx)dlfcn/libdl.so.
8722         * math/Makefile
8723         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8724         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8725         [$(build-shared) = yes].
8726         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8727         $(common-objpfx)nptl/libpthread.so.
8728         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8729         $(common-objpfx)math/libm.so$(libm.so-version) or
8730         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8731         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8732         $(common-objpfx)dlfcn/libdl.so.
8733         * setjmp/Makefile (link-libm): Remove variable.
8734         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8735         * stdio-common/Makefile (link-libm): Remove variable.
8736         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8737         * stdlib/Makefile (link-libm): Remove variable.
8738         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8739         ($(objpfx)tst-strtod-round): Likewise.
8740         ($(objpfx)tst-tininess): Likewise.
8741         ($(objpfx)tst-strtod-underflow): Likewise.
8742         ($(objpfx)tst-strtod6): Likewise.
8743         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8744         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8745         $(common-objpfx)dlfcn/libdl.so.
8747 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8749         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8750         BSD terminal modes definitions.
8752 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8754         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8755         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8757         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8758         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8759         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8760         Don't do #include_next.
8761         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8762         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8763         Don't do #include_next.
8764         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8765         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8766         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8767         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8769 2014-05-16  Allan McRae  <allan@archlinux.org>
8771         * po/sv.po: Update Swedish translation from translation project.
8773         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8774         in sed expression.
8776 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8778         [BZ #16917]
8779         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8780         errno if the TIOCGPTN ioctl fails with an error different than
8781         EINVAL.
8782         * login/tst-ptsname.c: New file.
8783         * login/Makefile (tests): Add tst-ptsname.
8785         [BZ #16943]
8786         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8787         and prlimit64.
8789 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8791         [BZ #16849]
8792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8793         herrno to return EAI_AGAIN.
8795 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8797         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8798         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8799         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8800         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8801         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8802         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8803         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8804         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8806         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8807         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8808         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8809         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8810         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8811         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8812         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8813         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8814         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8815         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8816         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8817         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8818         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8819         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8820         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8821         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8822         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8824         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8825         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8826         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8828         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8830         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8832         Moved ...
8833         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8835         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8837         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8839         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8841         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8843         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8845         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8847         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8849         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8851         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8853         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8855         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8857         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8859         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8861         Moved ...
8862         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8864         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8866         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8868         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8870         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8872         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8874         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8876         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8878         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8880         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8882         Moved ...
8883         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8887         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8888         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8889         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8890         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8891         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8892         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8893         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8894         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8895         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8896         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8897         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8898         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8899         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8900         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8901         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8902         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8903         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8904         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8905         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8906         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8907         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8908         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8909         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8910         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8911         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8912         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8913         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8914         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8915         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8916         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8917         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8919         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8920         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8922         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8923         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8924         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8925         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8926         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8927         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8928         Moved ...
8929         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8931         Moved ...
8932         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8934         Moved ...
8935         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8937         Moved ...
8938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8939         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8940         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8942         Moved ...
8943         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8944         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8945         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8946         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8947         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8948         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8949         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8951         Moved ...
8952         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8953         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8954         Moved ...
8955         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8956         ... here.
8957         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8958         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8959         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8960         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8962         Moved ...
8963         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8964         ... here.
8965         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8966         Moved ...
8967         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8968         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8969         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8970         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8971         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8972         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8973         Moved ...
8974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8976         Moved ...
8977         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8979         Moved ...
8980         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8982         Moved ...
8983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8984         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8985         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8987         Moved ...
8988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8989         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8990         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8991         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8992         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8993         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8994         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8996         Moved ...
8997         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8998         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8999         Moved ...
9000         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9001         ... here.
9002         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9003         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9004         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9005         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9007         Moved ...
9008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9009         ... here.
9010         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9011         Moved ...
9012         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9013         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9014         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9015         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9016         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9017         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9018         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9019         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9020         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9021         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9022         Moved ...
9023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9024         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9025         Moved ...
9026         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9028         Moved ...
9029         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9031         Moved ...
9032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9033         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9034         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9035         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9036         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9037         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9038         Moved ...
9039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9040         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9041         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9043         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9044         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9045         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9046         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9047         Moved ...
9048         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9049         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9050         Moved ...
9051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9052         ... here.
9053         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9054         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9055         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9056         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9057         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9058         Moved ...
9059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9060         ... here.
9061         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9062         Moved ...
9063         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9064         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9065         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9066         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9067         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9068         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9069         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9070         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9071         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9072         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9073         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9075         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9076         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9078         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9079         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9081         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9082         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9083         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9084         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9085         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9086         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9087         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9088         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9089         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9090         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9091         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9092         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9093         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9094         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9095         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9096         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9097         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9099         Moved ...
9100         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9102         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9104         Moved ...
9105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9107         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9108         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9109         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9113         Moved ...
9114         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9115         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9116         Moved ...
9117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9119         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9120         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9121         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9122         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9123         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9124         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9125         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9126         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9127         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9128         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9129         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9131         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9132         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9133         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9135         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9136         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9137         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9138         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9139         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9141         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9142         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9143         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9144         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9145         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9146         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9147         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9148         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9149         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9150         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9152         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9155         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9156         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9157         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9158         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9159         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9160         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9161         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9162         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9163         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9164         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9165         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9166         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9167         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9168         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9170         Update #include.
9171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9172         Likewise.
9173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9174         Likewise.
9175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9176         Likewise.
9177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9178         Likewise.
9179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9180         Likewise.
9181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9182         Likewise.
9183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9184         Likewise.
9185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9186         Likewise.
9187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9188         Likewise.
9189         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9194         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9195         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9196         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9197         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9199         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9200         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9201         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9202         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9203         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9205         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9206         that was previously under [RESET_PID].
9207         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9208         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9209         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9211         * sysdeps/i386/nptl/Implies: New file.
9212         * sysdeps/x86_64/nptl/Implies: New file.
9213         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9214         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9215         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9216         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9218         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9219         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9220         (__libc_vfork): New strong alias.
9221         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9222         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9224         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9225         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9226         (__libc_vfork): New strong alias.
9227         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9228         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9230         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9232         (__libc_vfork): New strong alias.
9233         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9234         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9235         * nptl/pt-vfork.c: New file.
9236         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9237         (libpthread: GLIBC_2.20): New version set (empty).
9239 2014-05-14  Will Newton  <will.newton@linaro.org>
9241         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9242         rather than #if.
9244 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9246         [BZ #16564]
9247         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9248         arguments with exponent 65 or above.
9249         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9250         arguments 0x1p113L or above.
9251         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9252         to arguments 0x1p107L or above.
9253         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9254         positive arguments with exponent 65 or above.
9255         * math/auto-libm-test-in: Add more tests of log1p.
9256         * math/auto-libm-test-out: Regenerated.
9258         [BZ #16928]
9259         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9260         non-finite arguments is +0.
9261         * math/s_cacosf.c (__cacosf): Likewise.
9262         * math/s_cacosl.c (__cacosl): Likewise.
9263         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9264         * sysdeps/i386/fpu/libm-test-ulps: Update.
9265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9267         [BZ #16927]
9268         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9269         value.
9270         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9271         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9272         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9273         for explicit high bit of mantissa when testing for argument equal
9274         to 1.
9275         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9276         * sysdeps/i386/fpu/libm-test-ulps: Update.
9277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9279         [BZ #16516]
9280         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9281         (__erf): Scale by 16 instead of 8 in potentially underflowing
9282         case.  Ensure exception if result actually underflows.
9283         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9284         (__erff): Scale by 16 instead of 8 in potentially underflowing
9285         case.  Ensure exception if result actually underflows.
9286         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9287         (efx8): Remove variable.
9288         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9289         case.  Ensure exception if result actually underflows.
9290         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9291         (efx8): Remove variable.
9292         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9293         case.  Ensure exception if result actually underflows.
9294         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9295         (efx8): Remove variable.
9296         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9297         case.  Ensure exception if result actually underflows.
9298         * math/auto-libm-test-in: Add more tests of erf.
9299         * math/auto-libm-test-out: Regenerated.
9301 2014-05-14  Andreas Schwab  <schwab@suse.de>
9303         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9304         Remove code conditionalized on USE___THREAD.
9306         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9307         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9308         not definedness.
9310 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9313         Define unconditionally.
9314         (__ASSUME_O_CLOEXEC): Likewise.
9315         (__ASSUME_SOCK_CLOEXEC): Likewise.
9316         (__ASSUME_IN_NONBLOCK): Likewise.
9317         (__ASSUME_PIPE2): Likewise.
9318         (__ASSUME_EVENTFD2): Likewise.
9319         (__ASSUME_SIGNALFD4): Likewise.
9320         (__ASSUME_DUP3): Likewise.
9321         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9322         (__ASSUME_DUP3): Do not define.
9323         (__ASSUME_EVENTFD2): Likewise.
9324         (__ASSUME_IN_NONBLOCK): Likewise.
9325         (__ASSUME_O_CLOEXEC): Likewise.
9326         (__ASSUME_PIPE2): Likewise.
9327         (__ASSUME_SIGNALFD4): Likewise.
9328         (__ASSUME_SOCK_CLOEXEC): Likewise.
9329         (__ASSUME_UTIMES): Undefine.
9330         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9331         (__ASSUME_UTIMES): Do not define.
9332         (__ASSUME_O_CLOEXEC): Likewise.
9333         (__ASSUME_SOCK_CLOEXEC): Likewise.
9334         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9335         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9336         0x020621].
9337         (__ASSUME_PIPE2): Likewise.
9338         (__ASSUME_EVENTFD2): Likewise.
9339         (__ASSUME_SIGNALFD4): Likewise.
9340         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9341         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9342         Do not define.
9343         (__ASSUME_EVENTFD2): Likewise.
9344         (__ASSUME_SIGNALFD4): Likewise.
9345         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9346         (__ASSUME_32BITUIDS): Likewise.
9347         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9348         (__ASSUME_IPC64): Likewise.
9349         (__ASSUME_ST_INO_64_BIT): Likewise.
9350         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9351         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9352         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9353         (__ASSUME_UTIMES): Do not define.
9354         (__ASSUME_PSELECT): Likewise.
9355         (__ASSUME_PPOLL): Likewise.
9356         (__ASSUME_O_CLOEXEC): Likewise.
9357         (__ASSUME_SOCK_CLOEXEC): Likewise.
9358         (__ASSUME_IN_NONBLOCK): Likewise.
9359         (__ASSUME_PIPE2): Likewise.
9360         (__ASSUME_EVENTFD2): Likewise.
9361         (__ASSUME_SIGNALFD4): Likewise.
9362         (__ASSUME_DUP3): Likewise.
9363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9364         (__ASSUME_UTIMES): Likewise.
9365         (__ASSUME_O_CLOEXEC): Likewise.
9366         (__ASSUME_SOCK_CLOEXEC): Likewise.
9367         (__ASSUME_IN_NONBLOCK): Likewise.
9368         (__ASSUME_PIPE2): Likewise.
9369         (__ASSUME_EVENTFD2): Likewise.
9370         (__ASSUME_SIGNALFD4): Likewise.
9371         (__ASSUME_DUP3): Likewise.
9372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9373         (__ASSUME_UTIMES): Likewise.
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         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9382         Likewise.
9383         (__ASSUME_UTIMES): Likewise.
9384         (__ASSUME_EVENTFD2): Likewise.
9385         (__ASSUME_SIGNALFD4): Likewise.
9386         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9387         (__ASSUME_O_CLOEXEC): Likewise.
9388         (__ASSUME_SOCK_CLOEXEC): Likewise.
9389         (__ASSUME_IN_NONBLOCK): Likewise.
9390         (__ASSUME_PIPE2): Likewise.
9391         (__ASSUME_EVENTFD2): Likewise.
9392         (__ASSUME_SIGNALFD4): Likewise.
9393         (__ASSUME_DUP3): Likewise.
9394         (__ASSUME_UTIMES): Undefine.
9396         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9397         feclearexcept.  Remove symbol versioning code.
9398         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9399         symbol versioning code.
9400         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9401         symbol versioning code.
9402         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9403         feupdateenv.  Remove symbol versioning code.
9404         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9405         fegetexceptflag.  Remove symbol versioning code.
9406         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9407         fesetexceptflag.  Remove symbol versioning code.
9408         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9409         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9410         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9411         (__posix_fadvise64_l32): Remove prototype.
9412         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9413         code.
9415 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9417         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9418         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9419         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9420         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9422 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9424         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9425         current working directory
9427 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9429         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9430         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9431         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9432         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9433         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9434         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9435         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9436         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9437         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9438         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9439         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9440         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9441         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9442         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9443         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9444         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9446         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9447         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9448         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9449         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9450         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9451         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9452         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9453         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9454         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9455         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9456         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9457         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9458         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9459         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9460         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9461         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9462         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9463         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9464         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9465         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9466         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9467         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9468         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9469         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9470         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9472         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9473         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9475         * sysdeps/unix/sysv/linux/arm/Makefile
9476         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9477         Add rt-aeabi_unwind_cpp_pr1.
9478         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9479         Add nptl-aeabi_unwind_cpp_pr1.
9480         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9481         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9482         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9483         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9484         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9485         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9487         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9488         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9489         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9490         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9492         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9493         Deconditionalize the code that was previously under [RESET_PID].
9494         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9496         * sysdeps/generic/exit-thread.h: New file.
9497         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9498         * include/unistd.h (__exit_thread): Remove declaration.
9499         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9500         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9501         * csu/libc-start.c: Include <exit-thread.h>.
9502         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9503         * nptl/pthread_create.c: Include <exit-thread.h>.
9504         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9505         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9506         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9507         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9508         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9509         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9510         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9511         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9512         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9513         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9514         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9515         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9516         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9517         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9518         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9519         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9520         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9522 2014-05-13  Andreas Schwab  <schwab@suse.de>
9524         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9526 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9528         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9529         (__ASSUME_UTIMES): Do not condition on kernel version.
9530         (__ASSUME_PSELECT): Define unconditionally.
9531         (__ASSUME_PPOLL): Likewise.
9532         (__ASSUME_ATFCTS): Likewise.
9533         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9534         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9535         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9536         (__ASSUME_UTIMENSAT): Define unconditionally.
9537         (__ASSUME_PRIVATE_FUTEX): Likewise.
9538         (__ASSUME_FALLOCATE): Likewise.
9539         (__ASSUME_O_CLOEXEC): Likewise.
9540         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9541         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9542         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9543         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9544         (__ASSUME_IN_NONBLOCK): Likewise.
9545         (__ASSUME_PIPE2): Likewise.
9546         (__ASSUME_EVENTFD2): Likewise.
9547         (__ASSUME_SIGNALFD4): Likewise.
9548         (__ASSUME_DUP3): Likewise.
9549         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9550         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9551         (__ASSUME_AT_RANDOM): Likewise.
9552         (__ASSUME_PREADV): Likewise.
9553         (__ASSUME_PWRITEV): Likewise.
9554         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9555         (__ASSUME_F_GETOWN_EX): Define unconditionally.
9556         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9557         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9558         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9559         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9560         (__ASSUME_O_CLOEXEC): Define unconditionally.
9561         (__ASSUME_PSELECT): Do not undefine conditionally.
9562         (__ASSUME_PPOLL): Likewise.
9563         (__ASSUME_ATFCTS): Likewise.
9564         (__ASSUME_SET_ROBUST_LIST): Likewise.
9565         (__ASSUME_UTIMENSAT): Likewise.
9566         (__ASSUME_FDATASYNC): Define unconditionally.
9567         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9568         (__ASSUME_SIGFRAME_V2): Likewise.
9569         )__ASSUME_EVENTFD2): Likewise.
9570         (__ASSUME_SIGNALFD4): Likewise.
9571         (__ASSUME_PSELECT): Do not undefine conditionally.
9572         (__ASSUME_PPOLL): Likewise.
9573         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9574         (__ASSUME_PSELECT): Define unconditionally.
9575         (__ASSUME_PPOLL): Likewise.
9576         (__ASSUME_O_CLOEXEC): Likewise.
9577         (__ASSUME_SOCK_CLOEXEC): Likewise.
9578         (__ASSUME_IN_NONBLOCK): Likewise.
9579         (__ASSUME_PIPE2): Likewise.
9580         (__ASSUME_EVENTFD2): Likewise.
9581         (__ASSUME_SIGNALFD4): Likewise.
9582         (__ASSUME_DUP3): Likewise.
9583         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9584         (__ASSUME_O_CLOEXEC): Likewise.
9585         (__ASSUME_SOCK_CLOEXEC): Likewise.
9586         (__ASSUME_IN_NONBLOCK): Likewise.
9587         (__ASSUME_PIPE2): Likewise.
9588         (__ASSUME_EVENTFD2): Likewise.
9589         (__ASSUME_SIGNALFD4): Likewise.
9590         (__ASSUME_DUP3): Likewise.
9591         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9592         (__ASSUME_EVENTFD2): Likewise.
9593         (__ASSUME_SIGNALFD4): Likewise.
9594         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9596 2014-05-12  Andreas Schwab  <schwab@suse.de>
9598         [BZ #16932]
9599         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9600         (_nss_nis_gethostbyname4_r): Return error if item length is larger
9601         than maximum RPC packet size.
9602         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9603         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9604         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9605         (_nss_nis_getservbyport_r): Likewise.
9607 2014-05-12  Will Newton  <will.newton@linaro.org>
9609         * malloc/Makefile (tests): Add tst-mallopt.
9610         * malloc/tst-mallopt.c: New file.
9612 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9614         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9615         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9617 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9619         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9620         (tst-tlsmod6.so): Likewise.
9622 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9624         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9626 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9628         [BZ #16064]
9629         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9630         and <dl-procinfo.h>.
9631         (__fegetenv): Save SSE state in envp->__eip if supported.
9632         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9633         envp->__eip if supported.
9634         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9635         and <dl-procinfo.h>.
9636         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9637         __data_offset and __data_selector in environment to 0.  Set SSE
9638         state if supported.
9639         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9640         test-fenv-sse.
9641         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9642         -mfpmath=sse.
9643         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9645 2014-05-09  Will Newton  <will.newton@linaro.org>
9647         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9648         and libc_relro_required for ARM.
9649         * sysdeps/arm/preconfigure: Regenerate.
9651 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9652             Stefan Liebler  <stli@linux.vnet.ibm.com>
9654         * config.make.in (enable-lock-elision): New Makefile variable.
9655         * configure.ac: Likewise.
9656         * configure: Regenerate.
9657         * sysdeps/s390/configure.ac:
9658         Add check for gcc transactions support.
9659         * sysdeps/s390/configure: Regenerate.
9660         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9661         Build elision files if enabled.
9662         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9663         Add lock elision support for s390.
9664         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9665         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9666         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9667         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9668         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9669         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9670         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9671         Likewise.
9672         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9673         Likewise.
9674         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9675         Likewise.
9676         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9677         Likewise.
9678         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9679         (__lll_timedlock_elision, __lll_lock_elision)
9680         (__lll_unlock_elision, __lll_trylock_elision)
9681         (lll_timedlock_elision, lll_lock_elision)
9682         (lll_unlock_elision, lll_trylock_elision): Add.
9683         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9684         (pthread_mutex_t): Add lock elision support for s390.
9686 2014-05-14  Wilco  <wdijkstr@arm.com>
9688         * sysdeps/arm/fclrexcpt.c: Cleanup.
9689         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9690         * sysdeps/arm/feenablxcpt.c: Cleanup.
9691         * sysdeps/arm/fegetenv.c: Cleanup.
9692         * sysdeps/arm/fegetexcept.c: Cleanup.
9693         * sysdeps/arm/fegetround.c: Cleanup.
9694         * sysdeps/arm/feholdexcpt.c: Cleanup.
9695         * sysdeps/arm/fesetenv.c: Cleanup.
9696         * sysdeps/arm/fesetround.c: Cleanup.
9697         * sysdeps/arm/feupdateenv.c: Cleanup.
9698         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9699         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9700         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9701         * sysdeps/arm/ftestexcept.c: Cleanup.
9702         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9703         * sysdeps/arm/setfpucw.c: Cleanup.
9705 2014-05-09  Will Newton  <will.newton@linaro.org>
9707         * sysdeps/arm/armv7/strcmp.S: New file.
9708         * NEWS: Mention addition of ARMv7 optimized strcmp.
9710 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9712         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9713         look for %.ac rather than %.in.
9715         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9716         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9717         * sysdeps/mach/hurd/configure: Regenerated.
9718         * sysdeps/unix/sysv/linux/configure: Regenerated.
9720         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9722 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9724         [BZ# 16922]
9725         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9726         (LONG_SUB): Ditto.
9727         (PTR_SUB): Ditto.
9729 2014-05-07  Andreas Schwab  <schwab@suse.de>
9731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9732         when skipping over non-matching result from nscd.
9734 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9736         [BZ #16876]
9737         * nptl/sockperf.c (client): Check socket return value.
9739         [BZ #16877]
9740         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9741         nscd security class.
9743 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9745         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9746         * sysdeps/arm/unwind.h: ... here.
9748 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9750         [BZ# 16916]
9751         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9752         Define.
9754 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9756         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9757         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9758         multiarch strncpy for PPC64.
9759         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9760         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9762         multiarch optimizations.
9763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9764         (__libc_ifunc_impl_list): Likewise.
9765         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9766         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9767         multiarch stpncpy for PPC64.
9768         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9771 2014-05-06  Andreas Schwab  <schwab@suse.de>
9773         [BZ #16912]
9774         * gmon/mcount.c (_MCOUNT_DECL): Use
9775         atomic_compare_and_exchange_bool_acq instead of
9776         catomic_compare_and_exchange_bool_acq.
9778 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9780         * elf/Makefile (others, install-bin): Remove pldd.
9781         (pldd-modules): Variable removed.
9782         ($(objpfx)pldd): Target removed.
9783         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9784         (others, install-bin): Append pldd here.
9785         ($(objpfx)pldd): New target.
9787         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9788         to 0, so the first #if test emitted later doesn't see it undefined.
9789         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9790         * sysdeps/gnu/errlist.c: Regenerated.
9792 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9795         [libc_hidden_builtin_def]: Define to empty value.
9796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9797         [libc_hidden_builtin_def]: Likewise.
9798         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9799         [libc_hidden_builtin_def]: Likewise.
9800         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9801         [libc_hidden_builtin_def]: Likewise.
9802         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9803         __redirect_memcpy and define ifunc as default hidden symbol.
9804         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9805         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9807 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9809         * locale/iso-4217.def: Reintroduce XDR currency.
9811 2014-05-04  Allan McRae  <allan@archlinux.org>
9813         * po/eo.po: Update Esperanto translation from translation project.
9815 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9817         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9818         and FEATURE_INDEX_MAX to 1.
9819         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9821 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9823         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9824         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9825         * iconvdata/big5.c (ONE_DIRECTION): Define.
9826         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9827         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9828         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9829         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9830         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9831         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9832         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9833         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9834         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9835         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9836         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9837         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9838         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9839         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9840         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9841         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9842         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9843         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9844         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9845         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9846         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9847         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9848         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9849         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9850         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9851         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9852         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9853         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9854         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9855         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9856         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9857         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9858         * iconvdata/johab.c (ONE_DIRECTION): Define.
9859         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9860         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9861         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9862         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9863         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9864         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9865         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9866         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9867         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9868         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9870 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9872         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9873         (_IO_JUMPS_OFFSET): Define to 0.
9875         * nptl/sysdeps/pthread/bits/libc-lock.h
9876         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9877         (__libc_lock_define_initialized_recursive): Always define using
9878         initializer.  Modern compilers treat uninitialized (implicit zero) and
9879         explicit zero initializers the same (i.e. put the datum in bss).
9881 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9883         * nscd/nscd-client.h: Include <string.h>.
9885 2014-05-01  David S. Miller  <davem@davemloft.net>
9887         [BZ #16885]
9888         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9889         multiple zero bytes exist at the end of a string.
9890         Reported by Aurelien Jarno <aurelien@aurel32.net>
9892         * string/test-strcmp.c (check): Add explicit test for situations where
9893         there are multiple zero bytes after the first.
9895 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9897         [BZ #16890]
9898         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9899         when compiling wprintf.
9900         * stdio-common/tstdiomisc.c (t3): New function.
9901         (main): Call it.
9903 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9905         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9906         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9907         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9908         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9910 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9912         * stdlib/longlong.h: Updated from GCC.
9914 2014-05-01  Will Newton  <will.newton@linaro.org>
9915             Bernard Ogden  <bernie.ogden@linaro.org>
9917         * NEWS: Update fixed bug list.
9919         [BZ #15119]
9920         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9922 2014-04-30  David S. Miller  <davem@davemloft.net>
9924         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9925         (libc_feholdexcept_setround_sparc_ctx): New function.
9926         (libc_fesetenv_sparc_ctx): Likewise.
9927         (libc_feupdateenv_sparc_ctx): Likewise.
9928         (libc_feholdsetround_sparc_ctx): Likewise.
9929         (libc_feholdexcept_setround_ctx): Define.
9930         (libc_feholdexcept_setroundf_ctx): Likewise.
9931         (libc_feholdexcept_setroundl_ctx): Likewise.
9932         (libc_fesetenv_ctx): Likewise.
9933         (libc_fesetenvf_ctx): Likewise.
9934         (libc_fesetenvl_ctx): Likewise.
9935         (libc_feupdateenv_ctx): Likewise.
9936         (libc_feupdateenvf_ctx): Likewise.
9937         (libc_feupdateenvl_ctx): Likewise.
9938         (libc_feresetround_ctx): Likewise.
9939         (libc_feresetroundf_ctx): Likewise.
9940         (libc_feresetroundl_ctx): Likewise.
9941         (libc_feholdsetround_ctx): Likewise.
9942         (libc_feholdsetroundf_ctx): Likewise.
9943         (libc_feholdsetroundl_ctx): Likewise.
9945         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9946         with __USE_GNU instead of XOPEN cpp guards.
9948         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9949         0.
9951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9952         with XOPEN cpp guards.
9954 2014-04-30  Julian Brown  <julian@codesourcery.com>
9956         [BZ #16888]
9957         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9958         handling.
9960 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #9894]
9963         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9964         Change to 2.6.32.
9965         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9966         * sysdeps/unix/sysv/linux/configure: Regenerated.
9967         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9968         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9969         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9970         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9971         * README: Update reference to required Linux kernel version.
9972         * manual/install.texi (Linux): Update reference to required Linux
9973         kernel headers version.
9974         * INSTALL: Regenerated.
9976         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9977         header inclusion.
9978         [POSIX] (limits.h): Likewise.
9979         [POSIX] (math.h): Likewise.
9980         [POSIX] (sys/wait.h): Likewise.
9981         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9982         function.
9983         [POSIX] (stddef.h): Do not allow header inclusion.
9985 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9987         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9989 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
9991         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9992         Return immediately after lll_futex_wake.
9994 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9996         [BZ #16791]
9997         * nscd/nscd-client.h (datahead_init_common): Initialize entire
9998         structure.
9999         (datahead_init_pos): Call datahead_init_common early.
10000         (datahead_init_neg): Likewise.
10002         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10003         datahead_init_neg): New functions.
10004         * nscd/aicache.c (addhstaiX): Use them.
10005         * nscd/grpcache.c (cache_addgr): Likewise.
10006         * nscd/hstcache.c (cache_addhst): Likewise.
10007         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10008         * nscd/netgroupcache.c (do_notfound): Likewise.
10009         (addgetnetgrentX): Likewise.
10010         (addinnetgrX): Likewise.
10011         * nscd/pwdcache.c (cache_addpw): Likewise.
10012         * nscd/servicescache.c (cache_addserv): Likewise.
10014 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10015             Atsushi Onoe  <atsushi@onoe.org>
10017         [BZ #14308]
10018         [BZ #12994]
10019         [BZ #13651]
10020         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10021         one response is valid.
10022         * resolv/res_send.c (send_dg): Check for validity of other
10023         response if the current response is a referral.
10025 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10027         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10029 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10031         [BZ #16823]
10032         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10033         Always divide by positive zero when computing -Inf result.
10034         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10035         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10037 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10039         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10040         FPSCR if value do not change.
10041         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10042         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10043         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10044         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10045         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10046         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10047         function.
10049 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10051         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10052         * sysdeps/unix/sysv/linux/hppa: Move directory from
10053         ports/systeps/unix/sysv/linux/hppa.
10054         * README: Update listing for hppa-*-linux-gnu.
10056 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10058         [BZ #16754]
10059         * manual/stdio.texi (Hook functions): Fix types of stream hook
10060         functions.
10061         [BZ #16854]
10062         * socket/sys/socket.h: Fix typo in comment.
10064 2014-04-28  Wilco  <wdijkstr@arm.com>
10066         * sysdeps/arm/fenv_private.h: New file.
10067         * sysdeps/arm/math_private.h: New file.
10068         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10070 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10072         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10073         with __int128_t.
10074         (La_x86_64_retval): Likewise.
10076 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10078         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10079         fpsr if value didn't change.
10080         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10081         to fpcr if value didn't change.
10082         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10083         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10084         fpsr or fpcr if value didn't change.
10085         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10086         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10087         fpcr if value didn't change.
10088         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10089         to fpsr if value didn't change.
10091 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10093         * nptl/tst-sem3.c: Use test-skeleton.c
10094         (main): Rename to do_test.  Use return instead of
10095         exit.
10096         * nptl/tst-sem4.c: Use test-skeleton.c
10097         (main): Rename to do_test.
10099 2014-04-22  David S. Miller  <davem@davemloft.net>
10101         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10102         (struct sigaction): New struct member __glibc_reserved0, change
10103         type of sa_flags to int.
10105 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10107         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10108         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10110 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10112         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10113         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10115 2014-04-22  Will Newton  <will.newton@linaro.org>
10116             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10118         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10119         (__longjmp): Add longjmp and longjmp_target SystemTap
10120         probes.
10121         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10122         (__sigsetjmp): Add setjmp SystemTap probe.
10124 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10126         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10127         match manual order.
10129 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10131         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10133         * sysdeps/powerpc/fpu/fenv_private.h
10134         (libc_feholdexcept_setroundl_ctx): Define to
10135         libc_feholdexcept_setround_ppc_ctx.
10136         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10137         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10138         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10139         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10141 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10143         * sysdeps/aarch64/math-tests.h: New file.
10145 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10147         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10148         New.
10149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10150         Check and set bit_AVX2_Usable.
10151         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10152         macro.
10153         (bit_AVX2): Likewise.
10154         (index_AVX2_Usable): Likewise.
10155         (CPUID_AVX2): Likewise.
10156         (HAS_AVX2): Likewise.
10158 2014-04-17  Will Newton  <will.newton@linaro.org>
10160         * manual/setjmp.texi (System V contexts): Add note that
10161         calling setcontext on a context created by a call to a
10162         signal handler is undefined.  Update text to note that
10163         setcontext from a signal handler is possible but not
10164         recommended.
10166         [BZ #16629]
10167         * stdlib/tst-setcontext.c: Include signal.h.
10168         (main): Check that the signal stack before and
10169         after swapcontext is the same.
10171         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10172         Re-implement to restore registers in user code and avoid
10173         rt_sigreturn system call.
10175 2014-04-17  Wilco  <wdijkstr@arm.com>
10177         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10178         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10179         * math/test-fenv.c: Skip exception trap tests on targets which only
10180         support non-stop mode.
10182 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10183             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10185         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10186         (libc_feholdsetround_aarch64_ctx)
10187         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10188         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10189         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10190         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10191         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10192         (libc_feresetround_noexl_ctx): Define.
10194 2014-04-16  Richard Henderson  <rth@redhat.com>
10196         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10198         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10199         unwind tables.
10201         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10202         const from the non-libc, non-ldso copy.
10204         * sysdeps/alpha/libm-test-ulps: Regenerate.
10206 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10207             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10209         * sysdeps/aarch64/fpu/math_private.h: New file.
10211 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10213         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10215 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10217         [BZ #16275]
10218         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10219         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10220         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10221         Intel MPX bound registers before _dl_profile_fixup.
10222         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10223         registers after _dl_profile_fixup.  Save and restore bound
10224         registers bnd0/bnd1 when calling _dl_call_pltexit.
10225         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10226         (LR_BND_OFFSET): Likewise.
10227         (LRV_BND0_OFFSET): Likewise.
10228         (LRV_BND1_OFFSET): Likewise.
10230 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10232         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10233         to...
10234         * sysdeps/mach/hurd/i386/tls.h: ... here.
10235         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10236         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10237         fields.
10239 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10241         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10243 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10245         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10247 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10249         [BZ #14770]
10250         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10251         * sysdeps/s390/configure: Regenerate.
10253         [BZ #16824]
10254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10255         Set round-to-nearest internally to reduce error accumulation.
10257 2014-04-16  Alan Modra  <amodra@gmail.com>
10259         [BZ #16740]
10260         [BZ #16619]
10261         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10262         * math/libm-test.inc (frexp_test_data): Add tests.
10263         * NEWS: Update fixed bug list.
10265 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10267         * benchtests/Makefile: Depend on libraries in build directory.
10268         (bench-math): Separate out math tests.
10269         (bench-pthread): Separate out pthread tests.
10270         (bench): Include math and pthread tests.
10272 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10274         [BZ #16831]
10275         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10276         _dl_debug_initialize.
10278         * configure.ac: Remove SELinux header check.
10279         * configure: Regenerate.
10280         * nscd/selinux.c (perms): Array of const char* to permission names.
10281         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10282         default policy. Call string_to_security_class and string_to_av_perm to
10283         translate strings. Enforce default policy and call avs_has_perm with
10284         results of translated strings.
10286 2014-04-13  David S. Miller  <davem@davemloft.net>
10288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10290 2014-04-12  Allan McRae  <allan@archlinux.org>
10292         [BZ #16838]
10293         * manual/string.texi (Collation Functions): Fix qsort argument
10294         order in example.
10295         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10297 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10299         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10300         Make the test a no-op if there are no exceptions defined.
10302 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10304         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10305         enable-hardcoded-path-in-tests
10307 2014-04-11  Will Newton  <will.newton@linaro.org>
10309         * benchtests/Makefile (extra-objs): Add json-lib.o.
10310         (bench-func): Tidy up JSON output.
10311         * benchtests/bench-skeleton.c: Include json-lib.h.
10312         (main): Use JSON library functions to do output of
10313         benchmark results.
10314         * benchtests/bench-timing-type.c (main): Output the
10315         timing type simply, leaving formatting to the user.
10316         * benchtests/json-lib.c: New file.
10317         * benchtests/json-lib.h: Likewise.
10319 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10321         [BZ #15215]
10322         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10323         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10324         memory barriers.  Add comments.
10325         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10326         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10327         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10328         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10329         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10330         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10332 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10334         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10335         * sysdeps/s390/s390-64/configure.ac: ... this ...
10336         * sysdeps/s390/configure.ac: ... to here.
10337         * sysdeps/s390/s390-32/configure: Delete file.
10338         * sysdeps/s390/s390-64/configure: Delete file.
10339         * sysdeps/s390/configure: Regenerate.
10341 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10343         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10345 2014-04-11  Will Newton  <will.newton@linaro.org>
10347         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10348         to zero if it is not defined elsewhere.  (mtrim): Test
10349         the value of MALLOC_DEBUG with #if rather than #ifdef.
10351 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10353         * benchtests/pthread_once-inputs: New file.
10354         * benchtests/pthread_once-source.c: New file.
10355         * benchtests/README: Update documentation.
10357 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10358             H.J. Lu  <hongjiu.lu@intel.com>
10360         [BZ #16275]
10361         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10362         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10363         * sysdeps/x86_64/configure: Regenerated.
10364         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10365         macro.
10366         (REGISTER_SAVE_RAX): Likewise.
10367         (REGISTER_SAVE_RCX): Likewise.
10368         (REGISTER_SAVE_RDX): Likewise.
10369         (REGISTER_SAVE_RSI): Likewise.
10370         (REGISTER_SAVE_RDI): Likewise.
10371         (REGISTER_SAVE_R8): Likewise.
10372         (REGISTER_SAVE_R9): Likewise.
10373         (REGISTER_SAVE_BND0): Likewise.
10374         (REGISTER_SAVE_BND1): Likewise.
10375         (REGISTER_SAVE_BND2): Likewise.
10376         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10377         bound registers when calling _dl_fixup.
10379 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10381         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10382         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10383         of its definition.
10384         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10385         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10386         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10387         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10388         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10389         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10390         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10392 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10394         [BZ #15514]
10395         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10396         pathconf(_PC_NAME_MAX).
10398 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10400         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10401         Remove macro usage.
10402         (__PTHREAD_SPINS): Move definition to ...
10403         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10404         (__PTHREAD_SPINS): ... here.
10405         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10406         (__PTHREAD_SPIN): Likewise.
10407         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10408         (__PTHREAD_SPIN): Likewise.
10409         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10410         (__PTHREAD_SPIN): Likewise.
10411         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10412         (__PTHREAD_SPIN): Likewise.
10413         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10414         (__PTHREAD_SPIN): Likewise.
10415         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10416         (__PTHREAD_SPIN): Likewise.
10417         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10418         (__PTHREAD_SPIN): Likewise.
10419         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10420         (__PTHREAD_SPIN): Likewise.
10421         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10422         (__PTHREAD_SPIN): Likewise.
10423         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10424         (__PTHREAD_SPIN): Likewise.
10425         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10426         (__PTHREAD_SPIN): Likewise.
10427         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10428         (__PTHREAD_SPIN): Likewise.
10430         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10431         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10432         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10433         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10434         imply folder.
10435         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10436         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10437         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10438         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10439         correct imply path.
10440         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10441         strlen symbol for non multi-arch builds.
10442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10443         missing hidden_def and weak_alias.
10445 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10447         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10449 2014-04-07  Will Newton  <will.newton@linaro.org>
10451         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10452         and contents.  [!_LIBC] Remove #ifndef and contents.
10453         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10454         * string/memccpy.c (__memccpy): Use ANSI prototype.
10455         * string/memfrob.c (memfrob): Likewise.
10456         * string/strcoll.c (STRCOLL): Likewise.
10457         * string/strlen.c (strlen): Likewise.
10458         * string/strtok.c (STRTOK): Likewise.
10459         * string/strcat.c: Remove unused #include of memcopy.h.
10460         (strcat): Use ANSI prototype.
10461         * string/strchr.c: Remove unused #include of memcopy.h.
10462         (strchr): Use ANSI prototype.
10463         * string/strcmp.c: Remove unused #include of memcopy.h.
10464         (strcmp): Use ANSI prototype.
10465         * string/strcpy.c: Remove unused #include of memcopy.h.
10466         (strcpy): Use ANSI prototype.
10468 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10470         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10471         * config.make.in (config-extra-cppflags): Set it from
10472         libc_extra_cppflags.
10473         * configure.ac (libc_extra_cflags): Make it accumulate over
10474         configure fragments.
10475         (libc_extra_cppflags): New flag.
10476         * configure. Regenerate.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10478         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10479         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10482         [BZ #16815]
10483         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10484         result for FE_DOWNWARD rounding mode.
10485         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10486         Likewise.
10487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10489 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10491         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10492         in function argument name.
10494 2014-04-03  David Svoboda  <svoboda@cert.org>
10496         [BZ #5666]
10497         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10498         explicitly.
10500 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10502         * elf/dl-unmap-segments.h: New file.
10503         * sysdeps/generic/ldsodefs.h
10504         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10505         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10506         * elf/dl-fptr.c: Likewise.
10507         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10508         * sysdeps/aarch64/tlsdesc.c: Likewise.
10509         * sysdeps/arm/tlsdesc.c: Likewise.
10510         * sysdeps/i386/tlsdesc.c: Likewise.
10511         * sysdeps/tile/dl-runtime.c: Likewise.
10512         * sysdeps/x86_64/tlsdesc.c: Likewise.
10513         * elf/dl-load.h: New file.
10514         * elf/dl-load.c: Include it.
10515         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10516         Macros moved to dl-load.h.
10517         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10518         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10519         Use _dl_unmap_segments in place of __munmap.
10520         Break out segment-mapping loop into ...
10521         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10523 2014-04-03  Will Newton  <will.newton@linaro.org>
10525         * elf/dl-lookup.c (do_lookup_x): Remove comment
10526         referring to nested function and move variable
10527         declarations down to before first use.
10529 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10531         [BZ #16799]
10532         [BZ #16800]
10533         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10534         with 0 numerator.
10535         * math/s_catanf.c (__catanf): Likewise.
10536         * math/s_catanh.c (__catanh): Likewise.
10537         * math/s_catanhf.c (__catanhf): Likewise.
10538         * math/s_catanhl.c (__catanhl): Likewise.
10539         * math/s_catanl.c (__catanl): Likewise.
10540         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10541         by positive zero when computing -Inf result.
10542         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10543         (catanh_test): Likewise.
10544         * sysdeps/i386/fpu/libm-test-ulps: Update.
10545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10547         [BZ #16789]
10548         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10549         instead of using underflowing value in computing result.
10550         * math/s_clog10.c (__clog10): Likewise.
10551         * math/s_clog10f.c (__clog10f): Likewise.
10552         * math/s_clog10l.c (__clog10l): Likewise.
10553         * math/s_clogf.c (__clogf): Likewise.
10554         * math/s_clogl.c (__clogl): Likewise.
10555         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10556         (clog10_test): Likewise.
10557         * sysdeps/i386/fpu/libm-test-ulps: Update.
10558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560 2014-04-02  Alan Modra  <amodra@gmail.com>
10562         [BZ #16739]
10563         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10564         output when value is near a power of two.  Use int64_t for lx and
10565         remove casts.  Use decimal rather than hex exponent constants.
10566         Don't use long double multiplication when double will suffice.
10567         * math/libm-test.inc (nextafter_test_data): Add tests.
10568         * NEWS: Add 16739 and 16786 to bug list.
10570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10572         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10574 2014-04-01  Will Newton  <will.newton@linaro.org>
10576         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10577         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
10579 2014-04-01  Florian Weimer  <fweimer@redhat.com>
10581         [BZ #13347]
10582         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10583         * nptl/tst-setuid2.c: New file.
10584         * nptl/Makefile (xtests): Add tst-setuid2.
10586 2014-04-01  Alan Modra  <amodra@gmail.com>
10588         [BZ #16786]
10589         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10591 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10593         [BZ #6803]
10594         [BZ #6804]
10595         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10596         set errno as appropriate.
10597         * math/w_scalbf.c (__scalbf): Likewise.
10598         * math/w_scalbl.c (__scalbl): Likewise.
10599         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10600         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10601         * math/libm-test.inc (scalb_test_data): Add errno expectations.
10602         Add more NaN tests.
10604         [BZ #16349]
10605         * math/w_atan2.c: Include <errno.h>.
10606         (__atan2): Set errno for result underflowing to zero.
10607         * math/w_atan2f.c: Include <errno.h>.
10608         (__atan2f): Set errno for result underflowing to zero.
10609         * math/w_atan2l.c: Include <errno.h>.
10610         (__atan2l): Set errno for result underflowing to zero.
10611         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10612         tests.
10613         * math/auto-libm-test-out: Regenerated.
10615 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10617         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10618         Encode instruction correctly in little endian.
10619         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10620         Likewise.
10621         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10622         Likewise.
10623         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10624         Likewise.
10625         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10626         Likewise.
10628 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10630         [BZ #9894]
10631         * sysdeps/unix/sysv/linux/kernel-features.h
10632         [__sparc__ && !__arch64__ && !__sparc_v9__]
10633         (__ASSUME_SET_ROBUST_LIST): Do not define.
10634         [__sparc__ && !__arch64__ && !__sparc_v9__]
10635         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10636         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10637         Likewise.
10638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10639         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10640         (__ASSUME_REQUEUE_PI): Likewise.
10641         (__ASSUME_SET_ROBUST_LIST): Likewise.
10642         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10643         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10644         Undefine.
10645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10646         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10647         Likewise.
10648         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10649         Likewise.
10650         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10651         Likewise.
10652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10653         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10654         Undefine.
10655         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10656         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10657         Likewise.
10659         [BZ #16648]
10660         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10661         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10662         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10664 2014-03-31  Will Newton  <will.newton@linaro.org>
10666         * benchtests/Makefile (bench): Add ffs and ffsll to list
10667         of tests.
10668         * benchtests/ffs-inputs: New file.
10669         * benchtests/ffsll-inputs: Likewise.
10671 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10673         [BZ #16770]
10674         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10675         too large before casting to int.
10676         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10677         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10678         * math/libm-test.inc (scalb_test_data): Add more tests.
10680 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10682         * benchtests/Makefile (DETAILED_OPT): New make option.
10683         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10684         set.
10685         * benchtests/bench-skeleton.c: Include stdbool.h.
10686         (main): Store and print timings per input.
10687         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10688         member to each argument value.
10689         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10690         (_print_arg_data): Initialize per-input timing to 0.
10692         * benchtests/Makefile (timing-type): New binary.
10693         (bench-clean): Also remove bench-timing-type.
10694         (bench): New target for timing-type.
10695         (bench-func): Print output in JSON format.
10696         * benchtests/bench-skeleton.c (main): Print output in JSON
10697         format.
10698         * benchtests/bench-timing-type.c: New file.
10699         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10700         (TIMING_PRINT_STATS): Remove.
10701         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10702         name separately.
10704         * benchtests/bench-modf.c: Remove.
10705         * benchtests/modf-inputs: New inputs file.
10707 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10709         [BZ #16362]
10710         * math/s_clog10.c (M_PI_LOG10E): New macro.
10711         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10712         imaginary parts are 0.
10713         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10714         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10715         imaginary parts are 0.
10716         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10717         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10718         imaginary parts are 0.
10719         * math/libm-test.inc (clog10_test_data): Update expected results
10720         for when real and imaginary parts are 0.
10722 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10724         * elf/dl-load.c: Finish conversion of __builtin_expect into
10725         __glibc_{un}likely.
10727 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10729         [BZ #16348]
10730         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10731         1+x for argument with exponent below -67.
10732         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10733         Likewise.
10734         * math/auto-libm-test-in: Add more tests of exp.
10735         * math/auto-libm-test-out: Regenerated.
10737 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10739         [BZ #16759]
10740         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10741         (nscd_getnetgrent): Use it.
10743         [BZ #16760]
10744         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10745         of stpcpy.
10747 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10749         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10750         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10751         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10752         (lll_robust_unlock): Remove out of line section. Use cfi
10753         intrinsics.
10754         (LLL_STUB_UNWIND_INFO*): Remove.
10755         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10756         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10757         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10758         (lll_robust_unlock): Remove out of line section. Use cfi
10759         intrinsics.
10760         (LLL_STUB_UNWIND_INFO*): Remove.
10762 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10764         [BZ #16758]
10765         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10766         blank values.
10768 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10770         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10772 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10774         [BZ #16198]
10775         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10776         fnstenv.
10777         * math/test-fenv-preserve.c: New file.
10778         * math/Makefile (tests): Add test-fenv-preserve.
10780 2014-03-26  Will Newton <will.newton@linaro.org>
10782         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10784 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10786         * scripts/versionlist.awk: Partition the version sets and emit all
10787         GLIBC_* (sorted) before all others (sorted).
10789 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10791         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10792         GLIBC_2.2.5 version.
10794 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10796         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10797         calls.
10799         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10800         previous change.
10802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10804 2014-03-25  Andreas Schwab  <schwab@suse.de>
10806         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10807         label to be used after in6ailist is initialized.
10809 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10811         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10812         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10814 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10816         [BZ #16357]
10817         [BZ #16599]
10818         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10819         min_plus_half.
10820         (fp_formats): Update initializers.
10821         (init_fp_formats): Initialize new field.
10822         (output_for_one_input_case): Allow underflow for results up to
10823         min_plus_half.
10824         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10825         * math/auto-libm-test-in: Don't mark some underflows from asin and
10826         atanh as spurious.
10827         * math/auto-libm-test-out: Regenerated.
10828         * sysdeps/i386/fpu/libm-test-ulps: Update.
10829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10831 2014-03-25  Andreas Schwab  <schwab@suse.de>
10833         * libio/Makefile (tst-ftell-partial-wide-ENV)
10834         (tst-ftell-active-handler-ENV): Define.
10836 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10838         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10840 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10842         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10844 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10846         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10847         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10848         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10850 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10852         [BZ #16634]
10853         * elf/dl-load.c (open_verify): Add mode parameter.
10854         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10855         (open_path): Change from boolean 'secure' to complete flag 'mode'
10856         (_dl_map_object): Adjust.
10857         * elf/Makefile (tests): Add tst-dlopen-aout.
10858         * elf/tst-dlopen-aout.c: New test.
10860 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10862         [BZ #16714]
10863         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10864         (struct stat): Rename member pad0 to __glibc_reserved0.
10866         [BZ #16712]
10867         * sysdeps/s390/s390-32/bits/wordsize.h
10868         (__WORDSIZE32_SIZE_ULONG): New define.
10869         * sysdeps/s390/s390-64/bits/wordsize.h
10870         (__WORDSIZE32_SIZE_ULONG): Likewise.
10871         * sysdeps/generic/stdint.h (SIZE_MAX):
10872         Define as UL if __WORDSIZE32_SIZE_ULONG.
10874         [BZ #16713]
10875         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10876         (__glibc_reserved0): New variable.
10877         (sa_flags): Change type to int.
10879         * posix/Makefile (before-compile): Use += before-compile instead
10880         of a :=.
10882         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10883         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10885 2014-03-20  Andreas Schwab  <schwab@suse.de>
10887         [BZ #16743]
10888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10889         non-matching result from nscd.
10891 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10893         * scripts/bench.py: Moved to ...
10894         * benchtests/scripts/bench.py: ... here.
10895         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10897 2014-03-24  Andreas Schwab  <schwab@suse.de>
10899         [BZ #16002]
10900         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10901         alloca_account and account alloca use for struct in6ailist.
10903 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10905         [BZ #16284]
10906         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10907         rounding mode to recompute results that overflow to infinity or
10908         underflow to zero.
10909         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10910         bug 16284.
10911         * math/auto-libm-test-out: Regenerated.
10912         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10913         (ccosh_test): Likewise.
10914         (csin_test_data): Use plus_oflow.
10915         (csin_test): Use ALL_RM_TEST.
10916         (csinh_test_data): Use plus_oflow.
10917         (csinh_test): Use ALL_RM_TEST.
10918         * sysdeps/i386/fpu/libm-test-ulps: Update.
10919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10923         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10924         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10925         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10927         [BZ #16731]
10928         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10929         when x - 1 is zero.
10930         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10931         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10932         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10934         argument is 1.
10935         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10936         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10937         zero.
10938         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10939         * sysdeps/i386/fpu/libm-test-ulps: Update.
10940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10944         * scripts/bench.pl: Remove file.
10945         * scripts/bench.py: New benchmark script.
10946         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10947         * benchtests/README: Mention python dependency.
10948         * scripts/pylintrc: New file.
10949         * scripts/pylint: New file.
10951         * bits/mathdef.h: Use #ifdef instead of #if.
10952         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10953         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10954         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10955         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10956         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10957         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10959 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10960             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10962         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10964         and strpbrk-ppc64 objects.
10965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10966         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10967         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10968         multiarch strpbrk for POWER7.
10969         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10970         multiarch strpbrk for PPC64.
10971         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10972         ifunc selector.
10973         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10974         strpbrk for POWER7.
10976 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
10978         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10979         (atan_test): Likewise.
10980         (atanh_test_data): Use NO_TEST_INLINE for two tests.
10981         (atanh_test): Use ALL_RM_TEST.
10982         (atan2_test_data): Likewise.
10983         (cabs_test): Likewise.
10984         (cacosh_test): Likewise.
10985         (carg_test): Likewise.
10986         (casin_test): Likewise.
10987         (casinh_test): Likewise.
10988         (cbrt_test): Likewise.
10989         (csqrt_test): Likewise.
10990         (erf_test): Likewise.
10991         (erfc_test): Likewise.
10992         (pow10_test): Likewise.
10993         (exp2_test): Likewise.
10994         (hypot_test): Likewise.
10995         (j0_test): Likewise.
10996         (j1_test): Likewise.
10997         (lgamma_test): Likewise.
10998         (gamma_test): Likewise.
10999         (sincos_test): Likewise.
11000         (tanh_test): Likewise.
11001         (y0_test): Likewise.
11002         (y1_test): Likewise.
11003         * sysdeps/i386/fpu/libm-test-ulps: Update.
11004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11008         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11010         and strcspn-ppc64 objects.
11011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11012         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11013         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11014         multiarch strcspn for POWER7.
11015         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11016         multiarch strcspn for PPC64.
11017         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11018         ifunc selector.
11019         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11020         strcspn for POWER7.
11022 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11024         * math/gen-libm-test.pl (generate_testfile): Expect only function
11025         name as argument to AUTO_TESTS_* and pass results for all rounding
11026         modes to parse_args.
11027         (parse_auto_input): Separate inputs of automatic tests from
11028         outputs before storing in %auto_tests.
11029         * math/libm-test.inc (acos_test_data): Update call to
11030         AUTO_TESTS_f_f.
11031         (acos_test): Use ALL_RM_TEST.
11032         (acos_tonearest_test_data): Remove.
11033         (acos_test_tonearest): Likewise.
11034         (acos_towardzero_test_data): Likewise.
11035         (acos_test_towardzero): Likewise.
11036         (acos_downward_test_data): Likewise.
11037         (acos_test_downward): Likewise.
11038         (acos_upward_test_data): Likewise.
11039         (acos_test_upward): Likewise.
11040         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11041         (asin_test_data): Likewise.
11042         (asin_test): Use ALL_RM_TEST.
11043         (asin_tonearest_test_data): Remove.
11044         (asin_test_tonearest): Likewise.
11045         (asin_towardzero_test_data): Likewise.
11046         (asin_test_towardzero): Likewise.
11047         (asin_downward_test_data): Likewise.
11048         (asin_test_downward): Likewise.
11049         (asin_upward_test_data): Likewise.
11050         (asin_test_upward): Likewise.
11051         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11052         (atan_test_data): Likewise.
11053         (atanh_test_data): Likewise.
11054         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11055         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11056         (carg_test_data): Likewise.
11057         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11058         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11059         (ccosh_test_data): Likewise.
11060         (cexp_test_data): Likewise.
11061         (clog_test_data): Likewise.
11062         (clog10_test_data): Likewise.
11063         (cos_test_data): Update call to AUTO_TESTS_f_f.
11064         (cos_test): Use ALL_RM_TEST.
11065         (cos_tonearest_test_data): Remove.
11066         (cos_test_tonearest): Likewise.
11067         (cos_towardzero_test_data): Likewise.
11068         (cos_test_towardzero): Likewise.
11069         (cos_downward_test_data): Likewise.
11070         (cos_test_downward): Likewise.
11071         (cos_upward_test_data): Likewise.
11072         (cos_test_upward): Likewise.
11073         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11074         (cosh_test): Use ALL_RM_TEST.
11075         (cosh_tonearest_test_data): Remove.
11076         (cosh_test_tonearest): Likewise.
11077         (cosh_towardzero_test_data): Likewise.
11078         (cosh_test_towardzero): Likewise.
11079         (cosh_downward_test_data): Likewise.
11080         (cosh_test_downward): Likewise.
11081         (cosh_upward_test_data): Likewise.
11082         (cosh_test_upward): Likewise.
11083         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11084         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11085         (ctan_test_data): Likewise.
11086         (ctan_test): Use ALL_RM_TEST.
11087         (ctan_tonearest_test_data): Remove.
11088         (ctan_test_tonearest): Likewise.
11089         (ctan_towardzero_test_data): Likewise.
11090         (ctan_test_towardzero): Likewise.
11091         (ctan_downward_test_data): Likewise.
11092         (ctan_test_downward): Likewise.
11093         (ctan_upward_test_data): Likewise.
11094         (ctan_test_upward): Likewise.
11095         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11096         (ctanh_test): Use ALL_RM_TEST.
11097         (ctanh_tonearest_test_data): Remove.
11098         (ctanh_test_tonearest): Likewise.
11099         (ctanh_towardzero_test_data): Likewise.
11100         (ctanh_test_towardzero): Likewise.
11101         (ctanh_downward_test_data): Likewise.
11102         (ctanh_test_downward): Likewise.
11103         (ctanh_upward_test_data): Likewise.
11104         (ctanh_test_upward): Likewise.
11105         (erf_test_data): Update call to AUTO_TESTS_f_f.
11106         (erfc_test_data): Likewise.
11107         (exp_test_data): Likewise.
11108         (exp_test): Use ALL_RM_TEST.
11109         (exp_tonearest_test_data): Remove.
11110         (exp_test_tonearest): Likewise.
11111         (exp_towardzero_test_data): Likewise.
11112         (exp_test_towardzero): Likewise.
11113         (exp_downward_test_data): Likewise.
11114         (exp_test_downward): Likewise.
11115         (exp_upward_test_data): Likewise.
11116         (exp_test_upward): Likewise.
11117         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11118         (exp10_test): Use ALL_RM_TEST.
11119         (exp10_tonearest_test_data): Remove.
11120         (exp10_test_tonearest): Likewise.
11121         (exp10_towardzero_test_data): Likewise.
11122         (exp10_test_towardzero): Likewise.
11123         (exp10_downward_test_data): Likewise.
11124         (exp10_test_downward): Likewise.
11125         (exp10_upward_test_data): Likewise.
11126         (exp10_test_upward): Likewise.
11127         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11128         (expm1_test_data): Likewise.
11129         (expm1_test): Use ALL_RM_TEST.
11130         (expm1_tonearest_test_data): Remove.
11131         (expm1_test_tonearest): Likewise.
11132         (expm1_towardzero_test_data): Likewise.
11133         (expm1_test_towardzero): Likewise.
11134         (expm1_downward_test_data): Likewise.
11135         (expm1_test_downward): Likewise.
11136         (expm1_upward_test_data): Likewise.
11137         (expm1_test_upward): Likewise.
11138         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11139         (fma_test): Use ALL_RM_TEST.
11140         (fma_towardzero_test_data): Remove.
11141         (fma_test_towardzero): Likewise.
11142         (fma_downward_test_data): Likewise.
11143         (fma_test_downward): Likewise.
11144         (fma_upward_test_data): Likewise.
11145         (fma_test_upward): Likewise.
11146         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11147         (j0_test_data): Update call to AUTO_TESTS_f_f.
11148         (j1_test_data): Likewise.
11149         (jn_test_data): Update call to AUTO_TESTS_if_f.
11150         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11151         (log_test_data): Update call to AUTO_TESTS_f_f.
11152         (log10_test_data): Likewise.
11153         (log1p_test_data): Likewise.
11154         (log2_test_data): Likewise.
11155         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11156         (pow_tonearest_test_data): Likewise.
11157         (sin_test_data): Update call to AUTO_TESTS_f_f.
11158         (sin_test): Use ALL_RM_TEST.
11159         (sin_tonearest_test_data): Remove.
11160         (sin_test_tonearest): Likewise.
11161         (sin_towardzero_test_data): Likewise.
11162         (sin_test_towardzero): Likewise.
11163         (sin_downward_test_data): Likewise.
11164         (sin_test_downward): Likewise.
11165         (sin_upward_test_data): Likewise.
11166         (sin_test_upward): Likewise.
11167         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11168         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11169         (sinh_test): Use ALL_RM_TEST.
11170         (sinh_tonearest_test_data): Remove.
11171         (sinh_test_tonearest): Likewise.
11172         (sinh_towardzero_test_data): Likewise.
11173         (sinh_test_towardzero): Likewise.
11174         (sinh_downward_test_data): Likewise.
11175         (sinh_test_downward): Likewise.
11176         (sinh_upward_test_data): Likewise.
11177         (sinh_test_upward): Likewise.
11178         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11179         (sqrt_test): Use ALL_RM_TEST.
11180         (sqrt_tonearest_test_data): Remove.
11181         (sqrt_test_tonearest): Likewise.
11182         (sqrt_towardzero_test_data): Likewise.
11183         (sqrt_test_towardzero): Likewise.
11184         (sqrt_downward_test_data): Likewise.
11185         (sqrt_test_downward): Likewise.
11186         (sqrt_upward_test_data): Likewise.
11187         (sqrt_test_upward): Likewise.
11188         (tan_test_data): Update call to AUTO_TESTS_f_f.
11189         (tan_test): Use ALL_RM_TEST.
11190         (tan_tonearest_test_data): Remove.
11191         (tan_test_tonearest): Likewise.
11192         (tan_towardzero_test_data): Likewise.
11193         (tan_test_towardzero): Likewise.
11194         (tan_downward_test_data): Likewise.
11195         (tan_test_downward): Likewise.
11196         (tan_upward_test_data): Likewise.
11197         (tan_test_upward): Likewise.
11198         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11199         (tgamma_test_data): Likewise.
11200         (y0_test_data): Likewise.
11201         (y1_test_data): Likewise.
11202         (yn_test_data): Update call to AUTO_TESTS_if_f.
11203         (main): Do not call removed functions.
11205 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11207         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11208         (ldexp_test_data): Remove.
11209         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11210         scalbn_test_data.
11211         (scalb_test): Use ALL_RM_TEST.
11213 2014-03-19  Andreas Schwab  <schwab@suse.de>
11215         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11217 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #16649]
11220         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11221         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11222         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11223         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11224         (__ASSUME_PREADV): Undefine.
11225         (__ASSUME_PWRITEV): Likewise.
11227 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11229         * bits/mman-linux.h: Add comment about non-Linux use.
11230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11231         bits/mman-linux.h resting place.
11233         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11234         * bits/mman-linux.h: ... here.
11236 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11238         * conform/conformtest.pl: Add standard definition when calling C
11239         preprocessor on data files.
11240         (checknamespace): Remove unused variable.
11242 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11244         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11245         minus_oflow, plus_uflow and minus_uflow in expected results.
11246         * math/libm-test.inc (scalbn_test_data): Add more tests of
11247         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11248         minus_uflow.
11249         (scalbn_test): Use ALL_RM_TEST.
11250         (scalbln_test_data): Add more tests of negative arguments.  Use
11251         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11252         (scalbln_test): Use ALL_RM_TEST.
11254 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11256         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11258 2014-03-18  Will Newton  <will.newton@linaro.org>
11260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11261         inaccurate comment.
11263 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11265         * Makerules [!subdir] (check-abi): Exit with error status if a
11266         test failed.
11268 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11270         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11271         for rint.  Include results for all rounding modes.
11272         (nearbyint_test): Use ALL_RM_TEST.
11273         (rint_test_data): Include all tests used for nearbyint.
11275 2014-03-17  Will Newton  <will.newton@linaro.org>
11277         * nptl/sysdeps/pthread/pthread.h: Revert previous
11278         change.
11280         * sysdeps/generic/ldsodefs.h: Revert previous
11281         change.
11283         * libio/genops.c: Revert previous change.
11284         * libio/libioP.h: Likewise.
11285         * stdio-common/vfprintf.c: Likewise.
11287         * sysdeps/generic/math_private.h: Revert previous
11288         change.
11290         * sysdeps/generic/math_private.h: Check whether
11291         HAVE_RM_CTX is defined with #ifdef rather
11292         than #if.
11294         * argp/argp-fmtstream.h: Check whether
11295         __STRICT_ANSI__ is defined with #ifdef rather
11296         than #if.
11297         * argp/argp.h: Likewise.
11299         * libio/genops.c: Check whether
11300         _IO_JUMPS_OFFSET is defined with #ifdef rather
11301         than #if.
11302         * libio/libioP.h: Likewise.
11303         * stdio-common/vfprintf.c: Likewise.
11305         * sysdeps/generic/ldsodefs.h: Check whether
11306         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11307         than #if.
11309         * nptl/sysdeps/pthread/pthread.h: Check
11310         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11311         its value.
11313 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11315         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11316         setting O_APPEND.
11317         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11318         test case.
11320         [BZ #16680]
11321         * libio/fileops.c (_IO_file_open): Seek to end of file but
11322         don't cache the offset.
11323         (get_file_offset): Remove function.
11324         (do_ftell): Use cached offset when available.
11325         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11326         don't cache the offset.
11327         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11328         case.
11329         (do_one_test): Call it.
11330         (do_ftell_test): Fix up expected old offset for a+ mode.
11331         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11332         available.
11334         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11335         up test status with function return status.
11336         (do_write_test): Likewise.
11337         (do_append_test): Likewise.
11339         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11340         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11341         Remove.
11343 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11345         * math/gen-libm-test.pl (parse_args): Handle results specified for
11346         each rounding mode separately.
11347         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11348         tests and results from lrint_tonearest_test_data,
11349         lrint_towardzero_test_data, lrint_downward_test_data and
11350         lrint_upward_test_data.
11351         (lrint_test): Use ALL_RM_TEST.
11352         (lrint_tonearest_test_data): Remove.
11353         (lrint_test_tonearest): Likewise.
11354         (lrint_towardzero_test_data): Likewise.
11355         (lrint_test_towardzero): Likewise.
11356         (lrint_downward_test_data): Likewise.
11357         (lrint_test_downward): Likewise.
11358         (lrint_upward_test_data): Likewise.
11359         (lrint_test_upward): Likewise.
11360         (llrint_test_data): Merge in per-rounding-mode tests and results
11361         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11362         llrint_downward_test_data and llrint_upward_test_data.
11363         (llrint_test): Use ALL_RM_TEST.
11364         (llrint_tonearest_test_data): Remove.
11365         (llrint_test_tonearest): Likewise.
11366         (llrint_towardzero_test_data): Likewise.
11367         (llrint_test_towardzero): Likewise.
11368         (llrint_downward_test_data): Likewise.
11369         (llrint_test_downward): Likewise.
11370         (llrint_upward_test_data): Likewise.
11371         (llrint_test_upward): Likewise.
11372         (rint_test_data): Merge in per-rounding-mode tests and results
11373         from rint_tonearest_test_data, rint_towardzero_test_data,
11374         rint_downward_test_data and rint_upward_test_data.  Add
11375         per-rounding-mode results for tests not in those arrays.
11376         (rint_test): Use ALL_RM_TEST.
11377         (rint_tonearest_test_data): Remove.
11378         (rint_test_tonearest): Likewise.
11379         (rint_towardzero_test_data): Likewise.
11380         (rint_test_towardzero): Likewise.
11381         (rint_downward_test_data): Likewise.
11382         (rint_test_downward): Likewise.
11383         (rint_upward_test_data): Likewise.
11384         (rint_test_upward): Likewise.
11385         (main): Don't call removed functions.
11387 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11389         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11390         "Compiled on ..." crapola.  It is anti-useful.
11392 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11394         * scripts/evaluate-test.sh: Handle fourth argument to determine
11395         whether test run should stop on failure.
11396         * Makeconfig (stop-on-test-failure): New variable.
11397         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11398         $(stop-on-test-failure).
11399         * Makefile (tests): Give a summary of results from testing and
11400         exit with failure status if they include an ERROR or FAIL.
11401         (xtests): Likewise.
11402         * manual/install.texi (Configuring and compiling): Mention
11403         stop-on-test-failure=y.
11404         * INSTALL: Regenerated.
11406 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11408         * scripts/versionlist.awk: New file.
11409         * Makerules [$(build-shared) = yes]
11410         (postclean-generated): Add Versions.def, not Versions.def.v and
11411         Versions.def.v.i.
11412         ($(common-objpfx)Versions.def.v.i): Target removed.
11413         ($(common-objpfx)Versions.def): New target.
11414         ($(common-objpfx)Versions.all): Depend on that rather that
11415         $(common-objpfx)Versions.def.v.
11416         * Versions.def: File removed.
11418         * Makeconfig (+gccwarn): Add -Wundef.
11419         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11420         a dl-sysdep.h breaking its contract.
11421         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11422         * include/stackinfo.h: New file.
11423         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11424         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11425         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11426         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11427         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11428         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11429         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11430         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11431         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11432         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11433         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11434         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11435         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11436         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11437         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11439 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11441         [BZ #16707]
11442         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11443         implementation.
11444         * math/libm-test.inc (round_test_data): Add more tests.
11446         [BZ #16706]
11447         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11448         implementation.
11449         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11451         [BZ #16701]
11452         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11453         implementation.
11454         * math/libm-test.inc (ceil_test_data): Add more tests.
11456         * math/libm-test.inc (trunc_test_data): Add more tests related to
11457         BZ#16414.
11459 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11461         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11462         with #if rather than #ifdef.
11463         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11465 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11467         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11468         first.  Disable AVX-512 GCC support if assembler doesn't support
11469         it.
11470         * sysdeps/x86_64/configure: Regenerated.
11472 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11474         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11475         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11476         (__old_pthread_attr_setstack): Likewise.
11477         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11478         [!_STACK_GROWS_DOWN]: Likewise.
11480 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11482         * config.make.in (have-bash2): Delete.
11483         * configure.ac (libc_cv_have_bash2): Delete.
11484         * configure: Regenerate.
11485         * elf/Makefile (common-ldd-rewrite): Rename to ...
11486         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11487         (sh-ldd-rewrite): Delete.
11488         (bash-ldd-rewrite): Delete.
11489         (have-bash2): Delete checks.
11490         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11491         ldd-rewrite.
11493         * config.make.in (have-ksh): Delete.
11494         (KSH): Delete.
11495         * configure.ac (libc_cv_have_ksh): Delete.
11496         * configure: Regenerate.
11498         * elf/Makefile: Delete $(have-ksh) check.
11499         ($(objpfx)sotruss): Change KSH to BASH.
11500         * elf/sotruss.ksh: Rename to ...
11501         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11502         function style to match POSIX.  Drop ksh vim mode setting.
11504         * manual/time.texi (Specifying the Time Zone with TZ): Change
11505         Tuesday to Thursday.
11507         * debug/tst-longjmp_chk2.c: Update header comment.
11508         (stackoverflow_handler): Add comment.  Call assert on pass value.
11510 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11512         [BZ #16194]
11513         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11514         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11515         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11516         (La_x86_64_vector): Add zmm.
11517         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11518         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11519         ($(objpfx)tst-audit10): New target.
11520         ($(objpfx)tst-audit10.out): Likewise.
11521         (tst-audit10-ENV): New.
11522         (AVX512-CFLAGS): Likewise.
11523         (CFLAGS-tst-audit10.c): Likewise.
11524         (CFLAGS-tst-auditmod10a.c): Likewise.
11525         (CFLAGS-tst-auditmod10b.c): Likewise.
11526         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11527         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11528         * sysdeps/x86_64/configure: Regenerated.
11529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11530         AVX-512 zmm register support.
11531         (_dl_x86_64_save_sse): Likewise.
11532         (_dl_x86_64_restore_sse): Likewise.
11533         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11534         size vector registers.
11535         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11536         (ZMM_SIZE): Likewise.
11537         * sysdeps/x86_64/tst-audit10.c: New file.
11538         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11539         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11541 2014-03-13  Roland McGrath  <roland@hack.frob.com>
11543         * configure.ac (HAVE_EHDR_START): New check.
11544         * configure: Regenerated.
11545         * config.h.in (HAVE_EHDR_START): New #undef.
11546         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11547         assuming the lowest-addressed segment maps the start of the file.
11549 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
11551         * INSTALL: Regenerated.
11553 2014-03-13  Will Newton  <will.newton@linaro.org>
11555         * manual/setjmp.texi (System V contexts): Improve
11556         clarity and grammar of documentation.
11558 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11560         [BZ #16381]
11561         * elf/Makefile (tests): Add tst-pie2.
11562         (tests-pie): Add tst-pie2.
11563         * elf/tst-pie2.c: New file.
11564         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11565         for ET_EXEC.
11566         * elf/rtld.c (map_doit): Load executable as lt_executable.
11567         (dl_main): Likewise.
11569 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
11571         [BZ #16642]
11572         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11573         (__ASSUME_PSELECT): Undefine.
11575 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11577         [BZ #16689]
11578         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11579         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11580         static build.
11581         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11582         selector for static builds.
11584 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11586         [BZ #16695]
11587         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11588         key in the buffer.
11590 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11592         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11593         IFUNC selector for static builds.
11595 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
11597         * sysdeps/mips/math_private.h [__mips_hard_float]
11598         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11599         libc_feresetround_mips_ctx.
11600         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11601         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11602         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11604         [BZ #16677]
11605         * math/s_nextafter.c (__nextafter): Do not return value from
11606         overflowing computation.
11607         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11608         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11609         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11610         Likewise.
11611         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11612         Likewise.
11613         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11614         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11616 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11618         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11619         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11620         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11621         the new mov targetting sp.
11623 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11625         [BZ #16683]
11626         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11627         Define it for static builds as well.
11628         (NO_BZERO_IMPL): Likewise.
11630 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11632         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11633         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11634         multiarch strspn for PPC64.
11635         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11636         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11638         (__libc_ifunc_impl_list): Likewise.
11639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11640         multiarch optimizations
11641         * string/strspn.c (strspn): Using macro to redefine symbol name.
11643 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11644             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11646         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11647         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11648         multiarch strncat for PPC64.
11649         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11650         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11652         (__libc_ifunc_impl_list): Likewise.
11653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11654         multiarch optimizations
11656 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11658         [BZ #16639]
11659         * nscd/nscd.service: Make service type forking.
11661 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11663         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11664         sign in non default rounding modes.
11665         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11667 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11669         * math/libm-test.inc (ALL_RM_TEST): New macro.
11670         (ceil_test): Use ALL_RM_TEST.
11671         (cimag_test): Likewise.
11672         (conj_test): Likewise.
11673         (copysign_test): Likewise.
11674         (cproj_test): Likewise.
11675         (creal_test): Likewise.
11676         (fabs_test): Likewise.
11677         (floor_test): Likewise.
11678         (fmax_test): Likewise.
11679         (fmin_test): Likewise.
11680         (fmod_test): Likewise.
11681         (fpclassify_test): Likewise.
11682         (frexp_test): Likewise.
11683         (ilogb_test): Likewise.
11684         (isfinite_test): Likewise.
11685         (finite_test): Likewise.
11686         (isgreater_test): Likewise.
11687         (isgreaterequal_test): Likewise.
11688         (isinf_test): Likewise.
11689         (isless_test): Likewise.
11690         (islessequal_test): Likewise.
11691         (islessgreater_test): Likewise.
11692         (isnan_test): Likewise.
11693         (isnormal_test): Likewise.
11694         (issignaling_test): Likewise.
11695         (isunordered_test): Likewise.
11696         (logb_test): Likewise.
11697         (logb_downward_test_data): Remove.
11698         (logb_test_downward): Likewise.
11699         (lround_test): Use ALL_RM_TEST.
11700         (llround_test): Likewise.
11701         (modf_test): Likewise.
11702         (nexttoward_test): Likewise.
11703         (remainder_test): Likewise.
11704         (drem_test): Likewise.
11705         (remainder_tonearest_test_data): Likewise.
11706         (remainder_test_tonearest): Likewise.
11707         (drem_test_tonearest): Likewise.
11708         (remainder_towardzero_test_data): Likewise.
11709         (remainder_test_towardzero): Likewise.
11710         (drem_test_towardzero): Likewise.
11711         (remainder_downward_test_data): Likewise.
11712         (remainder_test_downward): Likewise.
11713         (drem_test_downward): Likewise.
11714         (remainder_upward_test_data): Likewise.
11715         (remainder_test_upward): Likewise.
11716         (drem_test_upward): Likewise.
11717         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11718         (round_test): Use ALL_RM_TEST.
11719         (signbit_test): Likewise.
11720         (trunc_test): Likewise.
11721         (significand_test): Likewise.
11722         (main): Don't call removed functions.
11724 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11726         [BZ #16674]
11727         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11728         || __USE_XOPEN2K8].
11729         (ILL_ILLOPN): Likewise.
11730         (ILL_ILLADR): Likewise.
11731         (ILL_ILLTRP): Likewise.
11732         (ILL_PRVOPC): Likewise.
11733         (ILL_PRVREG): Likewise.
11734         (ILL_COPROC): Likewise.
11735         (ILL_BADSTK): Likewise.
11736         (FPE_INTDIV): Likewise.
11737         (FPE_INTOVF): Likewise.
11738         (FPE_FLTDIV): Likewise.
11739         (FPE_FLTOVF): Likewise.
11740         (FPE_FLTUND): Likewise.
11741         (FPE_FLTRES): Likewise.
11742         (FPE_FLTINV): Likewise.
11743         (FPE_FLTSUB): Likewise.
11744         (SEGV_MAPERR): Likewise.
11745         (SEGV_ACCERR): Likewise.
11746         (BUS_ADRALN): Likewise.
11747         (BUS_ADRERR): Likewise.
11748         (BUS_OBJERR): Likewise.
11749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11750         (TRAP_TRACE): Likewise.
11751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11752         __USE_XOPEN2K8].
11753         (CLD_KILLED): Likewise.
11754         (CLD_DUMPED): Likewise.
11755         (CLD_TRAPPED): Likewise.
11756         (CLD_STOPPED): Likewise.
11757         (CLD_CONTINUED): Likewise.
11758         (POLL_IN): Likewise.
11759         (POLL_OUT): Likewise.
11760         (POLL_MSG): Likewise.
11761         (POLL_ERR): Likewise.
11762         (POLL_PRI): Likewise.
11763         (POLL_HUP): Likewise.
11764         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11765         Likewise.
11766         (ILL_ILLOPN): Likewise.
11767         (ILL_ILLADR): Likewise.
11768         (ILL_ILLTRP): Likewise.
11769         (ILL_PRVOPC): Likewise.
11770         (ILL_PRVREG): Likewise.
11771         (ILL_COPROC): Likewise.
11772         (ILL_BADSTK): Likewise.
11773         (FPE_INTDIV): Likewise.
11774         (FPE_INTOVF): Likewise.
11775         (FPE_FLTDIV): Likewise.
11776         (FPE_FLTOVF): Likewise.
11777         (FPE_FLTUND): Likewise.
11778         (FPE_FLTRES): Likewise.
11779         (FPE_FLTINV): Likewise.
11780         (FPE_FLTSUB): Likewise.
11781         (SEGV_MAPERR): Likewise.
11782         (SEGV_ACCERR): Likewise.
11783         (BUS_ADRALN): Likewise.
11784         (BUS_ADRERR): Likewise.
11785         (BUS_OBJERR): Likewise.
11786         (BUS_MCEERR_AR): Likewise.
11787         (BUS_MCEERR_AO): Likewise.
11788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11789         (TRAP_TRACE): Likewise.
11790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11791         __USE_XOPEN2K8].
11792         (CLD_KILLED): Likewise.
11793         (CLD_DUMPED): Likewise.
11794         (CLD_TRAPPED): Likewise.
11795         (CLD_STOPPED): Likewise.
11796         (CLD_CONTINUED): Likewise.
11797         (POLL_IN): Likewise.
11798         (POLL_OUT): Likewise.
11799         (POLL_MSG): Likewise.
11800         (POLL_ERR): Likewise.
11801         (POLL_PRI): Likewise.
11802         (POLL_HUP): Likewise.
11803         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11804         (ILL_ILLOPN): Likewise.
11805         (ILL_ILLADR): Likewise.
11806         (ILL_ILLTRP): Likewise.
11807         (ILL_PRVOPC): Likewise.
11808         (ILL_PRVREG): Likewise.
11809         (ILL_COPROC): Likewise.
11810         (ILL_BADSTK): Likewise.
11811         (FPE_INTDIV): Likewise.
11812         (FPE_INTOVF): Likewise.
11813         (FPE_FLTDIV): Likewise.
11814         (FPE_FLTOVF): Likewise.
11815         (FPE_FLTUND): Likewise.
11816         (FPE_FLTRES): Likewise.
11817         (FPE_FLTINV): Likewise.
11818         (FPE_FLTSUB): Likewise.
11819         (SEGV_MAPERR): Likewise.
11820         (SEGV_ACCERR): Likewise.
11821         (BUS_ADRALN): Likewise.
11822         (BUS_ADRERR): Likewise.
11823         (BUS_OBJERR): Likewise.
11824         (BUS_MCEERR_AR): Likewise.
11825         (BUS_MCEERR_AO): Likewise.
11826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11827         (TRAP_TRACE): Likewise.
11828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11829         __USE_XOPEN2K8].
11830         (CLD_KILLED): Likewise.
11831         (CLD_DUMPED): Likewise.
11832         (CLD_TRAPPED): Likewise.
11833         (CLD_STOPPED): Likewise.
11834         (CLD_CONTINUED): Likewise.
11835         (POLL_IN): Likewise.
11836         (POLL_OUT): Likewise.
11837         (POLL_MSG): Likewise.
11838         (POLL_ERR): Likewise.
11839         (POLL_PRI): Likewise.
11840         (POLL_HUP): Likewise.
11841         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11842         Likewise.
11843         (ILL_ILLOPN): Likewise.
11844         (ILL_ILLADR): Likewise.
11845         (ILL_ILLTRP): Likewise.
11846         (ILL_PRVOPC): Likewise.
11847         (ILL_PRVREG): Likewise.
11848         (ILL_COPROC): Likewise.
11849         (ILL_BADSTK): Likewise.
11850         (ILL_BADIADDR): Likewise.
11851         (ILL_BREAK): Likewise.
11852         (FPE_INTDIV): Likewise.
11853         (FPE_INTOVF): Likewise.
11854         (FPE_FLTDIV): Likewise.
11855         (FPE_FLTOVF): Likewise.
11856         (FPE_FLTUND): Likewise.
11857         (FPE_FLTRES): Likewise.
11858         (FPE_FLTINV): Likewise.
11859         (FPE_FLTSUB): Likewise.
11860         (FPE_DECOVF): Likewise.
11861         (FPE_DECDIV): Likewise.
11862         (FPE_DECERR): Likewise.
11863         (FPE_INVASC): Likewise.
11864         (FPE_INVDEC): Likewise.
11865         (SEGV_MAPERR): Likewise.
11866         (SEGV_ACCERR): Likewise.
11867         (SEGV_PSTKOVF): Likewise.
11868         (BUS_ADRALN): Likewise.
11869         (BUS_ADRERR): Likewise.
11870         (BUS_OBJERR): Likewise.
11871         (BUS_MCEERR_AR): Likewise.
11872         (BUS_MCEERR_AO): Likewise.
11873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11874         (TRAP_TRACE): Likewise.
11875         (TRAP_BRANCH): Likewise.
11876         (TRAP_HWBKPT): Likewise.
11877         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11878         __USE_XOPEN2K8].
11879         (CLD_KILLED): Likewise.
11880         (CLD_DUMPED): Likewise.
11881         (CLD_TRAPPED): Likewise.
11882         (CLD_STOPPED): Likewise.
11883         (CLD_CONTINUED): Likewise.
11884         (POLL_IN): Likewise.
11885         (POLL_OUT): Likewise.
11886         (POLL_MSG): Likewise.
11887         (POLL_ERR): Likewise.
11888         (POLL_PRI): Likewise.
11889         (POLL_HUP): Likewise.
11890         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11891         (ILL_ILLOPN): Likewise.
11892         (ILL_ILLADR): Likewise.
11893         (ILL_ILLTRP): Likewise.
11894         (ILL_PRVOPC): Likewise.
11895         (ILL_PRVREG): Likewise.
11896         (ILL_COPROC): Likewise.
11897         (ILL_BADSTK): Likewise.
11898         (FPE_INTDIV): Likewise.
11899         (FPE_INTOVF): Likewise.
11900         (FPE_FLTDIV): Likewise.
11901         (FPE_FLTOVF): Likewise.
11902         (FPE_FLTUND): Likewise.
11903         (FPE_FLTRES): Likewise.
11904         (FPE_FLTINV): Likewise.
11905         (FPE_FLTSUB): Likewise.
11906         (SEGV_MAPERR): Likewise.
11907         (SEGV_ACCERR): Likewise.
11908         (BUS_ADRALN): Likewise.
11909         (BUS_ADRERR): Likewise.
11910         (BUS_OBJERR): Likewise.
11911         (BUS_MCEERR_AR): Likewise.
11912         (BUS_MCEERR_AO): Likewise.
11913         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11914         (TRAP_TRACE): Likewise.
11915         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11916         __USE_XOPEN2K8].
11917         (CLD_KILLED): Likewise.
11918         (CLD_DUMPED): Likewise.
11919         (CLD_TRAPPED): Likewise.
11920         (CLD_STOPPED): Likewise.
11921         (CLD_CONTINUED): Likewise.
11922         (POLL_IN): Likewise.
11923         (POLL_OUT): Likewise.
11924         (POLL_MSG): Likewise.
11925         (POLL_ERR): Likewise.
11926         (POLL_PRI): Likewise.
11927         (POLL_HUP): Likewise.
11928         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11929         (ILL_ILLOPN): Likewise.
11930         (ILL_ILLADR): Likewise.
11931         (ILL_ILLTRP): Likewise.
11932         (ILL_PRVOPC): Likewise.
11933         (ILL_PRVREG): Likewise.
11934         (ILL_COPROC): Likewise.
11935         (ILL_BADSTK): Likewise.
11936         (FPE_INTDIV): Likewise.
11937         (FPE_INTOVF): Likewise.
11938         (FPE_FLTDIV): Likewise.
11939         (FPE_FLTOVF): Likewise.
11940         (FPE_FLTUND): Likewise.
11941         (FPE_FLTRES): Likewise.
11942         (FPE_FLTINV): Likewise.
11943         (FPE_FLTSUB): Likewise.
11944         (SEGV_MAPERR): Likewise.
11945         (SEGV_ACCERR): Likewise.
11946         (BUS_ADRALN): Likewise.
11947         (BUS_ADRERR): Likewise.
11948         (BUS_OBJERR): Likewise.
11949         (BUS_MCEERR_AR): Likewise.
11950         (BUS_MCEERR_AO): Likewise.
11951         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11952         (TRAP_TRACE): Likewise.
11953         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11954         __USE_XOPEN2K8].
11955         (CLD_KILLED): Likewise.
11956         (CLD_DUMPED): Likewise.
11957         (CLD_TRAPPED): Likewise.
11958         (CLD_STOPPED): Likewise.
11959         (CLD_CONTINUED): Likewise.
11960         (POLL_IN): Likewise.
11961         (POLL_OUT): Likewise.
11962         (POLL_MSG): Likewise.
11963         (POLL_ERR): Likewise.
11964         (POLL_PRI): Likewise.
11965         (POLL_HUP): Likewise.
11966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11967         (ILL_ILLOPN): Likewise.
11968         (ILL_ILLADR): Likewise.
11969         (ILL_ILLTRP): Likewise.
11970         (ILL_PRVOPC): Likewise.
11971         (ILL_PRVREG): Likewise.
11972         (ILL_COPROC): Likewise.
11973         (ILL_BADSTK): Likewise.
11974         (FPE_INTDIV): Likewise.
11975         (FPE_INTOVF): Likewise.
11976         (FPE_FLTDIV): Likewise.
11977         (FPE_FLTOVF): Likewise.
11978         (FPE_FLTUND): Likewise.
11979         (FPE_FLTRES): Likewise.
11980         (FPE_FLTINV): Likewise.
11981         (FPE_FLTSUB): Likewise.
11982         (SEGV_MAPERR): Likewise.
11983         (SEGV_ACCERR): Likewise.
11984         (BUS_ADRALN): Likewise.
11985         (BUS_ADRERR): Likewise.
11986         (BUS_OBJERR): Likewise.
11987         (BUS_MCEERR_AR): Likewise.
11988         (BUS_MCEERR_AO): Likewise.
11989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11990         (TRAP_TRACE): Likewise.
11991         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11992         __USE_XOPEN2K8].
11993         (CLD_KILLED): Likewise.
11994         (CLD_DUMPED): Likewise.
11995         (CLD_TRAPPED): Likewise.
11996         (CLD_STOPPED): Likewise.
11997         (CLD_CONTINUED): Likewise.
11998         (POLL_IN): Likewise.
11999         (POLL_OUT): Likewise.
12000         (POLL_MSG): Likewise.
12001         (POLL_ERR): Likewise.
12002         (POLL_PRI): Likewise.
12003         (POLL_HUP): Likewise.
12004         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12005         (ILL_ILLOPN): Likewise.
12006         (ILL_ILLADR): Likewise.
12007         (ILL_ILLTRP): Likewise.
12008         (ILL_PRVOPC): Likewise.
12009         (ILL_PRVREG): Likewise.
12010         (ILL_COPROC): Likewise.
12011         (ILL_BADSTK): Likewise.
12012         (ILL_DBLFLT): Likewise.
12013         (ILL_HARDWALL): Likewise.
12014         (FPE_INTDIV): Likewise.
12015         (FPE_INTOVF): Likewise.
12016         (FPE_FLTDIV): Likewise.
12017         (FPE_FLTOVF): Likewise.
12018         (FPE_FLTUND): Likewise.
12019         (FPE_FLTRES): Likewise.
12020         (FPE_FLTINV): Likewise.
12021         (FPE_FLTSUB): Likewise.
12022         (SEGV_MAPERR): Likewise.
12023         (SEGV_ACCERR): Likewise.
12024         (BUS_ADRALN): Likewise.
12025         (BUS_ADRERR): Likewise.
12026         (BUS_OBJERR): Likewise.
12027         (BUS_MCEERR_AR): Likewise.
12028         (BUS_MCEERR_AO): Likewise.
12029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12030         (TRAP_TRACE): Likewise.
12031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12032         __USE_XOPEN2K8].
12033         (CLD_KILLED): Likewise.
12034         (CLD_DUMPED): Likewise.
12035         (CLD_TRAPPED): Likewise.
12036         (CLD_STOPPED): Likewise.
12037         (CLD_CONTINUED): Likewise.
12038         (POLL_IN): Likewise.
12039         (POLL_OUT): Likewise.
12040         (POLL_MSG): Likewise.
12041         (POLL_ERR): Likewise.
12042         (POLL_PRI): Likewise.
12043         (POLL_HUP): Likewise.
12044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12045         (ILL_ILLOPN): Likewise.
12046         (ILL_ILLADR): Likewise.
12047         (ILL_ILLTRP): Likewise.
12048         (ILL_PRVOPC): Likewise.
12049         (ILL_PRVREG): Likewise.
12050         (ILL_COPROC): Likewise.
12051         (ILL_BADSTK): Likewise.
12052         (FPE_INTDIV): Likewise.
12053         (FPE_INTOVF): Likewise.
12054         (FPE_FLTDIV): Likewise.
12055         (FPE_FLTOVF): Likewise.
12056         (FPE_FLTUND): Likewise.
12057         (FPE_FLTRES): Likewise.
12058         (FPE_FLTINV): Likewise.
12059         (FPE_FLTSUB): Likewise.
12060         (SEGV_MAPERR): Likewise.
12061         (SEGV_ACCERR): Likewise.
12062         (BUS_ADRALN): Likewise.
12063         (BUS_ADRERR): Likewise.
12064         (BUS_OBJERR): Likewise.
12065         (BUS_MCEERR_AR): Likewise.
12066         (BUS_MCEERR_AO): Likewise.
12067         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12068         (TRAP_TRACE): Likewise.
12069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12070         __USE_XOPEN2K8].
12071         (CLD_KILLED): Likewise.
12072         (CLD_DUMPED): Likewise.
12073         (CLD_TRAPPED): Likewise.
12074         (CLD_STOPPED): Likewise.
12075         (CLD_CONTINUED): Likewise.
12076         (POLL_IN): Likewise.
12077         (POLL_OUT): Likewise.
12078         (POLL_MSG): Likewise.
12079         (POLL_ERR): Likewise.
12080         (POLL_PRI): Likewise.
12081         (POLL_HUP): Likewise.
12082         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12083         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12085         [BZ #16670]
12086         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12087         before #include of <time.h>.
12088         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12089         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12090         (test-xfail-UNIX98/sched.h/conform): Likewise.
12092 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12094         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12095         error absence of trapping exception support.
12096         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12098 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12100         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12101         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12102         * timezone/Makefile (testdata): Move definition above include of
12103         Rules.
12104         (test-zones): New variable.
12105         (tests-special): Add zone files.
12106         (build-testdata): Use $(evaluate-test).
12108         * elf/Makefile (tests-special): Rename tests to end with .out.
12109         ($(objpfx)noload-mem): Likewise.
12110         ($(objpfx)tst-leaks1-mem): Likewise.
12111         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12112         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12113         $(objpfx)test-iconvconfig.out.
12114         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12115         set -e inside subshell and redirect output to file.
12116         * iconvdata/Makefile (generated): Rename tests to end with .out.
12117         Correct type.
12118         (tests-special): Rename tests to end with .out.
12119         ($(objpfx)mtrace-tst-loading): Likewise.
12120         * intl/Makefile (generated): Likewise.
12121         (tests-special): Likewise.
12122         ($(objpfx)mtrace-tst-gettext): Likewise.
12123         * misc/Makefile (generated): Likewise.
12124         (tests-special): Likewise.
12125         ($(objpfx)tst-error1-mem): Likewise.
12126         * nptl/Makefile (tests-special): Likewise.
12127         ($(objpfx)tst-stack3-mem): Likewise.
12128         (generated): Likewise.
12129         * posix/Makefile (generated): Likewise.
12130         (tests-special): Likewise.
12131         (xtests-special): Likewise.
12132         ($(objpfx)tst-fnmatch-mem): Likewise.
12133         ($(objpfx)bug-regex2-mem): Likewise.
12134         ($(objpfx)bug-regex14-mem): Likewise.
12135         ($(objpfx)bug-regex21-mem): Likewise.
12136         ($(objpfx)bug-regex31-mem): Likewise.
12137         ($(objpfx)tst-vfork3-mem): Likewise.
12138         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12139         ($(objpfx)tst-pcre-mem): Likewise.
12140         ($(objpfx)tst-boost-mem): Likewise.
12141         ($(objpfx)bug-ga2-mem): Likewise.
12142         ($(objpfx)bug-glob2-mem): Likewise.
12143         * resolv/Makefile (generate): Likewise.
12144         (tests-special): Likewise.
12145         (xtests-special): Likewise.
12146         (generated): Likewise.
12147         ($(objpfx)mtrace-tst-leaks): Likewise.
12148         ($(objpfx)mtrace-tst-leaks2): Likewise.
12150         * scripts/merge-test-results.sh: New file.
12151         * Makefile (tests-special-notdir): New variable.
12152         (tests): Run merge-test-results.sh.
12153         (xtests): Likewise.
12154         * Rules (tests-special-notdir): New variable.
12155         (xtests-special-notdir): Likewise.
12156         (tests): Run merge-test-results.sh
12157         (xtests): Likewise.
12159         * Makeconfig (test-xfail-name): New variable.
12160         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12161         compute variable name for expected failures.
12162         * conform/Makefile (conformtest-headers-data): New variable.
12163         (conformtest-standards): Likewise.
12164         (conformtest-headers-ISO): Likewise.
12165         (conformtest-headers-ISO99): Likewise.
12166         (conformtest-headers-ISO11): Likewise.
12167         (conformtest-headers-POSIX): Likewise.
12168         (conformtest-headers-XPG3): Likewise.
12169         (conformtest-headers-XPG4): Likewise.
12170         (conformtest-headers-UNIX98): Likewise.
12171         (conformtest-headers-XOPEN2K): Likewise.
12172         (conformtest-headers-POSIX2008): Likewise.
12173         (conformtest-headers-XOPEN2K8): Likewise.
12174         (conformtest-header-list-base): Likewise.
12175         (conformtest-header-list-tests): Likewise.
12176         (conformtest-header-base): Likewise.
12177         (conformtest-header-tests): Likewise.
12178         (tests-special): Add $(conformtest-header-list-tests).  If
12179         [$(fast-check) && !$(cross-compiling)], add
12180         $(conformtest-header-tests) instead of
12181         $(objpfx)run-conformtest.out.
12182         (generated): Add $(conformtest-header-list-base).  If
12183         [$(fast-check) && !$(cross-compiling)], add
12184         $(conformtest-header-base).  Remove previous setting.
12185         ($(conformtest-header-list-tests)): New target.
12186         (test-xfail-run-conformtest): Remove variable.
12187         ($(objpfx)run-conformtest.out): Remove target.
12188         (test-xfail-ISO11/complex.h/conform): New variable.
12189         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12190         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12191         (test-xfail-XPG3/varargs.h/conform): Likewise.
12192         (test-xfail-XPG4/varargs.h/conform): Likewise.
12193         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12194         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12195         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12196         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12197         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12198         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12199         (test-xfail-XPG3/ftw.h/conform): Likewise.
12200         (test-xfail-XPG3/grp.h/conform): Likewise.
12201         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12202         (test-xfail-XPG3/limits.h/conform): Likewise.
12203         (test-xfail-XPG3/pwd.h/conform): Likewise.
12204         (test-xfail-XPG3/search.h/conform): Likewise.
12205         (test-xfail-XPG3/signal.h/conform): Likewise.
12206         (test-xfail-XPG3/stdio.h/conform): Likewise.
12207         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12208         (test-xfail-XPG3/string.h/conform): Likewise.
12209         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12210         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12211         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12212         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12213         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12214         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12215         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12216         (test-xfail-XPG3/termios.h/conform): Likewise.
12217         (test-xfail-XPG3/time.h/conform): Likewise.
12218         (test-xfail-XPG3/unistd.h/conform): Likewise.
12219         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12220         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12221         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12222         (test-xfail-XPG4/netdb.h/conform): Likewise.
12223         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12224         (test-xfail-XPG4/signal.h/conform): Likewise.
12225         (test-xfail-XPG4/stdio.h/conform): Likewise.
12226         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12227         (test-xfail-XPG4/stropts.h/conform): Likewise.
12228         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12229         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12230         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12231         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12232         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12233         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12234         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12235         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12236         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12237         (test-xfail-XPG4/termios.h/conform): Likewise.
12238         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12239         (test-xfail-XPG4/unistd.h/conform): Likewise.
12240         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12241         (test-xfail-POSIX/sched.h/conform): Likewise.
12242         (test-xfail-POSIX/signal.h/conform): Likewise.
12243         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12244         (test-xfail-POSIX/tar.h/conform): Likewise.
12245         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12246         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12247         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12248         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12249         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12250         (test-xfail-UNIX98/sched.h/conform): Likewise.
12251         (test-xfail-UNIX98/signal.h/conform): Likewise.
12252         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12253         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12254         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12255         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12256         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12257         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12258         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12259         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12260         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12261         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12262         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12263         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12264         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12265         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12266         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12267         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12268         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12269         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12270         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12271         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12272         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12273         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12274         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12275         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12276         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12277         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12278         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12279         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12280         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12281         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12282         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12283         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12284         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12285         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12286         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12287         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12288         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12289         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12290         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12291         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12292         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12293         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12294         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12295         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12296         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12297         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12298         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12299         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12300         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12301         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12302         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12303         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12304         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12305         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12306         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12307         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12308         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12309         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12310         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12311         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12312         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12313         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12314         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12315         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12316         (conformtest-cc-flags): Likewise.
12317         ($(conformtest-header-tests): New target.
12318         * conform/check-header-lists.sh: New file.
12319         * conform/run-conformtest.sh: Remove.
12321         * conform/conformtest.pl: Allow ' and \ in values given for
12322         constants.
12323         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12324         inclusion.
12325         [POSIX] (sys/types.h): Likewise.
12326         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12327         inclusion.
12328         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12329         inclusion.
12330         * conform/data/signal.h-data (SIGIO): Remove expectation.
12331         [XPG3] (SIGBUS): Do not expect.
12332         [POSIX || XPG3] (SIGPOLL): Likewise.
12333         [POSIX || XPG3] (SIGPROF): Likewise.
12334         [POSIX || XPG3] (SIGSYS): Likewise.
12335         [XPG3] (SIGTRAP): Likewise.
12336         [POSIX || XPG3] (SIGURG): Likewise.
12337         [POSIX || XPG3] (SIGVTALRM): Likewise.
12338         [POSIX || XPG3] (SIGXCPU): Likewise.
12339         [POSIX || XPG3] (SIGXFSZ): Likewise.
12340         [POSIX] (SA_SIGINFO): Expect.
12341         [XPG3] (siginfo_t): Do not expect type or contents.
12342         [POSIX] (si_pid): Do not expect element.
12343         [POSIX] (si_uid): Likewise.
12344         [POSIX] (si_addr): Likewise.
12345         [POSIX] (si_status): Likewise.
12346         [POSIX] (si_band): Likewise.
12347         [XPG4] (si_value): Likewise.
12348         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12349         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12350         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12351         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12352         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12353         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12354         [POSIX || XPG3] (ILL_COPROC): Likewise.
12355         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12356         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12357         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12358         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12359         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12360         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12361         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12362         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12363         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12364         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12365         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12366         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12367         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12368         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12369         [POSIX || XPG3] (CLD_EXITED): Likewise.
12370         [POSIX || XPG3] (CLD_KILLED): Likewise.
12371         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12372         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12373         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12374         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12375         [POSIX || XPG3] (POLL_IN): Likewise.
12376         [POSIX || XPG3] (POLL_OUT): Likewise.
12377         [POSIX || XPG3] (POLL_MSG): Likewise.
12378         [POSIX || XPG3] (POLL_ERR): Likewise.
12379         [POSIX || XPG3] (POLL_PRI): Likewise.
12380         [POSIX || XPG3] (POLL_HUP): Likewise.
12381         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12382         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12383         (SIG*): Do not allow.
12384         [XPG3] (si_*): Likewise.
12385         [XPG3] (SI_*): Likewise.
12386         [XPG3 || XPG4] (sigev_*): Likewise.
12387         [XPG3 || XPG4] (SIGEV_*): Likewise.
12388         [XPG3 || XPG4] (sival_*): Likewise.
12389         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12390         [POSIX || XPG3] (BUS_*): Likewise.
12391         [POSIX || XPG3] (CLD_*): Likewise.
12392         [POSIX || XPG3] (FPE_*): Likewise.
12393         [POSIX || XPG3] (ILL_*): Likewise.
12394         [POSIX || XPG3] (POLL_*): Likewise.
12395         [POSIX || XPG3] (SEGV_*): Likewise.
12396         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12397         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12398         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12399         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12400         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12401         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12402         Specify type and value.
12403         (TVERSLEN): Likewise.
12404         (REGTYPE): Likewise.
12405         (AREGTYPE): Likewise.
12406         (LNKTYPE): Likewise.
12407         (SYMTYPE): Likewise.
12408         (CHRTYPE): Likewise.
12409         (BLKTYPE): Likewise.
12410         (DIRTYPE): Likewise.
12411         (FIFOTYPE): Likewise.
12412         (CONTTYPE): Likewise.
12413         (TSUID): Likewise.
12414         (TSGID): Likewise.
12415         (TSVTX): Likewise.
12416         (TUREAD): Likewise.
12417         (TUWRITE): Likewise.
12418         (TUEXEC): Likewise.
12419         (TGREAD): Likewise.
12420         (TGWRITE): Likewise.
12421         (TGEXEC): Likewise.
12422         (TOREAD): Likewise.
12423         (TOWRITE): Likewise.
12424         (TOEXEC): Likewise.
12425         [POSIX] (TSVTX): Expect constant.
12427 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12429         * Makefile (tests): Change dependencies to ....
12430         (tests-special): ... additions to this variable.
12431         (tests): Depend on $(tests-special).
12432         * Makerules (check-abi-list): New variable.
12433         (check-abi): Depend on $(check-abi-list).
12434         [$(subdir) = elf] (tests-special): Add
12435         $(objpfx)check-abi-libc.out.
12436         [$(build-shared) = yes && subdir] (tests-special): Add
12437         $(check-abi-list).
12438         [$(build-shared) = yes && subdir] (tests): Do not depend on
12439         check-abi.
12440         * Rules (tests): Depend on $(tests-special).
12441         (xtests): Depend on $(xtests-special).
12442         * catgets/Makefile (tests): Change dependencies to ....
12443         (tests-special): ... additions to this variable.
12444         * conform/Makefile (tests): Change dependencies to ....
12445         (tests-special): ... additions to this variable.
12446         * elf/Makefile (tests): Change dependencies to ....
12447         (tests-special): ... additions to this variable.
12448         * grp/Makefile (tests): Change dependencies to ....
12449         (tests-special): ... additions to this variable.
12450         * iconv/Makefile (xtests): Change dependencies to ....
12451         (xtests-special): ... additions to this variable.
12452         * iconvdata/Makefile (tests): Change dependencies to ....
12453         (tests-special): ... additions to this variable.
12454         * intl/Makefile (tests): Change dependencies to ....
12455         (tests-special): ... additions to this variable.  Also add
12456         $(objpfx)tst-gettext.out.
12457         * io/Makefile (tests): Change dependencies to ....
12458         (tests-special): ... additions to this variable.
12459         * libio/Makefile (tests): Change dependencies to ....
12460         (tests-special): ... additions to this variable.
12461         * malloc/Makefile (tests): Change dependencies to ....
12462         (tests-special): ... additions to this variable.
12463         * misc/Makefile (tests): Change dependencies to ....
12464         (tests-special): ... additions to this variable.
12465         * nptl/Makefile (tests): Change dependencies to ....
12466         (tests-special): ... additions to this variable.
12467         * nptl_db/Makefile (tests): Change dependencies to ....
12468         (tests-special): ... additions to this variable.
12469         * posix/Makefile (tests): Change dependencies to ....
12470         (tests-special): ... additions to this variable.
12471         (xtests): Change dependencies to ....
12472         (xtests-special): ... additions to this variable.
12473         * resolv/Makefile (tests): Change dependencies to ....
12474         (tests-special): ... additions to this variable.
12475         (xtests): Change dependencies to ....
12476         (xtests-special): ... additions to this variable.
12477         * stdio-common/Makefile (tests): Change dependencies to ....
12478         (tests-special): ... additions to this variable.
12479         (do-tst-unbputc): Remove target.
12480         (do-tst-printf): Likewise.
12481         * stdlib/Makefile (tests): Change dependencies to ....
12482         (tests-special): ... additions to this variable.
12483         * string/Makefile (tests): Change dependencies to ....
12484         (tests-special): ... additions to this variable.
12485         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12486         (tests-special): ... additions to this variable.
12488         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12489         whole file.
12490         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12491         whole file.
12492         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12493         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12495         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12496         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12497         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12498         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12499         * conform/data/libgen.h-data [XPG3]: Likewise.
12500         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12501         * conform/data/ndbm.h-data [XPG3]: Likewise.
12502         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12503         * conform/data/netdb.h-data [XPG3]: Likewise.
12504         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12505         * conform/data/poll.h-data [XPG3]: Likewise.
12506         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12507         * conform/data/strings.h-data [XPG3]: Likewise.
12508         * conform/data/stropts.h-data [XPG3]: Likewise.
12509         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12510         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12511         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12512         Likewise.
12513         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12514         * conform/data/sys/time.h-data [XPG3]: Likewise.
12515         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12516         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12517         * conform/data/sys/un.h-data [XPG3]: Likewise.
12518         * conform/data/syslog.h-data [XPG3]: Likewise.
12519         * conform/data/ucontext.h-data [XPG3]: Likewise.
12520         * conform/data/utmpx.h-data [XPG3]: Likewise.
12521         * conform/data/varargs.h-data [UNIX98]: Enable file.
12523         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12525         * math/libm-test.inc (struct test_f_f_data): Move expected results
12526         into structure for each rounding mode.
12527         (struct test_ff_f_data): Likewise.
12528         (struct test_ff_f_data_nexttoward): Likewise.
12529         (struct test_fi_f_data): Likewise.
12530         (struct test_fl_f_data): Likewise.
12531         (struct test_if_f_data): Likewise.
12532         (struct test_fff_f_data): Likewise.
12533         (struct test_c_f_data): Likewise.
12534         (struct test_f_f1_data): Likewise.
12535         (struct test_fF_f1_data): Likewise.
12536         (struct test_ffI_f1_data): Likewise.
12537         (struct test_c_c_data): Likewise.
12538         (struct test_cc_c_data): Likewise.
12539         (struct test_f_i_data): Likewise.
12540         (struct test_ff_i_data): Likewise.
12541         (struct test_f_l_data): Likewise.
12542         (struct test_f_L_data): Likewise.
12543         (struct test_fFF_11_data): Likewise.
12544         (RM_): New macro.
12545         (RM_FE_DOWNWARD): Likewise.
12546         (RM_FE_TONEAREST): Likewise.
12547         (RM_FE_TOWARDZERO): Likewise.
12548         (RM_FE_UPWARD): Likewise.
12549         (RUN_TEST_LOOP_f_f): Update references to expected results.
12550         (RUN_TEST_LOOP_2_f): Likewise.
12551         (RUN_TEST_LOOP_fff_f): Likewise.
12552         (RUN_TEST_LOOP_c_f): Likewise.
12553         (RUN_TEST_LOOP_f_f1): Likewise.
12554         (RUN_TEST_LOOP_fF_f1): Likewise.
12555         (RUN_TEST_LOOP_fI_f1): Likewise.
12556         (RUN_TEST_LOOP_ffI_f1): Likewise.
12557         (RUN_TEST_LOOP_c_c): Likewise.
12558         (RUN_TEST_LOOP_cc_c): Likewise.
12559         (RUN_TEST_LOOP_f_i): Likewise.
12560         (RUN_TEST_LOOP_f_i_tg): Likewise.
12561         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12562         (RUN_TEST_LOOP_f_b): Likewise.
12563         (RUN_TEST_LOOP_f_b_tg): Likewise.
12564         (RUN_TEST_LOOP_f_l): Likewise.
12565         (RUN_TEST_LOOP_f_L): Likewise.
12566         (RUN_TEST_LOOP_fFF_11): Likewise.
12567         * math/gen-libm-test.pl (parse_args): Output four copies of
12568         expected results for each test.
12570         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12571         (__ASSUME_UTIMES): Remove.
12572         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12573         (__ASSUME_UTIMES): Likewise.
12575         * math/gen-auto-libm-tests.c: Update comment on output format.
12576         (output_for_one_input_case): Generate before-rounding and
12577         after-rounding information as conditions on output flags not
12578         floating-point format.
12579         * math/auto-libm-test-out: Regenerated.
12580         * math/gen-libm-test.pl (cond_value): New function.
12581         (or_cond_value): Use cond_value.
12582         (generate_testfile): Handle conditional exceptions.
12584 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
12586         * math/libm-test.inc (max_valid_error): New variable.
12587         (init_max_error): Take new argument specifying whether function
12588         results are exactly determined.  Set max_valid_error and bound
12589         other variables for errors based on this argument.
12590         (set_max_error): Do not record results above max_valid_error.
12591         (check_float_internal): Only accept errors of up to 0.5ulps if
12592         also at most max_valid_error.
12593         (START): Take new argument EXACT and pass it to init_max_error.
12594         (acos_test): Update call to START.
12595         (acos_test_tonearest): Likewise.
12596         (acos_test_towardzero): Likewise.
12597         (acos_test_downward): Likewise.
12598         (acos_test_upward): Likewise.
12599         (acosh_test): Likewise.
12600         (asin_test): Likewise.
12601         (asin_test_tonearest): Likewise.
12602         (asin_test_towardzero): Likewise.
12603         (asin_test_downward): Likewise.
12604         (asin_test_upward): Likewise.
12605         (asinh_test): Likewise.
12606         (atan_test): Likewise.
12607         (atanh_test): Likewise.
12608         (atan2_test): Likewise.
12609         (cabs_test): Likewise.
12610         (cacos_test): Likewise.
12611         (cacosh_test): Likewise.
12612         (carg_test): Likewise.
12613         (casin_test): Likewise.
12614         (casinh_test): Likewise.
12615         (catan_test): Likewise.
12616         (catanh_test): Likewise.
12617         (cbrt_test): Likewise.
12618         (ccos_test): Likewise.
12619         (ccosh_test): Likewise.
12620         (ceil_test): Likewise.
12621         (cexp_test): Likewise.
12622         (cimag_test): Likewise.
12623         (clog_test): Likewise.
12624         (clog10_test): Likewise.
12625         (conj_test): Likewise.
12626         (copysign_test): Likewise.
12627         (cos_test): Likewise.
12628         (cos_test_tonearest): Likewise.
12629         (cos_test_towardzero): Likewise.
12630         (cos_test_downward): Likewise.
12631         (cos_test_upward): Likewise.
12632         (cosh_test): Likewise.
12633         (cosh_test_tonearest): Likewise.
12634         (cosh_test_towardzero): Likewise.
12635         (cosh_test_downward): Likewise.
12636         (cosh_test_upward): Likewise.
12637         (cpow_test): Likewise.
12638         (cproj_test): Likewise.
12639         (creal_test): Likewise.
12640         (csin_test): Likewise.
12641         (csinh_test): Likewise.
12642         (csqrt_test): Likewise.
12643         (ctan_test): Likewise.
12644         (ctan_test_tonearest): Likewise.
12645         (ctan_test_towardzero): Likewise.
12646         (ctan_test_downward): Likewise.
12647         (ctan_test_upward): Likewise.
12648         (ctanh_test): Likewise.
12649         (ctanh_test_tonearest): Likewise.
12650         (ctanh_test_towardzero): Likewise.
12651         (ctanh_test_downward): Likewise.
12652         (ctanh_test_upward): Likewise.
12653         (erf_test): Likewise.
12654         (erfc_test): Likewise.
12655         (exp_test): Likewise.
12656         (exp_test_tonearest): Likewise.
12657         (exp_test_towardzero): Likewise.
12658         (exp_test_downward): Likewise.
12659         (exp_test_upward): Likewise.
12660         (exp10_test): Likewise.
12661         (exp10_test_tonearest): Likewise.
12662         (exp10_test_towardzero): Likewise.
12663         (exp10_test_downward): Likewise.
12664         (exp10_test_upward): Likewise.
12665         (pow10_test): Likewise.
12666         (exp2_test): Likewise.
12667         (expm1_test): Likewise.
12668         (expm1_test_tonearest): Likewise.
12669         (expm1_test_towardzero): Likewise.
12670         (expm1_test_downward): Likewise.
12671         (expm1_test_upward): Likewise.
12672         (fabs_test): Likewise.
12673         (fdim_test): Likewise.
12674         (floor_test): Likewise.
12675         (fma_test): Likewise.
12676         (fma_test_towardzero): Likewise.
12677         (fma_test_downward): Likewise.
12678         (fma_test_upward): Likewise.
12679         (fmax_test): Likewise.
12680         (fmin_test): Likewise.
12681         (fmod_test): Likewise.
12682         (fpclassify_test): Likewise.
12683         (frexp_test): Likewise.
12684         (hypot_test): Likewise.
12685         (ilogb_test): Likewise.
12686         (isfinite_test): Likewise.
12687         (finite_test): Likewise.
12688         (isgreater_test): Likewise.
12689         (isgreaterequal_test): Likewise.
12690         (isinf_test): Likewise.
12691         (isless_test): Likewise.
12692         (islessequal_test): Likewise.
12693         (islessgreater_test): Likewise.
12694         (isnan_test): Likewise.
12695         (isnormal_test): Likewise.
12696         (issignaling_test): Likewise.
12697         (isunordered_test): Likewise.
12698         (j0_test): Likewise.
12699         (j1_test): Likewise.
12700         (jn_test): Likewise.
12701         (ldexp_test): Likewise.
12702         (lgamma_test): Likewise.
12703         (gamma_test): Likewise.
12704         (lrint_test): Likewise.
12705         (lrint_test_tonearest): Likewise.
12706         (lrint_test_towardzero): Likewise.
12707         (lrint_test_downward): Likewise.
12708         (lrint_test_upward): Likewise.
12709         (llrint_test): Likewise.
12710         (llrint_test_tonearest): Likewise.
12711         (llrint_test_towardzero): Likewise.
12712         (llrint_test_downward): Likewise.
12713         (llrint_test_upward): Likewise.
12714         (log_test): Likewise.
12715         (log10_test): Likewise.
12716         (log1p_test): Likewise.
12717         (log2_test): Likewise.
12718         (logb_test): Likewise.
12719         (logb_test_downward): Likewise.
12720         (lround_test): Likewise.
12721         (llround_test): Likewise.
12722         (modf_test): Likewise.
12723         (nearbyint_test): Likewise.
12724         (nextafter_test): Likewise.
12725         (nexttoward_test): Likewise.
12726         (pow_test): Likewise.
12727         (pow_test_tonearest): Likewise.
12728         (pow_test_towardzero): Likewise.
12729         (pow_test_downward): Likewise.
12730         (pow_test_upward): Likewise.
12731         (remainder_test): Likewise.
12732         (drem_test): Likewise.
12733         (remainder_test_tonearest): Likewise.
12734         (drem_test_tonearest): Likewise.
12735         (remainder_test_towardzero): Likewise.
12736         (drem_test_towardzero): Likewise.
12737         (remainder_test_downward): Likewise.
12738         (drem_test_downward): Likewise.
12739         (remainder_test_upward): Likewise.
12740         (drem_test_upward): Likewise.
12741         (remquo_test): Likewise.
12742         (rint_test): Likewise.
12743         (rint_test_tonearest): Likewise.
12744         (rint_test_towardzero): Likewise.
12745         (rint_test_downward): Likewise.
12746         (rint_test_upward): Likewise.
12747         (round_test): Likewise.
12748         (scalb_test): Likewise.
12749         (scalbn_test): Likewise.
12750         (scalbln_test): Likewise.
12751         (signbit_test): Likewise.
12752         (sin_test): Likewise.
12753         (sin_test_tonearest): Likewise.
12754         (sin_test_towardzero): Likewise.
12755         (sin_test_downward): Likewise.
12756         (sin_test_upward): Likewise.
12757         (sincos_test): Likewise.
12758         (sinh_test): Likewise.
12759         (sinh_test_tonearest): Likewise.
12760         (sinh_test_towardzero): Likewise.
12761         (sinh_test_downward): Likewise.
12762         (sinh_test_upward): Likewise.
12763         (sqrt_test): Likewise.
12764         (sqrt_test_tonearest): Likewise.
12765         (sqrt_test_towardzero): Likewise.
12766         (sqrt_test_downward): Likewise.
12767         (sqrt_test_upward): Likewise.
12768         (tan_test): Likewise.
12769         (tan_test_tonearest): Likewise.
12770         (tan_test_towardzero): Likewise.
12771         (tan_test_downward): Likewise.
12772         (tan_test_upward): Likewise.
12773         (tanh_test): Likewise.
12774         (tgamma_test): Likewise.
12775         (trunc_test): Likewise.
12776         (y0_test): Likewise.
12777         (y1_test): Likewise.
12778         (yn_test): Likewise.
12779         (significand_test): Likewise.
12781         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12782         individual tests in comment.
12783         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12784         (prev_max_error): New variable.
12785         (prev_real_max_error): Likewise.
12786         (prev_imag_max_error): Likewise.
12787         (compare_ulp_data): Don't refer to test names in comment.
12788         (find_test_ulps): Remove function.
12789         (find_function_ulps): Likewise.
12790         (find_complex_function_ulps): Likewise.
12791         (init_max_error): Take function name as argument.  Look up ulps
12792         for that function.
12793         (print_ulps): Remove function.
12794         (print_max_error): Use prev_max_error instead of calling
12795         find_function_ulps.
12796         (print_complex_max_error): Use prev_real_max_error and
12797         prev_imag_max_error instead of calling find_complex_function_ulps.
12798         (check_float_internal): Take max_ulp parameter instead of calling
12799         find_test_ulps.  Don't call print_ulps.
12800         (check_float): Update call to check_float_internal.
12801         (check_complex): Update calls to check_float_internal.
12802         (START): Pass argument to init_max_error.
12803         * math/gen-libm-test.pl (%results): Don't include "kind"
12804         information.
12805         (parse_ulps): Don't handle ulps of individual tests.
12806         (print_ulps_file): Likewise.
12807         (output_ulps): Likewise.
12808         * math/README.libm-test: Update.
12809         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12810         individual tests.
12811         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12812         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12813         * sysdeps/arm/libm-test-ulps: Likewise.
12814         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12815         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12816         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12817         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12818         * sysdeps/microblaze/libm-test-ulps: Likewise.
12819         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12820         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12821         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12822         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12823         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12824         * sysdeps/sh/libm-test-ulps: Likewise.
12825         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12826         * sysdeps/tile/libm-test-ulps: Likewise.
12827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12831         * math/libm-test.inc (print_complex_max_error): Check separately
12832         whether real and imaginary errors are within allowed range and
12833         pass 0 to print_complex_function_ulps instead of value within
12834         allowed range.
12836 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12838         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12839         formatting.
12840         (get_handles_fopen): Likewise.
12841         (do_write_test): Likewise.
12843         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12845         * libio/fileops.c (do_ftell): Use cached offset when
12846         available.
12847         * libio/iofwide.c (do_ftell_wide): Likewise.
12848         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12849         _IO_file_attach.
12850         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12852         [BZ #16532]
12853         * libio/libioP.h (get_file_offset): New function.
12854         * libio/fileops.c (get_file_offset): Likewise.
12855         (do_ftell): Likewise.
12856         (_IO_new_file_seekoff): Split out ftell logic.
12857         * libio/wfileops.c (do_ftell_wide): Likewise.
12858         (_IO_wfile_seekoff): Split out ftell logic.
12859         * libio/tst-ftell-active-handler.c: New test case.
12860         * libio/Makefile (tests): Add it.
12862 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12864         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12865         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12867 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12869         [BZ #16639]
12870         * nscd/connections.c (nscd_init): Call do_exit.
12871         (start_threads): Call do_exit and notify_parent.
12872         (begin_drop_privileges): Call do_exit.
12873         (finish_drop_privileges): Likewise.
12874         * nscd/selinux.c (preserve_capabilities): Likewise.
12875         (install_real_capabilities): Likewise.
12876         (nscd_selinux_enabled): Likewise.
12877         (avc_create_thread): Likewise.
12878         (avc_alloc_lock): Likewise.
12879         (nscd_avc_init): Likewise.
12880         * nscd/nscd.c (parent_fd): New static variable.
12881         (main): Create a pipe between parent and child processes.
12882         Skip closing parent_fd.
12883         (monitor_child): New function.
12884         (do_exit): Likewise.
12885         (notify_parent): Likewise.
12886         * nscd/nscd.h (notify_parent): Likewise.
12887         (do_exit): Likewise.
12889 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12891         * malloc/malloc.c (__libc_calloc): Revert last change.
12893 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12897 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12899         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12901         implementation.
12902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12903         (__libc_ifunc_impl_list): Likewise.
12904         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12905         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12906         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12907         * string/strrchr.c: Define STRRCHR.
12909 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12911         * benchtest/bench-strtok.c (simple_strtok): Delete.
12912         (strtok_string): Use as benchmark.
12913         * string/strtok (STRTOK): New macro.
12915 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12917         * manual/threads.texi: Add header and standard comments to all
12918         functions.
12920         * elf/dl-lookup.c (check_match): New function.
12921         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12922         (do_lookup_x): Remove nested function check_match. Use non-nested
12923         function check_match.
12925 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12927         * csu/Makefile (generated, before-compile): Use += rather than =.
12928         * catgets/Makefile (generated, generated-dirs): Likewise.
12929         * debug/Makefile (generated): Likewise.
12930         * dlfcn/Makefile (generated): Likewise.
12931         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12932         * iconvdata/Makefile (before-compile, generated): Likewise.
12933         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12934         * libio/Makefile (generated): Likewise.
12935         * malloc/Makefile (generated): Likewise.
12936         * manual/Makefile (generated, generated-dirs): Likewise.
12937         * misc/Makefile (generated): Likewise.
12938         * posix/Makefile (generated): Likewise.
12939         * resolv/Makefile (generated): Likewise.
12940         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12941         * timezone/Makefile (generated, generated-dirs): Likewise.
12943         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12945 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12948         power8 implementation.
12949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12950         file: POWER8 llround ifunc implementation.
12951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12952         (__lllround): Add POWER8 implementation.
12953         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12954         POWER8 llround implementation.
12956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12957         power8 implementation.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12959         file: POWER8 llrint ifunc implementation.
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12961         Add POWER8 implementation.
12962         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12963         POWER8 llrint implementation.
12965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12966         power8 implementation.
12967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12968         file: POWER8 finite ifunc implementation.
12969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12970         Add POWER8 implementation.
12971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12972         Likewise.
12973         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12974         POWER8 finite implementation.
12975         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12978         power8 implementation.
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12980         file: POWER8 isinf ifunc implementation.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12982         POWER8 implementation.
12983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12984         Likewise.
12985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12986         isinf implementation.
12987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12989         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12990         (INIT_ARCH): Add hwcap2 initialization.
12991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12992         power8 implementation.
12993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12994         file: POWER8 isnan ifunc implementation.
12995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12996         POWER8 implementation.
12997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12998         Likewise.
12999         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13000         isnan implementation.
13001         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13003 2014-02-27  Joey Ye  <joey.ye@arm.com>
13005         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13006         (_FP_NANFRAC_Q): Set to zero.
13008 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13010         [BZ #16623]
13011         * math/auto-libm-test-in: New test inputs.
13012         * math/auto-libm-test-out: Regenerate.
13013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13014         and DA.
13015         (__cos): Likewise.
13016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13018 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13020         * scripts/evaluate-test.sh: Take new argument indicating whether
13021         failure is expected.
13022         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13023         indicating whether failure is expected.
13024         * conform/Makefile (test-xfail-run-conformtest): New variable.
13025         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13026         level.
13027         * posix/Makefile (test-xfail-annexc): New variable.
13028         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13030 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13032         * argp/Makefile: Include Makeconfig immediately after defining
13033         subdir.
13034         * assert/Makefile: Likewise.
13035         * benchtests/Makefile: Likewise.
13036         * catgets/Makefile: Likewise.
13037         * conform/Makefile: Likewise.
13038         * crypt/Makefile: Likewise.
13039         * csu/Makefile: Likewise.
13040         (all): Remove target.
13041         * ctype/Makefile: Include Makeconfig immediately after defining
13042         subdir.
13043         * debug/Makefile: Likewise.
13044         * dirent/Makefile: Likewise.
13045         * dlfcn/Makefile: Likewise.
13046         * gmon/Makefile: Likewise.
13047         * gnulib/Makefile: Likewise.
13048         * grp/Makefile: Likewise.
13049         * gshadow/Makefile: Likewise.
13050         * hesiod/Makefile: Likewise.
13051         * hurd/Makefile: Likewise.
13052         (all): Remove target.
13053         * iconvdata/Makefile: Include Makeconfig immediately after
13054         defining subdir.
13055         * inet/Makefile: Likewise.
13056         * intl/Makefile: Likewise.
13057         * io/Makefile: Likewise.
13058         * libio/Makefile: Likewise.
13059         (all): Remove target.
13060         * locale/Makefile: Include Makeconfig immediately after defining
13061         subdir.
13062         * login/Makefile: Likewise.
13063         * mach/Makefile: Likewise.
13064         (all): Remove target.
13065         * malloc/Makefile: Include Makeconfig immediately after defining
13066         subdir.
13067         (all): Remove target.
13068         * manual/Makefile: Include Makeconfig immediately after defining
13069         subdir.
13070         * math/Makefile: Likewise.
13071         * misc/Makefile: Likewise.
13072         * nis/Makefile: Likewise.
13073         * nss/Makefile: Likewise.
13074         * po/Makefile: Likewise.
13075         (all): Remove target.
13076         * posix/Makefile: Include Makeconfig immediately after defining
13077         subdir.
13078         * pwd/Makefile: Likewise.
13079         * resolv/Makefile: Likewise.
13080         * resource/Makefile: Likewise.
13081         * rt/Makefile: Likewise.
13082         * setjmp/Makefile: Likewise.
13083         * shadow/Makefile: Likewise.
13084         * signal/Makefile: Likewise.
13085         * socket/Makefile: Likewise.
13086         * soft-fp/Makefile: Likewise.
13087         * stdio-common/Makefile: Likewise.
13088         * stdlib/Makefile: Likewise.
13089         * streams/Makefile: Likewise.
13090         * string/Makefile: Likewise.
13091         * sunrpc/Makefile: Likewise.
13092         (all): Remove target.
13093         * sysvipc/Makefile: Include Makeconfig immediately after defining
13094         subdir.
13095         * termios/Makefile: Likewise.
13096         * time/Makefile: Likewise.
13097         * timezone/Makefile: Likewise.
13098         (all): Remove target.
13099         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13100         subdir.
13101         * wctype/Makefile: Likewise.
13103 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13105         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13106         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13107         (libc_feholdexcept_setround_mips): Ditto.
13108         (libc_feholdsetround): New.
13109         (libc_feholdsetroundf): New.
13110         (libc_feholdsetroundl): New.
13111         (libc_feupdateenv_test_mips): New.
13112         (libc_feupdateenv_test): New.
13113         (libc_feupdateenv_testf): New.
13114         (libc_feupdateenv_testl): New.
13115         (libc_feresetround): New.
13116         (libc_feresetroundf): New.
13117         (libc_feresetroundl): New.
13118         (libc_fetestexcept_mips): New.
13119         (libc_fetestexcept): New.
13120         (libc_fetestexceptf): New.
13121         (libc_fetestexceptl): New.
13122         (HAVE_RM_CTX): New.
13123         (libc_feholdexcept_setround_mips_ctx): New.
13124         (libc_feholdexcept_setround_ctx): New.
13125         (libc_feholdexcept_setroundf_ctx): New.
13126         (libc_feholdexcept_setroundl_ctx): New.
13127         (libc_fesetenv_mips_ctx): New.
13128         (libc_fesetenv_ctx): New.
13129         (libc_fesetenv_ctxf): New.
13130         (libc_fesetenv_ctxl): New.
13131         (libc_feupdateenv_mips_ctx): New.
13132         (libc_feupdateenv_ctx): New.
13133         (libc_feupdateenvf_ctx): New.
13134         (libc_feupdateenvl_ctx): New.
13135         (libc_feholdsetround_mips_ctx): New.
13136         (libc_feholdsetround_ctx): New.
13137         (libc_feholdsetroundf_ctx): New.
13138         (libc_feholdsetroundl_ctx): New.
13139         (libc_feresetround_mips_ctx): New.
13140         (libc_feresetround_ctx): New.
13141         (libc_feresetroundf_ctx): New.
13142         (libc_feresetroundl_ctx): New.
13144 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13146         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13148         * manual/ipc.texi: New file.
13149         * manual/Makefile (chapters): Add ipc.
13150         * manual/job.texi: Add "Inter-Process Communication" to next.
13151         * manual/process.texi: Add "Inter-Process Communication" to prev.
13153 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13157 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13159         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13161         * manual/arith.texi: Fix spaces after sentences.
13162         * manual/charset.texi: Likewise.
13163         * manual/errno.texi: Likewise.
13164         * manual/install.texi: Likewise.
13165         * manual/llio.texi: Likewise.
13166         * manual/locale.texi: Likewise.
13167         * manual/maint.texi: Likewise.
13168         * manual/math.texi: Likewise.
13169         * manual/memory.texi: Likewise.
13170         * manual/message.texi: Likewise.
13171         * manual/probes.texi: Likewise.
13172         * manual/resource.texi: Likewise.
13173         * manual/signal.texi: Likewise.
13174         * manual/socket.texi: Likewise.
13175         * manual/stdio.texi: Likewise.
13176         * manual/string.texi: Likewise.
13177         * manual/time.texi: Likewise.
13178         * manual/users.texi: Likewise.
13180 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13182         [BZ #16632]
13183         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13184         _DEFAULT_SOURCE is defined.
13186 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13187             Carlos O'Donell  <carlos@redhat.com>
13189         [BZ #16613]
13190         * elf/dl-tls.c (_dl_count_modids): New function.
13191         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13192         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13193         audit library and increment generation counter.
13194         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13195         * elf/tst-audit9.c: New file.
13196         * elf/tst-auditmod9a.c: New file.
13197         * elf/tst-auditmod9b.c: New file.
13198         * elf/Makefile: Add rules to build and run tst-audit9.
13200 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13202         [BZ #15347]
13203         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13205 2014-02-25  Will Newton  <will.newton@linaro.org>
13207         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13208         (__longjmp): Restore sp and lr before restoring callee
13209         saved registers.  Add longjmp and longjmp_target
13210         SystemTap probe point.
13211         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13212         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13213         Define to zero to match jmpbuf layout.
13214         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13215         (__sigsetjmp): Save sp and lr before saving callee
13216         saved registers.  Add setjmp SystemTap probe point.
13218 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13220         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13222 2014-02-24  Andreas Schwab  <schwab@suse.de>
13224         [BZ #15804]
13225         * elf/pldd.c (wait_for_ptrace_stop): New function.
13226         (main): Call it after attaching.
13228 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13230         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13231         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13232         Versions files is now verboten.
13233         * hurd/Versions (libc: GLIBC_2.0):
13234         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13235         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13236         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13237         * mach/Versions: Likewise.
13239         * csu/Versions: Remove unused %include.
13240         * resolv/Versions: Likewise.
13242 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13244         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13245         ($(objpfx)check-local-headers.out): Likewise.
13246         ($(objpfx)begin-end-check.out): Likewise.
13247         * Makerules (check-abi-%.out): Likewise.
13248         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13249         ($(objpfx)test2.cat): Likewise.
13250         ($(objpfx)de/libc.cat): Likewise.
13251         ($(objpfx)test-gencat.out): Likewise.
13252         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13253         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13254         ($(objpfx)noload-mem): Likewise.
13255         ($(objpfx)tst-pathopt.out): Likewise.
13256         ($(objpfx)tst-rtld-load-self.out): Likewise.
13257         ($(objpfx)tst-array1-cmp.out): Likewise.
13258         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13259         ($(objpfx)tst-array2-cmp.out): Likewise.
13260         ($(objpfx)tst-array3-cmp.out): Likewise.
13261         ($(objpfx)tst-array4-cmp.out): Likewise.
13262         ($(objpfx)tst-array5-cmp.out): Likewise.
13263         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13264         ($(objpfx)check-textrel.out): Likewise.
13265         ($(objpfx)check-execstack.out): Likewise.
13266         ($(objpfx)check-localplt.out): Likewise.
13267         ($(objpfx)order2-cmp.out): Likewise.
13268         ($(objpfx)tst-leaks1-mem): Likewise.
13269         ($(objpfx)tst-leaks1-static-mem): Likewise.
13270         ($(objpfx)tst-initorder-cmp.out): Likewise.
13271         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13272         ($(objpfx)tst-unused-dep.out): Likewise.
13273         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13274         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13275         * iconv/Makefile (test-iconvconfig): Likewise.
13276         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13277         ($(objpfx)iconv-test.out): Likewise.
13278         ($(objpfx)tst-tables.out): Likewise.
13279         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13280         ($(objpfx)tst-gettext.out): Likewise.
13281         ($(objpfx)tst-translit.out): Likewise.
13282         ($(objpfx)tst-gettext2.out): Likewise.
13283         ($(objpfx)tst-gettext4.out): Likewise.
13284         ($(objpfx)tst-gettext6.out): Likewise.
13285         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13286         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13287         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13288         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13289         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13290         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13291         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13292         ($(objpfx)wordexp-tst.out): Likewise.
13293         ($(objpfx)annexc.out): Likewise.
13294         ($(objpfx)tst-fnmatch-mem): Likewise.
13295         ($(objpfx)bug-regex2-mem): Likewise.
13296         ($(objpfx)bug-regex14-mem): Likewise.
13297         ($(objpfx)bug-regex21-mem): Likewise.
13298         ($(objpfx)bug-regex31-mem): Likewise.
13299         ($(objpfx)tst-vfork3-mem): Likewise.
13300         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13301         ($(objpfx)tst-pcre-mem): Likewise.
13302         ($(objpfx)tst-boost-mem): Likewise.
13303         ($(objpfx)tst-getconf.out): Likewise.
13304         ($(objpfx)bug-ga2-mem): Likewise.
13305         ($(objpfx)bug-glob2-mem): Likewise.
13306         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13307         ($(objpfx)mtrace-tst-leaks2): Likewise.
13308         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13309         ($(objpfx)tst-printf.out): Likewise.
13310         ($(objpfx)tst-setvbuf1.out): Likewise.
13311         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13312         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13313         ($(objpfx)tst-fmtmsg.out): Likewise.
13314         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13315         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13317         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13318         * bits/sigaction.h [__USE_MISC]: Likewise.
13319         * bits/waitstatus.h: Update #endif comments.
13320         * ctype/ctype.h: Likewise.
13321         * dirent/dirent.h: Likewise.
13322         [__USE_MISC]: Remove redundant conditionals.
13323         * grp/grp.h: Update #endif comments.
13324         [__USE_GNU]: Remove redundant conditionals.
13325         [__USE_MISC]: Likewise.
13326         * inet/netinet/in.h [__USE_GNU]: Likewise.
13327         * io/sys/stat.h [__USE_MISC]: Likewise.
13328         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13329         * libio/bits/stdio.h: Update #endif comments.
13330         [__USE_MISC]: Remove redundant conditionals.
13331         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13332         * libio/stdio.h: Update #endif comments.
13333         [__USE_MISC]: Remove redundant conditionals.
13334         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13335         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13336         * math/math.h: Update #else and #endif comments.
13337         [__USE_MISC]: Remove redundant conditionals.
13338         * misc/sys/uio.h: Update #endif comments.
13339         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13340         * posix/glob.h [__USE_MISC]: Likewise.
13341         * posix/sys/types.h: Update #endif comments.
13342         [__USE_MISC]: Remove redundant conditionals.
13343         * posix/sys/wait.h: Update #endif comments.
13344         [__USE_MISC]: Remove redundant conditionals.
13345         * posix/unistd.h: Update #endif comments.
13346         [__USE_MISC]: Remove redundant conditionals.
13347         * pwd/pwd.h [__USE_GNU]: Likewise.
13348         [__USE_MISC]: Likewise.
13349         * resolv/netdb.h [__USE_GNU]: Likewise.
13350         * signal/signal.h: Update #endif comments.
13351         [__USE_MISC]: Remove redundant conditionals.
13352         * stdlib/stdlib.h: Update #else and #endif comments.
13353         [__USE_MISC]: Remove redundant conditionals.
13354         [__USE_GNU]: Likewise.
13355         * string/bits/string2.h [__USE_MISC]: Likewise.
13356         * string/string.h: Update #endif comments.
13357         [__USE_MISC]: Remove redundant conditionals.
13358         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13359         Likewise.
13360         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13361         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13362         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13363         Likewise.
13364         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13365         Likewise.
13366         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13367         comments.
13368         [__USE_MISC]: Remove redundant conditionals.
13369         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13370         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13371         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13372         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13373         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13374         Likewise.
13375         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13376         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13377         Likewise.
13378         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13380         Likewise.
13381         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13382         Likewise.
13383         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13384         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13385         Likewise.
13386         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13387         Likewise.
13388         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13389         * sysdeps/x86/bits/string.h: Update #endif comments.
13390         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13391         conditionals.
13392         * time/sys/time.h: Update #endif comments.
13393         * time/time.h: Likewise.
13394         [__USE_MISC]: Remove redundant conditionals.
13396 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13398         [BZ #16600]
13399         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13401 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13403         * Versions.def (librt): Add GLIBC_2.17.
13405 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13407         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13408         synonym for _SYS_AUXV_H to allow direct inclusion.
13409         * sysdeps/sparc/bits/hwcap.h: Likewise.
13410         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13411         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13412         * sysdeps/sparc/sysdep.h: Likewise.
13414 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13416         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13418 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13420         * benchtests/bench-strrchr.c: Print length instead of position.
13422 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13424         [BZ #16611]
13425         * sysdeps/unix/sysv/linux/kernel-features.h
13426         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13427         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13428         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13429         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13430         Likewise.
13431         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13432         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13433         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13434         (__ASSUME_SENDMMSG): Define instead of using previous
13435         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13437         (__ASSUME_SENDMMSG_SYSCALL): Define.
13438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13439         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13440         Likewise.
13441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13442         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13443         Likewise.
13444         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13445         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13446         Likewise.
13447         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13448         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13449         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13450         [__ASSUME_SENDMMSG]: Change conditionals to
13451         [__ASSUME_SENDMMSG_SOCKETCALL].
13452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13453         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13454         Define.
13455         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13456         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13457         Likewise.
13458         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13459         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13460         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13461         [!__ASSUME_SENDMMSG]: Change conditional to
13462         [!__ASSUME_SENDMMSG_SOCKETCALL].
13463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13464         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13465         Define.
13467         [BZ #16610]
13468         * sysdeps/unix/sysv/linux/kernel-features.h
13469         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13470         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13471         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13472         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13473         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13474         [__i386__ || __sparc__]
13475         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13476         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13477         (__ASSUME_RECVMMSG): Define instead of using previous
13478         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13479         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13480         (__ASSUME_RECVMMSG_SYSCALL): Define.
13481         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13482         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13483         Likewise.
13484         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13486         Likewise.
13487         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13489         Likewise.
13490         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13491         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13492         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13493         [__ASSUME_RECVMMSG]: Change condition to
13494         [__ASSUME_RECVMMSG_SOCKETCALL].
13495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13497         Define.
13498         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13499         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13500         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13503         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13504         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13505         [!__ASSUME_RECVMMSG]: Change condition to
13506         [!__ASSUME_RECVMMSG_SOCKETCALL].
13507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13508         (__ASSUME_RECVMMSG_SYSCALL): Define.
13510         [BZ #16609]
13511         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13512         __powerpc__ || __s390__ || __sh__ || __sparc__]
13513         (__ASSUME_SOCKETCALL): Define.
13514         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13515         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13516         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13517         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13518         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13519         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13520         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13521         (__ASSUME_ACCEPT4): Define instead of using previous
13522         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13523         __powerpc__ || __sparc__ || __s390__)] condition.
13524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13525         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13526         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13527         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13528         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13529         [!__ASSUME_ACCEPT4]: Change condition to
13530         [!__ASSUME_ACCEPT4_SOCKETCALL].
13531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13532         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13533         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13535         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13536         __ASSUME_ACCEPT4_SYSCALL.
13537         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13538         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13539         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13540         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13541         __ASSUME_ACCEPT4_SYSCALL.
13542         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13543         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13544         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13545         [__ASSUME_ACCEPT4]: Change condition to
13546         [__ASSUME_ACCEPT4_SOCKETCALL].
13547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13548         (__ASSUME_SOCKETCALL): Define.
13549         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13550         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13551         (__ASSUME_SOCKETCALL): Define.
13552         (__ASSUME_ACCEPT4): Remove.
13553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13554         Define.
13555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13556         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13557         Likewise.
13558         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13559         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13561         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13562         macro.
13563         (HWCAP_ARM_LPAE): Likewise.
13564         (HWCAP_ARM_EVTSTRM): Likewise.
13565         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13566         Add vpfd32, lpae and evtstrm.
13567         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13568         Increase to 22.
13570 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
13572         * math/auto-libm-test-in: Add tests of clog10.
13573         * math/auto-libm-test-out: Regenerated.
13574         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13575         * sysdeps/i386/fpu/libm-test-ulps: Update.
13576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13578 2014-02-18  Andreas Schwab  <schwab@suse.de>
13580         [BZ #16574]
13581         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13582         Store non-zero if the second buffer was newly allocated.
13583         (send_dg): Likewise.
13584         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13585         to send_vc and send_dg.
13586         (res_nsend): Pass NULL for ansp2_malloced.
13587         * resolv/res_query.c (__libc_res_nquery): Add parameter
13588         answerp2_malloced and pass it down to __libc_res_nsend.
13589         (res_nquery): Pass additional NULL to __libc_res_nquery.
13590         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13591         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
13592         second answer buffer if answerp2_malloced was set.
13593         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13594         (__libc_res_nquerydomain): Add parameter
13595         answerp2_malloced and pass it down to __libc_res_nquery.
13596         (res_nquerydomain): Pass additional NULL to
13597         __libc_res_nquerydomain.
13598         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13599         additional NULL to __libc_res_nsend and __libc_res_nquery.
13600         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13601         additional NULL to __libc_res_nsearch.
13602         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
13603         parameter of __libc_res_nsearch to check for separately allocated
13604         second buffer.
13605         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13606         __libc_res_nquery.
13607         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13608         additional NULL to __libc_res_nquery.
13609         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13610         __libc_res_nsearch.
13611         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13612         * include/resolv.h: Update prototypes of __libc_res_nquery,
13613         __libc_res_nsearch, __libc_res_nsend.
13615 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13617         * math/auto-libm-test-in: Add tests of fma.
13618         * math/auto-libm-test-out: Regenerated.
13619         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13620         (fma_towardzero_test_data): Likewise.
13621         (fma_downward_test_data): Likewise.
13622         (fma_upward_test_data): Likewise.
13623         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13624         mpc_mode.
13625         (rounding_modes): Add values for new field.
13626         (func_calc_method): Add value mpfr_fff_f.
13627         (func_calc_desc): Add mpfr_fff_f union field.
13628         (test_function): Add field exact_args.
13629         (FUNC): Add macro argument EXACT_ARGS.
13630         (FUNC_mpfr_f_f): Update call to FUNC.
13631         (FUNC_mpfr_f_f): Likewise.
13632         (FUNC_mpfr_ff_f): Likewise.
13633         (FUNC_mpfr_if_f): Likewise.
13634         (FUNC_mpc_c_f): Likewise.
13635         (FUNC_mpc_c_c): Likewise.
13636         (test_functions): Add fma.  Update calls to FUNC.
13637         (handle_input_arg): Add argument exact_args.
13638         (add_test): Update call to handle_input_arg.
13639         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13640         (output_for_one_input_case): Update call to calc_generic_results.
13641         Recalculate exact zero results in each rounding mode.
13643         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13644         non-negative before setting low bit.
13645         * math/auto-libm-test-in: Mark one asin test possibly having
13646         spurious underflow.
13647         * math/auto-libm-test-out: Regenerated.
13648         * sysdeps/i386/fpu/libm-test-ulps: Update.
13649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13651 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13653         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13654         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13655         ports/sysdeps/unix/sysv/linux/microblaze.
13656         * README: Add missing listing for microblaze*-*-linux-gnu.
13658 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13660         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13661         duplicate code
13663 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13665         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13666         * sysdeps/unix/sysv/linux/ia64: Move directory from
13667         ports/sysdeps/unix/sysv/linux/ia64.
13668         * README: Update listing for ia64-*-linux-gnu.
13670 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13671             Joseph Myers  <joseph@codesourcery.com>
13673         * Makeconfig (test-name): New variable.
13674         (evaluate-test): Likewise.
13675         * Makerules (do-test-clean): Remove .test-result files.
13676         (common-mostlyclean): Likewise.
13677         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13678         * scripts/evaluate-test.sh: New file.
13680 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13682         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13683         separate $(objpfx)tst-fopenloc-cmp.out and
13684         $(objpfx)tst-fopenloc-mem.out targets.
13685         (tests): Update dependencies.
13686         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13687         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13688         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13689         (tst-rxspencer-no-utf8-ARGS): New variable.
13690         (tst-rxspencer-no-utf8-ENV): Likewise.
13691         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13692         instead of $(objpfx)tst-rxspencer-mem.
13693         ($(objpfx)tst-rxspencer-mem): Change target to
13694         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13695         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13696         * posix/tst-rxspencer-no-utf8.c: New file.
13698         * elf/Makefile ($(objpfx)order.out): Remove rule.
13699         [$(run-built-tests) = yes] (tests): Depend on
13700         $(objpfx)order-cmp.out.
13701         ($(objpfx)order-cmp.out): New rule.
13702         [$(run-built-tests) = yes] (tests): Depend on
13703         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13704         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13705         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13706         $(objpfx)tst-array5-static-cmp.out.
13707         ($(objpfx)tst-array1.out): Remove rule.
13708         ($(objpfx)tst-array1-cmp.out): New rule.
13709         ($(objpfx)tst-array1-static.out): Remove rule.
13710         ($(objpfx)tst-array1-static-cmp.out): New rule.
13711         ($(objpfx)tst-array2.out): Remove rule.
13712         ($(objpfx)tst-array2-cmp.out): New rule.
13713         ($(objpfx)tst-array3.out): Remove rule.
13714         ($(objpfx)tst-array3-cmp.out): New rule.
13715         ($(objpfx)tst-array4.out): Remove rule.
13716         ($(objpfx)tst-array4-cmp.out): New rule.
13717         ($(objpfx)tst-array5.out): Remove rule.
13718         ($(objpfx)tst-array5-cmp.out): New rule.
13719         ($(objpfx)tst-array5-static.out): Remove rule.
13720         ($(objpfx)tst-array5-static-cmp.out): New rule.
13721         [$(run-built-tests) = yes] (tests): Depend on
13722         $(objpfx)order2-cmp.out.
13723         ($(objpfx)order2.out): Remove rule.
13724         ($(objpfx)order2-cmp.out): New rule.
13725         ($(objpfx)tst-initorder.out): Remove rule.
13726         [$(run-built-tests) = yes] (tests): Depend on
13727         $(objpfx)tst-initorder-cmp.out.
13728         ($(objpfx)tst-initorder-cmp.out): New rule.
13729         ($(objpfx)tst-initorder2.out): Remove rule.
13730         [$(run-built-tests) = yes] (tests): Depend on
13731         $(objpfx)tst-initorder2-cmp.out.
13732         ($(objpfx)tst-initorder2-cmp.out): New rule.
13733         [$(run-built-tests) = yes] (tests): Depend on
13734         $(objpfx)tst-unused-dep-cmp.out.
13735         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13736         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13737         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13738         on $(objpfx)tst-setvbuf1-cmp.out.
13739         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13740         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13741         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13742         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13743         ($(objpfx)tst-svc.out): Remove rule.
13744         ($(objpfx)tst-svc-cmp.out): New rule.
13746 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13748         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13749         * ctype/ctype.h [__USE_MISC]: Likewise.
13750         * dirent/dirent.h [__USE_MISC]: Likewise.
13751         * grp/grp.h [__USE_MISC]: Likewise.
13752         * io/fcntl.h [__USE_MISC]: Likewise.
13753         * io/sys/stat.h [__USE_MISC]: Likewise.
13754         * libio/stdio.h [__USE_MISC]: Likewise.
13755         * posix/unistd.h [__USE_MISC]: Likewise.
13756         * pwd/pwd.h [__USE_MISC]: Likewise.
13757         * stdlib.h [__USE_MISC]: Likewise.
13758         * string/bits/string2.h [__USE_MISC]: Likewise.
13759         * string/string.h [__USE_MISC]: Likewise.
13760         * time/time.h [__USE_MISC]: Likewise.
13762 2014-02-13  Andreas Schwab  <schwab@suse.de>
13764         [BZ #16574]
13765         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13766         second answer buffer if it was separately allocated.
13768 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13770         * sysdeps/mips/math-tests.h: Include <features.h>.
13771         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13772         (ROUNDING_TESTS_long_double): Do not define.
13773         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13774         (EXCEPTION_TESTS_long_double): Likewise.
13775         * sysdeps/mips/mips64/libm-test-ulps: Update.
13777         * include/features.h (__USE_BSD): Remove macro definitions.
13778         (__USE_SVID): Likewise.
13779         (_BSD_SOURCE): Likewise.
13780         (_SVID_SOURCE): Likewise.
13781         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13782         from definition of _DEFAULT_SOURCE.
13783         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13784         [_DEFAULT_SOURCE].
13785         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13786         * bits/mman.h [__USE_BSD]: Likewise.
13787         * bits/termios.h [__USE_BSD]: Likewise.
13788         * bits/waitstatus.h [__USE_BSD]: Likewise.
13789         * ctype/ctype.h [__USE_SVID]: Likewise.
13790         * dirent/dirent.h [__USE_BSD]: Likewise.
13791         * grp/grp.h [__USE_SVID]: Likewise.
13792         [__USE_BSD]: Likewise.
13793         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13794         * io/fcntl.h [__USE_BSD]: Likewise.
13795         * io/ftw.h [__USE_BSD]: Likewise.
13796         * io/sys/stat.h [__USE_BSD]: Likewise.
13797         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13798         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13799         * libio/stdio.h [__USE_SVID]: Likewise.
13800         [__USE_BSD]: Likewise.
13801         * math/math.h [__USE_SVID]: Likewise.
13802         [__USE_BSD]: Likewise.
13803         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13804         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13805         * misc/search.h [__USE_SVID]: Likewise.
13806         * misc/sys/mman.h [__USE_BSD]: Likewise.
13807         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13808         * misc/sys/uio.h [__USE_BSD]: Likewise.
13809         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13810         * posix/glob.h [__USE_BSD]: Likewise.
13811         * posix/regex.h [__USE_BSD]: Likewise.
13812         * posix/sys/types.h [__USE_BSD]: Likewise.
13813         [__USE_SVID]: Likewise.
13814         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13815         * posix/sys/wait.h [__USE_BSD]: Likewise.
13816         [__USE_SVID]: Likewise.
13817         * posix/unistd.h [__USE_BSD]: Likewise.
13818         [__USE_SVID]: Likewise.
13819         * pwd/pwd.h [__USE_SVID]: Likewise.
13820         * resolv/netdb.h [__USE_BSD]: Likewise.
13821         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13822         * signal/signal.h [__USE_BSD]: Likewise.
13823         [__USE_SVID]: Likewise.
13824         * socket/sys/socket.h [__USE_BSD]: Likewise.
13825         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13826         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13827         [__USE_SVID]: Likewise.
13828         * string/bits/string2.h [__USE_BSD]: Likewise.
13829         [__USE_SVID]: Likewise.
13830         * string/bits/string3.h [__USE_BSD]: Likewise.
13831         * string/endian.h [__USE_BSD]: Likewise.
13832         * string/string.h [__USE_SVID]: Likewise.
13833         [__USE_BSD]: Likewise.
13834         * string/strings.h [__USE_BSD]: Likewise.
13835         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13836         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13837         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13838         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13839         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13840         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13841         Likewise.
13842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13843         Likewise.
13844         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13845         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13846         Likewise.
13847         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13848         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13849         Likewise.
13850         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13851         Likewise.
13852         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13853         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13854         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13855         Likewise.
13856         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13857         Likewise.
13858         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13859         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13860         * termios/termios.h [__USE_BSD]: Likewise.
13861         * time/sys/time.h [__USE_BSD]: Likewise.
13862         * time/time.h [__USE_BSD]: Likewise.
13863         [__USE_SVID]: Likewise.
13865         * Makefile (subdir_targets): Remove subdir_lint.out.
13867         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13868         (do-tst-printf): Likewise.
13869         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13870         $(objpfx)tst-printf.out.
13872         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13874         * Makerules (check-abi-%): Change target to
13875         $(objpfx)check-abi-%.out.
13876         (check-abi target): Update dependencies.
13877         (check-abi-pattern variable): Redirect output of diff to $@.
13878         (check-abi variable): Likewise.
13879         * elf/Makefile (check-abi): Update dependencies.
13881         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13882         unused.
13883         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13884         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13885         subnormal range.
13886         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13887         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13888         value has largest subnormal exponent.
13889         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13890         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13891         * sysdeps/aarch64/soft-fp/sfp-machine.h
13892         (_FP_TININESS_AFTER_ROUNDING): New macro.
13893         * sysdeps/alpha/soft-fp/sfp-machine.h
13894         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13895         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13896         Likewise.
13897         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13898         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13899         * sysdeps/mips/soft-fp/sfp-machine.h
13900         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13901         * sysdeps/powerpc/soft-fp/sfp-machine.h
13902         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13903         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13904         Likewise.
13905         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13907         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13909         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13910         Likewise.
13912 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13914         [BZ #16545]
13915         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13916         model 1.
13918 2014-02-12  Richard Henderson  <rth@redhat.com>
13920         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13921         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13922         * sysdeps/unix/sysv/linux/alpha: Move directory from
13923         ports/sysdeps/unix/sysv/linux/alpha.
13924         * README: Update listing for alpha-*-linux-gnu.
13926 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13928         * include/features.h: Update comment documenting feature test
13929         macros.
13930         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13931         _DEFAULT_SOURCE.
13932         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13933         (_SVID_SOURCE): Likewise.
13934         (_DEFAULT_SOURCE): Update description of default features.
13935         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13936         with _GNU_SOURCE.
13937         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13938         (S_ISVTX): Likewise.
13939         * manual/math.texi (Mathematical Constants): Likewise.
13940         * manual/signal.texi (Interrupted Primitives): Likewise.
13941         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13942         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13943         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13944         Don't refer to _SVID_SOURCE in warning text.
13946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13948         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13949         already defined.
13950         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13951         * sysdeps/mips/dl-lookup.c: Remove.
13952         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13954 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13956         [BZ #16447]
13957         * math/auto-libm-test-in: Add testcase for expl.
13958         * math/auto-libm-test-out: Regenerate.
13959         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13960         calculation of unsafe.
13961         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13963 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13965         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13966         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13967         ports/sysdeps/unix/sysv/linux/aarch64.
13968         * README: Update listing for aarch64*-*-linux-gnu.
13970 2014-02-11  Will Newton  <will.newton@linaro.org>
13972         * manual/probes.texi (Mathematical Function Probes): Use
13973         "triggered" instead of "hit".
13975         * manual/probes.texi (Internal Probes): Add documentation
13976         of setjmp, longjmp and longjmp_target probes.
13978         * include/stap-probe.h: Add comment about probe argument
13979         format.
13981         * malloc/mtrace.c (attribute_hidden): Remove unused macro
13982         definition.  (tr_where, tr_freehook, tr_mallochook,
13983         tr_reallochook, tr_memalignhook): Use ANSI protoype.
13985 2014-02-11  David S. Miller  <davem@davemloft.net>
13987         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13988         processing int_tests.
13990 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
13992         * sysdeps/mips: Move directory from ports/sysdeps/mips.
13993         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13994         * sysdeps/unix/sysv/linux/mips: Move directory from
13995         ports/sysdeps/unix/sysv/linux/mips.
13996         * README: Update listing for mips-*-linux-gnu and
13997         mips64-*-linux-gnu.
13999 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14001         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14002         * sysdeps/unix/sysv/linux/m68k: Move directory from
14003         ports/sysdeps/unix/sysv/linux/m68k.
14004         * README: Update listing for m68k-*-linux-gnu.
14006 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14008         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14009         * sysdeps/unix/sysv/linux/generic: Move directory from
14010         ports/sysdeps/unix/sysv/linux/generic.
14011         * sysdeps/unix/sysv/linux/tile: Move directory from
14012         ports/sysdeps/unix/sysv/linux/tile.
14013         * README: Update listing for tile*-*-linux-gnu.
14015 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14017         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14018         __builtin_expect.
14019         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14020         * catgets/open_catalog.c (__open_catalog): Likewise.
14021         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14022         * debug/confstr_chk.c: Likewise.
14023         * debug/fread_chk.c (__fread_chk): Likewise.
14024         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14025         * debug/getgroups_chk.c: Likewise.
14026         * debug/mbsnrtowcs_chk.c: Likewise.
14027         * debug/mbsrtowcs_chk.c: Likewise.
14028         * debug/mbstowcs_chk.c: Likewise.
14029         * debug/memcpy_chk.c: Likewise.
14030         * debug/memmove_chk.c: Likewise.
14031         * debug/mempcpy_chk.c: Likewise.
14032         * debug/memset_chk.c: Likewise.
14033         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14034         * debug/strcat_chk.c (__strcat_chk): Likewise.
14035         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14036         * debug/strncat_chk.c (__strncat_chk): Likewise.
14037         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14038         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14039         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14040         * debug/wcpncpy_chk.c: Likewise.
14041         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14042         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14043         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14044         * debug/wcsncpy_chk.c: Likewise.
14045         * debug/wcsnrtombs_chk.c: Likewise.
14046         * debug/wcsrtombs_chk.c: Likewise.
14047         * debug/wcstombs_chk.c: Likewise.
14048         * debug/wmemcpy_chk.c: Likewise.
14049         * debug/wmemmove_chk.c: Likewise.
14050         * debug/wmempcpy_chk.c: Likewise.
14051         * debug/wmemset_chk.c: Likewise.
14052         * dirent/scandirat.c (SCANDIRAT): Likewise.
14053         * dlfcn/dladdr1.c (dladdr1): Likewise.
14054         * dlfcn/dladdr.c (dladdr): Likewise.
14055         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14056         * dlfcn/dlerror.c (__dlerror): Likewise.
14057         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14058         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14059         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14060         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14061         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14062         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14063         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14064         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14065         Likewise.
14066         * elf/dl-conflict.c: Likewise.
14067         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14068         * elf/dl-dst.h: Likewise.
14069         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14070         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14071         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14072         * elf/dl-init.c (call_init, _dl_init): Likewise.
14073         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14074         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14075         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14076         Likewise.
14077         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14078         Likewise.
14079         * elf/dl-minimal.c (__libc_memalign): Likewise.
14080         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14081         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14082         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14083         * elf/dl-sym.c (do_sym): Likewise.
14084         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14085         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14086         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14087         * elf/dl-writev.h (_dl_writev): Likewise.
14088         * elf/ldconfig.c (search_dir): Likewise.
14089         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14090         (dl_main): Likewise.
14091         * elf/setup-vdso.h (setup_vdso): Likewise.
14092         * grp/compat-initgroups.c (compat_call): Likewise.
14093         * grp/fgetgrent.c (fgetgrent): Likewise.
14094         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14095         * grp/putgrent.c (putgrent): Likewise.
14096         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14097         Likewise.
14098         * hurd/hurdinit.c: Likewise.
14099         * iconvdata/8bit-gap.c (struct): Likewise.
14100         * iconvdata/ansi_x3.110.c : Likewise.
14101         * iconvdata/big5.c : Likewise.
14102         * iconvdata/big5hkscs.c : Likewise.
14103         * iconvdata/cp1255.c: Likewise.
14104         * iconvdata/cp1258.c : Likewise.
14105         * iconvdata/cp932.c : Likewise.
14106         * iconvdata/euc-cn.c: Likewise.
14107         * iconvdata/euc-jisx0213.c : Likewise.
14108         * iconvdata/euc-jp.c: Likewise.
14109         * iconvdata/euc-jp-ms.c : Likewise.
14110         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14111         * iconvdata/gb18030.c : Likewise.
14112         * iconvdata/gbbig5.c (const): Likewise.
14113         * iconvdata/gbgbk.c: Likewise.
14114         * iconvdata/gbk.c : Likewise.
14115         * iconvdata/ibm1364.c : Likewise.
14116         * iconvdata/ibm930.c : Likewise.
14117         * iconvdata/ibm932.c: Likewise.
14118         * iconvdata/ibm933.c : Likewise.
14119         * iconvdata/ibm935.c : Likewise.
14120         * iconvdata/ibm937.c : Likewise.
14121         * iconvdata/ibm939.c : Likewise.
14122         * iconvdata/ibm943.c: Likewise.
14123         * iconvdata/iso_11548-1.c: Likewise.
14124         * iconvdata/iso-2022-cn.c : Likewise.
14125         * iconvdata/iso-2022-cn-ext.c : Likewise.
14126         * iconvdata/iso-2022-jp-3.c: Likewise.
14127         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14128         * iconvdata/iso-2022-kr.c : Likewise.
14129         * iconvdata/iso646.c (gconv_end): Likewise.
14130         * iconvdata/iso_6937-2.c : Likewise.
14131         * iconvdata/iso_6937.c : Likewise.
14132         * iconvdata/iso8859-1.c: Likewise.
14133         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14134         * iconvdata/shift_jisx0213.c : Likewise.
14135         * iconvdata/sjis.c : Likewise.
14136         * iconvdata/t.61.c : Likewise.
14137         * iconvdata/tcvn5712-1.c : Likewise.
14138         * iconvdata/tscii.c: Likewise.
14139         * iconvdata/uhc.c : Likewise.
14140         * iconvdata/unicode.c (gconv_end): Likewise.
14141         * iconvdata/utf-16.c (gconv_end): Likewise.
14142         * iconvdata/utf-32.c (gconv_end): Likewise.
14143         * iconvdata/utf-7.c (base64): Likewise.
14144         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14145         * iconv/gconv_close.c (__gconv_close): Likewise.
14146         * iconv/gconv_open.c (__gconv_open): Likewise.
14147         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14148         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14149         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14150         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14151         (ucs4le_internal_loop_single): Likewise.
14152         * iconv/iconv.c (iconv): Likewise.
14153         * iconv/iconv_close.c: Likewise.
14154         * iconv/loop.c (SINGLE): Likewise.
14155         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14156         * include/atomic.h: Likewise.
14157         * inet/inet6_option.c (option_alloc): Likewise.
14158         * intl/bindtextdom.c (set_binding_values): Likewise.
14159         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14160         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14161         * intl/localealias.c (read_alias_file): Likewise.
14162         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14163         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14164         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14165         * libio/fmemopen.c (fmemopen): Likewise.
14166         * libio/iofgets.c (_IO_fgets): Likewise.
14167         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14168         * libio/iofgetws.c (fgetws): Likewise.
14169         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14170         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14171         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14172         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14173         * locale/findlocale.c (_nl_find_locale): Likewise.
14174         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14175         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14176         Likewise.
14177         * locale/setlocale.c (setlocale): Likewise.
14178         * login/programs/pt_chown.c (main): Likewise.
14179         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14180         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14181         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14182         (mmap, mmap64, mremap, munmap): Likewise.
14183         * math/e_exp2l.c: Likewise.
14184         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14185         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14186         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14187         * math/s_catan.c (__catan): Likewise.
14188         * math/s_catanf.c (__catanf): Likewise.
14189         * math/s_catanh.c (__catanh): Likewise.
14190         * math/s_catanhf.c (__catanhf): Likewise.
14191         * math/s_catanhl.c (__catanhl): Likewise.
14192         * math/s_catanl.c (__catanl): Likewise.
14193         * math/s_ccosh.c (__ccosh): Likewise.
14194         * math/s_ccoshf.c (__ccoshf): Likewise.
14195         * math/s_ccoshl.c (__ccoshl): Likewise.
14196         * math/s_cexp.c (__cexp): Likewise.
14197         * math/s_cexpf.c (__cexpf): Likewise.
14198         * math/s_cexpl.c (__cexpl): Likewise.
14199         * math/s_clog10.c (__clog10): Likewise.
14200         * math/s_clog10f.c (__clog10f): Likewise.
14201         * math/s_clog10l.c (__clog10l): Likewise.
14202         * math/s_clog.c (__clog): Likewise.
14203         * math/s_clogf.c (__clogf): Likewise.
14204         * math/s_clogl.c (__clogl): Likewise.
14205         * math/s_csin.c (__csin): Likewise.
14206         * math/s_csinf.c (__csinf): Likewise.
14207         * math/s_csinh.c (__csinh): Likewise.
14208         * math/s_csinhf.c (__csinhf): Likewise.
14209         * math/s_csinhl.c (__csinhl): Likewise.
14210         * math/s_csinl.c (__csinl): Likewise.
14211         * math/s_csqrt.c (__csqrt): Likewise.
14212         * math/s_csqrtf.c (__csqrtf): Likewise.
14213         * math/s_csqrtl.c (__csqrtl): Likewise.
14214         * math/s_ctan.c (__ctan): Likewise.
14215         * math/s_ctanf.c (__ctanf): Likewise.
14216         * math/s_ctanh.c (__ctanh): Likewise.
14217         * math/s_ctanhf.c (__ctanhf): Likewise.
14218         * math/s_ctanhl.c (__ctanhl): Likewise.
14219         * math/s_ctanl.c (__ctanl): Likewise.
14220         * math/w_pow.c: Likewise.
14221         * math/w_powf.c: Likewise.
14222         * math/w_powl.c: Likewise.
14223         * math/w_scalb.c (sysv_scalb): Likewise.
14224         * math/w_scalbf.c (sysv_scalbf): Likewise.
14225         * math/w_scalbl.c (sysv_scalbl): Likewise.
14226         * misc/error.c (error_tail): Likewise.
14227         * misc/pselect.c (__pselect): Likewise.
14228         * nis/nis_callback.c (__nis_create_callback): Likewise.
14229         * nis/nis_call.c (__nisfind_server): Likewise.
14230         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14231         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14232         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14233         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14234         * nis/nis_lookup.c (nis_lookup): Likewise.
14235         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14236         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14237         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14238         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14239         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14240         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14241         * nis/nss_compat/compat-initgroups.c (add_group)
14242         (internal_getgrent_r): Likewise.
14243         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14244         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14245         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14246         (internal_getspnam_r): Likewise.
14247         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14248         (_nss_nis_getaliasbyname_r): Likewise.
14249         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14250         (_nss_nis_getntohost_r): Likewise.
14251         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14252         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14253         (_nss_nis_getgrgid_r): Likewise.
14254         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14255         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14256         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14257         (_nss_nis_gethostbyname4_r): Likewise.
14258         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14259         (initgroups_netid): Likewise.
14260         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14261         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14262         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14263         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14264         (_nss_nis_getprotobynumber_r): Likewise.
14265         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14266         (_nss_nis_getsecretkey): Likewise.
14267         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14268         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14269         (_nss_nis_getpwuid_r): Likewise.
14270         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14271         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14272         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14273         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14274         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14275         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14276         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14277         Likewise.
14278         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14279         (_nss_nisplus_getntohost_r): Likewise.
14280         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14281         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14282         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14283         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14284         Likewise.
14285         * nis/nss_nisplus/nisplus-initgroups.c
14286         (_nss_nisplus_initgroups_dyn): Likewise.
14287         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14288         (_nss_nisplus_getnetbyaddr_r): Likewise.
14289         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14290         (_nss_nisplus_getprotobynumber_r): Likewise.
14291         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14292         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14293         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14294         Likewise.
14295         * nis/nss_nisplus/nisplus-service.c
14296         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14297         (_nss_nisplus_getservbyport_r): Likewise.
14298         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14299         (_nss_nisplus_getspnam_r): Likewise.
14300         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14301         Likewise.
14302         * nscd/aicache.c (addhstaiX): Likewise.
14303         * nscd/cache.c (cache_search, prune_cache): Likewise.
14304         * nscd/connections.c (register_traced_file, send_ro_fd)
14305         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14306         (main_loop_epoll): Likewise.
14307         * nscd/grpcache.c (addgrbyX): Likewise.
14308         * nscd/hstcache.c (addhstbyX): Likewise.
14309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14310         * nscd/mem.c (gc, mempool_alloc): Likewise.
14311         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14312         (addinnetgrX): Likewise.
14313         * nscd/nscd-client.h (__nscd_acquire_maplock)
14314         (__nscd_drop_map_ref): Likewise.
14315         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14316         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14317         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14318         Likewise.
14319         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14320         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14321         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14322         (__nscd_get_map_ref): Likewise.
14323         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14324         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14325         Likewise.
14326         * nscd/pwdcache.c (addpwbyX): Likewise.
14327         * nscd/selinux.c (preserve_capabilities): Likewise.
14328         * nscd/servicescache.c (addservbyX): Likewise.
14329         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14330         * posix/fnmatch.c (fnmatch): Likewise.
14331         * posix/getopt.c (_getopt_internal_r): Likewise.
14332         * posix/glob.c (glob, glob_in_dir): Likewise.
14333         * posix/wordexp.c (exec_comm_child): Likewise.
14334         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14335         (getanswer_r, gaih_getanswer_slice): Likewise.
14336         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14337         * resolv/res_init.c: Likewise.
14338         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14339         * resolv/res_query.c (__libc_res_nquery): Likewise.
14340         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14341         Likewise.
14342         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14343         * stdio-common/perror.c (perror): Likewise.
14344         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14345         * stdio-common/tmpnam.c (tmpnam): Likewise.
14346         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14347         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14348         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14349         Likewise.
14350         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14351         * stdlib/putenv.c (putenv): Likewise.
14352         * stdlib/setenv.c (__add_to_environ): Likewise.
14353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14354         * stdlib/strtol_l.c (INTERNAL): Likewise.
14355         * string/memmem.c (memmem): Likewise.
14356         * string/strerror.c (strerror): Likewise.
14357         * string/strnlen.c (__strnlen): Likewise.
14358         * string/test-memmem.c (simple_memmem): Likewise.
14359         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14360         * sunrpc/pm_getport.c (__get_socket): Likewise.
14361         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14362         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14363         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14364         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14365         Likewise.
14366         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14367         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14368         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14369         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14370         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14371         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14372         Likewise.
14373         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14374         Likewise.
14375         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14376         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14377         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14378         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14379         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14381         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14382         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14383         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14384         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14385         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14386         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14387         Likewise.
14388         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14389         Likewise.
14390         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14391         Likewise.
14392         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14393         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14395         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14396         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14397         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14398         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14399         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14401         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14402         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14404         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14405         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14406         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14407         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14408         Likewise.
14409         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14410         Likewise.
14411         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14412         Likewise.
14413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14414         Likewise.
14415         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14417         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14418         Likewise.
14419         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14420         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14421         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14422         * sysdeps/posix/sleep.c: Likewise.
14423         * sysdeps/posix/tempname.c: Likewise.
14424         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14425         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14426         Likewise.
14427         * sysdeps/powerpc/powerpc32/dl-machine.h
14428         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14429         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14431         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14432         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14433         Likewise.
14434         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14435         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14436         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14437         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14438         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14439         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14440         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14441         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14442         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14443         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14444         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14445         (elf_machine_lazy_rel): Likewise.
14446         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14447         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14448         (elf_machine_lazy_rel): Likewise.
14449         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14450         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14451         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14452         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14453         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14454         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14455         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14457         Likewise.
14458         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14459         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14460         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14461         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14462         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14463         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14464         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14465         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14466         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14467         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14468         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14469         Likewise.
14470         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14471         (__posix_fallocate64_l64): Likewise.
14472         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14473         (posix_fallocate): Likewise.
14474         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14475         Likewise.
14476         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14477         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14478         (getifaddrs_internal): Likewise.
14479         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14480         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14481         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14482         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14483         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14484         (__posix_fallocate64_l64): Likewise.
14485         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14486         Likewise.
14487         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14488         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14489         (__get_clockfreq): Likewise.
14490         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14491         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14492         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14495         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14496         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14497         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14498         Likewise.
14499         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14500         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14501         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14502         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14503         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14504         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14505         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14506         Likewise.
14507         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14508         (posix_fallocate): Likewise.
14509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14510         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14511         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14512         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14513         (elf_machine_rela, elf_machine_rela_relative)
14514         (elf_machine_lazy_rel): Likewise.
14515         * time/asctime.c (asctime_internal): Likewise.
14516         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14517         * time/tzset.c (__tzset_parse_tz): Likewise.
14518         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14519         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14520         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14521         * wcsmbs/wcsmbsload.h: Likewise.
14523         [BZ #15894]
14524         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14526         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14527         (arena_get2): Remove THREAD_STATS conditionals.
14528         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14529         (__malloc_stats, int): Likewise.
14531 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14533         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14534         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
14536         * manual/setjmp.texi: Fix typos/grammar errors.
14538         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14539         Only return early when n is <= 0.  Delete unused return statement.
14541         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14542         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14543         * debug/tst-longjmp_chk3.c: New file.
14545         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14546         (test_main): Replace code with set_fortify_handler call.
14547         * debug/test-strcpy_chk.c: Likewise.
14548         * debug/tst-chk1.c: Likewise.
14549         * debug/tst-longjmp_chk.c: Likewise.
14550         * test-skeleton.c: Include fcntl.h & paths.h
14551         (set_fortify_handler): Define.
14553         * debug/tst-longjmp_chk.c: Add header comment and include
14554         ../test-skeleton.c.
14555         (do_test): Mark static.
14556         (TEST_FUNCTION): Define.
14558         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14559         (IP_PMTUDISC_INTERFACE): Likewise.
14560         (IP_MULTICAST_IF): Likewise.
14561         (IP_MULTICAST_TTL): Likewise.
14562         (IP_MULTICAST_LOOP): Likewise.
14563         (IP_ADD_MEMBERSHIP): Likewise.
14564         (IP_DROP_MEMBERSHIP): Likewise.
14565         (IP_UNBLOCK_SOURCE): Likewise.
14566         (IP_BLOCK_SOURCE): Likewise.
14567         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14568         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14569         (IP_MSFILTER): Likewise.
14570         (MCAST_JOIN_GROUP): Likewise.
14571         (MCAST_BLOCK_SOURCE): Likewise.
14572         (MCAST_UNBLOCK_SOURCE): Likewise.
14573         (MCAST_LEAVE_GROUP): Likewise.
14574         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14575         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14576         (MCAST_MSFILTER): Likewise.
14577         (IP_MULTICAST_ALL): Likewise.
14578         (IP_UNICAST_IF): Likewise.
14580         * timezone/Makefile: Delete $(have-ksh) check.
14581         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14582         * timezone/tzselect.ksh: Add +x mode bits.
14584         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14585         (ANON_INODE_FS_MAGIC): Likewise.
14586         (BDEVFS_MAGIC): Likewise.
14587         (BINFMTFS_MAGIC): Likewise.
14588         (BTRFS_TEST_MAGIC): Likewise.
14589         (CRAMFS_MAGIC_WEND): Likewise.
14590         (DEBUGFS_MAGIC): Likewise.
14591         (ECRYPTFS_SUPER_MAGIC): Likewise.
14592         (EXT3_SUPER_MAGIC): Likewise.
14593         (EXT4_SUPER_MAGIC): Likewise.
14594         (FUTEXFS_SUPER_MAGIC): Likewise.
14595         (HOSTFS_SUPER_MAGIC): Likewise.
14596         (HUGETLBFS_MAGIC): Likewise.
14597         (MINIX3_SUPER_MAGIC): Likewise.
14598         (MTD_INODE_FS_MAGIC): Likewise.
14599         (NILFS_SUPER_MAGIC): Likewise.
14600         (OPENPROM_SUPER_MAGIC): Likewise.
14601         (PIPEFS_MAGIC): Likewise.
14602         (PSTOREFS_MAGIC): Likewise.
14603         (QNX6_SUPER_MAGIC): Likewise.
14604         (RAMFS_MAGIC): Likewise.
14605         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14606         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14607         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14608         (SECURITYFS_MAGIC): Likewise.
14609         (SELINUX_MAGIC): Likewise.
14610         (SMACK_MAGIC): Likewise.
14611         (SOCKFS_MAGIC): Likewise.
14612         (SQUASHFS_MAGIC): Likewise.
14613         (STACK_END_MAGIC): Likewise.
14614         (TMPFS_MAGIC): Likewise.
14615         (USBDEVICE_SUPER_MAGIC): Likewise.
14616         (V9FS_MAGIC): Likewise.
14617         (XENFS_SUPER_MAGIC): Likewise.
14618         (CRAMFS_MAGIC): Fix typo in comment.
14619         (EXT2_SUPER_MAGIC): Update comment.
14620         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14622 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14624         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14625         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14626         * sysdeps/unix/sysv/linux/arm: Move directory from
14627         ports/sysdeps/unix/sysv/linux/arm.
14628         * README: Update listing for arm-*-linux-gnueabi.
14630         * README: Remove mention of am33.
14632 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14634         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14635         than the comma operator, to avoid "rhs of comma has no effect"
14636         compiler warnings.
14637         (__sigfillset, __sigandset, __sigorset): Likewise.
14638         * include/signal.h (__sigemptyset): Likewise.
14639         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14641 2014-02-07  Allan McRae  <allan@archlinux.org>
14643         * version.h (RELEASE): Set to "development".
14644         (VERSION): Set to "2.19.90"
14645         * NEWS: Add 2.20 section.
14647 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14649         [BZ #16529]
14650         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14652 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14654         * manual/contrib.texi: Update entry for Carlos O'Donell,
14655         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14657 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14659         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14661         * sysdeps/unix/sysv/linux/kernel-features.h
14662         [__LINUX_KERNEL_VERSION >= 0x020621]
14663         (__ASSUME_PROC_PID_TASK_COMM): Define.
14665 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14667         [BZ #16398]
14668         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14669         conversion when destination buffer does not have enough space.
14670         * libio/tst-ftell-partial-wide.c: New test case.
14671         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14673         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14674         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14675         Leonard and Allan McRae.
14677 2014-02-04  David S. Miller  <davem@davemloft.net>
14679         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14680         32-bit.
14682 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14685         New file
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14687         New file
14688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14689         New file.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14691         New file.
14692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14693         New file.
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14695         New file.
14696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14697         New file.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14699         New file.
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14701         New file.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14703         New file.
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14705         New file.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14707         New file.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14709         New file.
14711 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14713         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14714         * shlib-versions: Likewise.
14716 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14717             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14719         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14720         (abilist-pattern): New variable, set to %-le.abilist.
14722         * Makerules (abilist-pattern): New variable.
14723         (vpath): Use $(abilist-pattern) in place of %.abilist.
14724         (check-abi-% pattern rule): Likewise.
14725         (check-abi, update-abi): Likewise.
14727 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14731 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14733         * manual/startup.texi: Add next, previous, and top entries for
14734         the `Program Arguments' and `Environment Variables' nodes.
14736 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14738         * manual/macros.texi: Add comments before MTASC-safety macros.
14740         * manual/users.texi: Document MTASC-safety properties.
14742         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14743         (pthread_getspecific, pthread_setspecific): Format with
14744         @deftypefun, and add @safety note.
14745         * manual/signal.texi: Move comments that analyze the above
14746         functions to their home place.
14748 2014-02-03  Allan McRae  <allan@archlinux.org>
14750         * po/sl.po: Update Slovenian translation from translation project.
14752 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14754         * manual/time.texi (timegm): Add missing blank after @c.
14755         Reported by Joseph Myers <joseph@codesourcery.com>.
14757 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14759         * manual/check-safety.sh: New.
14760         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14762         * manual/terminal.texi: Document MTASC-safety properties.
14764         * manual/filesys.texi: Document MTASC-safety properties.
14766         * manual/errno.texi: Document MTASC-safety properties.
14768         * manual/intro.texi: Document safety identifiers and
14769         conditionals.
14771         * manual/string.texi (wcstok): Fix prototype.
14772         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14774         * manual/time.texi: Document MTASC-safety properties.
14776         * manual/string.texi: Document MTASC-safety properties.
14778         * manual/threads.texi: Document MTASC-safety properties.
14780         * manual/stdio.texi: Document MTASC-safety properties.
14782         * manual/syslog.texi: Document MTASC-safety properties.
14784         * manual/sysinfo.texi: Document MTASC-safety properties.
14786         * manual/startup.texi: Document MTASC-safety properties.
14788         * manual/socket.texi: Document MTASC-safety properties.
14790         * manual/signal.texi: Document MTASC-safety properties.
14792 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14794         * manual/setjmp.texi: Document MTASC-safety properties.
14796         * manual/search.texi: Document MTASC-safety properties.
14798         * manual/resource.texi: Document MTASC-safety properties.
14800         * manual/process.texi: Document MTASC-safety properties.
14802         * manual/platform.texi: Document MTASC-safety properties.
14804         * manual/pipe.texi: Document MTASC-safety properties.
14806         * manual/pattern.texi: Document MTASC-safety properties.
14808         * manual/message.texi: Document MTASC-safety properties.
14810         [BZ #12751]
14811         * manual/memory.texi: Document MTASC-safety properties.
14813         * manual/math.texi: Document MTASC-safety properties.
14815         * manual/locale.texi: Document MTASC-safety properties.
14817         * manual/llio.texi: Document MTASC-safety properties.
14819         * manual/libdl.texi: New.
14821         * manual/lang.texi: Document MTASC-safety properties.
14823         * manual/job.texi: Document MTASC-safety properties.
14825         * manual/getopt.texi: Document MTASC-safety properties.
14827         * manual/ctype.texi: Document MTASC-safety properties.
14829 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14831         [BZ #16046]
14832         * csu/libc-tls.c (static_map): Remove variable.
14833         (__libc_setup_tls): Use main executable's link map for TLS data.
14834         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14835         casing for LM_ID_BASE and GL(dl_nns).
14836         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14837         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14838         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14839         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14840         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14841         member.
14842         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14843         l_phnum members.
14845 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14847         * manual/debug.texi: Document MTASC-safety properties.
14849 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14851         [BZ #16510]
14852         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14853         of __x86_64__ when disabling x87 inline functions.
14855 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14857         * manual/charset.texi: Document MTASC-safety properties.
14859         * manual/crypt.texi: Document MTASC-safety properties.
14861         * manual/conf.texi: Document MTASC-safety properties.
14863         * manual/arith.texi: Document MTASC-safety properties.
14865         * manual/argp.texi: Document MTASC-safety properties.
14867         * manual/macros.texi: Introduce macros to document multi
14868         thread, asynchronous signal and asynchronous cancellation
14869         safety properties.
14870         * manual/intro.texi: Introduce the properties themselves.
14872 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14874         * sysdeps/sh/sh4/Makefile: New file.
14876 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14878         * math/gen-libm-test.pl ($srcdir): New variable.
14879         ($auto_input): Use it.
14881 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14883         [BZ #16506]
14884         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14885         access beyond array bounds when parsing netgroups file.
14887         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14888         the old buffer before realloc.
14890 2014-01-27  Allan McRae  <allan@archlinux.org>
14892         * po/fr.po: Update French translation from translation project.
14894 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14896         * sysdeps/sh/libm-test-ulps: Regenerate.
14898 2014-01-24  David S. Miller  <davem@davemloft.net>
14900         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14902 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14904         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14905         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14907 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14909         [BZ #16474]
14910         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14911         string pointers after reallocation.
14913 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14915         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14916         __SH4A__ instead of __SH_FPU_ANY__.
14918 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14920         * sysdeps/sh/fpu_control.h: New file.
14921         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14922         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14923         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14924         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14925         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14926         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14927         * sysdeps/sh/sys/ucontext.h: Remove.
14928         * sysdeps/sh/sys: Remove directory.
14930 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14932         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14933         s390/sys/ucontext.h.
14934         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14935         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14937 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14939         [BZ #15605]
14940         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14942 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14944         [BZ#16431]
14945         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14946         Adjust the vDSO correctly for internal calls.
14947         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14949 2014-01-20  Allan McRae  <allan@archlinux.org>
14951         * po/ca.po: Update Catalan translation from translation project.
14953 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14955         * sysdeps/s390/sotruss-lib.c: New file.
14957 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14959         [BZ#16430]
14960         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14961         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14962         local calls issues by not having a PLT stub required for IFUNC calls.
14963         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14965 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14967         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14968         * math/test-fpucw-static.c: Likewise.
14970 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         [BZ #16453]
14973         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14975 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14977         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14978         implementation for powerpc.
14980 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
14982         [BZ #14782]
14983         * sysdeps/posix/system.c (__libc_system): Do not enable
14984         asynchronous cancellation.
14986 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14988         [BZ #16427]
14989         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14990         handling only for numbers special also in the IEEE case.
14992 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14994         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14996 2014-01-11  Allan McRae  <allan@archlinux.org>
14998         * po/bg.po: Update Bulgarian translation from translation project.
15000         * po/de.po: Update German translation from translation project.
15002 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15004         * sysdeps/generic/gcc-compat.h: New file.
15006 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15008         * benchtests/asin-inputs: Correct slow inputs.
15009         * benchtests/acos-inputs: Likewise.
15011 2014-01-10  Allan McRae  <allan@archlinux.org>
15013         * po:sv.po: Update Swedish translation from translation project.
15015         * po/vi.po: Update Vietnamese translation from translation project.
15017         * po/eo.po: Update Esperanto translation from translation project.
15019         * po/cs.po: Update Czech translation from translation project.
15021         * po/nl.po: Update Dutch translation from translation project.
15023         * po/pl.po: Update Polish translation from translation project.
15025         * po/ru.po: Update Russian translation from translation project.
15027         * po/uk.po: Update Ukrainian translation from translation project.
15029 2014-01-08  Brooks Moses  <bmoses@google.com>
15031         * elf/dl-load.c: Fix comment typo.
15033 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15035         * po/header.pot: Rename to...
15036         * po/pot.header: ... this.
15037         * po/Makefile: Use pot.header.
15039 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15040             Maxim Kuvyrkov  <maxim@kugelworks.com>
15042         [BZ #16394]
15043         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15044         SRC and DEST against LEN.
15046 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15048         [BZ #16414]
15049         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15050         implementation.
15051         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15053 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15057 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15059         [BZ #16408]
15060         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15061         for large positive arguments.
15063 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15065         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15067         * math/auto-libm-test-in: Mark various tests with
15068         xfail-rounding:ldbl-128ibm.
15069         * math/auto-libm-test-out: Regenerated.
15071         [BZ #16407]
15072         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15073         Increase overflow threshold.
15075 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15077         [BZ #14286]
15078         * stdio-common/vfprintf.c: Check for integer overflow.
15080 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15082         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15083         the first argument and return value of __tls_get_addr_internal.
15085 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15087         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15088         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15090 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15092         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15093         * sysdeps/s390/rtld-global-offsets.sym: New file.
15094         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15095         GLIBC_2.19 symbol.
15096         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15097         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15099         ... this.
15100         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15101         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15102         ... this.
15103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15104         Regenerate.
15105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15106         Regenerate.
15107         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15108         halfs of GPRs for high_gprs contexts.
15109         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15110         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15111         field.
15112         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15113         uc_flags field.
15114         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15115         64 bit versions:
15116         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15117         for high GPRs (uc_high_gprs) and for future extensions
15118         (__reserved).
15119         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15120         for future extensions (__reserved).
15121         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15122         64 bit versions:
15123         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15124         SC_HIGHGPRS offset definition.
15125         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15126         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15128         * Versions.def: Add GLIBC_2.19 for libpthread.
15129         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15130         siglongjmp for libpthread with GLIBC_2.19 symver.
15131         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15132         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15133         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15134         * sysdeps/s390/__longjmp.c: New file.
15135         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15136         * sysdeps/s390/longjmp.c: New file.
15137         * sysdeps/s390/setjmp.S: New file.
15138         * sysdeps/s390/sigjmp.S: New file.
15139         * sysdeps/s390/v1-longjmp.c: New file.
15140         * sysdeps/s390/v1-setjmp.h: New file.
15141         * sysdeps/s390/v1-sigjmp.c: New file.
15142         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15143         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15144         GLIBC_2.19 version.
15145         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15146         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15147         versioned symbols for ____longjmp_chk.
15148         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15149         Likewise.
15150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15151         Regenerate.
15152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15153         Regenerate.
15154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15155         Regenerate.
15156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15157         Regenerate.
15158         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15159         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15160         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15161         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15162         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15163         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15164         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15165         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15166         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15167         * sysdeps/s390/rtld-__longjmp.c: New file.
15168         * sysdeps/s390/rtld-setjmp.S: New file.
15170 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15172         [BZ #16400]
15173         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15174         Return -__logl (x) for small positive arguments without evaluating
15175         a polynomial.
15177 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15179         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15180         Rename to ...
15181         (__ptrace_peeksiginfo_args): ... this.
15182         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15183         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15184         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15186 2014-01-06  Allan McRae  <allan@archlinux.org>
15188         * inet/netinet/in.h: Fix typo in comment.
15190 2014-01-05  Andreas Jaeger  <aj@suse.de>
15192         * sysdeps/i386/fpu/libm-test-ulps: Update.
15194 2014-01-05  Allan McRae  <allan@archlinux.org>
15196         * po/libc.pot: Regenerated.
15198         * malloc/memusagestat.c: Fix gettext call formatting.
15200 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15202         * nscd/nscd.c: Improve usage() output.
15204 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15206         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15207         * sysdeps/unix/sysv/linux/configure: Regenerated.
15208         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15209         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15211 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15213         [BZ #16390]
15214         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15215         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15217 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15219         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15220         extra tokens at end of #undef directive.
15221         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15222         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15225 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15227         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15229         * math/auto-libm-test-in: Mark various tests with
15230         xfail-rounding:ldbl-128ibm.
15231         * math/auto-libm-test-out: Regenerated.
15233 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15235         [BZ #16386]
15236         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15237         numbers with subnormal high part when calculating exponent.
15239         [BZ #16385]
15240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15241         fabs.
15243         [BZ #16384]
15244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15245         M_LN2l.
15246         (__ieee754_acoshl): Use __log1pl not __log1p.
15248 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15250         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15251         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15252         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15253         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15254         (reused_arena, arena_get2): Convert to GNU style.
15255         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15256         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15257         (memalign_check, __malloc_set_state): Likewise.
15258         * malloc/mallocbug.c (main): Likewise.
15259         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15260         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15261         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15262         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15263         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15264         (__posix_memalign, malloc_info): Likewise.
15265         * malloc/malloc.h: Likewise.
15266         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15267         (mallochook, memalignhook, reallochook, mabort): Likewise.
15268         * malloc/mcheck.h: Likewise.
15269         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15270         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15271         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15272         * malloc/morecore.c (__default_morecore): Likewise.
15273         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15274         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15275         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15276         (print_and_abort): Likewise.
15277         * malloc/obstack.h: Likewise.
15278         * malloc/set-freeres.c (__libc_freeres): Likewise.
15279         * malloc/tst-mallocstate.c (main): Likewise.
15280         * malloc/tst-mtrace.c (main): Likewise.
15281         * malloc/tst-realloc.c (do_test): Likewise.
15283 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15285         [BZ #16366]
15286         * nscd/netgroupcache.c (do_notfound): New function.
15287         (addgetnetgrentX): Use it.
15289         [BZ # 16365]
15290         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15291         NSS_STATUS_NOTFOUND.
15293 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15295         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15298 2014-01-01  Allan McRae  <allan@archlinux.org>
15300         * scripts/update-copyrights: Update configure input file suffix.
15302         * NEWS: Update copyright year.
15303         * catgets/gencat.c: Likewise.
15304         * csu/version.c: Likewise.
15305         * debug/catchsegv.sh: Likewise.
15306         * debug/pcprofiledump.c: Likewise.
15307         * debug/xtrace.sh: Likewise.
15308         * elf/ldconfig.c: Likewise.
15309         * elf/ldd.bash.in: Likewise.
15310         * elf/pldd.c: Likewise.
15311         * elf/sotruss.ksh: Likewise.
15312         * elf/sprof.c: Likewise.
15313         * iconv/iconv_prog.c: Likewise.
15314         * iconv/iconvconfig.c: Likewise.
15315         * locale/programs/locale.c: Likewise.
15316         * locale/programs/localedef.c: Likewise.
15317         * login/programs/pt_chown.c: Likewise.
15318         * malloc/memusage.sh: Likewise.
15319         * malloc/memusagestat.c: Likewise.
15320         * malloc/mtrace.pl: Likewise.
15321         * manual/libc.texinfo: Likewise.
15322         * nscd/nscd.c: Likewise.
15323         * nss/getent.c: Likewise.
15324         * nss/makedb.c: Likewise.
15325         * posix/getconf.c: Likewise.
15326         * scripts/test-installation.pl: Likewise.
15328         * All files with FSF copyright notices: Update copyright dates
15329         using scripts/update-copyrights.
15330         * intl/plural.c: Regenerated.
15331         * locale/programs/charmap-kw.h: Likewise.
15332         * locale/programs/locfile-kw.h: Likewise.
15334 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15336         * sysdeps/unix/sysv/linux/configure: Regenerated.
15337         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15338         the linux/fanotify.h header.
15339         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15340         HAVE_LINUX_FANOTIFY_H is defined.
15342 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15344         * benchtests/cos-inputs: New inputs.
15345         * benchtests/sin-inputs: Likewise.
15347         * benchtests/atan-inputs: New inputs. Fix name of multiple
15348         precision fallback inputs.
15350         * benchtests/atanh-inputs: New inputs.
15351         * benchtests/tanh-inputs: Likewise.
15353         * benchtests/acosh-inputs: New inputs.
15354         * benchtests/asinh-inputs: Likewise.
15356         * benchtests/cosh-inputs: New inputs.
15357         * benchtests/sinh-inputs: Likewise.
15359         * benchtests/acos-inputs: Add more inputs.
15360         * benchtests/asin-inputs: Likewise.
15362 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15364         [BZ #16375]
15365         * manual/arith.texi: Fix spelling.
15366         * manual/charset.texi: Likewise.
15367         * manual/errno.texi: Likewise.
15368         * manual/filesys.texi: Likewise.
15369         * manual/lang.texi: Likewise.
15370         * manual/llio.texi: Likewise.
15371         * manual/locale.texi: Likewise.
15372         * manual/message.texi: Likewise.
15373         * manual/resource.texi: Likewise.
15374         * manual/search.texi: Likewise.
15375         * manual/setjmp.texi: Likewise.
15376         * manual/stdio.texi: Likewise.
15377         * manual/string.texi: Likewise.
15378         * manual/sysinfo.texi: Likewise.
15379         * manual/time.texi: Likewise.
15381 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15383         * po/sl.po: New file.
15385 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15387         * .gitignore: Add core/.gdbinit/.gdb_history.
15389 2013-12-27  Allan McRae  <allan@archlinux.org>
15391         [BZ #16369]
15392         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15393         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15395 2013-12-24  Brooks Moses  <bmoses@google.com>
15397         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15398         all compilers that claim C++98 compliance, not just GCC.
15399         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15400         Likewise.
15402 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15404         * NEWS: Restore accidentally deleted bug-fix entries.
15406 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15407             Ondřej Bílka  <neleai@seznam.cz>
15409         [BZ #15073]
15410         * malloc/malloc.c (_int_free): Perform sanity check only if we
15411         have_lock.
15413 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15415         [BZ #12986]
15416         * manual/stdio.texi (String Input Conversions): Clarify that character
15417         classes are not supported.
15419 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15423 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15425         [BZ #16337]
15426         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15427         Calculate results for small negative arguments directly rather
15428         than using reflection formula with special underflow handling.
15430         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15431         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15432         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15433         (fchflags): Likewise.
15434         (revoke): Likewise.
15435         (setlogin): Likewise.
15436         (sigaltstack): Likewise.
15437         (wait4): Likewise.
15438         (sigblock): Remove.
15439         (sigsetmask): Likewise.
15440         (wait3): Likewise.
15441         (waitpid): Likewise.
15442         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15443         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15444         file.
15445         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15446         * sysdeps/unix/bsd/Makefile: ... here.
15447         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15448         * sysdeps/unix/bsd/Versions: ... here.
15449         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15450         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15451         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15452         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15453         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15454         * sysdeps/unix/bsd/sigblock.c: ... here.
15455         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15456         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15457         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15458         * sysdeps/unix/bsd/sigvec.c: ... here.
15459         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15460         * sysdeps/unix/bsd/tcdrain.c: ... here.
15461         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15462         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15463         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15464         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15465         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15466         * sysdeps/unix/bsd/wait.c: ... here.
15467         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15468         * sysdeps/unix/bsd/wait3.c: ... here.
15469         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15470         * sysdeps/unix/bsd/waitpid.c: ... here.
15472 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15474         [BZ #16356]
15475         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15476         round-to-nearest for [!USE_AS_EXPM1L].
15477         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15478         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15479         more tests of exp and exp10.  Expect some exp10 tests to miss
15480         exceptions or fail in directed rounding modes.
15481         * math/auto-libm-test-out: Regenerated.
15482         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15483         (exp10_test_tonearest): New function.
15484         (exp10_towardzero_test_data): New array.
15485         (exp10_test_towardzero): New function.
15486         (exp10_downward_test_data): New array.
15487         (exp10_test_downward): New function.
15488         (exp10_upward_test_data): New array.
15489         (exp10_test_upward): New function.
15490         (main): Call the new functions.
15491         * sysdeps/i386/fpu/libm-test-ulps: Update.
15492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15494 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15496         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15497         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15498         * math/auto-libm-test-out: Regenerated.
15499         * math/libm-test.inc (acosh_test_data): Add more tests.
15500         (atanh_test_data): Likewise.
15501         (ceil_test_data): Likewise.
15502         (copysign_test_data): Likewise.
15503         * sysdeps/i386/fpu/libm-test-ulps: Update.
15504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15506         * timezone/checktab.awk: Update from tzcode 2013i.
15507         * timezone/private.h: Likewise.
15508         * timezone/scheck.c: Likewise.
15509         * timezone/tzfile.h: Likewise.
15510         * timezone/tzselect.ksh: Likewise.
15511         * timezone/zdump.c: Likewise.
15512         * timezone/zic.c: Likewise.
15514         * math/auto-libm-test-in: Add tests of cpow.
15515         * math/auto-libm-test-out: Regenerated.
15516         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15517         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15518         mpc_cc_c.
15519         (func_calc_desc): Add mpc_cc_c union field.
15520         (test_functions): Add cpow.
15521         (special_fill_2pi): New function.
15522         (special_real_inputs): Add 2pi.
15523         (calc_generic_results): Handle mpc_cc_c.
15524         * sysdeps/i386/fpu/libm-test-ulps: Update.
15525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15528         csqrt, ctan and ctanh.
15529         * math/auto-libm-test-out: Regenerated.
15530         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15531         (TEST_COND_x86): Likewise.
15532         (ccos_test_data): Use AUTO_TESTS_c_c.
15533         (ccosh_test_data): Likewise.
15534         (cexp_test_data): Likewise.
15535         (clog_test_data): Likewise.
15536         (csqrt_test_data): Likewise.
15537         (ctan_test_data): Likewise.
15538         (ctan_tonearest_test_data): Likewise.
15539         (ctan_towardzero_test_data): Likewise.
15540         (ctan_downward_test_data): Likewise.
15541         (ctan_upward_test_data): Likewise.
15542         (ctanh_test_data): Likewise.
15543         (ctanh_tonearest_test_data): Likewise.
15544         (ctanh_towardzero_test_data): Likewise.
15545         (ctanh_downward_test_data): Likewise.
15546         (ctanh_upward_test_data): Likewise.
15547         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15548         mpc_c_c.
15549         (func_calc_desc): Add mpc_c_c union field.
15550         (FUNC_mpc_c_c): New macro.
15551         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15552         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15553         ctanh.
15554         (special_fill_min_subnorm_p120): New function.
15555         (special_real_inputs): Add min_subnorm_p120.
15556         (calc_generic_results): Handle mpc_c_c.
15557         * sysdeps/i386/fpu/libm-test-ulps: Update.
15558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15560 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15562         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15563         (do_sin_slow): New functions.
15564         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15565         (cslow2, csloww1, csloww2): Use the new functions.
15567         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15568         Use M to change sign of result instead of X.  Assume X is
15569         positive.
15570         (csloww1): Likewise.
15571         (__sin): Adjust.
15572         (__cos): Adjust.
15574         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15575         arguments A and DA.
15576         (__sin): Adjust.
15577         (__cos): Likewise.
15579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15580         (__cos): Likewise.
15581         (sloww1): Don't adjust sign of DX.
15582         (csloww1): Likewise.
15583         (sloww2): Use X directly and don't adjust sign of DX.
15584         (csloww2): Likewise.
15586 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15588         * math/auto-libm-test-in: Add tests of cabs and carg.
15589         * math/auto-libm-test-out: Regenerated.
15590         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15591         (carg_test_data): Likewise.
15592         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15593         mpc_c_f.
15594         (func_calc_desc): Add mpc_c_f union field.
15595         (test_functions): Add cabs and carg.
15596         (calc_generic_results): Handle mpc_c_f.
15598         * sysdeps/powerpc/powerpc32/libgcc-compat.S
15599         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15600         as a macro and a compat symbol.
15601         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15602         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15603         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15604         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15605         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15606         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15607         not use .hidden.
15608         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15609         Likewise.
15610         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15611         Likewise.
15612         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15613         Likewise.
15614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15615         Likewise.
15616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15617         Likewise.
15618         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15619         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15620         from GLIBC_2.3.2.
15622 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15626 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15628         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15629         trailing whitespace removed.
15630         * scripts/config.guess: Update to version 2013-11-29.
15631         * scripts/config.sub: Update to version 2013-10-01.
15633         * math/auto-libm-test-in: Add tests of sincos.
15634         * math/auto-libm-test-out: Regenerated.
15635         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15636         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15637         mpfr_f_11.
15638         (func_calc_desc): Add mpfr_f_11 union field.
15639         (test_functions): Add sincos.
15640         (calc_generic_results): Handle mpfr_f_11.
15641         * sysdeps/i386/fpu/libm-test-ulps: Update.
15642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644 2013-12-19  Andreas Schwab  <schwab@suse.de>
15646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15647         CALL_MCOUNT.
15648         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15649         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15650         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15652 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15654         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15655         * sysdeps/i386/fpu/libm-test-ulps: Update.
15656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15658         [BZ #16293]
15659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15660         round-to-nearest mode when using frndint.
15661         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15662         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15663         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15664         Likewise.
15665         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15666         sinh test to fail.
15667         * math/auto-libm-test-out: Regenerated.
15668         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15669         (TEST_COND_x86): Likewise.
15670         (expm1_tonearest_test_data): New array.
15671         (expm1_test_tonearest): New function.
15672         (expm1_towardzero_test_data): New array.
15673         (expm1_test_towardzero): New function.
15674         (expm1_downward_test_data): New array.
15675         (expm1_test_downward): New function.
15676         (expm1_upward_test_data): New array.
15677         (expm1_test_upward): New function.
15678         (main): Run the new test functions.
15679         * sysdeps/i386/fpu/libm-test-ulps: Update.
15680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15682         * include/features.h: Update comment documenting feature test
15683         macros.  Mention _DEFAULT_SOURCE in comment.
15684         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15685         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15686         _BSD_SOURCE and _SVID_SOURCE.
15687         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15688         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15689         !_SVID_SOURCE]: Likewise.
15690         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15691         (__USE_POSIX_IMPLICITLY): Define.
15692         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15693         (_POSIX_SOURCE): Undefine and redefine.
15694         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15695         (_POSIX_C_SOURCE): Likewise.
15696         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15697         (Feature Test Macros): Update documentation of default features.
15699 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15701         * benchtests/Makefile: Add bench-strtok.
15702         * benchtests/bench-strtok.c: New file: strtok benchtest.
15704 2013-12-19  Allan McRae  <allan@archlinux.org>
15706         * manual/install.texi: Suppress menu for plain text output.
15707         * INSTALL: Regenerated.
15709 2013-12-18  Brooks Moses  <bmoses@google.com>
15711         [BZ #15846]
15712         * misc/getauxval.c: Include errno.h.
15713         (__getauxval): Set errno to ENOENT if the requested type is not
15714         found.
15715         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15716         don't declare with __attribute_const__.
15717         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15718         * manual/startup.texi: Document that getauxval sets errno.
15720 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15722         * math/auto-libm-test-in: Add tests of jn and yn.
15723         * math/auto-libm-test-out: Regenerated.
15724         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15725         (yn_test_data): Likewise.
15726         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15727         mpfr_if_f.
15728         (func_calc_desc): Add mpfr_if_f union field.
15729         (FUNC_mpfr_if_f): New macro.
15730         (test_functions): Add jn and yn.
15731         (calc_generic_results): Assert type of second input for
15732         mpfr_ff_f.  Handle mpfr_if_f.
15733         (output_for_one_input_case): Disable all checking for arguments
15734         fitting floating-point types in case of an integer argument.
15735         * sysdeps/i386/fpu/libm-test-ulps: Update.
15736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15739         Don't expect fegetround reference in libm.so.
15741 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15743         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15744         $(config-cflags-nofma).
15746 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15748         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15749         * math/auto-libm-test-out: Regenerated.
15751         [BZ #16338]
15752         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15753         to determine exponent and adjust argument to have exponent of -1.
15754         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15755         log2.
15756         * math/auto-libm-test-out: Regenerated.
15757         * sysdeps/i386/fpu/libm-test-ulps: Update.
15758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15760 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15762         * manual/probes.texi: Remove cases when per-thread arenas are
15763         disabled.
15765 2013-12-18  Andreas Schwab  <schwab@suse.de>
15767         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15768         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15769         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15770         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15771         * sysdeps/i386/i686/multiarch/Makefile: Update.
15772         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15774 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15776         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15777         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15779 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15781         [BZ #15968]
15782         Support TZ transition times < 00:00:00.
15783         This is needed for version-3 tz-format files; it supports time
15784         stamps past 2037 for America/Godthab (the only entry in the tz
15785         database for which this change is relevant).
15786         * manual/time.texi (TZ Variable): Document transition times
15787         from -167:59:59 through -00:00:01.
15788         * time/tzset.c (tz_rule): Time of day is now signed.
15789         (__tzset_parse_tz): Parse negative time of day.
15791         Document TZ transition times >= 25:00:00.
15792         * manual/time.texi (TZ Variable): Document transition times from
15793         25:00:00 through 167:59:59.  These are already supported, and this
15794         support will help with version-3 tz-format files.
15796         * manual/time.texi (TZ Variable): Modernize North America example
15797         to reflect current (i.e., 2007-and-later) daylight saving rules.
15799         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15801 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15803         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15804         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15805         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15807         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15808         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15809         * sysdeps/unix/bsd/clock.c: Likewise.
15810         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15811         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15812         * sysdeps/unix/bsd/init-posix.c: Likewise.
15813         * sysdeps/unix/bsd/poll.c: Likewise.
15814         * sysdeps/unix/bsd/ptsname.c: Likewise.
15815         * sysdeps/unix/bsd/seekdir.c: Likewise.
15816         * sysdeps/unix/bsd/setegid.c: Likewise.
15817         * sysdeps/unix/bsd/seteuid.c: Likewise.
15818         * sysdeps/unix/bsd/setgid.c: Likewise.
15819         * sysdeps/unix/bsd/setrgid.c: Likewise.
15820         * sysdeps/unix/bsd/setruid.c: Likewise.
15821         * sysdeps/unix/bsd/setsid.c: Likewise.
15822         * sysdeps/unix/bsd/setuid.c: Likewise.
15823         * sysdeps/unix/bsd/sigaction.c: Likewise.
15824         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15825         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15826         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15827         * sysdeps/unix/bsd/telldir.c: Likewise.
15828         * sysdeps/unix/bsd/times.c: Likewise.
15829         * sysdeps/unix/bsd/usleep.c: Likewise.
15831         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15832         ($(objpfx)libbsd-compat.a): Remove rule.
15834         * include/features.h (__FAVOR_BSD): Do not define.
15835         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15836         features conflicting with POSIX.
15837         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15838         (_BSD_SOURCE): Remove description of not being a subset of other
15839         feature test macros.
15840         * manual/job.texi (getpgrp): Do not document BSD version.
15841         (getpgid): Do not document by reference to BSD getpgrp.
15842         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15843         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15844         * signal/signal.h [__FAVOR_BSD]: Likewise.
15845         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15846         instead of making contents conditional on [__FAVOR_BSD].
15847         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15849 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15853 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15855         [BZ #16314]
15856         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15857         values below 2**-450, not 2**-500.
15858         * math/auto-libm-test-in: Don't allow spurious underflow from
15859         hypot.
15860         * math/auto-libm-test-out: Regenerated.
15862         [BZ #16316]
15863         [BZ #16330]
15864         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15865         values of ha and hb and sort them after adjusting subnormal
15866         arguments.
15867         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15868         Likewise.
15869         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15870         values of ea and eb and sort them after adjusting subnormal
15871         arguments.
15872         * math/auto-libm-test-in: Do not expect some hypot tests of
15873         subnormals to fail.  Add more hypot tests.
15874         * math/auto-libm-test-out: Regenerated.
15876 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15878         [BZ #13304]
15879         * sysdeps/sh/s_fma.c: New file.
15880         * sysdeps/sh/s_fmaf.c: New file.
15881         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15882         version.
15883         * sysdeps/sh/Implies: Add sh/soft-fp.
15885 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15887         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15888         level of indirection to members `objname', `errstring', `malloced'.
15889         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15890         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15891         it as the __longjmp argument (just pass 1 instead).
15892         (_dl_catch_error): Initialize C with argument pointers and address of
15893         volatile local ERRCODE rather than copying values out of C at return.
15895 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15897         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15898         * math/auto-libm-test-out: Regenerated.
15899         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15900         (hypot_test_data): Likewise.
15901         (pow_test_data): Likewise.
15902         (pow_tonearest_test_data): Likewise.
15903         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15904         mpfr_ff_f.
15905         (func_calc_desc): Add mpfr_ff_f union field.
15906         (FUNC_mpfr_ff_f): New macro.
15907         (test_functions): Add atan2, hypot and pow.
15908         (special_fill_min): New function.
15909         (special_fill_minus_min): Likewise.
15910         (special_fill_min_subnorm): Likewise.
15911         (special_fill_minus_min_subnorm): Likewise.
15912         (special_real_inputs): Add min, -min, min_subnorm and
15913         -min_subnorm.
15914         (calc_generic_results): Handle mpfr_ff_f.
15915         * sysdeps/i386/fpu/libm-test-ulps: Update.
15916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15918 2013-12-16  Will Newton  <will.newton@linaro.org>
15920         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15921         (Aligned Memory Blocks): Add documentation for aligned_alloc
15922         and suggest it as an alternative to posix_memalign.
15923         (Hooks for Malloc): Document __memalign_hook is also called
15924         for aligned_alloc.  (Summary of Malloc): Add summary for
15925         aligned alloc.  Document __memalign_hook is also called
15926         for aligned_alloc.
15928 2013-12-16  Will Newton  <will.newton@linaro.org>
15930         * manual/memory.texi (Malloc Examples): Clarify default
15931         alignment documentation.  Suggest posix_memalign rather
15932         than memalign or valloc.
15933         (Aligned Memory Blocks): Remove suggestion to use memalign
15934         or valloc.  Remove obsolete comment about BSD.
15935         Document memalign errno values and mark the function obsolete.
15936         Document posix_memalign returned error codes.  Mark valloc
15937         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15938         called for posix_memalign and valloc.
15939         (Summary of Malloc): Add posix_memalign to function summary.
15940         __memalign_hook is also called for posix_memalign and valloc.
15942 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15944         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15945         TAYLOR_SIN.
15946         (__sin): Adjust.
15947         (__cos): Likewise.
15948         (sloww): Use mynumber union.  Expand ternary operator into
15949         if-else statements.
15950         (cslow): use mynumber union.
15952 2013-12-16  Allan McRae  <allan@archlinux.org>
15954         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15955         * configure: Regenerated.
15957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15959         [BZ #14120]
15960         * configure.ac: Added --enable-maintainer-mode. Check for
15961         autoconf when enabled.
15962         * configure: Regenerated.
15964         * nscd/nscd.service: New file.
15965         * nscd/nscd.tmpfiles: New file.
15967 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
15969         [BZ #12100]
15970         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15971         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15972         * sysdeps/x86_64/multiarch/strstr.c: ... here.
15973         (strstr): Add __strstr_sse2_unaligned ifunc.
15974         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15975         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15976         (strcasestr): Remove __strcasestr_sse42 ifunc.
15977         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15981 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15983         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15984         * sysdeps/sh/bits/fenv.h: ... here.
15985         * sysdeps/sh/sh4/fpu/bits: Remove directory.
15987 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15989         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15992         hypotf multiarch implementations.
15993         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15994         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15995         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15996         multiarch hypot for PPC64.
15997         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15998         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15999         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16000         multiarch hypotf for PPC64.
16002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16003         modff multiarch implementations.
16004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16007         multiarch modf for PPC64.
16008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16011         multiarch modff for PPC64.
16013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16014         and logl multiarch implementations.
16015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16018         multiarch logb for PPC64.
16019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16022         multiarch logb for PPC64.
16023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16026         multiarch logb for PPC64.
16028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16029         isinff multiarch implementation.
16030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16031         file.
16032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16034         multiarch isinf for PPC64.
16035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16036         file.
16037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16038         multiarch isinff for PPC64.
16040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16041         finitef multiarch implementation.
16042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16043         file.
16044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16046         multiarch finite for PPC64.
16047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16048         file.
16049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16050         multiarch finitef for PPC64.
16052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16053         lrint multiarch implementation.
16054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16055         file.
16056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16058         multiarch llrint for PPC64.
16059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16060         multiarch lrint for PPC64.
16062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16063         copysignf multiarch implementation.
16064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16065         file.
16066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16067         file.
16068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16069         multiarch copysign for PPC64.
16070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16071         multiarch copysignf for PPC64.
16073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16074         multiarch implementation.
16075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16076         file.
16077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16078         file.
16079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16080         file.
16081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16082         file.
16083         multiarch llround for PPC64.
16084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16085         multiarch trunc for PPC64.
16086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16087         multiarch truncf for PPC64.
16089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16090         multiarch implementation.
16091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16092         file.
16093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16094         file.
16095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16096         file.
16097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16098         file.
16099         multiarch llround for PPC64.
16100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16101         multiarch round for PPC64.
16102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16103         multiarch roundf for PPC64.
16105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16106         multiarch implementation.
16107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16108         file.
16109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16110         file.
16111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16112         file.
16113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16114         file.
16115         multiarch llround for PPC64.
16116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16117         multiarch floor for PPC64.
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16119         multiarch floorf for PPC64.
16121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16122         multiarch implementation.
16123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16124         file.
16125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16126         file.
16127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16128         file.
16129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16130         file.
16131         multiarch llround for PPC64.
16132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16133         multiarch ceil for PPC64.
16134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16135         multiarch ceilf for PPC64.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16138         multiarch implementation.
16139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16140         file.
16141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16142         file.
16143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16144         file.
16145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16146         multiarch llround for PPC64.
16147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16148         multiarch lround for PPC64.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16151         multiarch implementation.
16152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16155         file.
16156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16159         multiarch isnan for PPC64.
16160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16161         multiarch isnanf for PPC64.
16163         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16164         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16165         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16166         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16167         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16170         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16171         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16172         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16173         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16176         multiarch implementations.
16177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16178         (__libc_ifunc_impl_list): Likewise.
16179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16180         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16181         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16182         multiarch stpcpy for PPC64.
16184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16185         multiarch implementations.
16186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16187         (__libc_ifunc_impl_list): Likewise.
16188         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16190         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16191         multiarch strcpy for PPC64.
16193         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16194         redefine function name.
16195         (_wordcopy_fwd_dest_aligned): Likewise.
16196         (_wordcopy_bwd_aligned): Likewise.
16197         (_wordcopy_bwd_dest_aligned): Likewise.
16198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16199         multiarch implementations.
16200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16201         (__libc_ifunc_impl_list): Likewise.
16202         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16203         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16206         multiarch wcscpy for PPC64.
16208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16209         multiarch implementations.
16210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16211         (__libc_ifunc_impl_list): Likewise.
16212         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16213         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16214         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16215         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16216         multiarch wcscpy for PPC64.
16218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16219         multiarch implementations.
16220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16221         (__libc_ifunc_impl_list): Likewise.
16222         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16223         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16224         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16225         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16226         multiarch wcsrchr for PPC64.
16228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16229         multiarch implementations.
16230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16231         (__libc_ifunc_impl_list): Likewise.
16232         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16233         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16234         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16235         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16236         multiarch wcschr for PPC64.
16238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16239         multiarch implementations.
16240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16241         (__libc_ifunc_impl_list): Likewise.
16242         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16243         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16244         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16245         multiarch strchrnul for PPC64.
16247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16248         implementations.
16249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16250         (__libc_ifunc_impl_list): Likewise.
16251         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16252         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16253         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16254         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16255         strchr for PPC64.
16257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16258         implementations.
16259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16260         (__libc_ifunc_impl_list): Likewise.
16261         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16262         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16263         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16264         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16265         strncmp for PPC64.
16267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16268         multiarch implementations.
16269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16270         (__libc_ifunc_impl_list): Likewise.
16271         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16272         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16273         strncasecmp for PPC64.
16274         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16275         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16276         multiarch strncasecmp_l for PPC64.
16278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16279         multiarch implementations.
16280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16281         (__libc_ifunc_impl_list): Likewise.
16282         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16283         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16284         multiarch strcasecmp for PPC64.
16285         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16286         file.
16287         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16288         multiarch strcasecmp_l for PPC64.
16290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16291         implementations.
16292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16293         (__libc_ifunc_impl_list): Likewise.
16294         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16295         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16296         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16297         strnlen for PPC64.
16299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16300         implementations.
16301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16302         (__libc_ifunc_impl_list): Likewise.
16303         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16304         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16305         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16306         strlen for PPC64.
16308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16309         implementations.
16310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16311         (__libc_ifunc_impl_list): Likewise.
16312         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16313         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16314         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16315         rawmemrchr for PPC64.
16317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16318         implementation.
16319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16320         (__libc_ifunc_impl_list): Likewise.
16321         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16322         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16323         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16324         memrchr for PPC64.
16326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16327         implementation.
16328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16329         (__libc_ifunc_impl_list): Likewise.
16330         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16331         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16332         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16333         memchr for PPC64.
16335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16336         implementation.
16337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16338         (__libc_ifunc_impl_list): Likewise.
16339         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16340         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16341         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16342         mempcpy for PPC64.
16344         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16345         avoid cretion of __bzero symbol.
16346         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16347         Likewise.
16348         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16349         Likewise.
16350         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16351         Likewise.
16352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16353         multiarch implementations.
16354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16355         (__libc_ifunc_impl_list): Likewise.
16356         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16357         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16358         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16359         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16360         bzero for PPC32.
16361         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16362         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16363         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16364         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16365         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16366         memset for PPC64.
16367         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16369         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16371         implementations.
16372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16373         (__libc_ifunc_impl_list): Likewise.
16374         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16375         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16376         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16377         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16378         memcmp for PPC64.
16380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16381         multiarch for POWER/PPC64.
16382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16383         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16384         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16385         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16386         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16387         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16388         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16389         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16390         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16391         memcpy for PPC64.
16393         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16394         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16395         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16396         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16397         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16398         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16399         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16400         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16401         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16402         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16403         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16404         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16405         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16406         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16407         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16416 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16418         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16420 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16422         * benchtests/Makefile (bench): Add exp2 and log2.
16423         (LDLIBS-bench-exp2): Add -lm.
16424         (LDLIBS-bench-log2): Likewise.
16425         * benchtests/exp2-inputs: New inputs file.
16426         * benchtests/log2-inputs: New inputs file.
16427         * benchtests/log-inputs: Add new inputs.
16428         * benchtests/tan-inputs: Likewise.
16430 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16432         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16433         definition...
16434         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16435         (csloww2): ... from here.
16437         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16438         instead of structures.
16439         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16440         (POLYNOMIAL): Likewise.
16441         (TAYLOR_SLOW): Likewise.
16442         (__sin): Likewise.
16443         (__cos): Likewise.
16444         (slow1): Likewise.
16445         (slow2): Likewise.
16446         (sloww): Likewise.
16447         (sloww1); Likewise.
16448         (sloww2): Likewise.
16449         (bsloww1): Likewise.
16450         (bsloww2): Likewise.
16451         (cslow2): Likewise.
16452         (csloww): Likewise.
16453         (csloww1): Likewise.
16454         (csloww2): Likewise.
16456 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16458         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16459         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16460         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16461         * malloc/hooks.c (realloc_check): Likewise.
16463         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16464         * malloc/arena.c: Remove PER_THREAD conditional.
16465         [!PER_THREAD]: Remove code.
16466         (ptmalloc_unlock_all2): Likewise.
16467         (ptmalloc_init): Likewise.
16468         (_int_new_arena): Likewise.
16469         (arena_get2): Likewise.
16470         * malloc/hooks.c (__malloc_get_state): Likewise.
16471         (__malloc_set_state): Likewise.
16472         * malloc/malloc.c: Likewise.
16473         (struct malloc_state): Likewise.
16474         (struct malloc_par): Likewise.
16475         (__libc_realloc): Likewise.
16476         (__libc_mallopt): Likewise.
16478 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16480         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16482 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16484         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16485         macro to a function.  Check for zero perturb_byte.
16486         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16488         * malloc/malloc.c: (force_reg): Remove.
16489         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16490         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16491         force_reg by atomic_forced_read.
16492         * malloc/arena.c (ptmalloc_init): Likewise.
16493         * malloc/hooks.c (top_check): Likewise.
16495 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16499 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16503 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16505         * math/auto-libm-test-in: Add tests of lgamma.
16506         * math/auto-libm-test-out: Regenerated.
16507         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16508         (M_LOG_2_SQRT_PIl): Likewise.
16509         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16510         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16511         mpfr_f_f1.
16512         (func_calc_desc): Add mpfr_f_f1 union field.
16513         (ARGS1): New macro.
16514         (ARGS2): Likewise.
16515         (ARGS3): Likewise.
16516         (ARGS4): Likewise.
16517         (RET1): Likewise.
16518         (RET2): Likewise.
16519         (CALC): Likewise.
16520         (FUNC): Likewise.
16521         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16522         (test_functions): Add lgamma.
16523         (calc_generic_results): Handle mpfr_f_f1.
16524         * sysdeps/i386/fpu/libm-test-ulps: Update.
16525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16527 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16529         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16530         __mpn_add_n for PowerPC64/POWER7.
16531         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16532         __mpn_sub_n for PowerPC64/POWER7.
16534         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16535         __mpn_addmul_1 for PowerPC64.
16536         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16537         __mpn_submul_1 for PowerPC64.
16538         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16539         for PowerPC64.
16540         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16541         for PowerPC64.
16543 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
16545         [BZ #15089]
16546         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16548 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16550         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16552         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16553         add multiarch folders.
16554         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16555         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16556         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16557         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16558         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16559         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16560         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16561         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16562         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16563         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16564         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16573         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16575         New file.
16576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16577         New file.
16578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16579         multiarch __ieee754_hypot for PowerPC32.
16580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16581         New file.
16582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16583         New file.
16584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16585         multiarch __ieee754_hypotf for PowerPC32.
16587         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16588         long_double_symbol only if __logbl is defined.
16589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16590         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16591         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16592         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16593         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16594         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16595         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16596         path for implementation.
16597         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16598         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16600         logb, and logbl multiarch implementations for PowerPC32.
16601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16602         file.
16603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16604         file.
16605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16606         multiarch logb for PowerPC32.
16607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16608         file.
16609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16610         file.
16611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16612         multiarch logbf for PowerPC32.
16613         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16615         file.
16616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16617         multiarch logbl implementation for PowerPC32.
16619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16620         and modff multiarch implementations.
16621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16622         New file.
16623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16624         New file.
16625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16626         multiarch modf for PowerPC32.
16627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16628         New file.
16629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16630         New file.
16631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16632         multiarch modff for PowerPC32.
16634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16635         and lrintf multiarch implementations.
16636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16637         New file.
16638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16639         New file.
16640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16641         multiarch lrint for PowerPC32.
16642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16643         file: multiarch lrintf for PowerPC32.
16645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16646         and lroundf multiarch implementations.
16647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16648         New file.
16649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16650         New file.
16651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16652         New file.
16653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16654         multiarch lround for PowerPC32.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16656         file: multiarch lroundf for PowerPC32.
16658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16659         copysign and copysignf multiarch implementations.
16660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16661         New file.
16662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16663         New file.
16664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16665         file: multiarch copysign for PowerPC32.
16666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16667         file: multiarch copysignf for PowerPC32.
16669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16670         and truncf multiarch implementations.
16671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16672         New file.
16673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16674         file.
16675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16676         multiarch trunc for PowerPC32.
16677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16678         New file.
16679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16680         New file.
16681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16682         multiarch truncf for PowerPC32.
16684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16685         and roundf multiarch implementations.
16686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16687         New file.
16688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16689         file.
16690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16691         multiarch round for PowerPC32.
16692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16693         New file.
16694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16695         New file.
16696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16697         multiarch roundf for PowerPC32.
16699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16700         and floorf multiarch implementations.
16701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16702         New file.
16703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16704         file.
16705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16706         multiarch floor for PowerPC32.
16707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16708         New file.
16709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16710         New file.
16711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16712         multiarch floorf for PowerPC32.
16714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16715         and ceilf multiarch implementations.
16716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16717         New file.
16718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16719         file.
16720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16721         multiarch ceil for PowerPC32.
16722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16723         New file.
16724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16725         file.
16726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16727         multiarch ceilf for PowerPC32.
16729         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16730         is defined.
16731         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16732         FINITEF is defined.
16733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16734         and finitef multiarch implementations.
16735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16736         New file.
16737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16738         file.
16739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16740         multiarch finite for PowerPC32.
16741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16742         New file.
16743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16744         file: multiarch finitef for PowerPC32.
16746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16747         and isinff multiarch implementations.
16748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16749         file.
16750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16751         file.
16752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16753         multiarch isinf for PowerPC32.
16754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16755         New file.
16756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16757         multiarch isinff for PowerPC32.
16759         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16760         alias when __isnan is defined.
16761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16762         and isnanf multiarch implementations.
16763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16764         file.
16765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16766         file.
16767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16768         file.
16769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16770         file.
16771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16772         multiarch isnan for PowerPC32.
16773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16774         New file.
16775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16776         New file.
16777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16778         multiarch isnanf for PowerPC32.
16780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16781         and sqrtf multiarch implementations.
16782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16783         file.
16784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16785         file.
16786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16787         multiarch sqrt for PowerPC32.
16788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16789         file.
16790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16791         file.
16792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16793         multiarch sqrtf for PowerPC32.
16795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16796         and llroundf multiarch implementations.
16797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16798         New file.
16799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16800         New file.
16801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16802         New file.
16803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16804         file: multiarch llround for PowerPC32.
16805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16806         file: multiarch llroundf for PowerPC32.
16808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16809         multiarch PowerPC32 fpu implementations.
16810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16811         New file.
16812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16813         New file.
16814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16815         multiarch llrint for PowerPC32.
16816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16817         New file.
16818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16819         New file.
16820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16821         file.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16825         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16826         file.
16827         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16828         file.
16829         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16830         file.
16831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16832         multiarch wordcopy for PPC32.
16833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16834         wordcopy objects.
16835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16836         (__libc_ifunc_impl_list): Likewise.
16837         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16838         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16839         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16840         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16841         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16842         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16844         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16846         file.
16847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16848         file.
16849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16850         file.
16851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16852         multiarch wcscpy for PPC32.
16853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16854         multiarch objects.
16855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16856         (__libc_ifunc_impl_list): Likewise.
16857         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16858         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16859         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16860         sysdeps/powerpc/power6/wcscpy.c.
16862         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16864         file.
16865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16866         file.
16867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16868         file.
16869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16870         multiarch wcsrchr for PPC32.
16871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16872         multiarch objects.
16873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16874         (__libc_ifunc_impl_list): Likewise.
16875         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16876         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16877         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16878         sysdeps/powerpc/power6/wcsrchr.c.
16880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16881         file.
16882         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16883         file.
16884         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16886         multiarch wcschr for PPc32.
16887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16888         multiarch objects.
16889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16890         (__libc_ifunc_impl_list): Likewise.
16891         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16892         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16893         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16894         sysdeps/powerpc/power6/wcschr.c.
16896         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16897         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16898         file.
16899         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16900         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16901         file: multiarch strchr for PPC32.
16902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16903         multiarch objects.
16904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16905         (__libc_ifunc_impl_list): Likewise.
16907         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16908         name.
16909         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16910         file.
16911         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16912         file.
16913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16914         multiarch strchrnul for PPC32.
16915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16916         multiarch objects.
16917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16918         (__libc_ifunc_impl_list): Likewise.
16920         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16921         file.
16922         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16923         multiarch strncasecmp for PPC32.
16924         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16925         file.
16926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16927         multiarch strncasecmp_l for PPC32.
16928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16929         strncasecmp multiarch objects.
16930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16931         (__libc_ifunc_impl_list): Likewise.
16933         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16934         file.
16935         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16936         multiarch strncasecmp for PPC32.
16937         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16938         New file.
16939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16940         multiarch strcasecmp_l for PPC32.
16941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16942         multiarch objects.
16943         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16944         (__libc_ifunc_impl_list): Likewise.
16946         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16947         file.
16948         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16949         file.
16950         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16951         multiarch strncmp for PPC32.
16952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16953         multiarch objects.
16954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16955         (__libc_ifunc_impl_list): Likewise.
16957         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16958         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16959         file.
16960         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16961         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16963         multiarch objects.
16964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16965         (__libc_ifunc_impl_list): Likewise.
16967         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16968         file.
16969         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16970         file.
16971         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16973         multiarch objects.
16974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16975         (__libc_ifunc_impl_list): Likewise.
16977         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16978         file.
16979         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16980         file.
16981         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16982         multiarch rawmemchr for PPC32.
16983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16984         multiarch objects.
16985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16986         (__libc_ifunc_impl_list): Likewise.
16988         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16989         file.
16990         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16991         file.
16992         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16993         file: memrchr multiarch for PPC32.
16994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16995         multiarch objects.
16996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16997         (__libc_ifunc_impl_list): Likewise.
16999         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17000         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17001         file.
17002         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17003         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17004         multiarch memchr for PPC32.
17005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17006         multiarch objects.
17007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17008         (__libc_ifunc_impl_list): Likewise.
17010         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17011         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17012         file.
17013         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17014         file.
17015         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17016         file: multiarch mempcpy for PPC32.
17017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17018         multiarch objects.
17019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17020         (__libc_ifunc_impl_list): Likewise.
17022         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17023         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17024         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17025         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17026         multiarch bzero for PPC32.
17027         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17028         file.
17029         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17030         file.
17031         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17032         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17033         file: multiarch memset for PPC32.
17034         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17036         memset multiarch objects.
17037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17038         (__libc_ifunc_impl_list): Likewise.
17040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17041         file.
17042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17044         memcmp for PPC32.
17045         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17047         multiarch objects.
17048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17049         (__libc_ifunc_impl_list): Likewise.
17051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17054         file.
17055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17056         file.
17057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17058         file.
17059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17060         multiarch memcpy for PPC32.
17061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17062         multiarch objects.
17063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17064         (__libc_ifunc_impl_list): Likewise.
17066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17067         support multiarch for POWER/PPC32.
17068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17069         Likewise.
17070         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17072         Implies file to make multiarch folder appers before the fpu and
17073         default folder for power4 configuration.
17075 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17077         * scripts/bench.pl: Append volatile keyword to type.
17079 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17081         * sysdeps/sh/sotruss-lib.c: New file.
17082         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17084 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17088 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17090         [BZ #6810]
17091         * math/w_tgamma.c: Include <errno.h>.
17092         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17093         * math/w_tgammaf.c: Include <errno.h>.
17094         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17095         * math/w_tgammal.c: Include <errno.h>.
17096         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17097         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17098         underflow.  Add more tgamma tests.
17099         * math/auto-libm-test-out: Regenerated.
17100         * sysdeps/i386/fpu/libm-test-ulps: Update.
17101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17103         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17104         sin, sinh, tan, tanh, tgamma, y0 and y1.
17105         * math/auto-libm-test-out: Regenerated.
17106         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17107         (TEST_COND_x86): Likewise.
17108         (M_E2l): Remove macro.
17109         (M_E3l): Likewise.
17110         (M_2_SQRT_PIl): Likewise.
17111         (M_SQRT_PIl): Likewise.
17112         (M_1_DIV_El): Likewise.
17113         (log_test_data): Use AUTO_TESTS_f_f.
17114         (log10_test_data): Likewise.
17115         (log1p_test_data): Likewise.
17116         (log2_test_data): Likewise.
17117         (sin_test_data): Likewise.
17118         (sin_tonearest_test_data): Likewise.
17119         (sin_towardzero_test_data): Likewise.
17120         (sin_downward_test_data): Likewise.
17121         (sin_upward_test_data): Likewise.
17122         (sinh_test_data): Likewise.
17123         (sinh_tonearest_test_data): Likewise.
17124         (sinh_towardzero_test_data): Likewise.
17125         (sinh_downward_test_data): Likewise.
17126         (sinh_upward_test_data): Likewise.
17127         (tan_test_data): Likewise.
17128         (tan_tonearest_test_data): Likewise.
17129         (tan_towardzero_test_data): Likewise.
17130         (tan_downward_test_data): Likewise.
17131         (tan_upward_test_data): Likewise.
17132         (tanh_test_data): Likewise.
17133         (tgamma_test_data): Likewise.
17134         (y0_test_data): Likewise.
17135         (y1_test_data): Likewise.
17136         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17137         (special_real_inputs): Add pi/4.
17138         * sysdeps/i386/fpu/libm-test-ulps: Update.
17139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17141 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17143         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17144         "longjmp_target" static probes.
17145         (__longjmp): Rename to __longjmp_symbol.
17146         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17147         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17148         on which longjmp to generate.
17149         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17150         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17151         probe.
17152         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17153         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17154         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17155         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17156         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17157         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17159         __longjmp_symbol based on which __longjmp to generate.
17160         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17161         probe.
17162         (setjmp): Rename to setjmp_symbol.
17163         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17164         (_setjmp): Rename to _setjmp_symbol.
17165         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17166         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17167         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17168         which setjmp to generate.
17169         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17170         "longjmp_target" static probes.
17172 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17174         * benchtests/README: Add note about output arguments.
17175         * benchtests/bench-sincos.c: Remove file.
17176         * benchtests/sincos-inputs: New file.
17177         * scripts/bench.pl: Identify output arguments and define
17178         static variables for them.
17180         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17182         [BZ #15941]
17183         * Makefile (INSTALL): Add install-plain.texi as the primary
17184         dependency.
17185         * manual/install-plain.texi: New file.
17186         * manual/install.texi: Include node directive only for
17187         non-plaintext output.
17189 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17191         * stdlib/longlong.h: Update from GCC.
17193         [BZ #6807]
17194         [BZ #15901]
17195         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17196         * math/w_j0f.c (y0f): Likewise.
17197         * math/w_j0l.c (__y0l): Likewise.
17198         * math/w_j1.c (y1): Likewise.
17199         * math/w_j1f.c (y1f): Likewise.
17200         * math/w_j1l.c (__y1l): Likewise
17201         * math/w_jn.c (yn): Likewise.
17202         * math/w_jnf.c (ynf): Likewise.
17203         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17204         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17205         value for Bessel function domain errors outside _SVID_ mode.
17206         Adjust sign of return value for yn (negative integer, 0).
17207         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17208         by zero in return for negative x and set sign appropriately for
17209         negative n.
17210         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17211         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17212         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17213         expectations in error cases.
17214         (y1_test_data): Likewise.
17215         (yn_test_data): Likewise.
17216         * sysdeps/i386/fpu/libm-test-ulps: Update.
17217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17219 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17221         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17222         "64" to "64-v1".  Add "64-v2".
17223         (abi-64-options): Rename to ...
17224         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17225         (abi-64-condition): Rename to ...
17226         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17227         (abi-64-ld-soname): Rename to ...
17228         (abi-64-v1-ld-soname): ... this.
17229         (abi-64-v2-options): Define.
17230         (abi-64-v2-condition): Likewise.
17231         (abi-64-v2-ld-soname): Likewise.
17232         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17233         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17238 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17239             Alan Modra  <amodra@gmail.com>
17241         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17242         New versions for use with the ELFv2 ABI.
17243         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17244         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17245         declaration.
17246         (struct La_ppc64v2_retval): Likewise.
17247         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17248         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17249         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17250         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17251         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17252         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17253         Do not save or restore CR.
17254         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17255         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17256         return values for ELFv2 ABI.  Fix location of FPR return registers.
17257         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17258         updated values for _CALL_ELF == 2.
17259         (La_regs, La_retval, int_retval): Likewise.
17261 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17263         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17264         (FRAME_MIN_SIZE_PARM): Likewise.
17265         (FRAME_BACKCHAIN): Likewise.
17266         (FRAME_CR_SAVE): Likewise.
17267         (FRAME_LR_SAVE): Likewise.
17268         (FRAME_TOC_SAVE): Likewise.
17269         (FRAME_PARM_SAVE): Likewise.
17270         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17271         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17272         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17273         (call_mcount_parm_offset): New macro.
17274         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17275         (PROF): Use symbolic stack frame offsets.
17276         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17277         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17278         Redefine in terms of FRAME_MIN_SIZE.
17279         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17280         (_dl_profile_resolve): Likewise.  Update comment.
17281         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17282         symbols stack frame offsets.
17283         (__sigsetjmp): Likewise.
17284         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17285         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17286         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17287         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17290         (FRAME_BACKCHAIN): Remove.
17291         (FRAME_CR_SAVE): Likewise.
17292         (FRAME_LR_SAVE): Likewise.
17293         (FRAME_COMPILER_DW): Likewise.
17294         (FRAME_LINKER_DW): Likewise.
17295         (FRAME_TOC_SAVE): Likewise.
17296         (FRAME_PARM_SAVE): Likewise.
17297         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17298         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17299         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17301         (CHECK_SP): Use symbolic stack frame offsets.
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17303         zone" instead of caller's parameter save area for temp storage.
17304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17305         Likewise.  Also, use symbolic stack frame offsets.
17306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17307         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17308         our own stack frame instead of the caller's.
17309         (__socket): Use symbolic stack frame offsets.
17311 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17312             Alan Modra  <amodra@gmail.com>
17314         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17315         Define.
17316         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17317         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17318         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17319         New function.
17320         (elf_machine_fixup_plt): Call it.
17321         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17322         reloc arguments.
17323         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17324         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17325         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17326         r2 before calling target.
17328 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17329             Alan Modra  <amodra@gmail.com>
17331         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17332         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17333         versions of macros to support ELFv2 ABI.
17334         (LOCALENTRY): New macro.
17335         (ENTRY, EALIGN): Use it.
17336         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17337         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17338         fall through into ENTRY entry point.
17339         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17340         Only define if _CALL_ELF != 2.
17342         (elf_machine_matches_host): Verify ABI version matches.
17343         (RTLD_START): Use LOCALENTRY.
17344         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17345         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17346         (PLT_ENTRY_WORDS): New macro.
17347         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17348         (elf_machine_runtime_setup): Support ELFv2 ABI.
17349         (elf_machine_fixup_plt): Likewise.
17350         (elf_machine_plt_conflict): Likewise.
17351         (resolve_ifunc): Likewise.
17352         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17353         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17354         Likewise.
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17356         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17358         (makecontext): Support ELFv2 ABI.
17359         * elf/elf.h (EF_PPC64_ABI): Define.
17361 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17363         * sysdeps/powerpc/powerpc64/sysdep.h
17364         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17365         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17366         (ENTRY) [ASSEMBLER]: ... but instead here ...
17367         (EALIGN) [ASSEMBLER]: ... and here.
17368         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17369         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17370         (ENTRY_2) [!ASSEMBLER]: Use it.
17371         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17372         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17373         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17374         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17375         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17377         Use PPC64_LOAD_FUNCPTR.
17379         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17381 2013-12-04  Alan Modra  <amodra@gmail.com>
17383         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17384         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17385         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17386         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17388         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17389         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17390         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17391         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17392         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17393         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17395 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17398         (__makecontext): Fix incorrect CFI when backtracing out of
17399         context created via makecontext.
17400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17401         (__setcontext): Fix incorrect CFI during switch to new context.
17402         (__novec_setcontext): Likewise.
17404 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17406         [BZ #4772]
17407         * time/strptime_l.c (__strptime_internal): Allow modifiers
17408         in strptime.
17409         * time/tst-strptime.c (day_tests): Add testcase.
17411 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17413         * scripts/bench.pl: Skip over blank lines.
17415 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17417         [BZ #926]
17418         * manual/time.texi (Calendar Time): Clarify what timezone functions
17419         use.
17421 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17425 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17427         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17428         implementation.
17429         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17430         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17431         * debug/memset_chk.c (__memset_chk): Likewise.
17432         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17433         * debug/strncpy_chk.c: Likewise.
17435 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17437         [BZ #15268]
17438         [BZ #15425]
17439         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17440         (__ieee754_exp): For possibly underflowing results, check size of
17441         result and force underflow exception if required.
17442         * math/auto-libm-test-in: Add more tests of exp.
17443         * math/auto-libm-test-out: Regenerated.
17444         * sysdeps/i386/fpu/libm-test-ulps: Update.
17445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17447         [BZ #16283]
17448         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17449         * math/w_exp2f.c (__exp2f): Likewise.
17450         * math/w_exp2l.c (__exp2l): Likewise.
17451         * math/auto-libm-test-in: Do not allow missing errno on exp2
17452         underflow.
17453         * math/auto-libm-test-out: Regenerated.
17455 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17457         [BZ #16274]
17458         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17459         handle filename validation.
17460         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17461         (do_open): Delete.
17463 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17465         [BZ #6786]
17466         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17467         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17468         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17469         <float.h>.
17470         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17471         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17472         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17474         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17476         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17477         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17478         Add more erfc tests.
17479         * math/auto-libm-test-out: Regenerated.
17480         * sysdeps/i386/fpu/libm-test-ulps: Update.
17481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17483         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17484         exp2, expm1, j0 and j1.
17485         * math/auto-libm-test-out: Regenerated.
17486         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17487         (erfc_test_data): Likewise.
17488         (exp_test_data): Likewise.
17489         (exp_tonearest_test_data): Likewise.
17490         (exp_towardzero_test_data): Likewise.
17491         (exp_downward_test_data): Likewise.
17492         (exp_upward_test_data): Likewise.
17493         (exp10_test_data): Likewise.
17494         (exp2_test_data): Likewise.
17495         (expm1_test_data): Likewise.
17496         (j0_test_data): Likewise.
17497         (j1_test_data): Likewise.
17498         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17499         (input_flag_type): Add flag_xfail_rounding.
17500         (input_flags): Add xfail-rounding.
17501         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17502         (output_for_one_input_case): Handle flag_xfail_rounding.
17503         * sysdeps/i386/fpu/libm-test-ulps: Update.
17504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17506 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17508         [BZ #16289]
17509         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17510         division by 0.
17512 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17514         [BZ #16195]
17515         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17516         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17517         (STAP_PROBE0): New macro.
17518         (STAP_PROBE1): Likewise.
17519         (STAP_PROBE2): Likewise.
17520         (STAP_PROBE3): Likewise.
17521         (STAP_PROBE4): Likewise.
17523 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17525         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17527 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17529         * benchtests/Makefile (bench): Add sqrt.
17530         (LDLIBS-bench-sqrt): New.
17531         * benchtests/sqrt-input: New.
17533 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17535         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17536         (GAIH_EAI): Likewise.
17537         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17538         (gaih_inet): Likewise.
17539         (getaddrinfo): Don't use GAIH_EAI.
17541         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17542         (struct gaih): Remove definition.
17544 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17546         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17547         Use HERRNOP directly.
17549 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17553 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
17555         * math/gen-auto-libm-tests.c (test_functions): Add more
17556         single-argument functions.
17557         (special_fill_pi_2): New function.
17558         (special_fill_minus_pi_2): Likewise.
17559         (special_fill_pi_6): Likewise.
17560         (special_fill_minus_pi_6): Likewise.
17561         (special_fill_pi_3): Likewise.
17562         (special_fill_2pi_3): Likewise.
17563         (special_fill_e): Likewise.
17564         (special_fill_1_e): Likewise.
17565         (special_fill_e_minus_1): Likewise.
17566         (special_real_inputs): Add more special inputs.
17567         (output_for_one_input_case): Do not require ERANGE on underflow to
17568         zero if round-to-nearest result does not underflow to zero, unless
17569         exact results required.
17570         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17571         atan, atanh, cbrt, cos and cosh.
17572         * math/auto-libm-test-out: Regenerated.
17573         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17574         (acos_tonearest_test_data): Likewise.
17575         (acos_towardzero_test_data): Likewise.
17576         (acos_downward_test_data): Likewise.
17577         (acos_upward_test_data): Likewise.
17578         (acosh_test_data): Likewise.
17579         (asin_test_data): Likewise.
17580         (asin_tonearest_test_data): Likewise.
17581         (asin_towardzero_test_data): Likewise.
17582         (asin_upward_test_data): Likewise.
17583         (asinh_test_data): Likewise.
17584         (atan_test_data): Likewise.
17585         (atanh_test_data): Likewise.
17586         (cbrt_test_data): Likewise.
17587         (cos_test_data): Likewise.
17588         (cos_tonearest_test_data): Likewise.
17589         (cos_towardzero_test_data): Likewise.
17590         (cos_downward_test_data): Likewise.
17591         (cos_upward_test_data): Likewise.
17592         (cosh_test_data): Likewise.
17593         (cosh_tonearest_test_data): Likewise.
17594         (cosh_towardzero_test_data): Likewise.
17595         (cosh_downward_test_data): Likewise.
17596         (cosh_upward_test_data): Likewise.
17597         * sysdeps/i386/fpu/libm-test-ulps: Update.
17598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17600 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
17602         [BZ #6787]
17603         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17604         * math/w_exp10f.c (__exp10f): Likewise.
17605         * math/w_exp10l.c (__exp10l): Likewise.
17606         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17607         errno settings in existing tests.
17609         [BZ #14032]
17610         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17611         precision control set to double precision.
17612         * sysdeps/i386/fpu/w_sqrt.c: New file.
17613         * math/auto-libm-test-in: Add more tests.
17614         * math/auto-libm-test-out: Update.
17616         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17617         (sqrt_test_tonearest): New function.
17618         (sqrt_towardzero_test_data): New variable.
17619         (sqrt_test_towardzero): New function.
17620         (sqrt_downward_test_data): New variable.
17621         (sqrt_test_downward): New function.
17622         (sqrt_upward_test_data): New variable.
17623         (sqrt_test_upward): New function.
17624         (main): Call the new functions.
17626         * math/gen-auto-libm-tests.c: New file.
17627         * math/auto-libm-test-in: Likewise.
17628         * math/auto-libm-test-out: New generated file.
17629         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17630         variables.
17631         (%beautify): Add generated representations of zero.
17632         (top level): Set $auto_input and call parse_auto_input.
17633         (beautify): Remove trailing "f" from hex float constants.
17634         (parse_args): Handle XFAIL_TEST.
17635         (convert_condition): New function.
17636         (or_value): Likewise.
17637         (or_cond_value): Likewise.
17638         (generate_testfile): Handle AUTO_TESTS_* lines.
17639         (parse_auto_input): New function.
17640         * math/libm-test.inc (XFAIL_TEST): New macro.
17641         (ERRNO_UNCHANGED): Update value.
17642         (ERRNO_EDOM): Likewise.
17643         (ERRNO_ERANGE): Likewise.
17644         (IGNORE_RESULT): Likewise.
17645         (TEST_COND_flt_32): New macro.
17646         (TEST_COND_dbl_64): Likewise.
17647         (TEST_COND_ldbl_96_intel): Likewise.
17648         (TEST_COND_ldbl_96_m68k): Likewise.
17649         (TEST_COND_ldbl_128): Likewise.
17650         (TEST_COND_ldbl_128ibm): Likewise.
17651         (TEST_COND_long32): Likewise.
17652         (TEST_COND_long64): Likewise.
17653         (TEST_COND_before_rounding): Likewise.
17654         (TEST_COND_after_rounding): Likewise.
17655         (enable_test): Handle XFAIL_TEST flag.
17656         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17657         with finite results.
17658         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17659         auto-libm-test-out.
17661 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17662             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17664         [BZ #16214]
17665         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17666         __tls_get_addr_internal instead of __tls_get_offset in order to
17667         avoid GOT pointer dependency.  Make rtld export
17668         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17669         __tls_get_addr since we are a __tls_get_offset platform.
17670         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17671         GOT pointer being set up before.
17672         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17674 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17676         * manual/math.texi (Errors in Math Functions): Document accuracy
17677         goals.
17679         [BZ #15004]
17680         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17681         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17682         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17683         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17684         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17685         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17686         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17688         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17689         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17690         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17692         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17694         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17695         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17697         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17698         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17699         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17700         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17701         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17702         Likewise.
17703         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17704         Likewise.
17705         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17706         Likewise.
17707         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17708         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17709         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17710         atomic-feupdateenv and flt-rounds.
17711         * sysdeps/powerpc/nofpu/Versions (libc): Add
17712         __atomic_feholdexcept, __atomic_feclearexcept,
17713         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17714         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17715         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17716         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17717         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17718         here.
17719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17720         Update.
17722         * manual/arith.texi (FP Exceptions): Document that exceptions may
17723         not be raised when matherr is used.
17724         (Math Error Reporting): Document overflow in directed rounding
17725         modes.  Document that errno may not be set when finite values are
17726         returned on overflow.  Document intent to set errno on underflow
17727         only for underflow to zero.
17729         [BZ #16271]
17730         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17731         round-to-nearest then adjust result for other rounding modes.
17732         * include/fenv.h (fegetround): Use libm_hidden_proto.
17733         * math/fegetround.c (fegetround): Use libm_hidden_def.
17734         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17735         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17736         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17737         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17738         Likewise.
17739         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17740         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17741         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17742         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17744 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17746         [BZ #16077]
17747         * nss/Versions (libnss_files): Add
17748         _nss_files_gethostbyname3_r.
17749         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17750         New function.
17751         (HOST_DB_LOOKUP): Remove macro.
17752         (_nss_files_gethostbyname_r): Implement function without the
17753         HOST_DB_LOOKUP macro.
17754         (_nss_files_gethostbyname2_r): Likewise.
17756 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17758         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17760 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17762         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17763         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17764         warning.
17766 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17768         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17769         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17770         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17771         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17772         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17773         __fe_nomask_env_priv and attribute_hidden.
17774         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17775         (libc_feupdateenv_test_ppc): Likewise.
17776         (libc_feresetround_ppc): Likewise.
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17778         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17779         compat_symbol macro.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17781         (__fe_nomask_env): Likewise.
17782         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17784 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17786         * string/Makefile: Remove ifunc tests.
17787         * string/test-string.h: Define TEST_IFUNC.
17788         * string/test-bcopy-ifunc.c: Remove.
17789         * string/test-bzero-ifunc.c: Likewise.
17790         * string/test-memccpy-ifunc.c: Likewise.
17791         * string/test-memchr-ifunc.c: Likewise.
17792         * string/test-memcmp-ifunc.c: Likewise.
17793         * string/test-memcpy-ifunc.c: Likewise.
17794         * string/test-memmem-ifunc.c: Likewise.
17795         * string/test-memmove-ifunc.c: Likewise.
17796         * string/test-mempcpy-ifunc.c: Likewise.
17797         * string/test-memrchr-ifunc.c: Likewise.
17798         * string/test-memset-ifunc.c: Likewise.
17799         * string/test-rawmemchr-ifunc.c: Likewise.
17800         * string/test-stpcpy-ifunc.c: Likewise.
17801         * string/test-stpncpy-ifunc.c: Likewise.
17802         * string/test-strcasecmp-ifunc.c: Likewise.
17803         * string/test-strcasestr-ifunc.c: Likewise.
17804         * string/test-strcat-ifunc.c: Likewise.
17805         * string/test-strchr-ifunc.c: Likewise.
17806         * string/test-strchrnul-ifunc.c: Likewise.
17807         * string/test-strcmp-ifunc.c: Likewise.
17808         * string/test-strcpy-ifunc.c: Likewise.
17809         * string/test-strcspn-ifunc.c: Likewise.
17810         * string/test-strlen-ifunc.c: Likewise.
17811         * string/test-strncasecmp-ifunc.c: Likewise.
17812         * string/test-strncat-ifunc.c: Likewise.
17813         * string/test-strncmp-ifunc.c: Likewise.
17814         * string/test-strncpy-ifunc.c: Likewise.
17815         * string/test-strnlen-ifunc.c: Likewise.
17816         * string/test-strpbrk-ifunc.c: Likewise.
17817         * string/test-strrchr-ifunc.c: Likewise.
17818         * string/test-strspn-ifunc.c: Likewise.
17819         * string/test-strstr-ifunc.c: Likewise.
17821 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17823         * benchtests/Makefile: Remove ifunc tests.
17824         * benchtests/bench-string.h: Define TEST_IFUNC.
17825         * benchtests/bench-bcopy-ifunc.c: Remove.
17826         * benchtests/bench-bzero-ifunc.c: Likewise.
17827         * benchtests/bench-memccpy-ifunc.c: Likewise.
17828         * benchtests/bench-memchr-ifunc.c: Likewise.
17829         * benchtests/bench-memcmp-ifunc.c: Likewise.
17830         * benchtests/bench-memcpy-ifunc.c: Likewise.
17831         * benchtests/bench-memmem-ifunc.c: Likewise.
17832         * benchtests/bench-memmove-ifunc.c: Likewise.
17833         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17834         * benchtests/bench-memrchr-ifunc.c: Likewise.
17835         * benchtests/bench-memset-ifunc.c: Likewise.
17836         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17837         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17838         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17839         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17840         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17841         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17842         * benchtests/bench-strcat-ifunc.c: Likewise.
17843         * benchtests/bench-strchr-ifunc.c: Likewise.
17844         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17845         * benchtests/bench-strcmp-ifunc.c: Likewise.
17846         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17847         * benchtests/bench-strcpy-ifunc.c: Likewise.
17848         * benchtests/bench-strcspn-ifunc.c: Likewise.
17849         * benchtests/bench-strlen-ifunc.c: Likewise.
17850         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17851         * benchtests/bench-strncat-ifunc.c: Likewise.
17852         * benchtests/bench-strncmp-ifunc.c: Likewise.
17853         * benchtests/bench-strncpy-ifunc.c: Likewise.
17854         * benchtests/bench-strnlen-ifunc.c: Likewise.
17855         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17856         * benchtests/bench-strrchr-ifunc.c: Likewise.
17857         * benchtests/bench-strsep-ifunc.c: Likewise.
17858         * benchtests/bench-strspn-ifunc.c: Likewise.
17859         * benchtests/bench-strstr-ifunc.c: Likewise.
17861 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17863         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17865 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17867         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17868         * rt/aio.h: Likewise.
17869         * sysdeps/gnu/bits/utmp.h: Likewise.
17870         * sysdeps/gnu/bits/utmpx.h: Likewise.
17871         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17872         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17873         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17874         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17875         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17876         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17877         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17878         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17879         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17880         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17881         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17882         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17883         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17885         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17886         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17887         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17888         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17889         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17890         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17891         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17892         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17893         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17894         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17895         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17897         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17898         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17899         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17900         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17901         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17902         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17903         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17904         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17905         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17906         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17907         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17908         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17909         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17910         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17911         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17912         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17914 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17916         [BZ #16245]
17917         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17918         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17920 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17922         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17923         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17924         Likewise.
17926 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17928         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17929         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17930         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17931         (__fesetround): Remove define.
17932         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17933         rounding and exceptions handling.
17934         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17935         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17936         (__fe_nomask_env): Likewise.
17937         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17938         __fegetround instead of fegetround.
17939         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17940         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17942 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17944         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17945         it's there.
17947         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17949 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17951         [BZ #11157]
17952         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17953         (encrypt_r): Likewise.
17954         * malloc/obstack.h (obstack_free): Likewise.
17955         * posix/unistd.h (encrypt): Likewise.
17957 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17959         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17960         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17961         DL_CALL_DT_FINI() that call the functions directly.
17962         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17963         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17964         * elf/dl-fini.c: Likewise.
17966 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
17968         * malloc/hooks.c (memalign_check): Add alignment rounding.
17969         * malloc/malloc.c (_mid_memalign): New function.
17970         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17971         Implement by calling _mid_memalign.
17972         * manual/probes.texi (Memory Allocation Probes): Remove
17973         memory_valloc_retry and memory_pvalloc_retry.
17975 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17977         * locale/programs/locarchive.c (open_archive): Add const
17978         qualifier to ARCHIVEFNAME and copy default fname to
17979         DEFAULT_FNAME.
17981         [BZ #15601]
17982         * libio/tst-widetext.input: Rename Oriya to Odia.
17983         * locale/iso-639.def: Likewise.
17985         * manual/probes.texi (Mathematical Function Probes): Add
17986         documentation for sin, cos, asin and acos probes.
17987         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17988         (__sin32): Add slowasin probe.
17989         (__cos32): Add slowacos probe.
17990         (__mpsin): Add slowsin probe.
17991         (__mpcos): Add slowcos probe.
17993 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
17995         [BZ #15483]
17996         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17997         thread-local __sim_exceptions_thread and global
17998         __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         (__simulate_exceptions): Use thread-local floating-point state and
18005         set global state from it as needed.
18006         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18007         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18008         __sim_round_mode_thread.
18009         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18010         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18011         and global __sim_exceptions_global.
18012         (__sim_disabled_exceptions): Change to thread-local
18013         __sim_disabled_exceptions_thread and global
18014         __sim_disabled_exceptions_global.
18015         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18016         and global __sim_round_mode_global.
18017         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18018         (SIM_SET_GLOBAL): Likewise.
18019         * sysdeps/powerpc/soft-fp/sfp-machine.h
18020         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18021         __sim_round_mode_thread.
18022         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18023         __sim_disabled_exceptions_thread.
18024         (__sim_exceptions): Change to __sim_exceptions_thread.
18025         (__sim_disabled_exceptions): Change to
18026         __sim_disabled_exceptions_thread.
18027         (__sim_round_mode): Change to __sim_round_mode_thread.
18028         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18029         thread-local floating-point state and set global state from it as
18030         needed.
18031         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18032         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18033         (__sim_disabled_exceptions): Remove extern declaration.
18034         (feenableexcept): Use thread-local floating-point state and set
18035         global state from it as needed.
18036         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18037         extern declaration.
18038         (__sim_disabled_exceptions): Likewise.
18039         (__sim_round_mode): Likewise.
18040         (__fegetenv): Use thread-local floating-point state.
18041         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18042         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18043         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18044         floating-point state and set global state from it as needed.
18045         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18046         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18047         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18048         Likewise.
18049         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18050         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18051         Likewise.
18052         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18053         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18054         Use __sim_round_mode_thread.
18055         * math/test-fenv-tls.c: New file.
18056         * math/Makefile (tests): Add test-fenv-tls.
18057         ($(objpfx)test-fenv-tls): Depend on
18058         $(common-objpfx)nptl/libpthread.so.
18060 2013-11-19  Andreas Schwab  <schwab@suse.de>
18062         * locale/programs/locale.c (show_info): Decode wordarray elements.
18063         * locale/categories.def (LC_MONETARY): Add element for
18064         _NL_MONETARY_CRNCYSTR.
18065         * locale/C-monetary.c (conversion_rate): New variable.
18066         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18067         element.
18069 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18071         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18072         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18074 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18076         * elf/Makefile (tst-auxv): New test.
18077         * elf/tst-auxv.c: New
18078         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18080 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18082         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18083         (hidden_proto): Caller changed.
18084         (hidden_tls_proto): New macro.
18085         (libc_hidden_tls_proto): Likewise.
18086         (rtld_hidden_tls_proto): Likewise.
18087         (libm_hidden_tls_proto): Likewise.
18088         (libresolv_hidden_tls_proto): Likewise.
18089         (librt_hidden_tls_proto): Likewise.
18090         (libdl_hidden_tls_proto): Likewise.
18091         (libnss_files_hidden_tls_proto): Likewise.
18092         (libnsl_hidden_tls_proto): Likewise.
18093         (libnss_nisplus_hidden_tls_proto): Likewise.
18094         (libutil_hidden_tls_proto): Likewise.
18096 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18098         [BZ #10253]
18099         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18100         (decompose_rpath): Defer expansion to fillin_rpath.
18101         (_dl_init_paths): Pass linkmap to fillin_rpath.
18103 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18105         * benchtests/Makefile: Add strsep.
18106         * benchtests/bench-strsep.c: New file: strsep benchtest.
18107         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18109 2013-11-18  Andreas Schwab  <schwab@suse.de>
18111         * locale/programs/locale.c (show_info) [case byte]: Check for
18112         '\377' instead of '\177'.
18113         * locale/C-monetary.c (not_available): Always use "\377".
18114         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18115         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18116         detect unavailable sign_posn locale elements.
18117         * locale/localeconv.c (__localeconv): For grouping and
18118         mon_grouping handle "\177" and "\377" like no grouping.
18119         (INT_ELEM): New macro.  Use it to set all numeric members.
18120         * locale/programs/ld-monetary.c (monetary_read)
18121         <tok_mon_grouping>: Normalize single -1 to the empty string.
18122         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18123         Likewise.
18125 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18127         [BZ #16055]
18128         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18129         when we match (nil).
18130         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18132 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18134         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18135         (NO_TEST_INLINE): Update value.
18136         (ERRNO_UNCHANGED): Likewise.
18137         (ERRNO_EDOM): Likewise.
18138         (ERRNO_ERANGE): Likewise.
18139         (IGNORE_RESULT): Likewise.
18140         (check_float_internal): Check signs of NaN results if
18141         TEST_NAN_SIGN used.
18142         (check_complex): Pass TEST_NAN_SIGN flag through to second
18143         check_float_internal call.
18144         (copysign_test_data): Add tests with quiet NaNs as second
18145         argument.  Use TEST_NAN_SIGN.
18146         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18147         TEST_NAN_SIGN.
18148         (signbit_test_data): Add tests of quiet NaN argument.
18149         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18151         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18152         $ignore_result.
18153         (parse_args): Handle function results specified as IGNORE.
18154         * math/libm-test.inc (IGNORE_RESULT): New macro.
18155         (check_float_internal): Do not check numerical result if flag
18156         IGNORE_RESULT set.
18157         (check_complex): Pass through IGNORE_RESULT to second
18158         check_float_internal call.
18159         (check_int): Do not check numerical result if flag IGNORE_RESULT
18160         set.
18161         (check_long): Likewise.
18162         (check_bool): Likewise.
18163         (check_longlong): Likewise.
18164         (lrint_test_data): Add tests of infinite and NaN arguments.
18165         (lrint_tonearest_test_data): Likewise.
18166         (lrint_towardzero_test_data): Likewise.
18167         (lrint_downward_test_data): Likewise.
18168         (lrint_upward_test_data): Likewise.
18169         (llrint_test_data): Likewise.
18170         (llrint_tonearest_test_data): Likewise.
18171         (llrint_towardzero_test_data): Likewise.
18172         (llrint_downward_test_data): Likewise.
18173         (llrint_upward_test_data): Likewise.
18174         (lround_test_data): Likewise.
18175         (llround_test_data): Likewise.
18177         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18178         (ERRNO_UNCHANGED): Update value.
18179         (ERRNO_EDOM): Likewise.
18180         (ERRNO_ERANGE): Likewise.
18181         (NO_TEST_INLINE_FLOAT): New macro.
18182         (NO_TEST_INLINE_DOUBLE): Likewise.
18183         (enable_test): New function.
18184         (RUN_TEST_f_f): Check enable_test before running test.
18185         (RUN_TEST_2_f): Likewise.
18186         (RUN_TEST_fff_f): Likewise.
18187         (RUN_TEST_c_f): Likewise.
18188         (RUN_TEST_f_f1): Likewise.
18189         (RUN_TEST_fF_f1): Likewise.
18190         (RUN_TEST_fI_f1): Likewise.
18191         (RUN_TEST_ffI_f1): Likewise.
18192         (RUN_TEST_c_c): Likewise.
18193         (RUN_TEST_cc_c): Likewise.
18194         (RUN_TEST_f_i): Likewise.
18195         (RUN_TEST_f_i_tg): Likewise.
18196         (RUN_TEST_ff_i_tg): Likewise.
18197         (RUN_TEST_f_b): Likewise.
18198         (RUN_TEST_f_b_tg): Likewise.
18199         (RUN_TEST_f_l): Likewise.
18200         (RUN_TEST_f_L): Likewise.
18201         (RUN_TEST_fFF_11): Likewise.
18202         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18203         conditionals.
18204         (cosh_test_data): Likewise.
18205         (exp_test_data): Likewise.
18206         (expm1_test_data): Likewise.
18207         (hypot_test_data): Likewise.
18208         (pow_test_data): Likewise.
18209         (sinh_test_data): Likewise.
18210         (tanh_test_data): Likewise.
18211         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18212         flags argument.
18214         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18215         tests with quiet NaN input and output.
18216         (acosh_test_data): Likewise.
18217         (asin_test_data): Likewise.
18218         (asinh_test_data): Likewise.
18219         (atan_test_data): Likewise.
18220         (atanh_test_data): Likewise.
18221         (atan2_test_data): Likewise.
18222         (cbrt_test_data): Likewise.
18223         (cos_test_data): Likewise.
18224         (cosh_test_data): Likewise.
18225         (erf_test_data): Likewise.
18226         (erfc_test_data): Likewise.
18227         (exp_test_data): Likewise.
18228         (exp10_test_data): Likewise.
18229         (exp2_test_data): Likewise.
18230         (expm1_test_data): Likewise.
18231         (hypot_test_data): Likewise.
18232         (j0_test_data): Likewise.
18233         (j1_test_data): Likewise.
18234         (jn_test_data): Likewise.
18235         (lgamma_test_data): Likewise.
18236         (log_test_data): Likewise.
18237         (log10_test_data): Likewise.
18238         (log1p_test_data): Likewise.
18239         (log2_test_data): Likewise.
18240         (pow_test_data): Likewise.
18241         (scalb_test_data): Likewise.
18242         (sin_test_data): Likewise.
18243         (sincos_test_data): Likewise.
18244         (sinh_test_data): Likewise.
18245         (tan_test_data): Likewise.
18246         (tanh_test_data): Likewise.
18247         (tgamma_test_data): Likewise.
18248         (y0_test_data): Likewise.
18249         (y1_test_data): Likewise.
18250         (yn_test_data): Likewise.
18252         [BZ #16167]
18253         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18254         argument being NaN and avoid computations with second argument in
18255         that case.
18256         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18257         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18258         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18260 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18262         * locale/iso-639.def: Add Chitwani Tharu (the).
18264 2013-11-14  Andreas Schwab  <schwab@suse.de>
18266         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18267         word instead of empty string.
18269 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18272         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18274         (__fe_nomask_env): Likewise.
18276 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18278         * benchtests/bench-timing.h: Include time.h.
18280 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18282         [BZ #15997]
18283         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18284         to 3.4.0 for x32.
18285         * sysdeps/unix/sysv/linux/configure: Regenerated.
18287 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18289         [BZ #16151]
18290         * stdlib/strtod_l.c (round_and_return): Do not consider
18291         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18292         exponent one less than half the least subnormal exponent.
18293         * stdlib/test-strtod-round-data: Add more tests.
18294         * stdlib/tst-strtod-round.c (tests): Regenerated.
18296 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18298         [BZ #14143]
18299         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18300         (__fe_mask_env): Likewise.
18301         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18302         libm_hidden_proto and add function prototype.
18303         (__fe_mask_env): Add function prototype.
18304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18305         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18307         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18309         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18311 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18313         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18314         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18316 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18318         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18319         of htab_find_slot().
18321 2013-11-11  David S. Miller  <davem@davemloft.net>
18323         [BZ #16150]
18324         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18325         symbol in the non-vis3 case in static builds.
18326         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18327         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18328         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18329         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18331 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18333         [BZ #387]
18334         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18335         it is empty.
18337 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18339         * benchtests/Makefile: Add bench-strtod.
18340         * benchtests/bench-strtod.c: New file: strtod benchtest
18342 2013-11-11  Andreas Schwab  <schwab@suse.de>
18344         [BZ #16153]
18345         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18346         terminating NUL in key length.
18348 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18351         Add artificial ODP entry for vDSO symbol for PPC64.
18352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18353         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18355 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18357         [BZ #15374]
18358         * nss/getent.c (services_keys): Recognize services starting with digit.
18360 2013-11-06  David S. Miller  <davem@davemloft.net>
18362         [BZ #15985]
18363         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18364         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18366 2013-11-06  Will Newton  <will.newton@linaro.org>
18368         * manual/memory.texi (Malloc Examples): Remove register
18369         keyword from examples.
18371 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18373         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18375 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18377         [BZ #6981]
18378         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18379         depending on [__GCC_IEC_559 > 0].
18380         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18381         depending on [__GCC_IEC_559_COMPLEX > 0].
18383 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18385         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18386         to iso-639.def.
18388 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18390         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18392 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18394         [BZ #16112]
18395         * malloc/malloc (malloc_info): Do not handle first bin as
18396         special case.
18398 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18400         * locale/iso-639.def: Add Central Nahuatl (nhn).
18402 2013-11-01  Bruno Haible  <bruno@clisp.org>
18404         [BZ #7003]
18405         * manual/math.texi (BSD Random): Specify range upper bound as
18406         in POSIX.
18408 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18410         * locale/iso-639.def: Add Meadow Mari (mhr).
18412 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18414         [BZ #14752], [BZ #15763]
18415         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18416         Validate name.
18417         * rt/tst_shm.c: Add test for escaping directory.
18419 2013-10-31  Andreas Schwab  <schwab@suse.de>
18421         [BZ #15917]
18422         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18423         followed by 'x' as part of digit sequence.
18424         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18426 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18428         [BZ #16037]
18429         * configure.ac: allow GNU Make 4.0 and greater.
18430         * configure: Regenerated.
18432 2013-10-30  Will Newton  <will.newton@linaro.org>
18434         [BZ #16038]
18435         * malloc/hooks.c (memalign_check): Limit alignment to the
18436         maximum representable power of two.
18437         * malloc/malloc.c (__libc_memalign): Likewise.
18438         * malloc/tst-memalign.c (do_test): Add test for very
18439         large alignment values.
18440         * malloc/tst-posix_memalign.c (do_test): Likewise.
18442 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18444         [BZ #11087]
18445         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18446         (munmap_chunk): Likewise.
18447         (mremap_chunk): Likewise.
18449 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18451         [BZ #15799]
18452         * stdlib/div.c (div): Remove obsolete code.
18453         * stdlib/ldiv.c (ldiv): Likewise.
18454         * stdlib/lldiv.c (lldiv): Likewise.
18456 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18458         [BZ #16071]
18459         * nss/nss_files/files-XXX.c (get_contents_ret): New
18460         enumerator.
18461         (get_contents): New function.
18462         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18464 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18466         * configure.in: Moved to ...
18467         * configure.ac: ... here. Change reference to configure.in
18468         to configure.ac.
18469         * sysdeps/arm/preconfigure.ac: ... here.
18470         configure.in to configure.ac.
18471         * sysdeps/gnu/configure.in: Moved to ...
18472         * sysdeps/gnu/configure.ac: ... here.
18473         * sysdeps/i386/configure.in: Moved to ...
18474         * sysdeps/i386/configure.ac: ... here.
18475         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18476         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18477         * sysdeps/mach/configure.in: Moved to ...
18478         * sysdeps/mach/configure.ac: ... here.
18479         * sysdeps/mach/hurd/configure.in: Moved to ...
18480         * sysdeps/mach/hurd/configure.ac: ... here.
18481         * sysdeps/powerpc/configure.in: Moved to ...
18482         * sysdeps/powerpc/configure.ac: ... here.
18483         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18484         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18485         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18486         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18487         * sysdeps/s390/s390-32/configure.in: Moved to ...
18488         * sysdeps/s390/s390-32/configure.ac: ... here.
18489         * sysdeps/s390/s390-64/configure.in: Moved to ...
18490         * sysdeps/s390/s390-64/configure.ac: ... here.
18491         * sysdeps/sh/configure.in: Moved to ...
18492         * sysdeps/sh/configure.ac: ... here.
18493         * sysdeps/sparc/configure.in: Moved to ...
18494         * sysdeps/sparc/configure.ac: ... here.
18495         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18496         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18497         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18498         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18499         * sysdeps/x86_64/configure.in: Moved to ...
18500         * sysdeps/x86_64/configure.ac: ... here.
18501         * sysdeps/x86_64/preconfigure.in: Moved to ...
18502         * sysdeps/x86_64/preconfigure.ac: ... here.
18503         * aclocal.m4: Change reference to configure.in to configure.ac.
18504         * config.h.in: Likewise.
18505         * manual/install.texi: Likewise.
18506         * manual/maint.texi: Likewise.
18507         * Makefile: Likewise.
18508         * malloc/Makefile: Likewise.
18509         * nscd/Makefile: Likewise.
18510         * Makeconfig: Change reference to configure.in and
18511         preconfigure.in to configure.ac and preconfigure.ac
18512         respectively.
18513         * INSTALL: Regenerated.
18514         * configure: Likewise.
18515         * sysdeps/gnu/configure: Likewise.
18516         * sysdeps/i386/configure: Likewise.
18517         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18518         * sysdeps/mach/configure: Likewise.
18519         * sysdeps/mach/hurd/configure: Likewise.
18520         * sysdeps/powerpc/configure: Likewise.
18521         * sysdeps/powerpc/powerpc32/configure: Likewise.
18522         * sysdeps/powerpc/powerpc64/configure: Likewise.
18523         * sysdeps/s390/s390-32/configure: Likewise.
18524         * sysdeps/s390/s390-64/configure: Likewise.
18525         * sysdeps/sh/configure: Likewise.
18526         * sysdeps/sparc/configure: Likewise.
18527         * sysdeps/unix/sysv/linux/configure: Likewise.
18528         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18529         * sysdeps/x86_64/configure: Likewise.
18530         * sysdeps/x86_64/preconfigure: Likewise.
18532 2013-10-29  Andreas Schwab  <schwab@suse.de>
18534         * stdio-common/Makefile (tst-swscanf-ENV): Define.
18536 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18538         * benchtests/pow-inputs: Add new inputs.
18540         * benchtests/exp-inputs: Add new inputs.
18542         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18543         conditional check for return value.
18544         (__cos32): Likewise.
18546 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18548         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18549         to provide a boost for large inputs with word alignment.
18550         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18551         implementation based on optimized PPC64 strcpy.
18552         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18553         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18554         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18555         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18557 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18559         [BZ #2801]
18560         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18562 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18564         [BZ #14876]
18565         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18566         * time/tst-strptime.c (day_tests): Add testcase.
18568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18570         [BZ #14029]
18571         * manual/pattern.texi: Acknowledge that fnmatch can fail.
18573 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
18575         [BZ #16074]
18576         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18577         MAP_FAILED on error.
18579 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581         [BZ #16072]
18582         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18583         heap for large requests.
18585 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
18587         [BZ #9954]
18588         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18589         result if the result has no associated interface.
18590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18591         interface for all 127.X.Y.Z addresses.
18593 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
18595         * locale/iso-639.def: Add Ligurian (lij)
18597 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
18599         [BZ #15825]
18600         * sunrpc/rpc_main.c: Document rpcgen -5.
18602 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18604         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18606 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18608         [BZ #10278]
18609         * posix/glob.c: Match only directories when trailing slash is present.
18610         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18611         (main): Add testcase.
18613 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18615         [BZ #15670]
18616         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18618 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18620         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18621         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18622         AUTH_DES and cindex for FIPS 140-2.
18623         (DES Encryption): Add cindex FIPS 46-3.
18625         * locale/locarchive.h (struct locarhandle): Add fname.
18626         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18627         if an optional argument was specified to --list-archive,
18628         otherwise NULL.
18629         * locale/programs/locarchive.c (show_archive_content): Take new
18630         argument fname and pass it via ah.fname to open_archive.
18631         * locale/programs/localedef.h: Update decl.
18632         (open_archive): If AH->fname is non-null, open that file
18633         rather than the default file name, and don't ignore ENOENT.
18634         (create_archive): Set AH.fname to NULL.
18635         (delete_locales_from_archive): Likewise.
18636         (add_locales_to_archive): Likewise.
18637         * locale/programs/locfile.c (write_all_categories): Likewise.
18639 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18640             Aldy Hernandez  <aldyh@redhat.com>
18642         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18643         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18644         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18645         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18646         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18647         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18648         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18649         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18650         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18651         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18652         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18653         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18654         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18655         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18656         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18657         Likewise.
18658         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18659         Likewise.
18660         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18661         Likewise.
18662         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18663         Likewise.
18664         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18665         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18666         Likewise.
18667         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18668         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18669         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18670         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18671         Likewise.
18672         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18673         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18674         * sysdeps/powerpc/preconfigure: Likewise.
18675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18676         Likewise.
18677         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18678         Replace contents of file by #include of <fenv_libc.h>.
18679         * sysdeps/powerpc/soft-fp/sfp-machine.h
18680         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18681         and <sys/prctl.h>.
18682         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18685         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18686         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18687         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18695         Allow copysignl PLT reference to be missing.
18697 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18698             Joseph Myers  <joseph@codesourcery.com
18700         [BZ #15948]
18701         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18702         single character.
18703         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18705 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18707         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18708         * elf/tst-tls1.c: Likewise.
18709         * elf/tst-tls10.h: Likewise.
18710         * elf/tst-tls14.c: Likewise.
18711         * elf/tst-tls2.c: Likewise.
18712         * elf/tst-tls3.c: Likewise.
18713         * elf/tst-tls4.c: Likewise.
18714         * elf/tst-tls5.c: Likewise.
18715         * elf/tst-tls6.c: Likewise.
18716         * elf/tst-tls7.c: Likewise.
18717         * elf/tst-tls8.c: Likewise.
18718         * elf/tst-tls9.c: Likewise.
18719         * elf/tst-tlsmod1.c: Likewise.
18720         * elf/tst-tlsmod13.c: Likewise.
18721         * elf/tst-tlsmod13a.c: Likewise.
18722         * elf/tst-tlsmod14a.c: Likewise.
18723         * elf/tst-tlsmod16a.c: Likewise.
18724         * elf/tst-tlsmod16b.c: Likewise.
18725         * elf/tst-tlsmod2.c: Likewise.
18726         * elf/tst-tlsmod3.c: Likewise.
18727         * elf/tst-tlsmod4.c: Likewise.
18728         * elf/tst-tlsmod5.c: Likewise.
18729         * elf/tst-tlsmod6.c: Likewise.
18731 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18733         [BZ #12486]
18734         * malloc/malloc.c: remove checks for statistics.
18736 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18738         [BZ #15277]
18739         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18740         * inet/tst-network.c: Add testcase.
18742 2013-10-17  Andreas Schwab  <schwab@suse.de>
18744         [BZ #15218]
18745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18746         to determine canonical name.
18748 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18750         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18751         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18753         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18755         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18756         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18757         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18758         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18759         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18760         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18761         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18762         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18763         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18764         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18765         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18767         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18768         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18769         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18770         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18773         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18774         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18776         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18779         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18780         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18782         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18784         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18790         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18791         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18792         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18793         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18794         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18795         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18796         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18797         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18798         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18799         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18800         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18801         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18802         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18803         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18804         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18805         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18806         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18807         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18809 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18811         [BZ #16041]
18812         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18813         make result into a quiet NaN.
18815 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18817         * soft-fp/adddf3.c: Fix horizontal whitespace.
18818         * soft-fp/addsf3.c: Likewise.
18819         * soft-fp/addtf3.c: Likewise.
18820         * soft-fp/divdf3.c: Likewise.
18821         * soft-fp/divsf3.c: Likewise.
18822         * soft-fp/divtf3.c: Likewise.
18823         * soft-fp/double.h: Likewise.
18824         * soft-fp/eqdf2.c: Likewise.
18825         * soft-fp/eqsf2.c: Likewise.
18826         * soft-fp/eqtf2.c: Likewise.
18827         * soft-fp/extenddftf2.c: Likewise.
18828         * soft-fp/extended.h: Likewise.
18829         * soft-fp/extendsfdf2.c: Likewise.
18830         * soft-fp/extendsftf2.c: Likewise.
18831         * soft-fp/extendxftf2.c: Likewise.
18832         * soft-fp/fixdfdi.c: Likewise.
18833         * soft-fp/fixdfsi.c: Likewise.
18834         * soft-fp/fixdfti.c: Likewise.
18835         * soft-fp/fixsfdi.c: Likewise.
18836         * soft-fp/fixsfsi.c: Likewise.
18837         * soft-fp/fixsfti.c: Likewise.
18838         * soft-fp/fixtfdi.c: Likewise.
18839         * soft-fp/fixtfsi.c: Likewise.
18840         * soft-fp/fixtfti.c: Likewise.
18841         * soft-fp/fixunsdfdi.c: Likewise.
18842         * soft-fp/fixunsdfsi.c: Likewise.
18843         * soft-fp/fixunsdfti.c: Likewise.
18844         * soft-fp/fixunssfdi.c: Likewise.
18845         * soft-fp/fixunssfsi.c: Likewise.
18846         * soft-fp/fixunssfti.c: Likewise.
18847         * soft-fp/fixunstfdi.c: Likewise.
18848         * soft-fp/fixunstfsi.c: Likewise.
18849         * soft-fp/fixunstfti.c: Likewise.
18850         * soft-fp/floatdidf.c: Likewise.
18851         * soft-fp/floatdisf.c: Likewise.
18852         * soft-fp/floatditf.c: Likewise.
18853         * soft-fp/floatsidf.c: Likewise.
18854         * soft-fp/floatsisf.c: Likewise.
18855         * soft-fp/floatsitf.c: Likewise.
18856         * soft-fp/floattidf.c: Likewise.
18857         * soft-fp/floattisf.c: Likewise.
18858         * soft-fp/floattitf.c: Likewise.
18859         * soft-fp/floatundidf.c: Likewise.
18860         * soft-fp/floatundisf.c: Likewise.
18861         * soft-fp/floatunditf.c: Likewise.
18862         * soft-fp/floatunsidf.c: Likewise.
18863         * soft-fp/floatunsisf.c: Likewise.
18864         * soft-fp/floatunsitf.c: Likewise.
18865         * soft-fp/floatuntidf.c: Likewise.
18866         * soft-fp/floatuntisf.c: Likewise.
18867         * soft-fp/floatuntitf.c: Likewise.
18868         * soft-fp/fmadf4.c: Likewise.
18869         * soft-fp/fmasf4.c: Likewise.
18870         * soft-fp/fmatf4.c: Likewise.
18871         * soft-fp/gedf2.c: Likewise.
18872         * soft-fp/gesf2.c: Likewise.
18873         * soft-fp/getf2.c: Likewise.
18874         * soft-fp/ledf2.c: Likewise.
18875         * soft-fp/lesf2.c: Likewise.
18876         * soft-fp/letf2.c: Likewise.
18877         * soft-fp/muldf3.c: Likewise.
18878         * soft-fp/mulsf3.c: Likewise.
18879         * soft-fp/multf3.c: Likewise.
18880         * soft-fp/negdf2.c: Likewise.
18881         * soft-fp/negsf2.c: Likewise.
18882         * soft-fp/negtf2.c: Likewise.
18883         * soft-fp/op-1.h: Likewise.
18884         * soft-fp/op-2.h: Likewise.
18885         * soft-fp/op-4.h: Likewise.
18886         * soft-fp/op-8.h: Likewise.
18887         * soft-fp/op-common.h: Likewise.
18888         * soft-fp/quad.h: Likewise.
18889         * soft-fp/single.h: Likewise.
18890         * soft-fp/soft-fp.h: Likewise.
18891         * soft-fp/sqrtdf2.c: Likewise.
18892         * soft-fp/sqrtsf2.c: Likewise.
18893         * soft-fp/sqrttf2.c: Likewise.
18894         * soft-fp/subdf3.c: Likewise.
18895         * soft-fp/subsf3.c: Likewise.
18896         * soft-fp/subtf3.c: Likewise.
18897         * soft-fp/truncdfsf2.c: Likewise.
18898         * soft-fp/trunctfdf2.c: Likewise.
18899         * soft-fp/trunctfsf2.c: Likewise.
18900         * soft-fp/trunctfxf2.c: Likewise.
18901         * soft-fp/unorddf2.c: Likewise.
18902         * soft-fp/unordsf2.c: Likewise.
18903         * soft-fp/unordtf2.c: Likewise.
18905 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18907         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18908         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18910 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18912         * elf/dl-libc.c: Clear initfini list after freeing.
18914 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18916         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18917         * soft-fp/addsf3.c: Likewise.
18918         * soft-fp/addtf3.c: Likewise.
18919         * soft-fp/divdf3.c: Likewise.
18920         * soft-fp/divsf3.c: Likewise.
18921         * soft-fp/divtf3.c: Likewise.
18922         * soft-fp/double.h: Likewise.
18923         * soft-fp/eqdf2.c: Likewise.
18924         * soft-fp/eqsf2.c: Likewise.
18925         * soft-fp/eqtf2.c: Likewise.
18926         * soft-fp/extenddftf2.c: Likewise.
18927         * soft-fp/extended.h: Likewise.
18928         * soft-fp/extendsfdf2.c: Likewise.
18929         * soft-fp/extendsftf2.c: Likewise.
18930         * soft-fp/extendxftf2.c: Likewise.
18931         * soft-fp/fixdfdi.c: Likewise.
18932         * soft-fp/fixdfsi.c: Likewise.
18933         * soft-fp/fixdfti.c: Likewise.
18934         * soft-fp/fixsfdi.c: Likewise.
18935         * soft-fp/fixsfsi.c: Likewise.
18936         * soft-fp/fixsfti.c: Likewise.
18937         * soft-fp/fixtfdi.c: Likewise.
18938         * soft-fp/fixtfsi.c: Likewise.
18939         * soft-fp/fixtfti.c: Likewise.
18940         * soft-fp/fixunsdfdi.c: Likewise.
18941         * soft-fp/fixunsdfsi.c: Likewise.
18942         * soft-fp/fixunsdfti.c: Likewise.
18943         * soft-fp/fixunssfdi.c: Likewise.
18944         * soft-fp/fixunssfsi.c: Likewise.
18945         * soft-fp/fixunssfti.c: Likewise.
18946         * soft-fp/fixunstfdi.c: Likewise.
18947         * soft-fp/fixunstfsi.c: Likewise.
18948         * soft-fp/fixunstfti.c: Likewise.
18949         * soft-fp/floatdidf.c: Likewise.
18950         * soft-fp/floatdisf.c: Likewise.
18951         * soft-fp/floatditf.c: Likewise.
18952         * soft-fp/floatsidf.c: Likewise.
18953         * soft-fp/floatsisf.c: Likewise.
18954         * soft-fp/floatsitf.c: Likewise.
18955         * soft-fp/floattidf.c: Likewise.
18956         * soft-fp/floattisf.c: Likewise.
18957         * soft-fp/floattitf.c: Likewise.
18958         * soft-fp/floatundidf.c: Likewise.
18959         * soft-fp/floatundisf.c: Likewise.
18960         * soft-fp/floatunsidf.c: Likewise.
18961         * soft-fp/floatunsisf.c: Likewise.
18962         * soft-fp/floatuntidf.c: Likewise.
18963         * soft-fp/floatuntisf.c: Likewise.
18964         * soft-fp/floatuntitf.c: Likewise.
18965         * soft-fp/fmadf4.c: Likewise.
18966         * soft-fp/fmasf4.c: Likewise.
18967         * soft-fp/fmatf4.c: Likewise.
18968         * soft-fp/gedf2.c: Likewise.
18969         * soft-fp/gesf2.c: Likewise.
18970         * soft-fp/getf2.c: Likewise.
18971         * soft-fp/ledf2.c: Likewise.
18972         * soft-fp/lesf2.c: Likewise.
18973         * soft-fp/letf2.c: Likewise.
18974         * soft-fp/muldf3.c: Likewise.
18975         * soft-fp/mulsf3.c: Likewise.
18976         * soft-fp/multf3.c: Likewise.
18977         * soft-fp/negdf2.c: Likewise.
18978         * soft-fp/negsf2.c: Likewise.
18979         * soft-fp/negtf2.c: Likewise.
18980         * soft-fp/op-1.h: Likewise.
18981         * soft-fp/op-2.h: Likewise.
18982         * soft-fp/op-4.h: Likewise.
18983         * soft-fp/op-8.h: Likewise.
18984         * soft-fp/op-common.h: Likewise.
18985         * soft-fp/quad.h: Likewise.
18986         * soft-fp/single.h: Likewise.
18987         * soft-fp/soft-fp.h: Likewise.
18988         * soft-fp/sqrtdf2.c: Likewise.
18989         * soft-fp/sqrtsf2.c: Likewise.
18990         * soft-fp/sqrttf2.c: Likewise.
18991         * soft-fp/subdf3.c: Likewise.
18992         * soft-fp/subsf3.c: Likewise.
18993         * soft-fp/subtf3.c: Likewise.
18994         * soft-fp/truncdfsf2.c: Likewise.
18995         * soft-fp/trunctfdf2.c: Likewise.
18996         * soft-fp/trunctfsf2.c: Likewise.
18997         * soft-fp/trunctfxf2.c: Likewise.
18998         * soft-fp/unorddf2.c: Likewise.
18999         * soft-fp/unordsf2.c: Likewise.
19000         * soft-fp/unordtf2.c: Likewise.
19002 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19004         [BZ #15672]
19005         * misc/error.c (error_tail): Fix possible buffer overflow.
19007 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19009         [BZ #13028]
19010         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19011         address.
19013 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19015         [BZ #832]
19016         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19017         testing pipefail option.
19019 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19021         * soft-fp/double.h: Indent preprocessor directives inside #if.
19022         * soft-fp/extended.h: Likewise.
19023         * soft-fp/op-2.h: Likewise.
19024         * soft-fp/op-4.h: Likewise.
19025         * soft-fp/op-common.h: Likewise.
19026         * soft-fp/quad.h: Likewise.
19027         * soft-fp/single.h: Likewise.
19028         * soft-fp/soft-fp.h: Likewise.
19030 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19032         * iconv/iconv_prog.c: Fix typos.
19033         * stdio-common/psiginfo-data.h: Likewise.
19035 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19037         [BZ #15764]
19038         * locale/setlocale.c: Fix typo.
19040 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19042         [BZ #16036]
19043         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19044         signaling NaN arguments.
19045         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19046         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19048         [BZ #14910]
19049         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19050         unordered operands.
19051         * soft-fp/gesf2.c (__gesf2): Likewise.
19052         * soft-fp/getf2.c (__getf2): Likewise.
19053         * soft-fp/ledf2.c (__ledf2): Likewise.
19054         * soft-fp/lesf2.c (__lesf2): Likewise.
19055         * soft-fp/letf2.c (__letf2): Likewise.
19057         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19058         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19059         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19060         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19061         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19062         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19063         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19064         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19065         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19066         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19067         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19068         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19069         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19070         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19071         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19072         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19073         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19074         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19075         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19076         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19077         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19078         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19079         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19080         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19081         * soft-fp/floattidf.c (__floattidf): Likewise.
19082         * soft-fp/floattisf.c (__floattisf): Likewise.
19083         * soft-fp/floattitf.c (__floattitf): Likewise.
19084         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19085         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19086         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19087         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19088         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19089         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19090         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19091         * soft-fp/gesf2.c (__gesf2): Likewise.
19092         * soft-fp/getf2.c (__getf2): Likewise.
19093         * soft-fp/ledf2.c (__ledf2): Likewise.
19094         * soft-fp/lesf2.c (__lesf2): Likewise.
19095         * soft-fp/letf2.c (__letf2): Likewise.
19097         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19098         Undefine and redefine.
19099         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19100         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19101         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19102         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19103         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19104         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19105         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19106         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19107         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19108         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19109         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19110         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19111         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19112         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19113         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19115         [BZ #16032]
19116         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19117         without decrementing exponent if mantissa >= that for the
19118         denominator, not >.
19119         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19120         denominator, not >.  Decrement exponent in < case instead of
19121         incrementing in >= case.
19122         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19123         without decrementing exponent if mantissa >= that for the
19124         denominator, not >.
19126         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19127         computing saturated result for unsigned overflow.
19129 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19130             Jeff Law  <law@redhat.com>
19132         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19133         (atan2Mp): Add systemtap probe marker.
19134         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19135         (__ieee754_log): Add systemtap probe marker.
19136         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19137         (atanMp): Add systemtap probe marker.
19138         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19139         (tanMp): Add systemtap probe marker.
19140         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19141         (__slowexp): Add systemtap probe marker.
19142         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19143         (__slowpow): Add systemtap probe marker.
19144         * manual/probes.texi: Document probes.
19146 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19148         [BZ #15362]
19149         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19150         written.
19151         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19152         written.
19153         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19154         written to buffer but not flushed.
19155         * libio/iofwrite_u.c:  Likewise.
19156         * libio/iopadn.c:  Return bytes returned even if EOF was
19157         encountered.
19158         * libio/iowpadn.c:  Likewise.
19159         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19160         if _IO_padn does not write the whole buffer.
19161         [!COMPILE_WPRINTF] (PAD): Likewise.
19163 2013-10-10  David S. Miller  <davem@davemloft.net>
19165         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19166         directory block.
19168 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19170         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19171         instead of FSF address.
19172         * soft-fp/fixdfti.c: Likewise.
19173         * soft-fp/fixsfti.c: Likewise.
19174         * soft-fp/fixtfti.c: Likewise.
19175         * soft-fp/fixunsdfti.c: Likewise.
19176         * soft-fp/fixunssfti.c: Likewise.
19177         * soft-fp/fixunstfti.c: Likewise.
19178         * soft-fp/floattidf.c: Likewise.
19179         * soft-fp/floattisf.c: Likewise.
19180         * soft-fp/floattitf.c: Likewise.
19181         * soft-fp/floatuntidf.c: Likewise.
19182         * soft-fp/floatuntisf.c: Likewise.
19183         * soft-fp/floatuntitf.c: Likewise.
19184         * soft-fp/trunctfxf2.c: Likewise.
19186         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19187         * soft-fp/fixdfti.c: Likewise.
19188         * soft-fp/fixsfti.c: Likewise.
19189         * soft-fp/fixtfti.c: Likewise.
19190         * soft-fp/fixunsdfti.c: Likewise.
19191         * soft-fp/fixunssfti.c: Likewise.
19192         * soft-fp/fixunstfti.c: Likewise.
19193         * soft-fp/floattidf.c: Likewise.
19194         * soft-fp/floattisf.c: Likewise.
19195         * soft-fp/floattitf.c: Likewise.
19196         * soft-fp/floatuntidf.c: Likewise.
19197         * soft-fp/floatuntisf.c: Likewise.
19198         * soft-fp/floatuntitf.c: Likewise.
19199         * soft-fp/trunctfxf2.c: Likewise.
19201 2013-10-10  David S. Miller  <davem@davemloft.net>
19203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19205 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19207         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19208         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19209         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19210         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19211         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19212         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19213         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19216         for NaNs before doing comparisons on argument.
19217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19218         Likewise.
19220 2013-10-10  Will Newton  <will.newton@linaro.org>
19222         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19223         passed to _int_memalign does not overflow.
19225 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19227         * scripts/bench.pl: Add include-sources directive.
19228         * benchtests/README: Update documentation.
19230 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19232         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19233         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19234         instead of FP_INIT_ROUNDMODE.
19235         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19236         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19238         [BZ #16034]
19239         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19240         copy class of input value.
19241         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19242         not handle exceptions.
19243         * soft-fp/negsf2.c (__negsf2): Likewise.
19244         * soft-fp/negtf2.c (__negtf2): Likewise.
19245         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19247 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19249         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19250         semicolon.  From Linux kernel.
19252 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19254         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19256 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19258         [BZ #156]
19259         * manual/socket.texi: Added statement about buffer
19260         for gethostbyname2_r.
19262 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19264         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19265         Use .p2align directive instead, throughout.
19266         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19267         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19268         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19269         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19271         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19272         * sysdeps/x86_64/strchr.S: Likewise.
19273         * sysdeps/x86_64/strrchr.S: Likewise.
19275 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19277         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19279         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19281         * sysdeps/generic/math_private.h (__mpsin1): Remove
19282         declaration.
19283         (__mpcos1): Likewise.
19284         (__mpsin): New argument __range_reduce.
19285         (__mpcos): Likewise.
19286         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19287         (slow): Use __mpsin and __mpcos.
19288         (slow1): Likewise.
19289         (slow2): Likewise.
19290         (sloww): Likewise.
19291         (sloww1): Likewise.
19292         (sloww2): Likewise.
19293         (bsloww): Likewise.
19294         (bsloww1): Likewise.
19295         (bsloww2): Likewise.
19296         (cslow2): Likewise.
19297         (csloww): Likewise.
19298         (csloww1): Likewise.
19299         (csloww2): Likewise.
19300         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19301         range_reduce.  Merge in __mpsin1.
19302         (__mpcos): Likewise.
19303         (__mpsin1): Remove.
19304         (__mpcos1): Likewise.
19306 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19308         * locale/loadlocale.c (_nl_intern_locale_data): Use
19309         LOCFILE_ALIGNED_P.
19310         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19311         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19312         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19313         obstack data is appropriately aligned.
19314         (obstack_int32_grow_fast): Likewise.
19315         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19316         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19317         (add_locale_uint32_array): Likewise.
19319 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19321         * benchtests/Makefile: Remove ARGLIST and RET variables.
19322         ($(objpfx)bench-%.c): Pass only function name to the script.
19323         * benchtests/README: Update documentation.
19324         * benchtests/acos-inputs: Add new directives.
19325         * benchtests/acosh-inputs: Likewise.
19326         * benchtests/asin-inputs: Likewise.
19327         * benchtests/asinh-inputs: Likewise.
19328         * benchtests/atan-inputs: Likewise.
19329         * benchtests/atanh-inputs: Likewise.
19330         * benchtests/cos-inputs: Likewise.
19331         * benchtests/cosh-inputs: Likewise.
19332         * benchtests/exp-inputs: Likewise.
19333         * benchtests/log-inputs: Likewise.
19334         * benchtests/pow-inputs: Likewise.
19335         * benchtests/rint-inputs: Likewise.
19336         * benchtests/sin-inputs: Likewise.
19337         * benchtests/sinh-inputs: Likewise.
19338         * benchtests/tan-inputs: Likewise.
19339         * benchtests/tanh-inputs: Likewise.
19340         * scripts/bench.pl: Add support for new directives.
19342 2013-10-07  Alan Modra  <amodra@gmail.com>
19344         * README: Fix careless merge.
19346 2013-10-05  Alan Modra  <amodra@gmail.com>
19348         * NEWS: Mention powerpc64le support and bugs fixed.
19349         * README: Both big-endian and little-endian powerpc64 supported.
19351 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19353         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19354         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19355         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19356         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19358 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19360         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19361         match prototype.
19363 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19365         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19366         Move -mhard-float appending from
19367         ports/sysdeps/powerpc/powerpc32/Makefile.
19368         [$(with-fp) = yes] (ASFLAGS): Likewise.
19369         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19370         * sysdeps/powerpc/nofpu: Move directory from
19371         ports/sysdeps/powerpc/nofpu.
19372         * sysdeps/powerpc/soft-fp: Move directory from
19373         ports/sysdeps/powerpc/soft-fp.
19374         * sysdeps/powerpc/powerpc32/405: Move directory from
19375         ports/sysdeps/powerpc/powerpc32/405.
19376         * sysdeps/powerpc/powerpc32/440: Move directory from
19377         ports/sysdeps/powerpc/powerpc32/440.
19378         * sysdeps/powerpc/powerpc32/464: Move directory from
19379         ports/sysdeps/powerpc/powerpc32/464.
19380         * sysdeps/powerpc/powerpc32/476: Move directory from
19381         ports/sysdeps/powerpc/powerpc32/476.
19382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19383         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19385         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19387         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19389         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19392         * README: Update for powerpc-*-linux-gnu software floating point
19393         support in libc.
19395         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19396         case to powerpc/powerpc32*.
19397         * sysdeps/unix/sysv/linux/configure: Regenerated.
19399         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19400         (_FPU_MASK_OM): Define as 0x04.
19401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19403         0x00c10080.
19404         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19405         0x0000003c.
19406         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19409         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19410         getcontext_e500.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19412         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19413         setcontext_e500.
19414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19415         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19416         and setcontext_e500.
19418 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19420         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19422 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19424         * manual/threads.texi (Default Thread Attributes): Fix typo.
19426 2013-10-04  Will Newton  <will.newton@linaro.org>
19428         * malloc/Makefile: Add tst-memalign.
19429         * malloc/tst-memalign.c: New file.
19431         * malloc/tst-posix_memalign.c: Add comments.
19432         (do_test): Add comments and call free on all potentially
19433         allocated pointers. Add space after cast.
19435         * malloc/tst-pvalloc.c: Add comments.
19436         (do_test): Add comments and call free on all potentially
19437         allocated pointers. Remove duplicate check for NULL pointer.
19438         Add space after cast.
19440         * malloc/tst-valloc.c: Add comments.
19441         (do_test): Add comments and call free on all potentially
19442         allocated pointers. Remove duplicate check for NULL pointer.
19443         Add space after cast.
19445 2013-10-04  Alan Modra  <amodra@gmail.com>
19447         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19448         Use stdint types in rather than __attribute__((mode())).
19449         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19451 2013-10-04  Alan Modra  <amodra@gmail.com>
19453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19454         Correct handling of unaligned relocs for little-endian.
19455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19457 2013-10-04  Alan Modra  <amodra@gmail.com>
19459         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19460         * configure: Regenerate.
19461         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19462         * shlib-versions: Likewise.
19464 2013-10-04  Alan Modra  <amodra@gmail.com>
19466         * string/tester.c (test_memrchr): Increment reported test cycle.
19468 2013-10-04  Alan Modra  <amodra@gmail.com>
19470         * string/test-memcpy.c (do_one_test): When reporting errors, print
19471         string address and don't overrun end of string.
19473 2013-10-04  Alan Modra  <amodra@gmail.com>
19475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19476         insrdi.  Make better use of reg selection to speed exit slightly.
19477         Schedule entry path a little better.  Remove useless "are we done"
19478         checks on entry to main loop.  Handle wrapping around zero address.
19479         Correct main loop count.  Handle single left-over word from main
19480         loop inline rather than by using loop_small.  Remove extra word
19481         case in loop_small caused by wrong loop count.  Add little-endian
19482         support.
19483         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19485         cache hint.
19486         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19487         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19488         support.  Avoid rlwimi.
19489         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19491 2013-10-04  Alan Modra  <amodra@gmail.com>
19493         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19494         insrdi.  Formatting.
19495         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19496         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19497         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19498         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19499         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19500         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19502 2013-10-04  Alan Modra  <amodra@gmail.com>
19504         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19505         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19506         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19507         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19508         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19509         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19510         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19511         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19512         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19513         use of regs.  Use power7 mtocrf.  Tidy function tails.
19515 2013-10-04  Alan Modra  <amodra@gmail.com>
19517         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19518         Formatting.  Consistently use rXXX register defines or rN defines.
19519         Use early exit labels that avoid restoring unused non-volatile regs.
19520         Make cr field use more consistent with rWORDn compares.  Rename
19521         regs used as shift registers for unaligned loop, using rN defines
19522         for short lifetime/multiple use regs.
19523         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19524         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19525         addi 1,1,64 to pop stack frame.  Simplify return value code.
19526         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19528 2013-10-04  Alan Modra  <amodra@gmail.com>
19530         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19531         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19532         rather than rlwimi.
19533         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19534         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19535         little-endian support.  Correct typos.
19536         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
19537         rather than rlwimi.
19538         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
19539         in loop and entry code to keep "and." results.
19540         (strchr): Add little-endian support.  Comment.  Move cntlzd
19541         earlier in tail.
19542         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19544 2013-10-04  Alan Modra  <amodra@gmail.com>
19546         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19547         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19548         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19549         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19551 2013-10-04  Alan Modra  <amodra@gmail.com>
19553         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19554         (rTMP): Define as r11.
19555         (strcmp): Add little-endian support.  Optimise tail.
19556         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19557         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19558         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19559         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19560         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19561         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19562         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19564 2013-10-04  Alan Modra  <amodra@gmail.com>
19566         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19567         little-endian support.  Remove unnecessary "are we done" tests.
19568         Handle "s" wrapping around zero and extremely large "size".
19569         Correct main loop count.  Handle single left-over word from main
19570         loop inline rather than by using small_loop.  Correct comments.
19571         Delete "zero" tail, use "end_max" instead.
19572         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19574 2013-10-04  Alan Modra  <amodra@gmail.com>
19576         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19577         support.  Don't branch over align.
19578         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19579         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19580         support.  Rearrange tmp reg use to suit.  Comment.
19581         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19583 2013-10-04  Alan Modra  <amodra@gmail.com>
19585         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19587 2013-10-04  Alan Modra  <amodra@gmail.com>
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19590         conditional form of branch and link when obtaining pc.
19591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19593 2013-10-04  Alan Modra  <amodra@gmail.com>
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19596         HIWORD/LOWORD.
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19600 2013-10-04  Alan Modra  <amodra@gmail.com>
19602         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19603         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19604         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19605         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19606         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19607         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19608         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19609         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19610         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19611         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19613 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19614             Alistair Popple <alistair@ozlabs.au.ibm.com>
19615             Alan Modra <amodra@gmail.com>
19617         [BZ #15723]
19618         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19619         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19620         _dl_hwcap access for little-endian.
19621         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19622         destroy vmx regs when saving unaligned.
19623         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19624         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19625         destroy vmx regs when saving unaligned.
19627 2013-10-04  Alan Modra  <amodra@gmail.com>
19629         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19630         Don't use a union to pack hi/low value.
19632 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19634         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19635         for little-endian.
19636         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19638         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19639         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19640         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19642 2013-10-04  Alan Modra  <amodra@gmail.com>
19644         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19645         constants to usual value for .cst8 section, and remove redundant
19646         high address load.
19647         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19648         constant for 0x1p52.  Load little-endian words of double from
19649         correct stack offsets.
19651 2013-10-04  Alan Modra  <amodra@gmail.com>
19653         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19654         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19655         words of double from correct stack offsets.
19656         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19657         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19658         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19659         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19660         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19661         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19662         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19663         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19664         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19665         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19666         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19667         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19668         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19669         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19670         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19671         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19672         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19674 2013-10-04  Alan Modra  <amodra@gmail.com>
19676         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19677         64-bit int/double union.
19678         (_FPU_SETCW): Likewise.
19679         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19680         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19682 2013-10-04  Alan Modra  <amodra@gmail.com>
19684         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19685         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19687 2013-10-04  Alan Modra  <amodra@gmail.com>
19689         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19690         use vector int constants.
19691         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19693 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19695         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19696         array with long long.
19697         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19698         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19699         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19700         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19701         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19702         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19703         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19704         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19705         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19706         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19707         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19708         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19709         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19711 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19713         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19714         (__signbit): Likewise.  Correct for little-endian.
19715         (__signbitl): Call __signbit.
19716         (lrint): Correct for little-endian.
19717         (lrintf): Call lrint.
19719 2013-10-04  Alan Modra  <amodra@gmail.com>
19721         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19722         union 32-bit int array member with 64-bit int array.
19723         (t515, tm256): Double rather than long double.
19724         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19726 2013-10-04  Alan Modra  <amodra@gmail.com>
19728         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19729         Delete.
19730         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19732         version of math_ldbl.h.
19734 2013-10-04  Alan Modra  <amodra@gmail.com>
19736         [BZ #15734], [BZ #15735]
19737         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19738         all uses of ieee875 long double macros and unions.  Simplify test
19739         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19740         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19741         normalize after ldbl_extract_mantissa, and don't add hidden bit
19742         already handled.  Don't treat low word of ieee854 mantissa like
19743         low word of IBM long double and mask off bit when testing for
19744         zero.
19745         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19746         all uses of ieee875 long double macros and unions.  Simplify tests
19747         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19748         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19749         two1022, instead use their values.  Recognise that tests for large
19750         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19751         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19752         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19753         test for 0.0L and nan.  Correct negation.
19754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19755         ieee875 long double macros and unions.  Correct output for large
19756         magnitude x.  Correct absolute value calculation.
19757         (__erfcl): Likewise.
19758         * math/libm-test.inc: Add tests for errors discovered in IBM long
19759         double versions of fmodl, remainderl, erfl and erfcl.
19761 2013-10-04  Alan Modra  <amodra@gmail.com>
19763         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19764         all uses of ieee854 long double macros and unions.  Simplify tests
19765         for long doubles that are fully specified by the high double.
19766         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19767         Likewise.
19768         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19769         Remove dead code too.
19770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19771         (__ieee754_ynl): Likewise.
19772         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19775         Remove dead code too.
19776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19777         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19778         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19779         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19780         Simplify.
19781         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19782         Simplify.
19783         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19784         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19785         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19786         Comment on variable precision.
19787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19789         Likewise.
19790         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19793         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19794         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19796 2013-10-04  Alan Modra  <amodra@gmail.com>
19798         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19799         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19800         all uses of ieee854 long double macros and unions.
19801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19803         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19804         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19805         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19806         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19807         Likewise.
19808         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19809         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19810         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19811         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19812         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19813         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19814         Simplify sign and nan test too.
19815         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19816         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19817         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19818         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19819         Likewise.
19820         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19821         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19822         Likewise.
19823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19824         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19825         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19826         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19827         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19830 2013-10-04  Alan Modra  <amodra@gmail.com>
19832         * stdio-common/printf_size.c (__printf_size): Don't use
19833         union ieee854_long_double in fpnum union.
19834         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19835         signbit macro to retrieve sign from long double.
19836         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19837         retrieve sign from long double.
19838         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19839         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19840         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19841         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19842         * math/test-misc.c (main): Don't use union ieee854_long_double.
19844 2013-10-04  Alan Modra  <amodra@gmail.com>
19846         [BZ #15680]
19847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19848         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19849         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19850         calculation.  Remove unnecessary test for denormal exponent.
19851         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19852         Correct handling of denormals.  Avoid undefined shift behaviour.
19853         Correct normalisation of low mantissa when low double is denormal.
19854         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19855         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19856         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19857         Correct normalisation of low mantissa.  Test for overflow of high
19858         mantissa and normalise.
19859         (ldbl_nearbyint): Use more readable constant for two52.
19860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19861         (__mpn_construct_long_double): Fix test for overflow of high
19862         mantissa and correct normalisation.  Avoid undefined shift.
19864 2013-10-04  Alan Modra  <amodra@gmail.com>
19866         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19867         (union ibm_extended_long_double): Define as an array of ieee754_double.
19868         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19869         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19870         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19871         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19873         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19874         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19875         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19876         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19877         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19878         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19880 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19882         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19883         page size instead of calling getpagesize.
19885         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19886         (LOCFILE_ALIGN_MASK): Likewise.
19887         (LOCFILE_ALIGN_UP): Likewise.
19888         (LOCFILE_ALIGNED_P): Likewise.
19889         * locale/programs/ld-collate.c (collate_output): Use the new
19890         macros instead of __alignof__ (int32_t).
19891         * locale/weight.h (findidx): Likewise.
19893 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19895         [BZ #431]
19896         * manual/string.texi: Fix strncat and wcsncat.
19898 2013-10-03  Brooks Moses  <bmoses@google.com>
19900         [BZ #15915]
19901         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19902         * Makerules: ...here, and adjust associated comments.
19904 2013-10-02  Will Newton  <will.newton@linaro.org>
19906         * malloc/Makefile: Add tst-pvalloc.
19907         * malloc/tst-pvalloc.c: New file.
19909 2013-10-02  Will Newton  <will.newton@linaro.org>
19911         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19912         improve test coverage.
19914 2013-10-02  Will Newton  <will.newton@linaro.org>
19916         * malloc/Makefile: Add tst-posix_memalign.
19917         * malloc/tst-posix_memalign.c: New file.
19919 2013-10-01  Eric Blake  <eblake@redhat.com>
19921         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19922         Use __THROWNL rather than __THROW on static functions.
19924 2013-09-30  Petr Machata  <pmachata@redhat.com>
19926         * elf/elf.h (R_AARCH64_ABS16): New macro.
19927         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19928         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19929         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19930         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19931         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19932         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19933         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19934         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19935         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19936         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19937         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19938         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19939         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19940         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19941         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19942         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19943         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19944         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19945         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19946         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19947         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19948         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19949         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19950         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19951         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19952         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19953         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19954         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19955         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19956         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19957         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19958         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19959         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19960         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19961         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19962         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19963         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19964         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19965         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19966         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19967         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19968         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19969         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19970         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19971         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19972         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19973         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19974         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19975         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19976         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19977         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19978         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19979         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19980         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19981         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19982         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19983         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19984         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19985         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19986         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19987         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19988         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19989         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19990         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19991         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19992         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19993         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19994         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19995         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19996         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19997         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19998         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19999         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20000         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20001         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20002         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20003         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20004         (R_AARCH64_TLSDESC_LDR): Likewise.
20005         (R_AARCH64_TLSDESC_ADD): Likewise.
20006         (R_AARCH64_TLSDESC_CALL): Likewise.
20008 2013-09-30  Andreas Schwab  <schwab@suse.de>
20010         [BZ #15048]
20011         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20012         the nss database lookup.
20013         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20016 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20018         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20020 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20022         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20023         ${Bash-specific parameter/pattern/string} parameter expansion.
20024         * sysdeps/unix/make-syscalls.sh: Likewise.
20026 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20028         * sysdeps/sh/stackguard-macros.h: New file.
20030 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20034         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20035         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20036         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20037         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20039 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20041         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20042         Fix thread ID register.
20044 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20046         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20047         [POSIX || UNIX98]: Require rather than permitting all symbols from
20048         <time.h>.
20049         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20050         element of struct sched_param.
20051         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20052         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20053         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20054         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20055         constant.
20057 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20059         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20060         argument calculation.
20062 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20064         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20065         Expect macro.
20066         [POSIX] (pthread_attr_t): Do not require type.
20067         [POSIX] (pthread_cond_t): Likewise.
20068         [POSIX] (pthread_condattr_t): Likewise.
20069         [POSIX] (pthread_key_t): Likewise.
20070         [POSIX] (pthread_mutex_t): Likewise.
20071         [POSIX] (pthread_mutexattr_t): Likewise.
20072         [POSIX] (pthread_once_t): Likewise.
20073         [POSIX] (pthread_t): Likewise.
20074         [POSIX-based standards] (pthread_atfork): Expect function.
20076 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20077             Richard Sandiford  <richard@codesourcery.com>
20079         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20080         (swap_endianness_p): New extern variable.
20081         (set_big_endian): New inline function.
20082         (maybe_swap_uint32): Likewise.
20083         (maybe_swap_uint32_array): Likewise.
20084         (maybe_swap_uint32_obstack): Likewise.
20085         * locale/programs/locfile.c: Include <stdbool.h>.
20086         (swap_endianness_p): New variable.
20087         (add_locale_uint32): Call maybe_swap_uint32.
20088         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20089         (write_locale_data): Call maybe_swap_uint32_array.
20090         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20091         maybe_swap_uint32.
20092         (obstack_int32_grow_fast): Likewise.
20093         (output_weightwc): Call maybe_swap_uint32_obstack.
20094         (collate_output): Likewise.
20095         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20096         (OPT_LITTLE_ENDIAN): Likewise.
20097         (options): Add --little-endian and --big-endian options.
20098         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20099         * locale/programs/locarchive.c: Include "locfile.h".
20100         (GET): New macro.
20101         (SET): Likewise.
20102         (INC): Likewise.
20103         (create_archive): Use the new macros to access fields of
20104         structures directly mapped from or written to locale archives.
20105         (oldlocrecentcmp): Likewise.
20106         (enlarge_archive): Likewise.
20107         (insert_name): Likewise.
20108         (add_alias): Likewise.
20109         (add_locale): Likewise.
20110         (delete_locales_from_archive): Likewise.
20111         (show_archive_content): Likewise.
20112         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20113         locale data.
20115 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20117         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20118         http://www.gnu.org/doc/freemanuals.texi.
20119         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20121 2013-09-24  Will Newton  <will.newton@linaro.org>
20123         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20124         macro.
20126 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20128         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20129         unsigned char.
20131 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20133         * manual/threads.texi (POSIX Threads): Fix a typo.
20135 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20137         [BZ #14547]
20138         * string/tst-strcoll-overflow.c: New test case.
20139         * string/Makefile (xtests): Add tst-strcoll-overflow.
20140         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20141         cache if string sizes may cause integer overflow.
20143         [BZ #14547]
20144         * string/strcoll_l.c (coll_seq): New members rule, idx,
20145         save_idx and back_us.
20146         (get_next_seq_nocache): New function.
20147         (do_compare_nocache): New function.
20148         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20149         when malloc fails.
20151 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20153         [BZ #15754]
20154         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20155         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20156         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20158         [BZ #15754]
20159         * elf/Makefile (tests): Add tst-ptrguard1.
20160         (tests-static): Add tst-ptrguard1-static.
20161         (tst-ptrguard1-ARGS): Define.
20162         (tst-ptrguard1-static-ARGS): Define.
20163         * elf/tst-ptrguard1.c: New file.
20164         * elf/tst-ptrguard1-static.c: New file.
20165         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20166         * sysdeps/i386/stackguard-macros.h: Likewise.
20167         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20168         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20169         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20170         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20171         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20172         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20174 2013-09-23  Hector Marco  <hecmargi@upv.es>
20175             Ismael Ripoll  <iripoll@disca.upv.es>
20176             Carlos O'Donell  <carlos@redhat.com>
20178         [BZ #15754]
20179         * sysdeps/generic/stackguard-macros.h: Define
20180         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20181         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20182         Define __pointer_chk_guard_local.
20183         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20184         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20186 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20188         [BZ #15859]
20189         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20191 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20193         * include/string.h (__ffs): Declare as hidden.
20194         * string/ffs.c (__ffs): Define as hidden.
20195         * sysdeps/i386/ffs.c (__ffs): Likewise.
20196         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20197         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20198         * sysdeps/s390/ffs.c (__ffs): Likewise.
20199         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20201 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20203         * NEWS: Mention malloc probes.
20205         * malloc/arena.c (new_heap): New memory_heap_new probe.
20206         (grow_heap): New memory_heap_more probe.
20207         (shrink_heap): New memory_heap_less probe.
20208         (heap_trim): New memory_heap_free probe.
20209         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20210         (systrim): New memory_sbrk_less probe.
20211         * manual/probes.texi: Document them.
20213         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20214         * manual/probes.texi: Document it.
20216         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20217         (__libc_realloc): Add memory_realloc_retry probe.
20218         (__libc_memalign): Add memory_memalign_retry probe.
20219         (__libc_valloc): Add memory_valloc_retry probe.
20220         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20221         (__libc_calloc): Add memory_calloc_retry probe.
20222         * manual/probes.texi: Document them.
20224         * malloc/arena.c (get_free_list): Add probe
20225         memory_arena_reuse_free_list.
20226         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20227         and memory_arena_reuse.
20228         (arena_get2) [!PER_THREAD]: Likewise.
20229         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20230         memory_arena_reuse_realloc.
20231         * manual/probes.texi: Document them.
20233         * malloc/malloc.c (__libc_free): Add
20234         memory_mallopt_free_dyn_thresholds probe.
20235         (__libc_mallopt): Add multiple memory_mallopt probes.
20236         * manual/probes.texi: Document them.
20238         * malloc/malloc.c: Include stap-probe.h.
20239         (__libc_mallopt): Add memory_mallopt probe.
20240         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20241         * manual/probes.texi: New.
20242         * manual/Makefile (chapters): Add probes.
20243         * manual/threads.texi: Set next node.
20245 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20247         [BZ #15963, #13985]
20248         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20249         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20250         Add `Chinese' to `nan' entry name.
20252 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20254         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20255         (POLYNOMIAL): Likewise.
20256         (TAYLOR_SINCOS): Likewise.
20257         (TAYLOR_SLOW): Likewise.
20258         (__sin): Use TAYLOR_SINCOS.
20259         (__cos): Likewise.
20260         (slow): Use TAYLOR_SLOW.
20261         (sloww): Likewise.
20262         (bsloww): Likewise.
20263         (csloww): Likewise.
20265 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20267         * stdlib/strtod_l.c: Fix buffer overrun.
20269 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20271         * benchtests/Makefile (bench): Add sincos.
20272         * benchtests/bench-sincos.c: New file.
20274         * math/libm-test.inc (cos_test_data): New test inputs.
20275         (sin_test_data): Likewise.
20277         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20278         macro.
20279         (__sin): Use it.
20280         (__cos): Likewise.
20281         (slow1): Likewise.
20282         (slow2): Likewise.
20283         (sloww1): Likewise.
20284         (sloww2): Likewise.
20285         (bsloww1): Likewise.
20286         (bsloww2): Likewise.
20287         (cslow2): Likewise.
20288         (csloww1): Likewise.
20289         (csloww2): Likewise.
20291         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20292         function.
20293         (__sin): Use it.
20294         (__cos): Likewise.
20296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20297         gotos.
20298         (__cos): Likewise.
20300 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20302         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20303         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20304         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20305         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20306         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20307         * elf/cache.c (print_entry): Handle the new cache flags.
20309 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20310             Aldy Hernandez  <aldyh@redhat.com>
20312         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20313         Change condition to [_SOFT_FLOAT].
20314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20326         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20329         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20330         declaration.
20332 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20334         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20335         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20336         (__longjmp): Use LOAD_GP to load saved GPRs.
20337         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20338         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20339         (__sigsetjmp): Use SAVE_GP to save GPRs.
20341         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20342         Do not append -msoft-float.
20343         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20345 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20347         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20349 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20351         [BZ #15966]
20352         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20353         (_FPU_GETCW): Use initial "__" on variable and field names but not
20354         on macro parameter name.
20355         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20356         parentheses around reference to macro parameter.
20358 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20360         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20361         prototype.
20362         (ctype_startup): Use uint32_t in cast and sizeof for
20363         ctype->charnames.
20365 2013-09-11  Jia Liu  <proljc@gmail.com>
20367         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20368         __daddr_t_defined.
20369         [__FreeBSD__]: Likewise.
20371 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20374         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20375         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20376         (strchr): Remove __strchr_sse42 ifunc selection.
20377         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20378         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20380 2013-09-11  Will Newton  <will.newton@linaro.org>
20382         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20383         parameter to RES. Remove hardcoded 1000 value.
20384         * benchtests/bench-skeleton.c (main): Pass RES parameter
20385         to TIMING_INIT and multiply result by 1000.
20387 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20391 2013-09-11  Andreas Schwab  <schwab@suse.de>
20393         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20394         if not defined.
20395         (O_TMPFILE) [__USE_GNU]: Define.
20396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20397         Define.
20399 2013-09-11  Will Newton  <will.newton@linaro.org>
20401         [BZ #15857]
20402         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20403         does not overflow.
20405 2013-09-11  Will Newton  <will.newton@linaro.org>
20407         [BZ #15856]
20408         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20409         does not overflow.
20411 2013-09-11  Will Newton  <will.newton@linaro.org>
20413         [BZ #15855]
20414         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20415         does not overflow.
20417 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20419         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20420         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20422         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20423         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20425 2013-09-10  Allan McRae  <allan@archlinux.org>
20427         [BZ #15748]
20428         * manual/arith.texi (Parsing of Floats): Clarify
20429         cross-reference.
20431         [BZ #15849]
20432         * manual/install.texi (Running make install): Mention
20433         --enable-pt-chown.
20434         * INSTALL: Regenerated.
20436 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20438         * csu/init-first.c (_init): Remove the !SHARED condition around
20439         FPU control word initialization.
20440         * elf/dl-support.c (_dl_fpu_control): New variable.
20441         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20442         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20443         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20444         * math/test-fpucw-static.c: New file.
20445         * math/test-fpucw-ieee.c: New file.
20446         * math/test-fpucw-ieee-static.c: New file.
20447         * math/Makefile (tests): Add `test-fpucw-ieee' and
20448         `$(tests-static)'.
20449         (tests-static): New variable.
20450         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20451         dependency to...
20452         [($(build-shared),yes)]
20453         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20454         ... this.
20455         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20456         New dependency.
20458 2013-09-09  Allan McRae  <allan@archlinux.org>
20460         [BZ #15939]
20461         * manual/string.texi (Collation Functions): Fix typo in
20462         strcoll example.
20463         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20465         [BZ #15893]
20466         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20468         [BZ #15892]
20469         * libio/memstream.c (open_memstream): Fix memory leak.
20470         * libio/wmemstream.c (open_wmemstream): Likewise.
20472         [BZ #15895]
20473         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20475 2013-09-09  Will Newton  <will.newton@linaro.org>
20477         * malloc/Makefile: Add tst-realloc to tests.
20478         * malloc/tst-realloc.c: New file.
20480 2013-09-09  Allan McRae  <allan@archlinux.org>
20482         [BZ #15844]
20483         * COPYING: Update from GNU website to fix FSF address.
20484         * COPYING.LIB: Likewise.
20486 2013-09-06  David S. Miller  <davem@davemloft.net>
20488         * po/zh_TW.po: Update Chinese (traditional) translation from
20489         translation project.
20491 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20492             Joseph Myers  <joseph@codesourcery.com>
20494         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20495         "localeinfo.h".
20496         (obstack_chunk_alloc): New macro.
20497         (obstack_chunk_free): Likewise.
20498         (record_offset): New function.
20499         (init_locale_data): Likewise.
20500         (align_locale_data): Likewise.
20501         (add_locale_empty): Likewise.
20502         (add_locale_raw_data): Likewise.
20503         (add_locale_raw_obstack): Likewise.
20504         (add_locale_string): Likewise.
20505         (add_locale_wstring): Likewise.
20506         (add_locale_uint32): Likewise.
20507         (add_locale_uint32_array): Likewise.
20508         (add_locale_char): Likewise.
20509         (start_locale_structure): Likewise.
20510         (end_locale_structure): Likewise.
20511         (start_locale_prelude): Likewise.
20512         (end_locale_prelude): Likewise.
20513         (write_locale_data): Take locale_file structure rather than an
20514         iovec.
20515         * locale/programs/locfile.h: Include "obstack.h".
20516         (struct locale_file): Change to store locale file contents instead
20517         of header.
20518         (init_locale_data): New prototype.
20519         (align_locale_data): Likewise.
20520         (add_locale_empty): Likewise.
20521         (add_locale_raw_data): Likewise.
20522         (add_locale_raw_obstack): Likewise.
20523         (add_locale_string): Likewise.
20524         (add_locale_wstring): Likewise.
20525         (add_locale_uint32): Likewise.
20526         (add_locale_uint32_array): Likewise.
20527         (add_locale_char): Likewise.
20528         (start_locale_structure): Likewise.
20529         (end_locale_structure): Likewise.
20530         (start_locale_prelude): Likewise.
20531         (end_locale_prelude): Likewise.
20532         (write_locale_data): Update prototype.
20533         * locale/programs/3level.h (struct TABLE): Remove result field.
20534         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20535         Use new locale_file interface.
20536         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20537         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20538         * locale/programs/ld-address.c (address_output): Use new
20539         locale_file interface.
20540         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20541         NO_ADD_LOCALE.
20542         (collate_finish): Don't call collseq_table_finalize.
20543         (collate_output): Use new locale_file interface.
20544         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20545         in file.
20546         (NO_FINALIZE): Change to NO_ADD_LOCALE.
20547         (TABLE): Move defines earlier in file.
20548         (ELEMENT): Likewise.
20549         (DEFAULT): Likewise.
20550         (wctrans_table_add): Move macro and inline function earlier in
20551         file.
20552         (struct wctype_table): Move type earlier in file.
20553         (add_locale_wctype_table): New static prototype.
20554         (struct locale_ctype_t): Use logical types instead of struct iovec
20555         pointers for members.
20556         (ctype_output): Use new locale_file interface.
20557         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
20558         new locale_file interface.
20559         (allocate_arrays): Update for use of new locale_file interface.
20560         * locale/programs/ld-identification.c (identification_output): Use
20561         new locale_file interface.
20562         * locale/programs/ld-measurement.c (measurement_output): Likewise.
20563         * locale/programs/ld-messages.c (messages_output): Likewise.
20564         * locale/programs/ld-monetary.c (monetary_output): Likewise.
20565         * locale/programs/ld-name.c (name_output): Likewise.
20566         * locale/programs/ld-numeric.c (numeric_output): Likewise.
20567         * locale/programs/ld-paper.c (paper_output): Likewise.
20568         * locale/programs/ld-telephone.c (telephone_output): Likewise.
20569         * locale/programs/ld-time.c (time_output): Likewise.
20571 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20573         * benchtests/Makefile: Add memrchr benchmark.
20574         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20575         benchmark as memrchr.
20576         * benchtests/bench-memrchr-ifunc.c: New file.
20577         * benchtests/bench-memrchr.c: New file.
20579 2013-09-06   Will Newton  <will.newton@linaro.org>
20581         * benchtests/Makefile (string-bench): Add memcpy.
20583 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
20584             Cong Wang  <amwang@redhat.com>
20586         [BZ #15850]
20587         * sysdeps/unix/sysv/linux/bits/in.h
20588         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20589         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20590         before __USE_KERNEL_IPV6_DEFS uses.
20591         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20592         IPPROTO_BEETPH.
20593         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20594         sockaddr_in6, or ipv6_mreq.
20596 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20598         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20599         memory access for final bytes in some large inputs.
20600         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20602 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20604         * string/test-memrchr.c: New file.
20605         * string/test-memrchr-ifunc.c: New file.
20606         * string/Makefile: Add new memrchr testcase.
20608 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20610         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20611         fanotify_init returns EPERM.
20613 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20615         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20616         errors.
20617         (top level): Treat second token from macro or constant entries for
20618         allowed headers as allowed.
20619         * include/complex.h: Condition internal declarations on
20620         [!_ISOMAC].
20621         * include/fenv.h: Condition include of <stdbool.h> and internal
20622         declarations on [!_ISOMAC].
20624 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20626         [BZ #15923]
20627         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20629 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20631         * configure.in (--enable-versioning): Remove configure option.
20632         (libc_cv_asm_symver_directive): Remove configure test.
20633         (libc_cv_ld_version_script_option): Likewise.
20634         (VERSIONING): Remove variable and AC_SUBST.
20635         (DO_VERSIONING): Remove AC_DEFINE.
20636         * configure: Regenerated.
20637         * config.h.in (DO_VERSIONING): Remove macro.
20638         * Makerules [$(versioning) = yes]: Change conditionals to
20639         [$(build-shared) = yes].
20640         * config.make.in (versioning): Remove variable.
20641         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20642         [$(build-shared) = yes].
20643         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20644         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20645         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20646         [$(build-shared) = yes].
20647         * extra-lib.mk [$(versioning) = yes]: Likewise.
20648         * hurd/Makefile [$(versioning) = yes]: Likewise.
20649         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20650         [SHARED].
20651         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20652         [SHARED].
20653         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20654         [SHARED && !NO_HIDDEN].
20655         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20656         [SHARED].
20657         [SHARED && DO_VERSIONING]: Likewise..
20658         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20659         [$(build-shared) = yes].
20660         * manual/install.texi (--disable-versioning): Remove
20661         documentation.
20662         * INSTALL: Regenerated.
20663         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20664         to [SHARED].
20665         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20666         [$(build-shared) = yes].
20667         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20668         * sysdeps/i386/i686/multiarch/strstr-c.c
20669         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20670         [SHARED && !NO_HIDDEN].
20671         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20672         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20673         * sysdeps/powerpc/powerpc32/dl-machine.c
20674         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20675         * sysdeps/powerpc/powerpc32/sysdep.h
20676         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20677         to [SHARED && PIC && !NO_HIDDEN].
20678         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20679         conditional to [SHARED].
20681 2013-09-04   Will Newton  <will.newton@linaro.org>
20683         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20684         * benchtests/bench-string.h: Include bench-timing.h instead
20685         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20686         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20687         call to HP_TIMING_DIFF_INIT.
20688         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20689         instead of hp-timing.h macros.
20690         * benchtests/bench-memchr.c: Likewise.
20691         * benchtests/bench-memcmp.c: Likewise.
20692         * benchtests/bench-memcpy.c: Likewise.
20693         * benchtests/bench-memmem.c: Likewise.
20694         * benchtests/bench-memmove.c: Likewise.
20695         * benchtests/bench-memset.c: Likewise.
20696         * benchtests/bench-rawmemchr.c: Likewise.
20697         * benchtests/bench-strcasecmp.c: Likewise.
20698         * benchtests/bench-strcasestr.c: Likewise.
20699         * benchtests/bench-strcat.c: Likewise.
20700         * benchtests/bench-strchr.c: Likewise.
20701         * benchtests/bench-strcmp.c: Likewise.
20702         * benchtests/bench-strcpy.c: Likewise.
20703         * benchtests/bench-strcpy_chk.c: Likewise.
20704         * benchtests/bench-strlen.c: Likewise.
20705         * benchtests/bench-strncasecmp.c: Likewise.
20706         * benchtests/bench-strncat.c: Likewise.
20707         * benchtests/bench-strncmp.c: Likewise.
20708         * benchtests/bench-strncpy.c: Likewise.
20709         * benchtests/bench-strnlen.c: Likewise.
20710         * benchtests/bench-strpbrk.c: Likewise.
20711         * benchtests/bench-strrchr.c: Likewise.
20712         * benchtests/bench-strspn.c: Likewise.
20713         * benchtests/bench-strstr.c: Likewise.
20715 2013-09-04  Will Newton  <will.newton@linaro.org>
20717         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20719 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20721         [BZ #15427]
20722         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20723         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20724         * math/libm-test.inc (lgamma_test_data): Add more tests.
20725         * sysdeps/i386/fpu/libm-test-ulps: Update.
20726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20728 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20730         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20732         Add ifunc.
20733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20734         Add strcmp-sse2-unaligned
20735         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20737 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20739         * Versions.def (libc): Add GLIBC_2.19.
20741 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20743         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20744         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20746 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20748         [BZ #14155]
20749         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20750         intermediate calculations in recurrence.
20751         (__ieee754_ynf): Likewise.
20752         * math/libm-test.inc (jn_test_data): Do not allow spurious
20753         underflow exception.  Add more tests.
20754         (yn_test_data): Add more tests.
20755         * sysdeps/i386/fpu/libm-test-ulps: Update.
20756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20758 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20760         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20762 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20764         * csu/init-first.c: Fix then/than typos.
20765         * locale/programs/ld-collate.c: Likewise.
20766         * locale/programs/linereader.h: Likewise.
20767         * manual/charset.texi: Likewise.
20768         * manual/filesys.texi: Likewise.
20769         * manual/stdio.texi: Likewise.
20770         * manual/string.texi: Likewise.
20771         * stdlib/fmtmsg.c: Likewise.
20772         * sysdeps/i386/stpncpy.S: Likewise.
20773         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20774         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20775         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20776         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20778 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20780         * elf/dl-open.c: Fix typos.
20781         * iconvdata/gbbig5.c: Likewise.
20782         * iconvdata/iso-2022-jp.c: Likewise.
20783         * iconv/gconv_int.h: Likewise.
20784         * iconv/loop.c: Likewise.
20785         * nis/rpcsvc/nis.h: Likewise.
20786         * resolv/ns_name.c: Likewise.
20787         * stdio-common/vfscanf.c: Likewise.
20788         * streams/stropts.h: Likewise.
20789         * sunrpc/rpc_thread.c: Likewise.
20790         * sysdeps/i386/strpbrk.S: Likewise.
20791         * sysdeps/ieee754/k_standard.c: Likewise.
20792         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20793         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20794         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20795         * sysdeps/mach/hurd/profil.c: Likewise.
20796         * sysdeps/s390/dl-procinfo.h: Likewise.
20797         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20798         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20799         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20800         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20801         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20803 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20805         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20808 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20810         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20811         aix specific files.
20812         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20813         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20814         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20815         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20816         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20817         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20818         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20819         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20821 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20822             Roland McGrath  <roland@hack.frob.com>
20824         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20825         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20827 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20829         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20830         __executable_start symbol instead of _start.
20832 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20834         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20835         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20836         Move macros to...
20837         * sysdeps/gnu/ldsodefs.h: ... this new file.
20839         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20840         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20841         instead of ELFOSABI_LINUX.
20843         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20844         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20845         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20846         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20847         Likewise.
20848         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20849         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20850         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20851         Likewise.
20852         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20853         (ibm_extended_long_double): Add ieee_nan member.
20854         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20855         (do_test): New function.
20857         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20858         TEST_TRUNC.
20859         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20860         functions, renamed from truncdfsf_test, trunctfsf_test,
20861         trunctfdf_test.
20862         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20863         functions.
20864         (do_test): Run all these.
20866 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20868         * argp/argp-help.c: Fix typos.
20869         * argp/argp-parse.c: Likewise.
20870         * debug/backtracesyms.c: Likewise.
20871         * elf/elf.h: Likewise.
20872         * malloc/malloc.c: Likewise.
20873         * nis/nis_print.c: Likewise.
20874         * resolv/res_comp.c: Likewise.
20875         * stdlib/stdlib.h: Likewise.
20876         * sunrpc/clnt_tcp.c: Likewise.
20877         * sunrpc/clnt_udp.c: Likewise.
20878         * sunrpc/clnt_unix.c: Likewise.
20879         * sysdeps/unix/bsd/ptsname.c: Likewise.
20880         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20881         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20883         Likewise.
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20885         Likewise.
20886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20887         Likewise.
20888         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20890 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20892         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20895 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20897         [BZ #15897]
20898         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20899         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20900         ($(objpfx)bug-dl-leaf): New rule.
20901         ($(objpfx)bug-dl-leaf.so): Likewise.
20902         ($(objpfx)bug-dl-leaf.out): Likewise.
20903         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20904         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20905         * dlfcn/bug-dl-leaf.c: New test.
20906         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20907         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20908         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20909         (dlclose): Likewise.
20910         (dlmopen): Likewise.
20912 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20914         * include/netdb.h [!_ISOMAC]:
20915         Don't include <tls.h>.
20916         (h_errno, __libc_h_errno): Move declaration and macros out of
20917         [_LIBC_REENTRANT].
20919         * include/resolv.h [_RESOLV_H_]:
20920         Don't include <tls.h>.
20921         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20922         * resolv/res_libc.c: Don't include <tls.h>.
20923         (_res): Use __attribute__ ((nocommon)) in place of
20924         __attribute__ ((section (".bss"))).
20926         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20927         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20929         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20931         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20932         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20934         * resolv/res_mkquery.c: Include <sys/time.h>.
20936         * inet/ifreq.c: Moved to ...
20937         * sysdeps/unix/ifreq.c: ... here.
20938         * inet/ifreq.c: New file, true stub version.
20940         * socket/sa_len.c: New file.
20941         * socket/Makefile (aux): Add it.
20942         * sysdeps/unix/sysv/linux/Makefile
20943         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20944         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20945         and #include <socket/sa_len.c>.
20946         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20947         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20949         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20950         * bits/socket.h: ... here.
20952         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20953         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20954         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20956 2013-08-27  Andreas Schwab  <schwab@suse.de>
20958         [BZ #15736]
20959         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20960         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20961         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20962         * string/test-strcasecmp.c (test_main): Run tests in several
20963         locales.
20964         * string/test-strncasecmp.c (test_main): Likewise.
20966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20967         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20968         to __strcasecmp_nonascii and __strncasecmp_nonascii.
20969         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20970         (__strncasecmp_ssse3) [PIC]: Likewise.
20972 2013-08-26  Roland McGrath  <roland@hack.frob.com>
20974         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20976         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20977         instead of explicitly declaring xdecrypt.
20978         * nis/nss_nis/nis-publickey.c: Likewise.
20980 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20982         [BZ #15890]
20983         * nscd/aicache.c: Include res_hconf.h.
20984         (addhstaiX): Initialize res_hconf.
20986 2013-08-26  Andreas Schwab  <schwab@suse.de>
20988         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20989         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20991 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20993         * nscd/aicache.c (addhstaiX): Fix indentation.
20995 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
20997         * configure.ac: Quote $build_pt_chown test.
20998         * configure: Regenerated.
21000 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21002         [BZ #15532]
21003         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21004         * math/s_cexpf.c (__cexpf): Likewise.
21005         * math/s_cexpl.c (__cexpl): Likewise.
21006         * math/libm-test.inc (cexp_test_data): Correct expected return
21007         value for NaN + i0.  Add another test.
21009 2013-08-22  David S. Miller  <davem@davemloft.net>
21011         * po/ca.po: Update Catalan translation from translation project.
21012         * po/uk.po: Add Ukrainian translations from translation project.
21014 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21016         [BZ #15797]
21017         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21018         is infinite, not alongside NaN test.
21019         * math/s_fdimf.c (__fdimf): Likewise.
21020         * math/s_fdiml.c (__fdiml): Likewise.
21021         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21022         errno is unchanged.
21024 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21026         * argp/argp-help.c: Fix typos.
21027         * crypt/speeds.c: Likewise.
21028         * csu/check_fds.c: Likewise.
21029         * elf/dl-load.c: Likewise.
21030         * elf/dl-open.c: Likewise.
21031         * elf/reldep3.c: Likewise.
21032         * elf/reldep.c: Likewise.
21033         * elf/sprof.c: Likewise.
21034         * iconv/iconv_charmap.c: Likewise.
21035         * iconv/skeleton.c: Likewise.
21036         * iconv/strtab.c: Likewise.
21037         * io/lockf64.c: Likewise.
21038         * libio/libioP.h: Likewise.
21039         * resolv/gai_notify.c: Likewise.
21040         * resolv/ns_name.c: Likewise.
21041         * resolv/ns_samedomain.c: Likewise.
21042         * resolv/res_send.c: Likewise.
21043         * stdlib/random.c: Likewise.
21044         * sunrpc/rpc/xdr.h: Likewise.
21045         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21046         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21047         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21048         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21049         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21050         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21051         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21052         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21053         * sysdeps/mach/hurd/check_fds.c: Likewise.
21054         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21055         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21056         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21057         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21058         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21059         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21060         * sysdeps/pthread/aio_notify.c: Likewise.
21061         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21062         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21063         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21064         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21065         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21067 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21069         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21070         version if bit_Slow_SSE4_2 is set.
21071         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21072         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21074 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21076         [BZ #15867]
21077         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21078         trampoline stack frame information.
21079         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21081         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21082         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21083         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21084         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21085         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21086         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21087         sa_flags value.
21088         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21089         interrupting a syscall and set with option SA_SIGINFO.
21091 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #15531]
21094         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21095         argument is infinite.
21096         * math/s_cprojf.c (__cprojf): Likewise.
21097         * math/s_cprojl.c (__cprojl): Likewise.
21098         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21099         * math/libm-test.inc (cproj_test_data): Add more tests.
21101         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21103         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21104         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21105         size.  Use __ffs to determine corresponding shift.
21107 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21108             Roland McGrath  <roland@hack.frob.com>
21110         * Makefile (INSTALL): Remove trailing blank lines from output of
21111         makeinfo.
21113 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21115         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21116         Align 32 bit compat elf_greg to 8 bytes.
21118 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21120         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21122 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21124         * string/strcoll_l.c (coll_seq): New structure.
21125         (get_next_seq_cached): New function.
21126         (get_next_seq): New function.
21127         (do_compare): New function.
21128         (STRCOLL): Use GNU style definition.  Simplify implementation
21129         by using get_next_seq, get_next_seq_cached and do_compare.
21131 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21133         [BZ #14699]
21134         CVE-2013-4237
21135         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21136         member.
21137         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21138         member.
21139         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21140         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21141         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21142         conditional.
21143         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21144         GETDENTS_64BIT_ALIGNED.
21145         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21146         * manual/filesys.texi (Reading/Closing Directory): Document
21147         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21148         strongly.
21149         * manual/conf.texi (Limits for Files): Add portability note to
21150         NAME_MAX, PATH_MAX.
21151         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21153 2013-08-13  Andreas Schwab  <schwab@suse.de>
21155         [BZ #15749]
21156         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21157         of fabs.
21158         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21159         LDBL_MAX_EXP >= 16384]: Add tests for it.
21161 2013-08-12  David S. Miller  <davem@davemloft.net>
21163         * version.h (RELEASE): Set to "development".
21164         (VERSION): Set to "2.18.90".
21165         * NEWS: Add 2.19 section.
21167 2013-08-03  David S. Miller  <davem@davemloft.net>
21169         * po/ko.po: Update Korean translation from translation project.
21171 2013-08-01  David S. Miller  <davem@davemloft.net>
21173         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21174         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21175         Bilka.
21177 2013-07-30  David S. Miller  <davem@davemloft.net>
21179         * po/fr.po: Update French translation from translation project.
21181 2013-07-28  David S. Miller  <davem@davemloft.net>
21183         * po/cs.po: Update Czech translation from translation project.
21185         * po/sv.po: Update Swedish translation from translation project.
21187 2013-07-27  David S. Miller  <davem@davemloft.net>
21189         * po/eo.po: Update Esperanto translation from translation project.
21191         * po/vi.po: Update Vietnamese translation from translation project.
21193         * po/de.po: Update German translation from translation project.
21195 2013-07-26  David S. Miller  <davem@davemloft.net>
21197         * po/bg.po: Update Bulgarian translation from translation project.
21199         * po/nl.po: Update Dutch translation from translation project.
21200         * po/pl.po: Update Polish translation from translation project.
21201         * po/ru.po: Update Russian translation from translation project.
21203 2013-07-24  David S. Miller  <davem@davemloft.net>
21205         * po/libc.pot: Update.
21207 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21209         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21210         variable page size.
21211         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21212         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21213         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21215 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21217         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21219 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21220             Andreas Schwab  <schwab@suse.de>
21221             Roland McGrath  <roland@hack.frob.com>
21222             Joseph Myers  <joseph@codesourcery.com>
21223             Carlos O'Donell  <carlos@redhat.com>
21225         [BZ #15755]
21226         * config.h.in: Define HAVE_PT_CHOWN.
21227         * config.make.in (build-pt-chown): New variable.
21228         * configure.in (--enable-pt_chown): New configure option.
21229         * configure: Regenerate.
21230         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21231         build-pt-chown is enabled.
21232         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21233         pt_chown to fix pty ownership.
21234         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21235         CLOSE_ALL_FDS.
21236         * manual/install.texi (Configuring and compiling): Mention
21237         --enable-pt_chown. Add @findex for grantpt.
21238         * INSTALL: Regenerate.
21240 2013-07-20  David S. Miller  <davem@davemloft.net>
21242         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21243         difference between 32-bit and 64-bit.
21245 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21247         [BZ #15711]
21248         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21249         Avoid system header dependency with -ffreestanding.
21250         ($(objpfx)bits/syscall%d): Likewise.
21252 2013-07-13  David S. Miller  <davem@davemloft.net>
21254         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21255         underflows from atanl/atan2l due to bug 15319.
21256         (casinh_test_data): Likewise.
21258 2013-07-07  David S. Miller  <davem@davemloft.net>
21260         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21262 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21264         * sysdeps/i386/fpu/libm-test-ulps: Update.
21265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21267 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21269         * configure.in (--enable-lock-elision): Fix message text.
21270         * INSTALL: Regenerate.
21271         * configure: Regenerate.
21273 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21277 2013-07-03  Andreas Jaeger  <aj@suse.de>
21279         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21280         define.
21281         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21282         (ptrace_peeksiginfo_args): Add.
21283         (__ptrace_peeksiginfo_flags): Add.
21284         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21285         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21286         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21288 2013-07-03  Allan McRae  <allan@archlinux.org>
21290         * sysdeps/i386/fpu/libm-test-ulps: Update.
21292 2013-07-02  David S. Miller  <davem@davemloft.net>
21294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21296 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21300 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21302         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21305 2013-07-02  Andi Kleen <ak@linux.intel.com>
21307         * config.h.in (ENABLE_LOCK_ELISION): Add.
21308         * configure.in (--enable-lock-elision): Add option.
21309         * manual/install.texi: Document --enable lock elision.
21310         * configure: Regenerate
21311         * INSTALL: Regenerate.
21313 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21315         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21316         SSE4.2 strcasecmp for libc.a.
21317         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21319 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21321         [BZ #13304]
21322         * soft-fp/op-common.h (_FP_FMA): New macro.
21323         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21324         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21325         (_FP_MUL_MEAT_1_imm): ... here.
21326         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21327         (_FP_MUL_MEAT_1_wide): ... here.
21328         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21329         (_FP_MUL_MEAT_1_hard): ... here.
21330         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21331         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21332         (_FP_MUL_MEAT_2_wide): ... here.
21333         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21334         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21335         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21336         (_FP_MUL_MEAT_2_gmp): ... here.
21337         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21338         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21339         (_FP_MUL_MEAT_4_wide): ... here.
21340         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21341         (_FP_MUL_MEAT_4_gmp): ... here.
21342         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21343         (_FP_WFRACBITS_DW_S): Likewise.
21344         (_FP_WFRACXBITS_DW_S): Likewise.
21345         (_FP_HIGHBIT_DW_S): Likewise.
21346         (FP_FMA_S): Likewise.
21347         (_FP_FRAC_HIGH_DW_S): Likewise.
21348         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21349         (_FP_WFRACBITS_DW_D): Likewise.
21350         (_FP_WFRACXBITS_DW_D): Likewise.
21351         (_FP_HIGHBIT_DW_D): Likewise.
21352         (FP_FMA_D): Likewise.
21353         (_FP_FRAC_HIGH_DW_D): Likewise.
21354         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21355         (_FP_WFRACBITS_DW_E): Likewise.
21356         (_FP_WFRACXBITS_DW_E): Likewise.
21357         (_FP_HIGHBIT_DW_E): Likewise.
21358         (FP_FMA_E): Likewise.
21359         (_FP_FRAC_HIGH_DW_E): Likewise.
21360         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21361         (_FP_WFRACBITS_DW_Q): Likewise.
21362         (_FP_WFRACXBITS_DW_Q): Likewise.
21363         (_FP_HIGHBIT_DW_Q): Likewise.
21364         (FP_FMA_Q): Likewise.
21365         (_FP_FRAC_HIGH_DW_Q): Likewise.
21366         * soft-fp/fmasf4.c: New file.
21367         * soft-fp/fmadf4.c: Likewise.
21368         * soft-fp/fmatf4.c: Likewise.
21370 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21373         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21374         Silvermont.
21375         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21376         macro.
21377         (index_Slow_SSE4_2): Likewise.
21378         (index_Prefer_PMINUB_for_stringop): Likewise.
21379         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21380         bit_Slow_SSE4_2 is set.
21381         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21382         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21384 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21386         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21387         rtld_global._dl_hwcap2.
21388         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21389         POWER8.
21390         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21391         POWER8 feature descriptions defined in _dl_hwcap2.
21392         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21393         string handling for POWER8 feature bits.
21394         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21395         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21396         _dl_powerpc_cap_flags.
21397         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21398         * sysdeps/powerpc/rtld-global-offsets.sym
21399         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21400         _dl_hwcap2 in the rtld_global_ro structure.
21402 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21404         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21405         hardware capabilities in support of AT_HWCAP2.
21406         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21407         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21408         GLRO(dl_hwcap2).
21409         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21410         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21411         explicitly the unknown a_type display mechanism is used.
21412         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21413         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21414         struct member.
21415         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21416         to macro prototype for AT_HWCAP2 support.
21417         * sysdeps/i386/dl-procinfo.h: Likewise.
21418         * sysdeps/s390/dl-procinfo.h: Likewise.
21419         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21420         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21421         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21422         return -1 for unknown a_type display fallback.
21423         * sysdeps/sparc/dl-procinfo.h: Likewise.
21424         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21425         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21427 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21429         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21430         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21432 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21434         [BZ #12492]
21435         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21436         mprotect making __stack_prot writable.
21438 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21439             Joseph Myers  <joseph@codesourcery.com>
21441         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21442         as being properly aligned.
21444 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21446         * dlfcn/modstatic5.c: New file.
21447         * dlfcn/tststatic5.c: New file.
21448         * dlfcn/Makefile (tests): Add tststatic5.
21449         (tests-static): Likewise.
21450         (modules-names): Add modstatic5.
21451         (tststatic5-ENV): New variable.
21452         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21454         [BZ #15022]
21455         * elf/dl-support.c (_dl_main_map): New variable.
21456         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21457         (_dl_nns, _dl_load_adds): Set to 1.
21458         (_dl_initial_searchlist): Refer to _dl_main_map.
21459         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21460         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21461         call to _dl_get_origin.
21462         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21463         around call_map.
21464         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21465         * dlfcn/modstatic3.c: New file.
21466         * dlfcn/tststatic3.c: New file.
21467         * dlfcn/tststatic4.c: New file.
21468         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21469         (tests-static): Likewise.
21470         (modules-names): Add modstatic3.
21471         (tststatic3-ENV, tststatic4-ENV): New variables.
21472         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21473         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21475 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21477         * configure.in (CC): Require GCC version 4.4 or later.
21478         * configure: Regenerated.
21479         * manual/install.texi (Tools for Compilation): Update GCC version
21480         requirement.
21481         * INSTALL: Regenerated.
21483 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21485         [BZ #15674]
21486         * string/test-memcmp.c (check2): New.
21487         (main): Call check2.
21489         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21491 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21493         [BZ #15022]
21494         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21495         over to...
21496         (dl_open_worker) [!SHARED]: ... here.
21498 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21500         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21502 2013-06-25  Richard Henderson  <rth@redhat.com>
21504         * locale/programs/locarchive.c: Include <libc-internal.h>
21506 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21508         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21509         trailing whitespace removed.
21511 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21513         [BZ #10283]
21514         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21515         * locale/programs/locarchive.c: Include libc-mmap.h.
21516         (prepare_address_space): Take two new outputs (the mmap base and len).
21517         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21518         values.
21519         (create_archive): Declare new mmap base and len values for
21520         prepare_address_space, and store the result in ah.
21521         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21522         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21523         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21524         Declare new mmap base and len values for
21525         prepare_address_space, and store the result in new_ah.
21526         (open_archive): Declare new mmap base and len values for
21527         prepare_address_space, and store the result in ah.
21528         (close_archive): If ah->mmap_base is not NULL, use that and
21529         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21530         * sysdeps/generic/libc-mmap.h: New file.
21532 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21534         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21535         (ALIGN_UP): Likewise.
21536         (PTR_ALIGN_DOWN): Likewise.
21537         (PTR_ALIGN_UP): Likewise.
21539 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21541         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21542         entry mapped to PPC_PLATFORM_POWER8.
21543         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21544         POWER8.
21545         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21546         (_dl_string_platform): Add case for exporting platform position for
21547         POWER8.
21548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21549         search path to sysdeps/powerpc/powerpc32/power8 directory.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21551         search path to sysdeps/powerpc/powerpc64/power8 directory.
21552         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21553         power7 directories.
21554         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21555         power7 directories.
21557 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21559         * INSTALL: Regenerate.
21561         * nscd/connections.c (nscd_init): Fix comment.
21563 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
21565         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21567         [BZ #15667]
21568         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21569         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21571 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21573         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21574         DL_DST_REQ_STATIC.
21575         (DL_DST_REQ_STATIC): Remove macro.
21577 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
21579         [BZ #7006]
21580         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21581         with a shift of 0 bits.
21583 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21585         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21586         $(tststatic-ENV).
21588 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21590         [BZ #15655]
21591         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21593 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21595         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21596         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21597         accepts -fno-tree-loop-distribute-patterns.
21598         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21599         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21600         recursive call.
21601         * string/memset.c (memset): Likewise.
21602         * string/test-memmove.c (simple_memmove): Disable loop transformation
21603         to library calls.
21604         * string/test-memset.c (simple_memset): Likewise.
21605         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21606         * benchtests/bench-memset.c (simple_memset): Likewise.
21607         * configure: Regenerated.
21609 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21611         * math/test-misc.c (main): Ignore fesetround failure when failures
21612         of subsequent rounding tests would be ignored.
21614         [BZ #15654]
21615         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21616         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21617         * math/fegetenv.c (__fegetenv): Return 0.
21618         * math/fegetexcept.c (fegetexcept): Return 0.
21619         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21620         FE_TONEAREST.
21621         * math/feholdexcpt.c (feholdexcept): Return 0.
21622         * math/fesetenv.c (__fesetenv): Return 0.
21623         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21624         argument FE_TONEAREST.
21625         * math/feupdateenv.c (__feupdateenv): Return 0.
21626         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21628 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21630         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21631         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21632         ($(objpfx)rtld-%.os rules): Use them.
21634 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21636         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21637         fields.
21639 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21641         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21642         length of target pattern, then descending length of dependency pattern.
21643         * configure.in (AWK): Require gawk 3.1.2 or newer.
21644         * manual/install.texi (Tools for Compilation): Say that we do.
21645         * configure: Regenerated.
21647         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21648         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21649         * scripts/sysd-rules.awk: ... this new script.
21650         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21651         than a glob-style pattern.
21653 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21655         * math/test-misc.c (main): Do not treat incorrectly rounded
21656         conversions as failure unless ROUNDING_TESTS passes.
21658 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #15631]
21661         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21662         restore exception state around main square root computation, then
21663         check for inexactness explicitly.
21665         * math/libm-test.inc (fma_test_data): Add another test.
21667 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21669         * manual/threads.texi (Non-POSIX Extensions): New document
21670         node.  Document pthread_getattr_default_np and
21671         pthread_setattr_default_np.
21673         * Versions.def (libpthread): Add GLIBC_2.18.
21674         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21676         Likewise.
21677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21678         Likewise.
21679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21680         Likewise.
21681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21682         Likewise.
21683         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21684         Likewise.
21685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21686         Likewise.
21687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21688         Likewise.
21689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21690         Likewise.
21691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21692         Likewise.
21694 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21697         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21699 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21700             H.J. Lu  <hjl.tools@gmail.com>
21702         [BZ #15627]
21703         * sysdeps/x86_64/rtld-memset.c: Remove file.
21704         * sysdeps/x86_64/rtld-memset.S: New file.
21706 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21708         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21709         (test_in_one_mode): Take arguments for whether the rounding mode
21710         is supported for each floating-point type.
21711         (do_test): Pass new arguments to test_in_one_mode using
21712         ROUNDING_TESTS.
21714 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21716         * posix/tst-waitid.c (do_test): Distinguish different instances of
21717         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21718         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21719         before entering the kernel for waitpid.
21721 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21723         * NEWS: Fix note on clock function precision.  Text by Roland
21724         McGrath.
21726 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21728         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21729         it into place only when and if the sanity check passes.
21731 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21733         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21734         output for whether conversion result is exact.  Take argument
21735         indicating whether type is IBM long double.
21736         (round_for_all): Change need_exact field to ibm_ld.
21737         * stdlib/tst-strtod-round.c (struct exactness): New type.
21738         (struct test): Change bool ld_ok field to struct exactness exact.
21739         (TEST): Update all definitions for change to field.
21740         (tests): Regenerate array contents.
21741         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21742         field value.  Check for IBM long double here.
21743         (do_test): Update calls to test_in_one_mode.
21745 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21747         [BZ #12515]
21748         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21749         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21751 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21753         [BZ #15605]
21754         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21755         generated by the compiler on loop optimizations.
21756         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21757         general definitions.
21759 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21761         * math/bug-nextafter.c: Include <math-tests.h>.
21762         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21763         the relevant type.
21764         * math/bug-nexttoward.c: Include <math-tests.h>.
21765         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21766         the relevant type.
21767         * math/test-misc.c: Include <math-tests.h>.
21768         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21769         the relevant type.
21771 2013-06-12  Andreas Jaeger  <aj@suse.de>
21773         * po/ia.po: Update Interlingua translation from translation
21774         project.
21776 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21778         * include/fenv.h: Include stdbool.h.
21779         (struct rm_ctx): New structure.
21780         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21781         Define macro.
21782         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21783         (SET_RESTORE_ROUNDF): Likewise.
21784         (SET_RESTORE_ROUNDL): Likewise.
21785         (SET_RESTORE_ROUND_NOEX): Likewise.
21786         (SET_RESTORE_ROUND_NOEXF): Likewise.
21787         (SET_RESTORE_ROUND_NOEXL): Likewise.
21788         (SET_RESTORE_ROUND_53BIT): Likewise.
21789         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21790         (libc_feresetround_noexf_ctx): Likewise.
21791         (libc_feresetround_noexl_ctx): Likewise.
21792         (libc_feholdsetround_53bit_ctx): Likewise.
21793         (libc_feresetround_53bit_ctx): Likewise.
21794         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21795         (libc_feholdexcept_setround_sse_ctx): New function.
21796         (libc_fesetenv_sse_ctx): Likewise.
21797         (libc_feupdateenv_sse_ctx): Likewise.
21798         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21799         (libc_feholdexcept_setround_387_ctx): Likewise.
21800         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21801         (libc_feholdsetround_387_prec_ctx): Likewise.
21802         (libc_feholdsetround_387_ctx): Likewise.
21803         (libc_feholdsetround_387_53bit_ctx): Likewise.
21804         (libc_feholdsetround_sse_ctx): Likewise.
21805         (libc_feresetround_sse_ctx): Likewise.
21806         (libc_feresetround_387_ctx): Likewise.
21807         (libc_feupdateenv_387_ctx): Likewise.
21808         (libc_feholdexcept_setroundf_ctx): Define macro.
21809         (libc_fesetenvf_ctx): Likewise.
21810         (libc_feupdateenvf_ctx): Likewise.
21811         (libc_feholdsetroundf_ctx): Likewise.
21812         (libc_feresetroundf_ctx): Likewise.
21813         (libc_feholdexcept_setround_ctx): Likewise.
21814         (libc_fesetenv_ctx): Likewise.
21815         (libc_feupdateenv_ctx): Likewise.
21816         (libc_feholdsetround_ctx): Likewise.
21817         (libc_feresetround_ctx): Likewise.
21818         (libc_feholdexcept_setroundl_ctx): Likewise.
21819         (libc_feupdateenvl_ctx): Likewise.
21820         (libc_feholdsetroundl_ctx): Likewise.
21821         (libc_feresetroundl_ctx): Likewise.
21822         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21823         (libc_feresetround_53bit_ctx): Likewise.
21825 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21827         * locale/iso-639.def: Convert to UTF-8.
21829 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21831         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21832         (EXCEPTION_TESTS_double): Likewise.
21833         (EXCEPTION_TESTS_long_double): Likewise.
21834         (EXCEPTION_TESTS): Likewise.
21835         * math/libm-test.inc (test_exceptions): Only test exceptions if
21836         EXCEPTION_TESTS (FLOAT).
21838 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21840         * benchtests/Makefile (string-bench): Add strcpy_chk and
21841         stpcpy_chk.
21842         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21843         * benchtests/bench-stpcpy_chk.c: New file.
21844         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21845         * benchtests/bench-strcpy_chk.c: New file.
21846         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21847         code.
21848         (do_test): Likewise.
21850 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21852         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21853         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21854         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21855         with tabs where appropriate.
21856         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21857         dl-procinfo.h.
21858         [PPC_PLATFORM_PPC440]: Likewise.
21859         [PPC_PLATFORM_PPC464]: Likewise.
21860         [PPC_PLATFORM_PPC476]: Likewise.
21861         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21862         ppc464, and ppc476 platform strings merging from ports/
21863         dl-procinfo.h.
21865 2013-06-11  Andreas Schwab  <schwab@suse.de>
21867         [BZ #14991]
21868         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21869         (from_ucs4_idx): Regenerate.
21870         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21871         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21872         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21873         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21874         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21875         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21876         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21877         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21878         from FROM_LOOP and TO_LOOP specific macros.
21879         (BODY): Handle combining characters.
21880         * iconvdata/BIG5HKSCS.irreversible: Update.
21881         * iconvdata/BIG5HKSCS.precomposed: New file.
21882         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21883         characters.
21884         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21886 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21888         * include/sys/time.h: Fix indentation and add copyright header.
21890         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21891         (do_test): Likewise.
21892         * string/test-memchr.c (do_one_test): Likewise.
21893         (do_test): Likewise.
21894         * string/test-memcmp.c (do_one_test): Likewise.
21895         (do_test): Likewise.
21896         * string/test-memcpy.c (do_one_test): Likewise.
21897         (do_test): Likewise.
21898         * string/test-memmem.c (do_one_test): Likewise.
21899         (do_test): Likewise.
21900         (do_random_tests): Likewise.
21901         * string/test-memmove.c (do_one_test): Likewise.
21902         (do_test): Likewise.
21903         * string/test-memset.c (do_one_test): Likewise.
21904         (do_test): Likewise.
21905         * string/test-rawmemchr.c (do_one_test): Likewise.
21906         (do_test): Likewise.
21907         * string/test-strcasecmp.c (do_one_test): Likewise.
21908         (do_test): Likewise.
21909         * string/test-strcasestr.c (do_one_test): Likewise.
21910         (do_test): Likewise.
21911         * string/test-strcat.c (do_one_test): Likewise.
21912         (do_test): Likewise.
21913         * string/test-strchr.c (do_one_test): Likewise.
21914         (do_test): Likewise.
21915         * string/test-strcmp.c (do_one_test): Likewise.
21916         (do_test): Likewise.
21917         * string/test-strcpy.c (do_one_test): Likewise.
21918         (do_test): Likewise.
21919         * string/test-string.h: Likewise.
21920         (test_init): Likewise.
21921         * string/test-strlen.c (do_one_test): Likewise.
21922         (do_test): Likewise.
21923         * string/test-strncasecmp.c (do_one_test): Likewise.
21924         (do_test): Likewise.
21925         * string/test-strncat.c (do_one_test): Likewise.
21926         (do_test): Likewise.
21927         * string/test-strncmp.c (do_one_test): Likewise.
21928         (do_test_limit): Likewise.
21929         (do_test): Likewise.
21930         * string/test-strncpy.c (do_one_test): Likewise.
21931         (do_test): Likewise.
21932         * string/test-strnlen.c (do_one_test): Likewise.
21933         (do_test): Likewise.
21934         * string/test-strpbrk.c (do_one_test): Likewise.
21935         (do_test): Likewise.
21936         * string/test-strrchr.c (do_one_test): Likewise.
21937         (do_test): Likewise.
21938         * string/test-strspn.c (do_one_test): Likewise.
21939         (do_test): Likewise.
21940         * string/test-strstr.c (do_one_test): Likewise.
21941         (do_test): Likewise.
21943         * benchtests/Makefile (string-bench): Add string benchmarks.
21944         * benchtests/bench-bcopy-ifunc.c: New file.
21945         * benchtests/bench-bcopy.c: New file.
21946         * benchtests/bench-bzero-ifunc.c: New file.
21947         * benchtests/bench-bzero.c: New file.
21948         * benchtests/bench-memccpy-ifunc.c: New file.
21949         * benchtests/bench-memccpy.c: New file.
21950         * benchtests/bench-memchr-ifunc.c: New file.
21951         * benchtests/bench-memchr.c: New file.
21952         * benchtests/bench-memcmp-ifunc.c: New file.
21953         * benchtests/bench-memcmp.c: New file.
21954         * benchtests/bench-memmem-ifunc.c: New file.
21955         * benchtests/bench-memmem.c: New file.
21956         * benchtests/bench-memmove-ifunc.c: New file.
21957         * benchtests/bench-memmove.c: New file.
21958         * benchtests/bench-mempcpy-ifunc.c: New file.
21959         * benchtests/bench-mempcpy.c: New file.
21960         * benchtests/bench-memset-ifunc.c: New file.
21961         * benchtests/bench-memset.c: New file.
21962         * benchtests/bench-rawmemchr-ifunc.c: New file.
21963         * benchtests/bench-rawmemchr.c: New file.
21964         * benchtests/bench-stpcpy-ifunc.c: New file.
21965         * benchtests/bench-stpcpy.c: New file.
21966         * benchtests/bench-stpncpy-ifunc.c: New file.
21967         * benchtests/bench-stpncpy.c: New file.
21968         * benchtests/bench-strcasecmp-ifunc.c: New file.
21969         * benchtests/bench-strcasecmp.c: New file.
21970         * benchtests/bench-strcasestr-ifunc.c: New file.
21971         * benchtests/bench-strcasestr.c: New file.
21972         * benchtests/bench-strcat-ifunc.c: New file.
21973         * benchtests/bench-strcat.c: New file.
21974         * benchtests/bench-strchr-ifunc.c: New file.
21975         * benchtests/bench-strchr.c: New file.
21976         * benchtests/bench-strchrnul-ifunc.c: New file.
21977         * benchtests/bench-strchrnul.c: New file.
21978         * benchtests/bench-strcmp-ifunc.c: New file.
21979         * benchtests/bench-strcmp.c: New file.
21980         * benchtests/bench-strcpy-ifunc.c: New file.
21981         * benchtests/bench-strcpy.c: New file.
21982         * benchtests/bench-strcspn-ifunc.c: New file.
21983         * benchtests/bench-strcspn.c: New file.
21984         * benchtests/bench-strlen-ifunc.c: New file.
21985         * benchtests/bench-strlen.c: New file.
21986         * benchtests/bench-strncasecmp-ifunc.c: New file.
21987         * benchtests/bench-strncasecmp.c: New file.
21988         * benchtests/bench-strncat-ifunc.c: New file.
21989         * benchtests/bench-strncat.c: New file.
21990         * benchtests/bench-strncmp-ifunc.c: New file.
21991         * benchtests/bench-strncmp.c: New file.
21992         * benchtests/bench-strncpy-ifunc.c: New file.
21993         * benchtests/bench-strncpy.c: New file.
21994         * benchtests/bench-strnlen-ifunc.c: New file.
21995         * benchtests/bench-strnlen.c: New file.
21996         * benchtests/bench-strpbrk-ifunc.c: New file.
21997         * benchtests/bench-strpbrk.c: New file.
21998         * benchtests/bench-strrchr-ifunc.c: New file.
21999         * benchtests/bench-strrchr.c: New file.
22000         * benchtests/bench-strspn-ifunc.c: New file.
22001         * benchtests/bench-strspn.c: New file.
22002         * benchtests/bench-strstr-ifunc.c: New file.
22003         * benchtests/bench-strstr.c: New file.
22005         * benchtests/Makefile: Disable parallel execution of targets.
22006         (string-bench): Add memcpy.
22007         (benchset): New variable to store a list of benchmark sets.
22008         (bench-func): Renamed from bench.
22009         (bench-set): New target.
22010         (bench): Depend on bench-func and bench-set.
22011         * benchtests/README: Add section on benchmark sets.
22012         * benchtests/bench-memcpy-ifunc.c: New file.
22013         * benchtests/bench-memcpy.c: New file.
22014         * benchtests/bench-string.h: New file.
22016 2013-06-11  Andreas Schwab  <schwab@suse.de>
22018         [BZ #15577]
22019         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22020         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22021         values in the triple.
22022         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22023         terminator in the group key.
22025 2013-06-11  Andreas Jaeger  <aj@suse.de>
22027         * po/zh_TW.po: Update Chinese (traditional) translation from
22028         translation project.
22030 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22032         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22033         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22034         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22035         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22036         (clock_getcpuclockid): Likewise.
22037         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22038         Add weak_alias and libc_hidden_def.
22039         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22040         * rt/clock_gettime.c (clock_gettime): Rename to
22041         __clock_gettime.  Add weak_alias and libc_hidden_def.
22042         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22043         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22044         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22045         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22046         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22047         Likewise.
22048         * rt/clock_settime.c (clock_settime): Rename to
22049         __clock_settime.  Add weak_alias and libc_hidden_def.
22050         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22052 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22054         * mach/err_boot.sub: Remove trailing whitespace.
22055         * mach/err_ipc.sub: Likewise.
22056         * mach/err_mach.sub: Likewise.
22058         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22059         (ROUNDING_TESTS_double): Likewise.
22060         (ROUNDING_TESTS_long_double): Likewise.
22061         (ROUNDING_TESTS): Likewise.
22062         * math/libm-test.inc: Include <math-tests.h>.
22063         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22064         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22065         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22066         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22068 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22070         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22071         of assigning.
22073 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22075         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22076         otherwise empty TRANS lines.
22077         * sysdeps/gnu/errlist.c: Regenerated.
22079         * catgets/gencat.c (error_print): Use (void) in function
22080         definition.
22081         * crypt/crypt_util.c (__init_des): Likewise.
22082         * crypt/speeds.c (Stop): Likewise.
22083         (main): Likewise.
22084         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22085         * inet/ruserpass.c (token): Likewise.
22086         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22087         * intl/localealias.c (extend_alias_table): Likewise.
22088         * intl/plural-exp.c (init_germanic_plural): Likewise.
22089         * libio/fcloseall.c (__fcloseall): Likewise.
22090         * libio/genops.c (_IO_flush_all): Likewise.
22091         (_IO_flush_all_linebuffered): Likewise.
22092         (_IO_cleanup): Likewise.
22093         (_IO_iter_begin): Likewise.
22094         (_IO_iter_end): Likewise.
22095         (_IO_list_lock): Likewise.
22096         (_IO_list_unlock): Likewise.
22097         (_IO_list_resetlock): Likewise.
22098         * libio/getchar.c (getchar): Likewise.
22099         * libio/getchar_u.c (getchar_unlocked): Likewise.
22100         * libio/getwchar.c (getwchar): Likewise.
22101         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22102         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22103         * login/getpt.c (__getpt): Likewise.
22104         * login/tst-utmp.c (main): Likewise.
22105         * malloc/hooks.c (__malloc_check_init): Likewise.
22106         * malloc/malloc.c (__malloc_stats): Likewise.
22107         * malloc/mtrace.c (tr_break): Likewise.
22108         (mtrace): Likewise.
22109         (muntrace): Likewise.
22110         * misc/fstab.c (endfsent): Likewise.
22111         * misc/getclktck.c (__getclktck): Likewise.
22112         * misc/getdtsz.c (__getdtablesize): Likewise.
22113         * misc/gethostid.c (gethostid): Likewise.
22114         * misc/getpagesize.c (__getpagesize): Likewise.
22115         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22116         (__get_nprocs): Likewise.
22117         (__get_phys_pages): Likewise.
22118         (__get_avphys_pages): Likewise.
22119         * misc/getttyent.c (getttyent): Likewise.
22120         (setttyent): Likewise.
22121         (endttyent): Likewise.
22122         * misc/getusershell.c (getusershell): Likewise.
22123         (endusershell): Likewise.
22124         (setusershell): Likewise.
22125         (initshells): Likewise.
22126         * misc/hsearch.c (__hdestroy): Likewise.
22127         * misc/sync.c (sync): Likewise.
22128         * misc/syslog.c (closelog_internal): Likewise.
22129         (closelog): Likewise.
22130         * misc/ttyslot.c (ttyslot): Likewise.
22131         * misc/vhangup.c (vhangup): Likewise.
22132         * posix/fork.c (__fork): Likewise.
22133         * posix/getegid.c (__getegid): Likewise.
22134         * posix/geteuid.c (__geteuid): Likewise.
22135         * posix/getgid.c (__getgid): Likewise.
22136         * posix/getpid.c (__getpid): Likewise.
22137         * posix/getppid.c (__getppid): Likewise.
22138         * posix/getuid.c (__getuid): Likewise.
22139         * posix/pause.c (pause): Likewise.
22140         * posix/setpgrp.c (setpgrp): Likewise.
22141         * posix/setsid.c (__setsid): Likewise.
22142         * posix/test-vfork.c (noop): Likewise.
22143         * resolv/gethnamaddr.c (_endhtent): Likewise.
22144         (_gethtent): Likewise.
22145         (ht_endhostent): Likewise.
22146         (gethostent): Likewise.
22147         (dns_service): Likewise.
22148         * stdlib/drand48.c (drand48): Likewise.
22149         * stdlib/lrand48.c (lrand48): Likewise.
22150         * stdlib/mrand48.c (mrand48): Likewise.
22151         * stdlib/rand.c (rand): Likewise.
22152         * stdlib/random.c (__random): Likewise.
22153         * stdlib/setenv.c (clearenv): Likewise.
22154         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22155         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22156         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22157         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22158         (__get_nprocs): Likewise.
22159         (__get_phys_pages): Likewise.
22160         (__get_avphys_pages): Likewise.
22161         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22162         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22163         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22164         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22165         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22166         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22167         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22168         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22169         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22170         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22171         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22172         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22173         * sysdeps/posix/clock.c (clock): Likewise.
22174         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22175         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22176         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22177         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22178         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22180         (__get_nprocs_conf): Likewise.
22181         (__get_phys_pages): Likewise.
22182         (__get_avphys_pages): Likewise.
22183         * time/clock.c (clock): Likewise.
22184         * time/tzset.c (__tzname_max): Likewise.
22186 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22188         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22189         (__bswap_32): Do not use "register".
22190         * crypt/crypt.c (_ufc_doit_r): Likewise.
22191         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22192         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22193         * gmon/gmon.c (__monstartup): Likewise.
22194         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22195         * hurd/hurdmalloc.c (more_memory): Likewise.
22196         (malloc): Likewise.
22197         (free): Likewise.
22198         (realloc): Likewise.
22199         (malloc_fork_prepare): Likewise.
22200         (malloc_fork_parent): Likewise.
22201         (malloc_fork_child): Likewise.
22202         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22203         (_svcauth_des): Likewise.
22204         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22205         * inet/inet_net.c (inet_network): Likewise.
22206         * inet/inet_netof.c (inet_netof): Likewise.
22207         * inet/rcmd.c (__validuser2_sa): Likewise.
22208         * io/fts.c (fts_open): Likewise.
22209         (fts_load): Likewise.
22210         (fts_close): Likewise.
22211         (fts_read): Likewise.
22212         (fts_children): Likewise.
22213         (fts_build): Likewise.
22214         (fts_stat): Likewise.
22215         (fts_sort): Likewise.
22216         (fts_alloc): Likewise.
22217         (fts_lfree): Likewise.
22218         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22219         (_IO_file_xsgetn): Likewise.
22220         (_IO_file_xsgetn_mmap): Likewise.
22221         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22222         (_IO_cookie_write): Likewise.
22223         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22224         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22225         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22226         * malloc/obstack.c (_obstack_begin): Likewise.
22227         (_obstack_begin_1): Likewise.
22228         (_obstack_newchunk): Likewise.
22229         (_obstack_allocated_p): Likewise.
22230         (obstack_free): Likewise.
22231         (_obstack_memory_used): Likewise.
22232         * misc/getttyent.c (getttynam): Likewise.
22233         (getttyent): Likewise.
22234         (skip): Likewise.
22235         (value): Likewise.
22236         * misc/getusershell.c (initshells): Likewise.
22237         * misc/syslog.c (__vsyslog_chk): Likewise.
22238         * misc/ttyslot.c (ttyslot): Likewise.
22239         * nis/nis_hash.c (__nis_hash): Likewise.
22240         * posix/fnmatch_loop.c (FCT): Likewise.
22241         * posix/getconf.c (print_all): Likewise.
22242         (main): Likewise.
22243         * posix/getopt.c (exchange): Likewise.
22244         * posix/glob.c (globfree): Likewise.
22245         (prefix_array): Likewise.
22246         (__glob_pattern_type): Likewise.
22247         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22248         (NS_GET32): Likewise.
22249         (NS_PUT16): Likewise.
22250         (NS_PUT32): Likewise.
22251         * resolv/gethnamaddr.c (getanswer): Likewise.
22252         (gethostbyname2): Likewise.
22253         (gethostbyaddr): Likewise.
22254         (_gethtent): Likewise.
22255         (_gethtbyname2): Likewise.
22256         (_gethtbyaddr): Likewise.
22257         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22258         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22259         * resolv/res_init.c (__res_vinit): Likewise.
22260         (net_mask): Likewise.
22261         * resolv/res_mkquery.c (outchar): Likewise.
22262         (PRINT): Likewise.
22263         * stdio-common/printf_fp.c (outchar): Likewise.
22264         (PRINT): Likewise.
22265         * stdio-common/printf_fphex.c (outchar): Likewise.
22266         (PRINT): Likewise.
22267         * stdio-common/printf_size.c (outchar): Likewise.
22268         (PRINT): Likewise.
22269         * stdio-common/test_rdwr.c (main): Likewise.
22270         * stdio-common/tfformat.c (matches): Likewise.
22271         * stdio-common/vfprintf.c (outchar): Likewise.
22272         (printf_unknown): Likewise.
22273         (buffered_vfprintf): Likewise.
22274         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22275         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22276         (ReadFile): Likewise.
22277         * stdlib/qsort.c (SWAP): Likewise.
22278         (_quicksort): Likewise.
22279         * stdlib/setenv.c (__add_to_environ): Likewise.
22280         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22281         * stdlib/strtol_l.c (__strtol_l): Likewise.
22282         * stdlib/tst-strtod.c (main): Likewise.
22283         * stdlib/tst-strtol.c (main): Likewise.
22284         * stdlib/tst-strtoll.c (main): Likewise.
22285         * string/bits/string2.h (__strcmp_cc): Likewise.
22286         (__strcmp_cg): Likewise.
22287         (__strcspn_c1): Likewise.
22288         (__strcspn_c2): Likewise.
22289         (__strcspn_c3): Likewise.
22290         (__strspn_c1): Likewise.
22291         (__strspn_c2): Likewise.
22292         (__strspn_c3): Likewise.
22293         (__strsep_1c): Likewise.
22294         (__strsep_2c): Likewise.
22295         (__strsep_3c): Likewise.
22296         * string/memccpy.c (__memccpy): Likewise.
22297         * string/stpcpy.c (__stpcpy): Likewise.
22298         * string/strcmp.c (strcmp): Likewise.
22299         * string/strrchr.c (strrchr): Likewise.
22300         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22301         Likewise.
22302         * sysdeps/mach/hurd/getcwd.c
22303         (_hurd_canonicalize_directory_name_internal): Likewise.
22304         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22305         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22306         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22307         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22308         Likewise, in both definitions.
22309         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22310         definitions.
22311         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22312         64] (__bswap_64): Likewise.
22313         * time/test_time.c (main): Likewise.
22314         * time/tzfile.c (__tzfile_read): Likewise.
22315         (__tzfile_compute): Likewise.
22316         * time/tzset.c (__tzset_parse_tz): Likewise.
22317         (tzset_internal): Likewise.
22318         (compute_change): Likewise.
22319         * wcsmbs/wcscat.c (__wcscat): Likewise.
22320         * wcsmbs/wcschr.c (wcschr): Likewise.
22321         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22322         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22323         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22324         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22325         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22326         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22327         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22328         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22329         * wcsmbs/wmemset.c (wmemset): Likewise.
22331 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22333         * scripts/config.guess: Update to version 2013-05-16.
22334         * scripts/config.sub: Update to version 2013-04-24.
22335         * scripts/install-sh: Update to version 2011-11-20.07.
22336         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22337         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22339 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22341         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22342         * elf/sln.c: Likewise.
22343         * hurd/hurd/ioctl.h: Likewise.
22344         * hurd/hurdmalloc.c: Likewise.
22345         * hurd/xattr.c: Likewise.
22346         * include/shlib-compat.h: Likewise.
22347         * inet/ruserpass.c: Likewise.
22348         * libio/iofgets_u.c: Likewise.
22349         * libio/iofgetws_u.c: Likewise.
22350         * locale/programs/ld-identification.c: Likewise.
22351         * locale/programs/ld-time.c: Likewise.
22352         * mach/msg-destroy.c: Likewise.
22353         * nss/nss_files/files-netgrp.c: Likewise.
22354         * resolv/res_data.c: Likewise.
22355         * soft-fp/op-1.h: Likewise.
22356         * soft-fp/op-2.h: Likewise.
22357         * soft-fp/op-4.h: Likewise.
22358         * soft-fp/op-common.h: Likewise.
22359         * stdio-common/printf_fphex.c: Likewise.
22360         * stdlib/strtod_l.c: Likewise.
22361         * sunrpc/rpc/clnt.h: Likewise.
22362         * sysdeps/generic/framestate.c: Likewise.
22363         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22364         * sysdeps/i386/bsd-setjmp.S: Likewise.
22365         * sysdeps/i386/__longjmp.S: Likewise.
22366         * sysdeps/i386/setjmp.S: Likewise.
22367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22368         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22369         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22370         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22371         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22372         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22373         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22374         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22375         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22376         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22377         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22378         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22379         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22380         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22381         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22383         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22384         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22385         * sysdeps/ieee754/support.c: Likewise.
22386         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22387         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22388         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22389         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22390         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22391         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22392         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22393         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22394         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22395         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22396         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22397         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22398         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22399         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22400         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22401         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22402         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22405 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22407         * posix/transbug.c: Remove executable mode.
22409 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22411         * crypt/speeds.c: Remove trailing whitespace.
22412         * dlfcn/default.c: Likewise.
22413         * elf/ifuncdep2.c: Likewise.
22414         * elf/ifuncmain1.c: Likewise.
22415         * elf/ifuncmain1vis.c: Likewise.
22416         * elf/testobj.h: Likewise.
22417         * elf/tst-stackguard1.c: Likewise.
22418         * gmon/sys/gmon.h: Likewise.
22419         * hurd/hurdmsg.c: Likewise.
22420         * hurd/new-fd.c: Likewise.
22421         * hurd/ports-get.c: Likewise.
22422         * iconvdata/ibm1008_420.c: Likewise.
22423         * inet/tst-getni1.c: Likewise.
22424         * inet/tst-getni2.c: Likewise.
22425         * libio/ioungetc.c: Likewise.
22426         * libio/wfiledoalloc.c: Likewise.
22427         * manual/libm-err-tab.pl: Likewise.
22428         * math/w_dremf.c: Likewise.
22429         * misc/ftruncate.c: Likewise.
22430         * posix/bug-glob2.c: Likewise.
22431         * posix/tst-pcre.c: Likewise.
22432         * posix/wait4.c: Likewise.
22433         * resolv/README: Likewise.
22434         * resolv/res_debug.h: Likewise.
22435         * resolv/tst-inet_ntop.c: Likewise.
22436         * setjmp/bug269-setjmp.c: Likewise.
22437         * soft-fp/extended.h: Likewise.
22438         * soft-fp/op-1.h: Likewise.
22439         * soft-fp/op-2.h: Likewise.
22440         * soft-fp/op-4.h: Likewise.
22441         * soft-fp/op-8.h: Likewise.
22442         * soft-fp/testit.c: Likewise.
22443         * stdio-common/bug16.c: Likewise.
22444         * stdlib/random.c: Likewise.
22445         * sunrpc/rpcsvc/rquota.x: Likewise.
22446         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22447         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22449         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22450         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22451         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22452         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22453         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22454         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22455         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22456         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22457         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22458         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22459         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22460         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22461         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22462         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22463         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22464         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22465         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22466         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22468         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22469         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22470         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22471         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22472         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22474         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22475         * sysdeps/ieee754/s_lib_version.c: Likewise.
22476         * sysdeps/mach/hurd/check_fds.c: Likewise.
22477         * sysdeps/mach/hurd/getsockname.c: Likewise.
22478         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22479         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22480         * sysdeps/powerpc/bits/link.h: Likewise.
22481         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22482         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22483         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22484         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22485         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22486         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22487         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22488         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22489         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22490         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22491         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22492         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22493         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22494         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22495         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22496         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22497         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22501         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22503         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22504         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22505         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22506         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22507         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22508         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22510         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22511         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22512         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22513         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22514         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22515         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22516         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22517         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22518         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22519         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22520         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22521         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22523         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22524         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22525         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22526         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22527         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22528         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22529         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22530         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22531         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22532         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22533         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22534         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22535         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22536         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22537         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22538         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22539         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22540         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22541         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22542         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22543         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22544         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22545         * sysdeps/powerpc/sysdep.h: Likewise.
22546         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22547         * sysdeps/s390/s390-64/sub_n.S: Likewise.
22548         * sysdeps/sh/dl-trampoline.S: Likewise.
22549         * sysdeps/sh/memset.S: Likewise.
22550         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22551         * sysdeps/sh/strlen.S: Likewise.
22552         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22553         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22554         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22555         * sysdeps/sparc/sparc32/rem.S: Likewise.
22556         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22557         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22558         * sysdeps/sparc/sparc32/strchr.S: Likewise.
22559         * sysdeps/sparc/sparc32/udiv.S: Likewise.
22560         * sysdeps/sparc/sparc32/urem.S: Likewise.
22561         * sysdeps/sparc/sparc64/add_n.S: Likewise.
22562         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22563         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22564         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22565         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22566         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22567         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22568         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22569         * sysdeps/unix/bsd/times.c: Likewise.
22570         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22571         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22575         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22576         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22577         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22578         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22579         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22580         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22581         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22582         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22583         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22584         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22585         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22586         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22587         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22588         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22589         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22590         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22591         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22592         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22593         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22594         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22595         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22596         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22597         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22598         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22599         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22600         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22601         * sysdeps/x86_64/strcspn.S: Likewise.
22603 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22605         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22606         generated file.  Regenerate properly from gen-translit.pl.
22607         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22608         locale/C-translit.h.
22610 2013-06-05  Andreas Schwab  <schwab@suse.de>
22612         [BZ #15100]
22613         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22614         week as 6 instead of -1.
22615         * time/tst-strptime.c (day_tests): Add test case.
22617 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22619         * sysdeps/generic/math_private.h
22620         (libc_feholdexcept_setround_53bit): Replace with
22621         libc_feholdsetround_53bit.
22622         (libc_feupdateenv_53bit): Replace with
22623         libc_feresetround_53bit.
22624         (SET_RESTORE_ROUND_53BIT): Adjust.
22626 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22628         * string/test-strchrnul.c: Add copyright header.
22630         * posix/tst-getaddrinfo4.c: Increase test timeout.
22632 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22634         [BZ #15536]
22635         * math/libm-test.inc (MAX_EXP): Remove
22636         (MIN_EXP): Define.
22637         (ulp): Use MIN_EXP - MANT_DIG.
22638         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22640 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22642         * po/be.po: Revert last change.
22643         * po/zh_CN.po: Likewise.
22644         * po/header.pot: Likewise.
22646 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22648         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22649         link-libc-deps to empty as target-specific variable.
22650         * Makerules (link-libc-args): New variable.
22651         (libc-for-link): Likewise.
22652         (link-libc-deps): Likewise.
22653         (lib%.so): Depend on $(link-libc-deps).  Link with
22654         $(link-libc-args).
22655         (build-module): Link with $(link-libc-args).
22656         (build-module-asneeded): Likewise.
22657         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22658         list of objects.
22659         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22660         target-specific variable.
22661         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22662         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22663         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22664         libc.
22665         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22666         libc and ld.so.
22667         ($(objpfx)libpcprofile.so): Likewise.
22668         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22669         libc_nonshared.a.
22670         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22671         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22672         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22673         $(link-libc-deps).
22674         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22675         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22676         * login/Makefile ($(objpfx)libutil.so): Likewise.
22677         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22678         * math/Makefile ($(objpfx)libm.so): Likewise.
22679         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22680         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22681         variable instead of depending directly on libc.
22682         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22683         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22684         $(link-libc-deps).
22685         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22686         libc.
22687         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22688         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22689         ($(objpfx)libanl.so): Likewise.
22690         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22691         ld.so.
22692         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22693         $(link-libc-deps).
22694         * sysdeps/i386/fpu/Makefile: Remove file.
22695         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22696         ($(objpfx)libm.so): Remove dependency on ld.so.
22698 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22700         [BZ # 15553]
22701         * nis/yp_xdr.c (XDRMAXNAME): Define.
22702         (XDRMAXRECORD): Define.
22703         (xdr_domainname): Use XDRMAXNAME.
22704         (xdr_mapname): Likewise.
22705         (xdr_peername): Likewise.
22706         (xdr_keydat): Use XDRMAXRECORD.
22707         (xdr_valdat): Likewise.
22709 2013-05-30  Jeff Law  <law@redhat.com>
22711         [BZ #14256]
22712         * manual/errno.texi (ESTALE): Update to account for more than
22713         just NFS file systems.
22714         * sysdeps/gnu/errlist.c: Regenerated.
22716 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22718         [BZ #15465]
22719         * elf/Makefile (tests): Add tst-null-argv.
22720         (modules-names):  Add tst-null-argv-lib.
22721         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22722         (tst-null-argv-ENV): Set environment for tst-null-argv.
22723         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22724         (RTLD_PROGNAME): New macro.
22725         * elf/tst-null-argv.c: New test case.
22726         * elf/tst-null-argv-lib.c: Library for test case.
22727         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22728         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22729         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22730         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22731         * elf/dl-init.c (call_init): Likewise.
22732         (_dl_init): Likewise.
22733         * elf/dl-load.c (print_search_path): Likewise.
22734         (_dl_map_object): Likewise.
22735         * elf/dl-lookup.c (do_lookup_x): Likewise.
22736         (add_dependency): Likewise.
22737         (_dl_lookup_symbol_x): Likewise.
22738         (_dl_debug_bindings): Likewise.
22739         * elf/dl-open.c (_dl_show_scope): Likewise.
22740         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22741         * elf/dl-version.c (match_symbol): Likewise.
22742         (_dl_check_map_versions): Likewise.
22743         * elf/rtld.c (dl_main): Likewise.
22744         (print_unresolved): Use RTLD_PROGNAME.
22745         (print_missing_version): Likewise.
22746         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22747         (elf_machine_rela): Likewise.
22748         * sysdeps/powerpc/powerpc32/dl-machine.c
22749         (__process_machine_rela): Likewise.
22750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22751         Likewise.
22752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22753         Likewise.
22754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22755         Likewise.
22756         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22757         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22758         Likewise.
22759         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22760         Likewise.
22761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22763 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22765         * po/be.po: Add descriptive title.
22766         * po/zh_CN.po: Likewise.
22767         * po/header.pot: Likewise.
22769 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22771         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22772         error message.
22773         (enlarge_archive): Likewise.
22775 2013-05-28  Ben North  <ben@redfrontdoor.org>
22777         * manual/arith.texi (frexp): It is the magnitude of the return
22778         value which lies in [0.5, 1), not the return value itself.
22780 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22784 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22786         * stdio-common/bug26.c (main): Correct fscanf template.
22788         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22789         declare _dl_skip_args.
22791         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22792         Don't declare.
22794         * manual/platform.texi: Add missing @end deftypefun.
22796 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22798         [BZ #15529]
22799         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22800         bit of mantissa of 2^16382.
22801         * math/libm-test.inc (hypot_test_data): Add more tests.
22803         * math/libm-test.inc: Add drem and pow10 to list of tested
22804         functions.
22805         (pow10_test): New function.
22806         (drem_test): Likewise.
22807         (drem_test_tonearest): Likewise.
22808         (drem_test_towardzero): Likewise.
22809         (drem_test_downward): Likewise.
22810         (drem_test_upward): Likewise.
22811         (main): Call the new functions.
22813         * math/libm-test.inc (finite_test_data): Remove.
22814         (finite_test): Run tests from isfinite_test_data.
22815         (gamma_test_data): Remove.
22816         (gamma_test): Run tests from lgamma_test_data.
22817         * sysdeps/i386/fpu/libm-test-ulps: Update.
22818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22820 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22822         * manual/platform.texi: Add PowerPC PPR function set documentation.
22823         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22824         implementation.
22826 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22828         * math/libm-test.inc (MAX_EXP): Define.
22829         (ULPDIFF): Define.
22830         (ulp): New function.
22831         (check_float_internal): Use ULPDIFF.
22832         (cpow_test): Disable failing test.
22833         (check_ulp): Test ulp() implemetnation.
22834         (main): Call check_ulp before starting tests.
22836 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22838         * math/gen-libm-test.pl (generate_testfile): Do not handle
22839         START_DATA and END_DATA.
22840         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22841         END_DATA.
22842         (acos_tonearest_test_data): Likewise.
22843         (acos_towardzero_test_data): Likewise.
22844         (acos_downward_test_data): Likewise.
22845         (acos_upward_test_data): Likewise.
22846         (acosh_test_data): Likewise.
22847         (asin_test_data): Likewise.
22848         (asin_tonearest_test_data): Likewise.
22849         (asin_towardzero_test_data): Likewise.
22850         (asin_downward_test_data): Likewise.
22851         (asin_upward_test_data): Likewise.
22852         (asinh_test_data): Likewise.
22853         (atan_test_data): Likewise.
22854         (atanh_test_data): Likewise.
22855         (atan2_test_data): Likewise.
22856         (cabs_test_data): Likewise.
22857         (cacos_test_data): Likewise.
22858         (cacosh_test_data): Likewise.
22859         (carg_test_data): Likewise.
22860         (casin_test_data): Likewise.
22861         (casinh_test_data): Likewise.
22862         (catan_test_data): Likewise.
22863         (catanh_test_data): Likewise.
22864         (cbrt_test_data): Likewise.
22865         (ccos_test_data): Likewise.
22866         (ccosh_test_data): Likewise.
22867         (ceil_test_data): Likewise.
22868         (cexp_test_data): Likewise.
22869         (cimag_test_data): Likewise.
22870         (clog_test_data): Likewise.
22871         (clog10_test_data): Likewise.
22872         (conj_test_data): Likewise.
22873         (copysign_test_data): Likewise.
22874         (cos_test_data): Likewise.
22875         (cos_tonearest_test_data): Likewise.
22876         (cos_towardzero_test_data): Likewise.
22877         (cos_downward_test_data): Likewise.
22878         (cos_upward_test_data): Likewise.
22879         (cosh_test_data): Likewise.
22880         (cosh_tonearest_test_data): Likewise.
22881         (cosh_towardzero_test_data): Likewise.
22882         (cosh_downward_test_data): Likewise.
22883         (cosh_upward_test_data): Likewise.
22884         (cpow_test_data): Likewise.
22885         (cproj_test_data): Likewise.
22886         (creal_test_data): Likewise.
22887         (csin_test_data): Likewise.
22888         (csinh_test_data): Likewise.
22889         (csqrt_test_data): Likewise.
22890         (ctan_test_data): Likewise.
22891         (ctan_tonearest_test_data): Likewise.
22892         (ctan_towardzero_test_data): Likewise.
22893         (ctan_downward_test_data): Likewise.
22894         (ctan_upward_test_data): Likewise.
22895         (ctanh_test_data): Likewise.
22896         (ctanh_tonearest_test_data): Likewise.
22897         (ctanh_towardzero_test_data): Likewise.
22898         (ctanh_downward_test_data): Likewise.
22899         (ctanh_upward_test_data): Likewise.
22900         (erf_test_data): Likewise.
22901         (erfc_test_data): Likewise.
22902         (exp_test_data): Likewise.
22903         (exp_tonearest_test_data): Likewise.
22904         (exp_towardzero_test_data): Likewise.
22905         (exp_downward_test_data): Likewise.
22906         (exp_upward_test_data): Likewise.
22907         (exp10_test_data): Likewise.
22908         (exp2_test_data): Likewise.
22909         (expm1_test_data): Likewise.
22910         (fabs_test_data): Likewise.
22911         (fdim_test_data): Likewise.
22912         (finite_test_data): Likewise.
22913         (floor_test_data): Likewise.
22914         (fma_test_data): Likewise.
22915         (fma_towardzero_test_data): Likewise.
22916         (fma_downward_test_data): Likewise.
22917         (fma_upward_test_data): Likewise.
22918         (fmax_test_data): Likewise.
22919         (fmin_test_data): Likewise.
22920         (fmod_test_data): Likewise.
22921         (fpclassify_test_data): Likewise.
22922         (frexp_test_data): Likewise.
22923         (gamma_test_data): Likewise.
22924         (hypot_test_data): Likewise.
22925         (ilogb_test_data): Likewise.
22926         (isfinite_test_data): Likewise.
22927         (isgreater_test_data): Likewise.
22928         (isgreaterequal_test_data): Likewise.
22929         (isinf_test_data): Likewise.
22930         (isless_test_data): Likewise.
22931         (islessequal_test_data): Likewise.
22932         (islessgreater_test_data): Likewise.
22933         (isnan_test_data): Likewise.
22934         (isnormal_test_data): Likewise.
22935         (issignaling_test_data): Likewise.
22936         (isunordered_test_data): Likewise.
22937         (j0_test_data): Likewise.
22938         (j1_test_data): Likewise.
22939         (jn_test_data): Likewise.
22940         (ldexp_test_data): Likewise.
22941         (lgamma_test_data): Likewise.
22942         (lrint_test_data): Likewise.
22943         (lrint_tonearest_test_data): Likewise.
22944         (lrint_towardzero_test_data): Likewise.
22945         (lrint_downward_test_data): Likewise.
22946         (lrint_upward_test_data): Likewise.
22947         (llrint_test_data): Likewise.
22948         (llrint_tonearest_test_data): Likewise.
22949         (llrint_towardzero_test_data): Likewise.
22950         (llrint_downward_test_data): Likewise.
22951         (llrint_upward_test_data): Likewise.
22952         (log_test_data): Likewise.
22953         (log10_test_data): Likewise.
22954         (log1p_test_data): Likewise.
22955         (log2_test_data): Likewise.
22956         (logb_test_data): Likewise.
22957         (logb_downward_test_data): Likewise.
22958         (lround_test_data): Likewise.
22959         (llround_test_data): Likewise.
22960         (modf_test_data): Likewise.
22961         (nearbyint_test_data): Likewise.
22962         (nextafter_test_data): Likewise.
22963         (nexttoward_test_data): Likewise.
22964         (pow_test_data): Likewise.
22965         (pow_tonearest_test_data): Likewise.
22966         (pow_towardzero_test_data): Likewise.
22967         (pow_downward_test_data): Likewise.
22968         (pow_upward_test_data): Likewise.
22969         (remainder_test_data): Likewise.
22970         (remainder_tonearest_test_data): Likewise.
22971         (remainder_towardzero_test_data): Likewise.
22972         (remainder_downward_test_data): Likewise.
22973         (remainder_upward_test_data): Likewise.
22974         (remquo_test_data): Likewise.
22975         (rint_test_data): Likewise.
22976         (rint_tonearest_test_data): Likewise.
22977         (rint_towardzero_test_data): Likewise.
22978         (rint_downward_test_data): Likewise.
22979         (rint_upward_test_data): Likewise.
22980         (round_test_data): Likewise.
22981         (scalb_test_data): Likewise.
22982         (scalbn_test_data): Likewise.
22983         (scalbln_test_data): Likewise.
22984         (signbit_test_data): Likewise.
22985         (sin_test_data): Likewise.
22986         (sin_tonearest_test_data): Likewise.
22987         (sin_towardzero_test_data): Likewise.
22988         (sin_downward_test_data): Likewise.
22989         (sin_upward_test_data): Likewise.
22990         (sincos_test_data): Likewise.
22991         (sinh_test_data): Likewise.
22992         (sinh_tonearest_test_data): Likewise.
22993         (sinh_towardzero_test_data): Likewise.
22994         (sinh_downward_test_data): Likewise.
22995         (sinh_upward_test_data): Likewise.
22996         (sqrt_test_data): Likewise.
22997         (tan_test_data): Likewise.
22998         (tan_tonearest_test_data): Likewise.
22999         (tan_towardzero_test_data): Likewise.
23000         (tan_downward_test_data): Likewise.
23001         (tan_upward_test_data): Likewise.
23002         (tanh_test_data): Likewise.
23003         (tgamma_test_data): Likewise.
23004         (trunc_test_data): Likewise.
23005         (y0_test_data): Likewise.
23006         (y1_test_data): Likewise.
23007         (yn_test_data): Likewise.
23008         (significand_test_data): Likewise.
23010         * math/gen-libm-test.pl (@functions): Remove variable.
23011         (generate_testfile): Don't handle START and END lines.
23012         * math/libm-test.inc (START): New macro.
23013         (END): Likewise.
23014         (END_COMPLEX): Likewise.
23015         (acos_test): Use END macro without arguments.
23016         (acos_test_tonearest): Likewise.
23017         (acos_test_towardzero): Likewise.
23018         (acos_test_downward): Likewise.
23019         (acos_test_upward): Likewise.
23020         (acosh_test): Likewise.
23021         (asin_test): Likewise.
23022         (asin_test_tonearest): Likewise.
23023         (asin_test_towardzero): Likewise.
23024         (asin_test_downward): Likewise.
23025         (asin_test_upward): Likewise.
23026         (asinh_test): Likewise.
23027         (atan_test): Likewise.
23028         (atanh_test): Likewise.
23029         (atan2_test): Likewise.
23030         (cabs_test): Likewise.
23031         (cacos_test): Use END_COMPLEX macro without arguments.
23032         (cacosh_test): Likewise.
23033         (carg_test): Use END macro without arguments.
23034         (casin_test): Use END_COMPLEX macro without arguments.
23035         (casinh_test): Likewise.
23036         (catan_test): Likewise.
23037         (catanh_test): Likewise.
23038         (cbrt_test): Use END macro without arguments.
23039         (ccos_test): Use END_COMPLEX macro without arguments.
23040         (ccosh_test): Likewise.
23041         (ceil_test): Use END macro without arguments.
23042         (cexp_test): Use END_COMPLEX macro without arguments.
23043         (cimag_test): Use END macro without arguments.
23044         (clog_test): Use END_COMPLEX macro without arguments.
23045         (clog10_test): Likewise.
23046         (conj_test): Likewise.
23047         (copysign_test): Use END macro without arguments.
23048         (cos_test): Likewise.
23049         (cos_test_tonearest): Likewise.
23050         (cos_test_towardzero): Likewise.
23051         (cos_test_downward): Likewise.
23052         (cos_test_upward): Likewise.
23053         (cosh_test): Likewise.
23054         (cosh_test_tonearest): Likewise.
23055         (cosh_test_towardzero): Likewise.
23056         (cosh_test_downward): Likewise.
23057         (cosh_test_upward): Likewise.
23058         (cpow_test): Use END_COMPLEX macro without arguments.
23059         (cproj_test): Likewise.
23060         (creal_test): Use END macro without arguments.
23061         (csin_test): Use END_COMPLEX macro without arguments.
23062         (csinh_test): Likewise.
23063         (csqrt_test): Likewise.
23064         (ctan_test): Likewise.
23065         (ctan_test_tonearest): Likewise.
23066         (ctan_test_towardzero): Likewise.
23067         (ctan_test_downward): Likewise.
23068         (ctan_test_upward): Likewise.
23069         (ctanh_test): Likewise.
23070         (ctanh_test_tonearest): Likewise.
23071         (ctanh_test_towardzero): Likewise.
23072         (ctanh_test_downward): Likewise.
23073         (ctanh_test_upward): Likewise.
23074         (erf_test): Use END macro without arguments.
23075         (erfc_test): Likewise.
23076         (exp_test): Likewise.
23077         (exp_test_tonearest): Likewise.
23078         (exp_test_towardzero): Likewise.
23079         (exp_test_downward): Likewise.
23080         (exp_test_upward): Likewise.
23081         (exp10_test): Likewise.
23082         (exp2_test): Likewise.
23083         (expm1_test): Likewise.
23084         (fabs_test): Likewise.
23085         (fdim_test): Likewise.
23086         (finite_test): Likewise.
23087         (floor_test): Likewise.
23088         (fma_test): Likewise.
23089         (fma_test_towardzero): Likewise.
23090         (fma_test_downward): Likewise.
23091         (fma_test_upward): Likewise.
23092         (fmax_test): Likewise.
23093         (fmin_test): Likewise.
23094         (fmod_test): Likewise.
23095         (fpclassify_test): Likewise.
23096         (frexp_test): Likewise.
23097         (gamma_test): Likewise.
23098         (hypot_test): Likewise.
23099         (ilogb_test): Likewise.
23100         (isfinite_test): Likewise.
23101         (isgreater_test): Likewise.
23102         (isgreaterequal_test): Likewise.
23103         (isinf_test): Likewise.
23104         (isless_test): Likewise.
23105         (islessequal_test): Likewise.
23106         (islessgreater_test): Likewise.
23107         (isnan_test): Likewise.
23108         (isnormal_test): Likewise.
23109         (issignaling_test): Likewise.
23110         (isunordered_test): Likewise.
23111         (j0_test): Likewise.
23112         (j1_test): Likewise.
23113         (jn_test): Likewise.
23114         (ldexp_test): Likewise.
23115         (lgamma_test): Likewise.
23116         (lrint_test): Likewise.
23117         (lrint_test_tonearest): Likewise.
23118         (lrint_test_towardzero): Likewise.
23119         (lrint_test_downward): Likewise.
23120         (lrint_test_upward): Likewise.
23121         (llrint_test): Likewise.
23122         (llrint_test_tonearest): Likewise.
23123         (llrint_test_towardzero): Likewise.
23124         (llrint_test_downward): Likewise.
23125         (llrint_test_upward): Likewise.
23126         (log_test): Likewise.
23127         (log10_test): Likewise.
23128         (log1p_test): Likewise.
23129         (log2_test): Likewise.
23130         (logb_test): Likewise.
23131         (logb_test_downward): Likewise.
23132         (lround_test): Likewise.
23133         (llround_test): Likewise.
23134         (modf_test): Likewise.
23135         (nearbyint_test): Likewise.
23136         (nextafter_test): Likewise.
23137         (nexttoward_test): Likewise.
23138         (pow_test): Likewise.
23139         (pow_test_tonearest): Likewise.
23140         (pow_test_towardzero): Likewise.
23141         (pow_test_downward): Likewise.
23142         (pow_test_upward): Likewise.
23143         (remainder_test): Likewise.
23144         (remainder_test_tonearest): Likewise.
23145         (remainder_test_towardzero): Likewise.
23146         (remainder_test_downward): Likewise.
23147         (remainder_test_upward): Likewise.
23148         (remquo_test): Likewise.
23149         (rint_test): Likewise.
23150         (rint_test_tonearest): Likewise.
23151         (rint_test_towardzero): Likewise.
23152         (rint_test_downward): Likewise.
23153         (rint_test_upward): Likewise.
23154         (round_test): Likewise.
23155         (scalb_test): Likewise.
23156         (scalbn_test): Likewise.
23157         (scalbln_test): Likewise.
23158         (signbit_test): Likewise.
23159         (sin_test): Likewise.
23160         (sin_test_tonearest): Likewise.
23161         (sin_test_towardzero): Likewise.
23162         (sin_test_downward): Likewise.
23163         (sin_test_upward): Likewise.
23164         (sincos_test): Likewise.
23165         (sinh_test): Likewise.
23166         (sinh_test_tonearest): Likewise.
23167         (sinh_test_towardzero): Likewise.
23168         (sinh_test_downward): Likewise.
23169         (sinh_test_upward): Likewise.
23170         (sqrt_test): Likewise.
23171         (tan_test): Likewise.
23172         (tan_test_tonearest): Likewise.
23173         (tan_test_towardzero): Likewise.
23174         (tan_test_downward): Likewise.
23175         (tan_test_upward): Likewise.
23176         (tanh_test): Likewise.
23177         (tgamma_test): Likewise.
23178         (trunc_test): Likewise.
23179         (y0_test): Likewise.
23180         (y1_test): Likewise.
23181         (yn_test): Likewise.
23182         (significand_test): Likewise.
23184 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23186         [BZ #15381]
23187         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23189 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23191         [BZ #14894]
23192         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23193         __ppc_mdoio and __ppc_mdoom.
23194         * manual/platform.texi: Document new functions __ppc_yield,
23195         __ppc_mdoio and __ppc_mdoom.
23197 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23199         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23200         (main): Mention "tls" pseudo-hwcap is legacy.
23201         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23203 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23205         * math/gen-libm-test.pl (parse_args): Output only string of
23206         arguments as text for test name, not full call or descriptions of
23207         tests for extra outputs.
23208         (generate_testfile): Do not pass function name to parse_args.
23209         Generate this_func variable from START.
23210         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23211         field to arg_str.
23212         (struct test_ff_f_data): Likewise.
23213         (test_ff_f_data_nexttoward): Likewise.
23214         (struct test_fi_f_data): Likewise.
23215         (struct test_fl_f_data): Likewise.
23216         (struct test_if_f_data): Likewise.
23217         (struct test_fff_f_data): Likewise.
23218         (struct test_c_f_data): Likewise.
23219         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23220         (struct test_fF_f1_data): Likewise.
23221         (struct test_ffI_f1_data): Likewise.
23222         (struct test_c_c_data): Rename test_name field to arg_str.
23223         (struct test_cc_c_data): Likewise.
23224         (struct test_f_i_data): Likewise.
23225         (struct test_ff_i_data): Likewise.
23226         (struct test_f_l_data): Likewise.
23227         (struct test_f_L_data): Likewise.
23228         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23229         and extra2_name.
23230         (COMMON_TEST_SETUP): New macro.
23231         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23232         (COMMON_TEST_CLEANUP): Likewise.
23233         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23234         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23235         macros.
23236         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23237         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23238         macros.
23239         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23240         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23241         cleanup macros.
23242         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23243         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23244         macros.
23245         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23246         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23247         macros.
23248         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23249         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23250         cleanup macros.
23251         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23252         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23253         cleanup macros.
23254         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23255         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23256         cleanup macros.
23257         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23258         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23259         macros.
23260         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23261         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23262         macros.
23263         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23264         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23265         macros.
23266         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23267         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23268         cleanup macros.
23269         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23270         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23271         cleanup macros.
23272         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23273         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23274         macros.
23275         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23276         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23277         cleanup macros.
23278         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23279         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23280         macros.
23281         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23282         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23283         macros.
23284         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23285         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23286         cleanup macros.
23287         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23289 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23291         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23292         to _sifields.sigfault.
23293         (si_addr_lsb): Define new macro.
23294         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23295         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23296         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23298 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23300         [BZ #15441]
23301         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23302         returns -1.
23303         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23304         null return -1.
23305         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23306         loading the domain.
23308 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23310         * math/gen-libm-test.pl (parse_args): Do not include expected
23311         result in test name.
23312         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23314         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23315         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23316         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23319 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23321         * benchtests/Makefile: Sort function entries.
23323         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23324         tanh, asinh, acosh, atanh.
23325         * benchtests/acos-inputs: New file.
23326         * benchtests/acosh-inputs: New file.
23327         * benchtests/asin-inputs: New file.
23328         * benchtests/asinh-inputs: New file.
23329         * benchtests/atanh-inputs: New file.
23330         * benchtests/cosh-inputs: New file.
23331         * benchtests/log-inputs: New file.
23332         * benchtests/sinh-inputs: New file.
23333         * benchtests/tanh-inputs: New file.
23335 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23337         [BZ #15339]
23338         * posix/tst-getaddrinfo4.c: New test.
23339         * posix/Makefile (tests): Add it.
23341 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23343         [BZ #15339]
23344         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23345         when no services were used.
23346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23347         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23349 2013-05-21  Andreas Schwab  <schwab@suse.de>
23351         [BZ #15014]
23352         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23353         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23354         successful.
23355         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23356         redundant variable declarations and reallocation of buffer when
23357         parsing as IPv6 address.  Always set NSS status when called from
23358         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23359         buffer too small.  Correct computation of needed size.
23360         * nss/Makefile (tests): Add test-digits-dots.
23361         * nss/test-digits-dots.c: New test.
23363 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23365         * benchtests/Makefile: Remove instructions for adding
23366         benchmark tests.
23367         * benchtests/README: New file to explain how to execute and
23368         enhance the benchmark tests.
23370 2013-05-21  Andreas Schwab  <schwab@suse.de>
23372         [BZ #15493]
23373         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23374         * setjmp/tst-sigsetjmp.c: New test.
23376 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23378         * sysdeps/x86_64/memset.S (memset): New implementation.
23379         (__bzero): Likewise.
23380         (__memset_tail): New function.
23382 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23384         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23385         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23386         __memcpy_sse2_unaligned ifunc selection.
23387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23388         Add memcpy-sse2-unaligned.S.
23389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23390         Add: __memcpy_sse2_unaligned.
23392 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23394         [BZ #15490]
23395         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23396         math_force_eval before restoring floating-point envrionment.
23397         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23398         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23399         Likewise.
23400         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23401         <math_private.h>.
23402         (__nearbyintl): Use math_force_eval before restoring
23403         floating-point environment.
23404         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23406         * math/gen-libm-test.pl (special_functions): Remove.
23407         (parse_args): Don't handle TEST_extra.  Handle functions with no
23408         return value.
23409         * math/libm-test.inc (struct test_sincos_data): Replace with
23410         struct test_fFF_11_data.
23411         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23412         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23413         (sincos_test_data): Change element type to struct
23414         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23415         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23416         RUN_TEST_LOOP_sincos.
23417         * math/README.libm-test: Don't mention special handling of
23418         individual functions.
23419         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23420         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23421         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23422         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23423         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23426         * math/gen-libm-test.pl (get_variable): Remove function.
23427         (parse_args): Don't show pointer parameters to call in test
23428         names.  Use "extra output N" in test names for extra outputs
23429         rather than naming variables.
23431 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23433         [BZ #15488]
23434         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23435         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23436         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23437         double tests.
23438         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23439         disable.
23440         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23441         check_long_double.
23443         * math/gen-libm-test.pl (@tests): Remove variable.
23444         ($count): Likewise.
23445         (new_test): Remove function.
23446         (show_exceptions): New function.
23447         (special_functions): Use show_exceptions instead of new_test.
23448         (parse_args): Likewise.
23449         (generate_testfile): Pass only function name in generated call to
23450         print_max_error or print_complex_max_error.
23451         (get_ulps): Do not handle complex tests specially.
23452         (output_test): Rename to ...
23453         (get_all_ulps_for_test): ... this.  Return a string rather than
23454         printing to a file.  Require ulps to be present.
23455         (output_ulps): Generate arrays rather than #defines.
23456         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23457         (struct ulp_data): New type.
23458         (BUILD_COMPLEX_ULP): Remove macro.
23459         (compare_ulp_data): New function.
23460         (find_ulps): Likewise.
23461         (find_test_ulps): Likewise.
23462         (find_function_ulps): Likewise.
23463         (find_complex_function_ulps): Likewise.
23464         (print_max_error): Determine allowed ulps using
23465         find_function_ulps.
23466         (print_complex_max_error): Determine allowed ulps using
23467         find_complex_function_ulps.
23468         (check_float_internal): Determine max ulps using find_test_ulps.
23469         (check_float): Do not take max_ulp parameter.  Update call to
23470         check_float_internal.
23471         (check_complex): Likewise.
23472         (check_int): Do not take max_ulp parameter.
23473         (check_long): Likewise.
23474         (check_bool): Likewise.
23475         (check_longlong): Likewise.
23476         (struct test_f_f_data): Remove max_ulp field.
23477         (struct test_ff_f_data): Likewise.
23478         (struct test_ff_f_data_nexttoward): Likewise.
23479         (struct test_fi_f_data): Likewise.
23480         (struct test_fl_f_data): Likewise.
23481         (struct test_if_f_data): Likewise.
23482         (struct test_fff_f_data): Likewise.
23483         (struct test_c_f_data): Likewise.
23484         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23485         (struct test_fF_f1_data): Likewise.
23486         (struct test_ffI_f1_data): Likewise.
23487         (struct test_c_c_data): Remove max_ulp field.
23488         (struct test_cc_c_data): Likewise.
23489         (struct test_f_i_data): Likewise.
23490         (struct test_ff_i_data): Likewise.
23491         (struct test_f_l_data): Likewise.
23492         (struct test_f_L_data): Likewise.
23493         (struct test_sincos_data): Likewise.
23494         (RUN_TEST_f_f): Do not handle ulps.
23495         (RUN_TEST_LOOP_f_f): Likewise.
23496         (RUN_TEST_2_f): Likewise.
23497         (RUN_TEST_LOOP_2_f): Likewise.
23498         (RUN_TEST_fff_f): Likewise.
23499         (RUN_TEST_LOOP_fff_f): Likewise.
23500         (RUN_TEST_c_f): Likewise.
23501         (RUN_TEST_LOOP_c_f): Likewise.
23502         (RUN_TEST_f_f1): Likewise.
23503         (RUN_TEST_LOOP_f_f1): Likewise.
23504         (RUN_TEST_fF_f1): Likewise.
23505         (RUN_TEST_LOOP_fF_f1): Likewise.
23506         (RUN_TEST_fI_f1): Likewise.
23507         (RUN_TEST_LOOP_fI_f1): Likewise.
23508         (RUN_TEST_ffI_f1): Likewise.
23509         (RUN_TEST_LOOP_ffI_f1): Likewise.
23510         (RUN_TEST_c_c): Likewise.
23511         (RUN_TEST_LOOP_c_c): Likewise.
23512         (RUN_TEST_cc_c): Likewise.
23513         (RUN_TEST_LOOP_cc_c): Likewise.
23514         (RUN_TEST_f_i): Likewise.
23515         (RUN_TEST_LOOP_f_i): Likewise.
23516         (RUN_TEST_f_i_tg): Likewise.
23517         (RUN_TEST_LOOP_f_i_tg): Likewise.
23518         (RUN_TEST_ff_i_tg): Likewise.
23519         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23520         (RUN_TEST_f_b): Likewise.
23521         (RUN_TEST_LOOP_f_b): Likewise.
23522         (RUN_TEST_f_b_tg): Likewise.
23523         (RUN_TEST_LOOP_f_b_tg): Likewise.
23524         (RUN_TEST_f_l): Likewise.
23525         (RUN_TEST_LOOP_f_l): Likewise.
23526         (RUN_TEST_f_L): Likewise.
23527         (RUN_TEST_LOOP_f_L): Likewise.
23528         (RUN_TEST_sincos): Likewise.
23529         (RUN_TEST_LOOP_sincos): Likewise.
23531 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23533         [BZ #15480]
23534         [BZ #15485]
23535         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23536         main case of finite arguments, set rounding mode to FE_TONEAREST
23537         and discard exceptions.
23538         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23539         exceptions.
23540         (remainder_tonearest_test_data): New variable.
23541         (remainder_test_tonearest): New function.
23542         (remainder_towardzero_test_data): New variable.
23543         (remainder_test_towardzero): New function.
23544         (remainder_downward_test_data): New variable.
23545         (remainder_test_downward): New function.
23546         (remainder_upward_test_data): New variable.
23547         (remainder_test_upward): New function.
23548         (main): Call the new test functions.
23550         * math/libm-test.inc (struct test_f_f1_data): Remove field
23551         extra_init.
23552         (struct test_fF_f1_data): Likewise.
23553         (struct test_ffI_f1_data): Likewise.
23554         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
23555         based on value of EXTRA_EXPECTED.
23556         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23557         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
23558         EXTRA_VAR based on value of EXTRA_EXPECTED.
23559         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23560         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
23561         EXTRA_VAR based on value of EXTRA_EXPECTED.
23562         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23563         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
23564         EXTRA_VAR based on value of EXTRA_EXPECTED.
23565         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23566         * math/gen-libm-test.pl (parse_args): Don't output initializers
23567         for extra output values.
23569         * math/libm-test.inc (check_int): Expect result to be exactly
23570         equal to expected value and do not handle ulps.
23571         (check_long): Likewise.
23572         (check_longlong): Likewise.
23574         * math/libm-test.inc (ceil_test_data): Test for "inexact"
23575         exceptions.
23576         (cimag_test_data): Likewise.
23577         (conj_test_data): Likewise.
23578         (copysign_test_data): Likewise.
23579         (cproj_test_data): Likewise.
23580         (creal_test_data): Likewise.
23581         (fabs_test_data): Likewise.
23582         (fdim_test_data): Likewise.
23583         (finite_test_data): Likewise.
23584         (floor_test_data): Likewise.
23585         (fmax_test_data): Likewise.
23586         (fmin_test_data): Likewise.
23587         (fmod_test_data): Likewise.
23588         (fpclassify_test_data): Likewise.
23589         (frexp_test_data): Likewise.
23590         (ilogb_test_data): Likewise.
23591         (isfinite_test_data): Likewise.
23592         (isgreater_test_data): Likewise.
23593         (isgreaterequal_test_data): Likewise.
23594         (isinf_test_data): Likewise.
23595         (isless_test_data): Likewise.
23596         (islessequal_test_data): Likewise.
23597         (islessgreater_test_data): Likewise.
23598         (isnan_test_data): Likewise.
23599         (isnormal_test_data): Likewise.
23600         (issignaling_test_data): Likewise.
23601         (isunordered_test_data): Likewise.
23602         (ldexp_test_data): Likewise.
23603         (lrint_test_data): Likewise.
23604         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23605         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23606         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23607         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23608         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23609         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23610         test input.
23611         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23612         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23613         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23614         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23615         that test input.
23616         (lrint_downward_test_data): Test for "inexact" exceptions.
23617         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23618         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23619         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23620         test input.
23621         (lrint_upward_test_data): Test for "inexact" exceptions.
23622         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23623         test input.
23624         (llrint_test_data): Test for "inexact" exceptions.
23625         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23626         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23627         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23628         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23629         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23630         (llrint_downward_test_data): Test for "inexact" exceptions.
23631         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23632         (llrint_upward_test_data): Test for "inexact" exceptions.
23633         (logb_test_data): Likewise.
23634         (logb_downward_test_data): Likewise.
23635         (nextafter_test_data): Likewise.
23636         (nexttoward_test_data): Likewise.
23637         (remainder_test_data): Likewise.
23638         (remquo_test_data): Likewise.
23639         (scalbn_test_data): Likewise.
23640         (scalbln_test_data): Likewise.
23641         (signbit_test_data): Likewise.
23642         (sqrt_test_data): Likewise.
23643         (significand_test_data): Likewise.
23645 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23647         [BZ #15424]
23648         * benchtests/bench-modf.c (struct args): Mark arg0 as
23649         volatile.
23650         * scripts/bench.pl: Mark members of struct args as volatile.
23652 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23654         [BZ # 15497]
23655         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23656         negative infinity on POWER6 or lower.
23657         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23659 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23661         [BZ #15442]
23662         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23663         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23664         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23665         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23666         (_FP_SETQNAN): New macro.
23667         (_FP_SETQNAN_SEMIRAW): Likewise.
23668         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23669         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23670         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23671         (FP_EXTEND): Use _FP_FRAC_SNANP.
23672         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23673         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23674         into account.
23675         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23676         New macro.
23677         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23678         Likewise.
23680 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23682         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23683         with DIVIDE_BY_ZERO_EXCEPTION.
23684         (gamma_test_data): Likewise.
23685         (lgamma_test_data): Likewise.
23686         (log_test_data): Likewise.
23687         (log10_test_data): Likewise.
23688         (log2_test_data): Likewise.
23689         (tgamma_test_data): Likewise.
23691         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23692         (acos_test_tonearest): Likewise.
23693         (acos_test_towardzero): Likewise.
23694         (acos_test_downward): Likewise.
23695         (acos_test_upward): Likewise.
23696         (acosh_test): Likewise.
23697         (asin_test): Likewise.
23698         (asin_test_tonearest): Likewise.
23699         (asin_test_towardzero): Likewise.
23700         (asin_test_downward): Likewise.
23701         (asin_test_upward): Likewise.
23702         (asinh_test): Likewise.
23703         (atan_test): Likewise.
23704         (atanh_test): Likewise.
23705         (atan2_test): Likewise.
23706         (cabs_test): Likewise.
23707         (cacos_test): Likewise.
23708         (cacosh_test): Likewise.
23709         (casin_test): Likewise.
23710         (casinh_test): Likewise.
23711         (catan_test): Likewise.
23712         (catanh_test): Likewise.
23713         (cbrt_test): Likewise.
23714         (ccos_test): Likewise.
23715         (ccosh_test): Likewise.
23716         (cexp_test): Likewise.
23717         (clog_test): Likewise.
23718         (clog10_test): Likewise.
23719         (cos_test): Likewise.
23720         (cos_test_tonearest): Likewise.
23721         (cos_test_towardzero): Likewise.
23722         (cos_test_downward): Likewise.
23723         (cos_test_upward): Likewise.
23724         (cosh_test): Likewise.
23725         (cosh_test_tonearest): Likewise.
23726         (cosh_test_towardzero): Likewise.
23727         (cosh_test_downward): Likewise.
23728         (cosh_test_upward): Likewise.
23729         (cpow_test): Likewise.
23730         (csin_test): Likewise.
23731         (csinh_test): Likewise.
23732         (csqrt_test): Likewise.
23733         (ctan_test): Likewise.
23734         (ctan_test_tonearest): Likewise.
23735         (ctan_test_towardzero): Likewise.
23736         (ctan_test_downward): Likewise.
23737         (ctan_test_upward): Likewise.
23738         (ctanh_test): Likewise.
23739         (ctanh_test_tonearest): Likewise.
23740         (ctanh_test_towardzero): Likewise.
23741         (ctanh_test_downward): Likewise.
23742         (ctanh_test_upward): Likewise.
23743         (erf_test): Likewise.
23744         (erfc_test): Likewise.
23745         (exp_test): Likewise.
23746         (exp_test_tonearest): Likewise.
23747         (exp_test_towardzero): Likewise.
23748         (exp_test_downward): Likewise.
23749         (exp_test_upward): Likewise.
23750         (exp10_test): Likewise.
23751         (exp2_test): Likewise.
23752         (expm1_test): Likewise.
23753         (fmod_test): Likewise.
23754         (gamma_test): Likewise.
23755         (hypot_test): Likewise.
23756         (j0_test): Likewise.
23757         (j1_test): Likewise.
23758         (jn_test): Likewise.
23759         (lgamma_test): Likewise.
23760         (log_test): Likewise.
23761         (log10_test): Likewise.
23762         (log1p_test): Likewise.
23763         (log2_test): Likewise.
23764         (logb_test_downward): Likewise.
23765         (pow_test): Likewise.
23766         (pow_test_tonearest): Likewise.
23767         (pow_test_towardzero): Likewise.
23768         (pow_test_downward): Likewise.
23769         (pow_test_upward): Likewise.
23770         (remainder_test): Likewise.
23771         (remquo_test): Likewise.
23772         (sin_test): Likewise.
23773         (sin_test_tonearest): Likewise.
23774         (sin_test_towardzero): Likewise.
23775         (sin_test_downward): Likewise.
23776         (sin_test_upward): Likewise.
23777         (sincos_test): Likewise.
23778         (sinh_test): Likewise.
23779         (sinh_test_tonearest): Likewise.
23780         (sinh_test_towardzero): Likewise.
23781         (sinh_test_downward): Likewise.
23782         (sinh_test_upward): Likewise.
23783         (sqrt_test): Likewise.
23784         (tan_test): Likewise.
23785         (tan_test_tonearest): Likewise.
23786         (tan_test_towardzero): Likewise.
23787         (tan_test_downward): Likewise.
23788         (tan_test_upward): Likewise.
23789         (tanh_test): Likewise.
23790         (tgamma_test): Likewise.
23791         (y0_test): Likewise.
23792         (y1_test): Likewise.
23793         (yn_test): Likewise.
23795         * math/gen-libm-test.pl (adjust_arg): Remove function.
23796         (special_function): Remove argument $in_func.  Only handle
23797         generating output for tables of tests, not inside functions.
23798         (parse_args): Likewise.
23799         (generate_testfile): Remove variable $in_func.  Update call to
23800         parse_args.
23801         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23802         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23803         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23804         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23805         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23806         (MAX_VALUE_INIT): Rename macro to max_value.
23807         (MIN_VALUE_INIT): Rename macro to min_value.
23808         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23809         (plus_zero): Remove variable.
23810         (minus_zero): Likewise.
23811         (plus_infty): Likewise.
23812         (minus_infty): Likewise.
23813         (qnan_value): Likewise.
23814         (max_value): Likewise.
23815         (min_value): Likewise.
23816         (min_subnorm_value): Likewise.
23818 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23820         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23821         uint64_t or uint32_t usage.
23822         * crypt/sha256-block.c: Likewise.
23823         * crypt/sha256-crypt.c: Likewise.
23824         * crypt/sha256.c: Likewise.
23825         * crypt/sha512-block.c: Likewise.
23826         * crypt/sha512-crypt.c: Likewise.
23827         * crypt/sha512.c: Likewise.
23828         * debug/backtrace-tst.c: Likewise.
23829         * debug/pcprofiledump.c: Likewise.
23830         * elf/cache.c: Likewise.
23831         * elf/dl-cache.c: Likewise.
23832         * elf/dl-misc.c: Likewise.
23833         * elf/dl-profile.c: Likewise.
23834         * elf/dl-support.c: Likewise.
23835         * elf/ldconfig.c: Likewise.
23836         * elf/sprof.c: Likewise.
23837         * iconv/dummy-repertoire.c: Likewise.
23838         * iconv/iconv_charmap.c: Likewise.
23839         * iconv/skeleton.c: Likewise.
23840         * iconvdata/8bit-generic.c: Likewise.
23841         * iconvdata/cp737.h: Likewise.
23842         * iconvdata/cp775.h: Likewise.
23843         * iconvdata/ibm1008.h: Likewise.
23844         * iconvdata/ibm1025.h: Likewise.
23845         * iconvdata/ibm1046.h: Likewise.
23846         * iconvdata/ibm1097.h: Likewise.
23847         * iconvdata/ibm1112.h: Likewise.
23848         * iconvdata/ibm1122.h: Likewise.
23849         * iconvdata/ibm1123.h: Likewise.
23850         * iconvdata/ibm1124.h: Likewise.
23851         * iconvdata/ibm1129.h: Likewise.
23852         * iconvdata/ibm1130.h: Likewise.
23853         * iconvdata/ibm1132.h: Likewise.
23854         * iconvdata/ibm1133.h: Likewise.
23855         * iconvdata/ibm1137.h: Likewise.
23856         * iconvdata/ibm1140.h: Likewise.
23857         * iconvdata/ibm1141.h: Likewise.
23858         * iconvdata/ibm1142.h: Likewise.
23859         * iconvdata/ibm1143.h: Likewise.
23860         * iconvdata/ibm1144.h: Likewise.
23861         * iconvdata/ibm1145.h: Likewise.
23862         * iconvdata/ibm1146.h: Likewise.
23863         * iconvdata/ibm1147.h: Likewise.
23864         * iconvdata/ibm1148.h: Likewise.
23865         * iconvdata/ibm1149.h: Likewise.
23866         * iconvdata/ibm1153.h: Likewise.
23867         * iconvdata/ibm1154.h: Likewise.
23868         * iconvdata/ibm1155.h: Likewise.
23869         * iconvdata/ibm1156.h: Likewise.
23870         * iconvdata/ibm1157.h: Likewise.
23871         * iconvdata/ibm1158.h: Likewise.
23872         * iconvdata/ibm1160.h: Likewise.
23873         * iconvdata/ibm1161.h: Likewise.
23874         * iconvdata/ibm1162.h: Likewise.
23875         * iconvdata/ibm1163.h: Likewise.
23876         * iconvdata/ibm1164.h: Likewise.
23877         * iconvdata/ibm1166.h: Likewise.
23878         * iconvdata/ibm1167.h: Likewise.
23879         * iconvdata/ibm12712.h: Likewise.
23880         * iconvdata/ibm1390.h: Likewise.
23881         * iconvdata/ibm1399.h: Likewise.
23882         * iconvdata/ibm16804.h: Likewise.
23883         * iconvdata/ibm4517.h: Likewise.
23884         * iconvdata/ibm4899.h: Likewise.
23885         * iconvdata/ibm4909.h: Likewise.
23886         * iconvdata/ibm4971.h: Likewise.
23887         * iconvdata/ibm5347.h: Likewise.
23888         * iconvdata/ibm803.h: Likewise.
23889         * iconvdata/ibm856.h: Likewise.
23890         * iconvdata/ibm901.h: Likewise.
23891         * iconvdata/ibm902.h: Likewise.
23892         * iconvdata/ibm9030.h: Likewise.
23893         * iconvdata/ibm9066.h: Likewise.
23894         * iconvdata/ibm921.h: Likewise.
23895         * iconvdata/ibm922.h: Likewise.
23896         * iconvdata/ibm9448.h: Likewise.
23897         * iconvdata/isiri-3342.h: Likewise.
23898         * iconvdata/jis0201.h: Likewise.
23899         * include/link.h: Likewise.
23900         * include/netdb.h: Likewise.
23901         * inet/check_native.c: Likewise.
23902         * inet/check_pf.c: Likewise.
23903         * inet/getipv4sourcefilter.c: Likewise.
23904         * inet/getnameinfo.c: Likewise.
23905         * inet/getsourcefilter.c: Likewise.
23906         * inet/htonl.c: Likewise.
23907         * inet/setipv4sourcefilter.c: Likewise.
23908         * inet/setsourcefilter.c: Likewise.
23909         * inet/test-inet6_opt.c: Likewise.
23910         * inet/tst-network.c: Likewise.
23911         * locale/C-collate.c: Likewise.
23912         * locale/C-ctype.c: Likewise.
23913         * locale/C-time.c: Likewise.
23914         * locale/C-translit.h: Likewise.
23915         * locale/loadarchive.c: Likewise.
23916         * locale/programs/3level.h: Likewise.
23917         * locale/programs/charmap.c: Likewise.
23918         * locale/programs/charmap.h: Likewise.
23919         * locale/programs/ld-address.c: Likewise.
23920         * locale/programs/ld-collate.c: Likewise.
23921         * locale/programs/ld-ctype.c: Likewise.
23922         * locale/programs/ld-identification.c: Likewise.
23923         * locale/programs/ld-measurement.c: Likewise.
23924         * locale/programs/ld-messages.c: Likewise.
23925         * locale/programs/ld-monetary.c: Likewise.
23926         * locale/programs/ld-name.c: Likewise.
23927         * locale/programs/ld-numeric.c: Likewise.
23928         * locale/programs/ld-paper.c: Likewise.
23929         * locale/programs/ld-telephone.c: Likewise.
23930         * locale/programs/ld-time.c: Likewise.
23931         * locale/programs/linereader.c: Likewise.
23932         * locale/programs/locale.c: Likewise.
23933         * locale/programs/locarchive.c: Likewise.
23934         * locale/programs/locfile.h: Likewise.
23935         * locale/programs/repertoire.c: Likewise.
23936         * locale/programs/simple-hash.c: Likewise.
23937         * locale/programs/simple-hash.h: Likewise.
23938         * malloc/memusage.c: Likewise.
23939         * malloc/memusagestat.c: Likewise.
23940         * nis/nis_defaults.c: Likewise.
23941         * nis/nis_hash.c: Likewise.
23942         * nis/nis_print.c: Likewise.
23943         * nis/nis_xdr.c: Likewise.
23944         * nscd/connections.c: Likewise.
23945         * nscd/hstcache.c: Likewise.
23946         * nscd/nscd_gethst_r.c: Likewise.
23947         * nscd/nscd_getserv_r.c: Likewise.
23948         * nscd/nscd_helper.c: Likewise.
23949         * nscd/servicescache.c: Likewise.
23950         * nss/makedb.c: Likewise.
23951         * nss/nss_db/db-XXX.c: Likewise.
23952         * nss/nss_db/db-initgroups.c: Likewise.
23953         * nss/nss_db/db-netgrp.c: Likewise.
23954         * nss/nss_files/files-network.c: Likewise.
23955         * nss/nss_files/files-parse.c: Likewise.
23956         * posix/bug-regex5.c: Likewise.
23957         * posix/fnmatch_loop.c: Likewise.
23958         * posix/regcomp.c: Likewise.
23959         * posix/regexec.c: Likewise.
23960         * posix/tst-rfc3484-2.c: Likewise.
23961         * posix/tst-rfc3484-3.c: Likewise.
23962         * posix/tst-rfc3484.c: Likewise.
23963         * resolv/nss_dns/dns-canon.c: Likewise.
23964         * resolv/nss_dns/dns-network.c: Likewise.
23965         * resolv/res_init.c: Likewise.
23966         * resolv/res_mkquery.c: Likewise.
23967         * resolv/tst-aton.c: Likewise.
23968         * stdlib/cxa_atexit.c: Likewise.
23969         * stdlib/cxa_finalize.c: Likewise.
23970         * stdlib/gen-fpioconst.c: Likewise.
23971         * stdlib/strtol_l.c: Likewise.
23972         * string/tst-endian.c: Likewise.
23973         * sunrpc/auth_des.c: Likewise.
23974         * sunrpc/clnt_udp.c: Likewise.
23975         * sunrpc/rtime.c: Likewise.
23976         * sunrpc/svcauth_des.c: Likewise.
23977         * sunrpc/xdr.c: Likewise.
23978         * sunrpc/xdr_intXX_t.c: Likewise.
23979         * sunrpc/xdr_rec.c: Likewise.
23980         * sysdeps/generic/ldconfig.h: Likewise.
23981         * sysdeps/generic/ldsodefs.h: Likewise.
23982         * sysdeps/generic/memusage.h: Likewise.
23983         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23984         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23985         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23986         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23987         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23988         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23989         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23990         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23991         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23993         * sysdeps/posix/getaddrinfo.c: Likewise.
23994         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23995         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23996         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23997         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23998         * sysdeps/powerpc/test-gettimebase.c: Likewise.
23999         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24000         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24001         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24002         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24003         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24004         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24005         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24006         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24007         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24008         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24009         * sysdeps/x86_64/dl-tls.h: Likewise.
24010         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24011         * time/alt_digit.c: Likewise.
24012         * time/era.c: Likewise.
24013         * wcsmbs/tst-c16c32-1.c: Likewise.
24015 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24017         * math/libm-test.inc (struct test_sincos_data): New type.
24018         (RUN_TEST_LOOP_sincos): New macro.
24019         (sincos_test_data): New variable.
24020         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24022 2013-05-16  Richard Henderson  <rth@redhat.com>
24024         * math/atest-exp2.c (LIMB64): New macro.
24025         (CONSTSZ): New macro.
24026         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24027         (hexdig): Move ...
24028         (print_mpn_fp): ... to function scope.
24029         (read_mpn_hex): Remove.
24030         (get_log2): Remove.
24031         (exp2_mpn): Use mp_log2.
24032         (main): Use mp_exp1.
24034 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24036         * math/libm-test.inc: Remove comment about not testing "inexact"
24037         exceptions.
24038         (INEXACT_EXCEPTION): New macro.
24039         (NO_INEXACT_EXCEPTION): Likewise.
24040         (INVALID_EXCEPTION_OK): Update value.
24041         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24042         (OVERFLOW_EXCEPTION_OK): Likewise.
24043         (UNDERFLOW_EXCEPTION_OK): Likewise.
24044         (IGNORE_ZERO_INF_SIGN): Likewise.
24045         (ERRNO_UNCHANGED): Likewise.
24046         (ERRNO_EDOM): Likewise.
24047         (ERRNO_ERANGE): Likewise.
24048         (test_exceptions): Handle testing "inexact" exceptions.
24049         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24050         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24051         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24052         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24053         INEXACT_EXCEPTION.
24054         (rint_towardzero_test_data): Likewise.
24055         (rint_downward_test_data): Likewise.
24056         (rint_upward_test_data): Likewise.
24058         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24059         with OVERFLOW_EXCEPTION.
24060         (exp10_test_data): Likewise.
24061         (exp2_test_data): Likewise.
24062         (expm1_test_data): Likewise.
24063         (lgamma_test_data): Likewise.
24064         (pow_test_data): Likewise.
24065         (tgamma_test_data): Likewise.
24066         (yn_test_data): Remove duplicate test of overflow.
24068         * math/libm-test.inc (struct test_cc_c_data): New type.
24069         (RUN_TEST_LOOP_cc_c): New macro.
24070         (cpow_test_data): New variable.
24071         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24073         * math/libm-test.inc (struct test_f_L_data): New type.
24074         (RUN_TEST_LOOP_f_L): New macro.
24075         (llrint_test_data): New variable.
24076         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24077         (llrint_tonearest_test_data): New variable.
24078         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24079         (llrint_towardzero_test_data): New variable.
24080         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24081         (llrint_downward_test_data): New variable.
24082         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24083         (llrint_upward_test_data): New variable.
24084         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24085         (llround_test_data): New variable.
24086         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24088 2013-05-13  Peter Collingbourne  <pcc@google.com>
24090         * math/atest-exp2.c (get_log2): Remove const attribute.
24092 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24094         * math/libm-test.inc (struct test_f_l_data): New type.
24095         (RUN_TEST_LOOP_f_l): New macro.
24096         (lrint_test_data): New variable.
24097         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24098         (lrint_tonearest_test_data): New variable.
24099         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24100         (lrint_towardzero_test_data): New variable.
24101         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24102         (lrint_downward_test_data): New variable.
24103         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24104         (lrint_upward_test_data): New variable.
24105         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24106         (lround_test_data): New variable.
24107         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24109 2013-05-15  Peter Collingbourne  <pcc@google.com>
24111         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24112         (EXTRACT_WORDS64) Use where appropriate.
24113         (INSERT_WORDS64) Likewise.
24115         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24116         constraints with x constraints.
24117         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24119         * malloc/obstack.c (_obstack_compat): Add initializer.
24121 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24123         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24124         si_trapno and add si_addr_lsb to _sifields.sigfault.
24125         (si_trapno): Remove macro.
24126         (si_addr_lsb): Define new macro.
24127         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24129 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24131         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24132         instead of TEST_f_l.
24133         (llrint_test_tonearest): Likewise.
24134         (llrint_test_towardzero): Likewise.
24135         (llrint_test_downward): Likewise.
24136         (llrint_test_upward): Likewise.
24137         (llround_test): Likewise.
24139         * math/libm-test.inc (struct test_f_i_data): Add comment.
24140         (RUN_TEST_LOOP_f_b): New macro.
24141         (RUN_TEST_LOOP_f_b_tg): Likewise.
24142         (finite_test_data): New variable.
24143         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24144         (isfinite_test_data): New variable.
24145         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24146         (isinf_test_data): New variable.
24147         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24148         (isnan_test_data): New variable.
24149         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24150         (isnormal_test_data): New variable.
24151         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24152         (issignaling_test_data): New variable.
24153         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24154         (signbit_test_data): New variable.
24155         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24157         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24158         with INVALID_EXCEPTION.
24159         (acosh_test_data): Likewise.
24160         (asin_test_data): Likewise.
24161         (atanh_test_data): Likewise.
24162         (fmod_test_data): Likewise.
24163         (log_test_data): Likewise.
24164         (log10_test_data): Likewise.
24165         (log2_test_data): Likewise.
24166         (pow_test_data): Likewise.
24167         (sqrt_test_data): Likewise.
24168         (y0_test_data): Likewise.
24169         (y1_test_data): Likewise.
24170         (yn_test_data): Likewise.
24172         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24173         function contents.
24175         * math/libm-test.inc (struct test_ff_i_data): New type.
24176         (RUN_TEST_LOOP_ff_i_tg): New macro.
24177         (isgreater_test_data): New variable.
24178         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24179         (isgreaterequal_test_data): New variable.
24180         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24181         (isless_test_data): New variable.
24182         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24183         (islessequal_test_data): New variable.
24184         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24185         (islessgreater_test_data): New variable.
24186         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24187         (isunordered_test_data): New variable.
24188         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24190 2013-05-14  David S. Miller  <davem@davemloft.net>
24192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24194 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24196         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24198         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24199         extra_test to int.
24200         (struct test_f_i_data): Change type of max_ulp to int.
24202         * math/libm-test.inc (test_ffI_f1_data): New type.
24203         (RUN_TEST_LOOP_ffI_f1): New macro.
24204         (remquo_test_data): New variable.
24205         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24207         * setjmp/tst-setjmp-fp.c: New file.
24208         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24209         (link-libm): New variable.
24210         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24212         * math/libm-test.inc (struct test_f_i_data): New type.
24213         (RUN_TEST_LOOP_f_i): New macro.
24214         (RUN_TEST_LOOP_f_i_tg): Likewise.
24215         (fpclassify_test_data): New variable.
24216         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24217         (ilogb_test_data): New variable.
24218         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24220         * math/libm-test.inc (scalbln_test): Correct function name in END
24221         call.
24223         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24224         (RUN_TEST_LOOP_fI_f1): New macro.
24225         (frexp_test_data): New variable.
24226         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24228         * math/libm-test.inc (struct test_fF_f1_data): New type.
24229         (RUN_TEST_LOOP_fF_f1): New macro.
24230         (modf_test_data): New variable.
24231         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24233         * math/libm-test.inc (struct test_f_f1_data): New type.
24234         (RUN_TEST_LOOP_f_f1): New macro.
24235         (gamma_test_data): New variable.
24236         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24237         (lgamma_test_data): New variable.
24238         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24240 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24242         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24243         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24244         (main): Comment "tls" pseudo-hwcap.
24246 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24248         * math/libm-test.inc (struct test_fl_f_data): New type.
24249         (RUN_TEST_LOOP_fl_f): New variable.
24250         (scalbln_test_data): New variable.
24251         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24253         * math/libm-test.inc (struct test_fi_f_data): New type.
24254         (RUN_TEST_LOOP_fi_f): New macro.
24255         (ldexp_test_data): New variable.
24256         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24257         (scalbn_test_data): New variable.
24258         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24260         * math/libm-test.inc (struct test_c_f_data): New type.
24261         (RUN_TEST_LOOP_c_f): New macro.
24262         (cabs_test_data): New variable.
24263         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24264         (carg_test_data): New variable.
24265         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24266         (cimag_test_data): New variable.
24267         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24268         (creal_test_data): New variable.
24269         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24271         * math/libm-test.inc (struct test_if_f_data): New type.
24272         (RUN_TEST_LOOP_if_f): New macro.
24273         (jn_test_data): New variable.
24274         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24275         (yn_test_data): New variable.
24276         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24278         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24280 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24282         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24283         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24285 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24287         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24288         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24289         (bench-deps): Add bench-timing.h.
24290         * benchtests-bench-skeleton.c: Include bench-timing.h.
24291         (main): Use TIMING_* macros instead of clock_gettime.
24292         * benchtests/bench-timing.h: New file.
24294         [BZ #14582]
24295         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24296         Renamed from _LIB_VERSION.
24297         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24299 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24301         * math/libm-test.inc (struct test_fff_f_data): New type.
24302         (RUN_TEST_LOOP_fff_f): New macro.
24303         (fma_test_data): New variable.
24304         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24305         (fma_towardzero_test_data): New variable.
24306         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24307         (fma_downward_test_data): New variable.
24308         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24309         (fma_upward_test_data): New variable.
24310         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24312         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24313         (struct test_c_c_data): New type.
24314         (RUN_TEST_LOOP_c_c): New macro.
24315         (cacos_test_data): New variable.
24316         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24317         (cacosh_test_data): New variable.
24318         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24319         (casin_test_data): New variable.
24320         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24321         (casinh_test_data): New variable.
24322         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24323         (catan_test_data): New variable.
24324         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24325         (catanh_test_data): New variable.
24326         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24327         (ccos_test_data): New variable.
24328         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24329         (ccosh_test_data): New variable.
24330         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24331         (cexp_test_data): New variable.
24332         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24333         (clog_test_data): New variable.
24334         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24335         (clog10_test_data): New variable.
24336         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24337         (conj_test_data): New variable.
24338         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24339         (cproj_test_data): New variable.
24340         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24341         (csin_test_data): New variable.
24342         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24343         (csinh_test_data): New variable.
24344         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24345         (csqrt_test_data): New variable.
24346         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24347         (ctan_test_data): New variable.
24348         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24349         (ctan_tonearest_test_data): New variable.
24350         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24351         (ctan_towardzero_test_data): New variable.
24352         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24353         (ctan_downward_test_data): New variable.
24354         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24355         (ctan_upward_test_data): New variable.
24356         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24357         (ctanh_test_data): New variable.
24358         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24359         (ctanh_tonearest_test_data): New variable.
24360         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24361         (ctanh_towardzero_test_data): New variable.
24362         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24363         (ctanh_downward_test_data): New variable.
24364         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24365         (ctanh_upward_test_data): New variable.
24366         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24367         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24368         of BUILD_COMPLEX.
24370         * math/libm-test.inc (struct test_ff_f_data): New type.
24371         (struct test_ff_f_data_nexttoward): Likewise.
24372         (RUN_TEST_LOOP_2_f): New macro.
24373         (RUN_TEST_LOOP_ff_f): Likewise.
24374         (atan2_test_data): New variable.
24375         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24376         (copysign_test_data): New variable.
24377         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24378         (fdim_test_data): New variable.
24379         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24380         (fmax_test_data): New variable.
24381         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24382         (fmin_test_data): New variable.
24383         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24384         (fmod_test_data): New variable.
24385         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24386         (hypot_test_data): New variable.
24387         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24388         (nextafter_test_data): New variable.
24389         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24390         (nexttoward_test_data): New variable.
24391         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24392         (pow_test_data): New variable.
24393         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24394         (pow_tonearest_test_data): New variable.
24395         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24396         (pow_towardzero_test_data): New variable.
24397         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24398         (pow_downward_test_data): New variable.
24399         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24400         (pow_upward_test_data): New variable.
24401         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24402         (remainder_test_data): New variable.
24403         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24404         (scalb_test_data): New variable.
24405         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24406         * sysdeps/i386/fpu/libm-test-ulps: Update.
24408 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24410         * math/libm-test.inc (fma_test): Use max_value instead of local
24411         variable fltmax.
24412         (nextafter_test): Likewise.
24414         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24415         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24416         (acos_downward_test_data): New variable.
24417         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24418         (acos_upward_test_data): New variable.
24419         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24420         (acosh_test_data): New variable.
24421         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24422         (asin_test_data): New variable.
24423         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24424         (asin_tonearest_test_data): New variable.
24425         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24426         (asin_towardzero_test_data): New variable.
24427         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24428         (asin_downward_test_data): New variable.
24429         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24430         (asin_upward_test_data): New variable.
24431         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24432         (asinh_test_data): New variable.
24433         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24434         (atan_test_data): New variable.
24435         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24436         (atanh_test_data): New variable.
24437         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24438         (cbrt_test_data): New variable.
24439         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24440         (ceil_test_data): New variable.
24441         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24442         (cos_test_data): New variable.
24443         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24444         (cos_tonearest_test_data): New variable.
24445         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24446         (cos_towardzero_test_data): New variable.
24447         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24448         (cos_downward_test_data): New variable.
24449         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24450         (cos_upward_test_data): New variable.
24451         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24452         (cosh_test_data): New variable.
24453         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24454         (cosh_tonearest_test_data): New variable.
24455         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24456         (cosh_towardzero_test_data): New variable.
24457         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24458         (cosh_downward_test_data): New variable.
24459         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24460         (cosh_upward_test_data): New variable.
24461         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24462         (erf_test_data): New variable.
24463         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24464         (erfc_test_data): New variable.
24465         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24466         (exp_test_data): New variable.
24467         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24468         (exp_tonearest_test_data): New variable.
24469         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24470         (exp_towardzero_test_data): New variable.
24471         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24472         (exp_downward_test_data): New variable.
24473         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24474         (exp_upward_test_data): New variable.
24475         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24476         (exp10_test_data): New variable.
24477         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24478         (exp2_test_data): New variable.
24479         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24480         (expm1_test_data): New variable.
24481         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24482         (fabs_test_data): New variable.
24483         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24484         (floor_test_data): New variable.
24485         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24486         (j0_test_data): New variable.
24487         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24488         (j1_test_data): New variable.
24489         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24490         (log_test_data): New variable.
24491         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24492         (log10_test_data): New variable.
24493         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24494         (log1p_test_data): New variable.
24495         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24496         (log2_test_data): New variable.
24497         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24498         (logb_test_data): New variable.
24499         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24500         (logb_downward_test_data): New variable.
24501         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24502         (nearbyint_test_data): New variable.
24503         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24504         (rint_test_data): New variable.
24505         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24506         (rint_tonearest_test_data): New variable.
24507         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24508         (rint_towardzero_test_data): New variable.
24509         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24510         (rint_downward_test_data): New variable.
24511         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24512         (rint_upward_test_data): New variable.
24513         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24514         (round_test_data): New variable.
24515         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24516         (sin_test_data): New variable.
24517         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24518         (sin_tonearest_test_data): New variable.
24519         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24520         (sin_towardzero_test_data): New variable.
24521         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24522         (sin_downward_test_data): New variable.
24523         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24524         (sin_upward_test_data): New variable.
24525         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24526         (sinh_test_data): New variable.
24527         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24528         (sinh_tonearest_test_data): New variable.
24529         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24530         (sinh_towardzero_test_data): New variable.
24531         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24532         (sinh_downward_test_data): New variable.
24533         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24534         (sinh_upward_test_data): New variable.
24535         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24536         (sqrt_test_data): New variable.
24537         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24538         (tan_test_data): New variable.
24539         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24540         (tan_tonearest_test_data): New variable.
24541         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24542         (tan_towardzero_test_data): New variable.
24543         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24544         (tan_downward_test_data): New variable.
24545         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24546         (tan_upward_test_data): New variable.
24547         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24548         (tanh_test_data): New variable.
24549         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24550         (tgamma_test_data): New variable.
24551         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24552         (trunc_test_data): New variable.
24553         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24554         (y0_test_data): New variable.
24555         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24556         (y1_test_data): New variable.
24557         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24558         (significand_test_data): New variable.
24559         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24561 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
24563         [BZ #12387]
24564         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24566 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24568         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24570 2013-05-10  Andreas Jaeger  <aj@suse.de>
24572         [BZ #15448]
24573         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24574         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24576 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24578         * math/gen-libm-test.pl (adjust_arg): New function.
24579         (special_functions): Handle generating output in both functions
24580         and arrays.
24581         (parse_args): Likewise.
24582         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
24583         $in_func argument to parse_args.
24584         * math/libm-test.inc (struct test_f_f_data): New type.
24585         (IF_ROUND_INIT_): New macro.
24586         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24587         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24588         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24589         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24590         (ROUND_RESTORE_): Likewise.
24591         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24592         (ROUND_RESTORE_FE_TONEAREST): Likewise.
24593         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24594         (ROUND_RESTORE_FE_UPWARD): Likewise.
24595         (RUN_TEST_LOOP_f_f): New macro.
24596         (acos_test_data): New variable.
24597         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24598         (acos_tonearest_test_data): New variable.
24599         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24601 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24603         * benchtests/bench-skeleton.c (startup): Fix coding style.
24605 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24607         [BZ #6809]
24608         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24609         negative infinity argument.
24610         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24611         negative infinity argument.
24612         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24613         negative infinity argument.
24614         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24615         domain errors.
24617 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24619         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24620         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24621         * iconv/iconv_prog.c (main): Likewise.
24622         * locale/programs/charmap-dir.c (charmap_readdir)
24623         (fopen_uncompressed): Likewise.
24624         * locale/programs/locfile.c (siblings_uncached)
24625         (write_locale_data): Use lstat64 instead of lstat.
24626         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24627         stat.
24629 2013-05-10  Andreas Jaeger  <aj@suse.de>
24631         [BZ #15395]
24632         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24633         localization.
24634         Include <locale.h>.
24636 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24638         * elf/dl-close.c (_dl_close_worker): Add comments.
24640 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24642         [BZ #15359]
24643         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24644         high part of pi/2.
24645         (__ieee754_rem_pio2l): Update comments.
24647         [BZ #15429]
24648         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24649         high part of pi/2.
24650         (__ieee754_rem_pio2l): Update comments.
24652         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24653         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24655         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24656         M_PI_4l.
24658         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24659         (M_PI_34_LOG10El): Likewise.
24660         (M_PI2_LOG10El): Likewise.
24661         (M_PI4_LOG10El): Likewise.
24662         (M_PI_LOG10El): Likewise.
24664 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24668 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24670         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24671         (MINUS_ZERO_INIT): Likewise.
24672         (PLUS_INFTY_INIT): Likewise.
24673         (MINUS_INFTY_INIT): Likewise.
24674         (QNAN_VALUE_INIT): Likewise.
24675         (MAX_VALUE_INIT): Likewise.
24676         (MIN_VALUE_INIT): Likewise.
24677         (MIN_SUBNORM_VALUE_INIT): Likewise.
24678         (plus_zero): Initialize with PLUS_ZERO_INIT.
24679         (minus_zero): Initialize with MINUS_ZERO_INIT.
24680         (plus_infty): Initialize with PLUS_INFTY_INIT.
24681         (minus_infty): Initialize with MINUS_INFTY_INIT.
24682         (qnan_value): Initialize with QNAN_VALUE_INIT.
24683         (max_value): Initialize with MAX_VALUE_INIT.
24684         (min_value): Initialize with MIN_VALUE_INIT.
24685         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24687         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24688         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24689         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24690         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24692         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24693         (RUN_TEST_2_f): Likewise.
24694         (RUN_TEST_ff_f): Likewise.
24695         (RUN_TEST_fi_f): Likewise.
24696         (RUN_TEST_fl_f): Likewise.
24697         (RUN_TEST_fff_f): Likewise.
24698         (RUN_TEST_c_f): Likewise.
24699         (RUN_TEST_f_f1): Likewise.
24700         (RUN_TEST_fF_f1): Likewise.
24701         (RUN_TEST_fI_f1): Likewise.
24702         (RUN_TEST_ffI_f1): Likewise.
24703         (RUN_TEST_c_c): Likewise.
24704         (RUN_TEST_cc_c): Likewise.
24705         (RUN_TEST_f_i): Likewise.
24706         (RUN_TEST_f_i_tg): Likewise.
24707         (RUN_TEST_ff_i_tg): Likewise.
24708         (RUN_TEST_f_b): Likewise.
24709         (RUN_TEST_f_b_tg): Likewise.
24710         (RUN_TEST_f_l): Likewise.
24711         (RUN_TEST_f_L): Likewise.
24712         (RUN_TEST_sincos): Likewise.
24713         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24714         whether to show exceptions.  Do not include ");\n" in return
24715         value.
24716         (special_functions): Output call to RUN_TEST_sincos instead of
24717         check_float calls.  Update calls to new_test.
24718         (parse_args): Output call to single RUN_TEST_* macro instead of
24719         check_* calls and other assignments.  Update calls to new_test.
24721         [BZ #2546]
24722         [BZ #2560]
24723         [BZ #5159]
24724         [BZ #15426]
24725         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24726         input to result for tgamma overflow.
24727         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24728         (gamma_coeff): New variable.
24729         (NCOEFF): New macro.
24730         (gamma_positive): New function.
24731         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24732         underflow here.  Use gamma_positive instead of exp (lgamma) for
24733         other arguments.
24734         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24735         (gamma_coeff): New variable.
24736         (NCOEFF): New macro.
24737         (gammaf_positive): New function.
24738         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24739         underflow here.  Use gamma_positive instead of exp (lgamma) for
24740         other arguments.
24741         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24742         (gamma_coeff): New variable.
24743         (NCOEFF): New macro.
24744         (gammal_positive): New function.
24745         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24746         underflow here.  Use gamma_positive instead of exp (lgamma) for
24747         other arguments.
24748         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24749         (gamma_coeff): New variable.
24750         (NCOEFF): New macro.
24751         (gammal_positive): New function.
24752         (__ieee754_gammal_r): Handle positive infinity, overflow and
24753         underflow here.  Handle NaN the same as positive infinity.  Remove
24754         check x < 0xffffffff for negative integers.  Use gamma_positive
24755         instead of exp (lgamma) for other arguments.
24756         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24757         (gamma_coeff): New variable.
24758         (NCOEFF): New macro.
24759         (gammal_positive): New function.
24760         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24761         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24762         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24763         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24764         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24765         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24766         * sysdeps/generic/math_private.h (__gamma_productf): New
24767         prototype.
24768         (__gamma_product): Likewise.
24769         (__gamma_productl): Likewise.
24770         * math/Makefile (libm-calls): Add gamma_product.
24771         * math/libm-test.inc (tgamma_test): Add more tests.
24772         * sysdeps/i386/fpu/libm-test-ulps: Update.
24773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24775 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24777         * benchtests/bench-skeleton.c (main): Preheat CPU.
24779 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24781         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24783 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24785         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24786         and _dl_skip_args_internal.
24788 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24790         * manual/message.texi (Message Translation): Talk about users.
24791         Message to key mapping impacts design.
24793 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24795         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24797         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24799         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24800         * sysdeps/wordsize-64/glob64.c: ... here.
24802         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24803         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24804         New macros.
24806         * debug/getlogin_r_chk.c: Moved to ...
24807         * login/getlogin_r_chk.c: ... here.
24808         * debug/Makefile (routines): Move getlogin_r_chk to ...
24809         * login/Makefile (routines): ... here.
24810         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24811         * login/Versions (libc: GLIBC_2.4): ... here.
24813         * io/poll.c (__poll): Renamed from poll.
24814         Add libc_hidden_def.
24815         (poll): Define as weak alias.
24817         * debug/ptsname_r_chk.c: Moved to ...
24818         * login/ptsname_r_chk.c: ... here.
24819         * debug/Makefile (routines): Move ptsname_r_chk to ...
24820         * login/Makefile (routines): ... here.
24821         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24822         * login/Versions (libc: GLIBC_2.4): ... here.
24824         * posix/getlogin.c: Moved to ...
24825         * login/getlogin.c: ... here.
24826         * posix/getlogin_r.c: Moved to ...
24827         * login/getlogin_r.c: ... here.
24828         * posix/getlogin_r.c: Moved to ...
24829         * login/getlogin_r.c: ... here.
24830         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24831         * login/Makefile (routines): ... here.
24832         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24833         * login/Versions (libc: GLIBC_2.0): ... here.
24835         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24836         (setrlimit): Define as weak alias.
24838         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24839         Call __ names for open, ftruncate, and close.
24840         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24841         (truncate): Define as weak alias.
24843 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24845         * math/gen-libm-test.pl (parse_args): Initialize x before each
24846         test of frexp, modf and remquo.
24848         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24849         test signgam value.
24851 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24853         [BZ #15418]
24854         [BZ #15419]
24855         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24856         internal tests.
24857         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24859 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24861         * elf/dl-writev.h: New file.
24862         * elf/dl-misc.c: Include it.
24863         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24864         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24866 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24868         * math/libm-test.inc (noXFails): Remove variable.
24869         (noXPasses): Likewise.
24870         (BUILD_COMPLEX_INT): Remove macro.
24871         (print_screen): Remove xfail argument.
24872         (print_screen_max_error): Likewise.
24873         (update_stats): Likewise.
24874         (print_max_error): Likewise.  Update calls to other affected
24875         functions.
24876         (print_complex_max_error): Likewise.
24877         (test_single_exception): Update calls to print_screen.
24878         (test_single_errno): Likewise.
24879         (check_float_internal): Remove xfail argument.  Update calls to
24880         other affected functions.
24881         (check_float): Likewise.
24882         (check_complex): Likewise.
24883         (check_int): Likewise.
24884         (check_long): Likewise.
24885         (check_bool): Likewise.
24886         (check_longlong): Likewise.
24887         (main): Don't print noXFails and noXPasses.
24888         * math/gen-libm-test.pl (top level): Don't mention expected
24889         failure handling in comment.
24890         (new_test): Don't handle expected failures.
24891         (parse_args): Don't mention expected failure handling in comment.
24892         (generate_testfile): Don't handle expected failures.
24893         (parse_ulps): Likewise.
24894         (print_ulps_file): Likewise.
24895         (get_failure): Remove function.
24896         (output_test): Don't handle expected failures.
24897         * make/README.libm-test: Don't mention expected failure handling.
24899         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24900         (minus_zero): Likewise.
24901         (plus_infty): Likewise.
24902         (minus_infty): Likewise.
24903         (qnan_value): Likewise.
24904         (max_value): Likewise.
24905         (min_value): Likewise.
24906         (min_subnorm_value): Likewise.
24907         (initialize): Do not initialize those variables dynamically.
24909 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24911         * io/open.c (__open_2): Moved to ...
24912         * io/open_2.c: ... this new file.
24913         * io/open64.c (__open64_2): Moved to ...
24914         * io/open64_2.c: ... this new file.
24915         * io/openat.c (__openat_2): Moved to ...
24916         * io/openat_2.c: ... this new file.
24917         * io/openat64.c (__openat64_2): Moved to ...
24918         * io/openat64_2.c: ... this new file.
24919         * io/Makefile (routines): Add them.
24920         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24921         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24922         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24923         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24924         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24925         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24926         (__openat64): Add hidden_ver.
24927         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24928         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24930         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24931         Separately conditionalize setting of GLRO(dl_sysinfo) so
24932         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24933         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24935 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24937         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24938         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24939         definition.
24940         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24941         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24942         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24943         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24944         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24946 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24948         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24949         test signgam value.
24951         * math/libm-test.inc (hypot_test): Do not use
24952         IGNORE_ZERO_INF_SIGN.
24954 2013-05-03  Andreas Jaeger  <aj@suse.de>
24956         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24957         Linux 3.9.
24958         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24959         (PF_MAX): Adjust for VSOCK change.
24961 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24965 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24967         [BZ #15264]
24968         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24969         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24970         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24972 2013-05-02  David S. Miller  <davem@davemloft.net>
24974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24976 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
24978         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24980 2013-05-01  Roland McGrath  <roland@hack.frob.com>
24982         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24984 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
24986         [BZ #14952]
24987         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24988         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24989         Use __attribute__ ((__gnu_inline__)).
24990         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24991         Don't use __attribute__ ((__gnu_inline__)).
24993 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
24995         [BZ #15423]
24996         * math/s_catan.c (__catan): Handle small real or imaginary part of
24997         input specially to avoid spurious underflow.
24998         * math/s_catanf.c (__catanf): Likewise.
24999         * math/s_catanh.c (__catanh): Likewise.
25000         * math/s_catanhf.c (__catanhf): Likewise.
25001         * math/s_catanhl.c (__catanhl): Likewise.
25002         * math/s_catanl.c (__catanl): Likewise.
25003         * math/libm-test.inc (catan_test): Add more tests.
25004         (catanh_test): Likewise.
25005         * sysdeps/i386/fpu/libm-test-ulps: Update.
25006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25008 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25012 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25014         [BZ #15416]
25015         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25016         accurately for denominator in atan2.
25017         * math/s_catanf.c (__catanf): Likewise.
25018         * math/s_catanh.c (__catanh): Likewise.
25019         * math/s_catanhf.c (__catanhf): Likewise.
25020         * math/s_catanhl.c (__catanhl): Likewise.
25021         * math/s_catanl.c (__catanl): Likewise.
25022         * math/libm-test.inc (catan_test): Add more tests.
25023         (catanh_test): Likewise.
25024         * sysdeps/i386/fpu/libm-test-ulps: Update.
25025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25027 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25029         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25031         * benchtests/Makefile (bench): Remove slow benchmarks.
25032         * benchtests/atan-inputs: Add slow benchmark inputs.
25033         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25034         (BENCH_FUNC): Accept variant offset.
25035         (VARIANT): Define.
25036         * benchtests/bench-skeleton.c (main): Run benchmark for each
25037         variant.
25038         * benchtests/cos-inputs: Add slow benchmark inputs.
25039         * benchtests/exp-inputs: Likewise.
25040         * benchtests/pow-inputs: Likewise.
25041         * benchtests/sin-inputs: Likewise.
25042         * benchtests/slowatan-inputs: Remove.
25043         * benchtests/slowatan.c: Remove.
25044         * benchtests/slowcos-inputs: Remove.
25045         * benchtests/slowcos.c: Remove.
25046         * benchtests/slowexp-inputs: Remove.
25047         * benchtests/slowexp.c: Remove.
25048         * benchtests/slowpow-inputs: Remove.
25049         * benchtests/slowpow.c: Remove.
25050         * benchtests/slowsin-inputs: Remove.
25051         * benchtests/slowsin.c: Remove.
25052         * benchtests/slowtan-inputs: Remove.
25053         * benchtests/slowtan.c: Remove.
25054         * benchtests/tan-inputs: Add slow benchmark inputs.
25055         * scripts/bench.pl: Parse comments and directives.
25057         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25058         in CPPFLAGS.
25059         ($(objpfx)bench-%.c): Remove *-ITER.
25060         * benchtests/bench-modf.c: Remove definition of ITER.
25061         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25062         (main): Loop for DURATION seconds instead of fixed number of
25063         iterations.
25064         * scripts/bench.pl: Don't expect iterations in parameters.
25066 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25068         * io/fchdir.c (__fchdir): Renamed from fchdir.
25069         (fchdir): Define as weak alias.
25071 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25073         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25074         (ERRNO_EDOM): Likewise.
25075         (ERRNO_ERANGE): Likewise.
25076         (noErrnoTests): New variable.
25077         (init_max_error): Set errno to 0.
25078         (test_single_errno): New function.
25079         (test_errno): Likewise.
25080         (check_float_internal): Call test_errno.  Set errno to 0.
25081         (check_complex): Refer to errno tests in comment.
25082         (check_int): Call test_errno.  Set errno to 0.
25083         (check_long): Likewise.
25084         (check_bool): Likewise.
25085         (check_longlong): Likewise.
25086         (cos_test): Use ERRNO_* flags for errno tests instead of
25087         check_int.
25088         (expm1_test): Likewise.
25089         (fmod_test): Likewise.
25090         (ilogb_test): Likewise.
25091         (lgamma_test): Likewise.
25092         (pow_test): Likewise.
25093         (remainder_test): Likewise.
25094         (sin_test): Likewise.
25095         (tan_test): Likewise.
25096         (yn_test): Likewise.
25097         (initialize): Set errno to 0.
25098         (main): Print number of errno tests.
25099         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25101 2013-04-29  Andreas Jaeger  <aj@suse.de>
25103         [BZ #15084]
25104         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25105         and RES_USEVC.
25107         [BZ #15085]
25108         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25109         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25110         unimplemented.
25112         [BZ #15380]
25113         * stdlib/random.c (__initstate): Return NULL if
25114         __initstate fails.
25116         [BZ #15086]
25117         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25118         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25119         RES_SNGLKUPREOP.
25121 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25125 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25127         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25128         of individual tests.
25129         (casin_test): Likewise.
25130         (casinh_test): Likewise.
25132 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25134         [BZ #15409]
25135         * math/s_catan.c (__catan): Handle arguments with large real or
25136         imaginary part separately without squaring.
25137         * math/s_catanf.c (__catanf): Likewise.
25138         * math/s_catanh.c (__catanh): Likewise.
25139         * math/s_catanhf.c (__catanhf): Likewise.
25140         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25141         and redefine.
25142         (__catanhl): Handle arguments with large real or imaginary part
25143         separately without squaring.
25144         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25145         and redefine.
25146         (__catanl): Handle arguments with large real or imaginary part
25147         separately without squaring.
25148         * math/libm-test.inc (catan_test): Add more tests.
25149         (catanh_test): Likewise.
25150         * sysdeps/i386/fpu/libm-test-ulps: Update.
25151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25153 2013-04-27  Andreas Jaeger  <aj@suse.de>
25155         [BZ #15007]
25156         * stdlib/stdlib.h: Update guards for qecvt.
25157         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25158         <stdlib.h>.
25160 2013-04-27  Allan McRae  <allan@archlinux.org>
25162         * sysdeps/i386/fpu/libm-test-ulps: Update.
25164 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25166         [BZ #15406]
25167         * math/s_catan.c: Include <float.h>.
25168         (__catan): Ensure underflow exception occurs for underflowed
25169         result.
25170         * math/s_catanf.c: Include <float.h>.
25171         (__catanf): Ensure underflow exception occurs for underflowed
25172         result.
25173         * math/s_catanh.c: Include <float.h>.
25174         (__catanh): Ensure underflow exception occurs for underflowed
25175         result.
25176         * math/s_catanhf.c: Include <float.h>.
25177         (__catanhf): Ensure underflow exception occurs for underflowed
25178         result.
25179         * math/s_catanhl.c: Include <float.h>.
25180         (__catanhl): Ensure underflow exception occurs for underflowed
25181         result.
25182         * math/s_catanl.c: Include <float.h>.
25183         (__catanl): Ensure underflow exception occurs for underflowed
25184         result.
25185         * math/libm-test.inc (catan_test): Add more tests.
25186         (catanh_test): Likewise.
25188         [BZ #15405]
25189         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25190         underflowed result.
25191         * math/s_ccoshf.c (__ccoshf): Likewise.
25192         * math/s_ccoshl.c (__ccoshl): Likewise.
25193         * math/s_csin.c (__csin): Likewise.
25194         * math/s_csinf.c (__csinf): Likewise.
25195         * math/s_csinh.c (__csinh): Likewise.
25196         * math/s_csinhf.c (__csinhf): Likewise.
25197         * math/s_csinhl.c (__csinhl): Likewise.
25198         * math/s_csinl.c (__csinl): Likewise.
25199         * math/libm-test.inc (ccos_test): Add more tests.
25200         (ccosh_test): Likewise.
25201         (csin_test): Likewise.
25202         (csinh_test): Likewise.
25204 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25206         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25207         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25208         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25209         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25210         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25211         powerpc/power5+/fpu folders.
25212         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25215 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25219 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25221         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25222         additions to variable.
25223         [$(config-machine) = x86_64] (modules-names): Likewise.
25224         ($(objpfx)tst-audit3): Remove dependency.
25225         ($(objpfx)tst-audit3.out): Likewise.
25226         ($(objpfx)tst-audit4): Likewise.
25227         ($(objpfx)tst-audit4.out): Likewise.
25228         ($(objpfx)tst-audit5): Likewise.
25229         ($(objpfx)tst-audit5.out): Likewise.
25230         ($(objpfx)tst-audit6): Likewise.
25231         ($(objpfx)tst-audit6.out): Likewise.
25232         ($(objpfx)tst-audit7): Likewise.
25233         ($(objpfx)tst-audit7.out): Likewise.
25234         (tst-audit3-ENV): Remove variable.
25235         (tst-audit4-ENV): Likewise.
25236         (tst-audit5-ENV): Likewise.
25237         (tst-audit6-ENV): Likewise.
25238         (tst-audit7-ENV): Likewise.
25239         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25240         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25241         addition to variable.
25242         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25243         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25244         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25245         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25246         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25247         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25248         tst-audit3, tst-audit4 and tst-audit5.
25249         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25250         tst-audit6 and tst-audit7.
25251         [$(subdir) = elf] (modules-names): Add audit modules for those
25252         tests.
25253         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25254         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25255         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25256         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25257         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25258         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25259         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25260         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25261         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25262         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25263         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25264         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25265         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25266         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25267         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25268         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25269         Likewise.
25270         [$(subdir) = elf && $(config-cflags-avx) = yes]
25271         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25272         [$(subdir) = elf && $(config-cflags-avx) = yes]
25273         (CFLAGS-tst-auditmod4a.c): Likewise.
25274         [$(subdir) = elf && $(config-cflags-avx) = yes]
25275         (CFLAGS-tst-auditmod4b.c): Likewise.
25276         [$(subdir) = elf && $(config-cflags-avx) = yes]
25277         (CFLAGS-tst-auditmod6b.c): Likewise.
25278         [$(subdir) = elf && $(config-cflags-avx) = yes]
25279         (CFLAGS-tst-auditmod6c.c): Likewise.
25280         [$(subdir) = elf && $(config-cflags-avx) = yes]
25281         (CFLAGS-tst-auditmod7b.c): Likewise.
25282         * elf/tst-audit3.c: Move to ...
25283         * sysdeps/x86_64/tst-audit3.c: ... here.
25284         * elf/tst-audit4.c: Move to ...
25285         * sysdeps/x86_64/tst-audit4.c: ... here.
25286         * elf/tst-audit5.c: Move to ...
25287         * sysdeps/x86_64/tst-audit5.c: ... here.
25288         * elf/tst-audit6.c: Move to ...
25289         * sysdeps/x86_64/tst-audit6.c: ... here.
25290         * elf/tst-audit7.c: Move to ...
25291         * sysdeps/x86_64/tst-audit7.c: ... here.
25292         * elf/tst-auditmod3a.c: Move to ...
25293         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25294         * elf/tst-auditmod3b.c: Move to ...
25295         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25296         * elf/tst-auditmod4a.c: Move to ...
25297         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25298         * elf/tst-auditmod4b.c: Move to ...
25299         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25300         * elf/tst-auditmod5a.c: Move to ...
25301         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25302         * elf/tst-auditmod5b.c: Move to ...
25303         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25304         * elf/tst-auditmod6a.c: Move to ...
25305         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25306         * elf/tst-auditmod6b.c: Move to ...
25307         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25308         * elf/tst-auditmod6c.c: Move to ...
25309         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25310         * elf/tst-auditmod7a.c: Move to ...
25311         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25312         * elf/tst-auditmod7b.c: Move to ...
25313         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25315 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25317         [BZ #15366]
25318         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25319         define unconditionally.
25320         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25321         define unconditionally.
25322         (INT8_C, INT16_C, etc.): Likewise.
25324 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25326         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25327         __ehdr_start with hidden visibility.
25329         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25331 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25333         * math/libm-test.inc (cos_test): Use accurate hex constants.
25334         (sincost_test): Likewise.
25336 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25338         * math/libm-test.inc (catan_test): Add more tests.
25339         (catanh_test): Likewise.
25341         * math/s_catanf.c (__catanf): Use suffixed floating-point
25342         constants.
25343         * math/s_catanhf.c (__catanhf): Likewise.
25344         * math/s_catanhl.c (__catanhl): Likewise.
25345         * math/s_catanl.c (__catanl): Likewise.
25347         [BZ #15394]
25348         * math/s_catan.c (__catan): Calculate imaginary part of result
25349         with log1p not log unless computing log of number close to 0.
25350         * math/s_catanf.c (__catanf): Likewise.
25351         * math/s_catanl.c (__catanl): Likewise.
25352         * math/s_catanh.c (__catanh): Calculate real part of result with
25353         log1p not log unless computing log of number close to 0.
25354         * math/s_catanhf.c (__catanhf): Likewise.
25355         * math/s_catanhl.c (__catanhl): Likewise.
25356         * math/libm-test.inc (catan_test): Add more tests.
25357         (catanh_test): Likewise.
25358         * sysdeps/i386/fpu/libm-test-ulps: Update.
25359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25361 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25363         * benchtests/Makefile: Mention files in which fast and slow
25364         paths of math functions are implemented.
25366 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25368         * sysdeps/posix/timespec_get.c: New file.
25370 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25372         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25373         POWER.
25374         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25375         for POWER.
25376         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25377         powerpc/power5/fpu folders.
25378         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25379         * benchtests/Makefile: Add modf testcase.
25380         * benchtests/bench-modf.c: New file: Benchmark test for mo
25382 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25384         [BZ #14888]
25385         * time/Makefile (tests): Add tst-strptime-whitespace.
25386         * time/strptime_l.c (get_number): Use ISSPACE.
25387         (__strptime_internal): Likewise.
25388         * time/tst-strptime-whitespace.c: New test case.
25390 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25392         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25393         member.
25394         (_nss_files_init): Set it here.
25396 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25398         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25399         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25400         unsigned.
25402 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25404         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25406 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25409         size just once.
25411 2013-04-21  David S. Miller  <davem@davemloft.net>
25413         * po/ru.po: Update Russion translation from translation project.
25415 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25417         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25418         and setfsgid.
25420 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25422         * configure.in: Remove i386 configure warning. Remove i386 case.
25423         * configure: Regenerate.
25424         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25425         Add example to error message.
25426         * sysdeps/i386/configure: Regenerate.
25428 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25430         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25431         slowtan.
25432         * benchtests/cos-inputs: New file.
25433         * benchtests/slowcos-inputs: New file.
25434         * benchtests/slowcos.c: New file.
25435         * benchtests/slowtan-inputs: New file.
25436         * benchtests/slowtan.c: New file.
25437         * benchtests/tan-inputs: New file.
25439 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25441         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25442         considered kosher.
25444 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25446         * benchtests/Makefile: Include cppflags-iterator.mk to add
25447         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25449         * Makefile.in (bench-clean): New target.
25450         * benchtests/Makefile (bench-clean): Likewise.
25452 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25454         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25456 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25458         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25460 2013-04-15  Andreas Schwab  <schwab@suse.de>
25462         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25463         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25464         * nscd/pwdcache.c (cache_addpw): Likewise.
25465         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25466         more than recsize.
25468 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25470         * benchtests/Makefile (bench): Write all output to
25471         bench-out.tmp together.
25473 2013-04-15  Andreas Schwab  <schwab@suse.de>
25475         * nscd/nscd.c (main): Don't fork again after closing files.
25477 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25479         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25481         * benchtests/Rules (bench-deps): Collect dependencies into a
25482         single variable.  Add Makefile to dependencies.
25483         ($(objpfx)bench-%.c): Depend on bench-deps.
25485 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25486             Xavier Roche  <roche+kml2@exalead.com>
25488         [BZ #15361]
25489         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25490         just that it's a file descriptor.
25491         * manual/llio.texi (Synchronizing AIO Operations): Update description
25492         for EBADF error from aio_fsync.
25494 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25496         * Rules (bench): Move target definition...
25497         * benchtests/Makefile: ... here.
25499 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25501         * math/libm-test.inc (cos_test): Fix PI/2 test.
25502         (sincos_test): Likewise.
25503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25504         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25506 2013-04-11  Andreas Schwab  <schwab@suse.de>
25508         [BZ #13988]
25509         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25510         accept exponent character only when digits were seen.
25511         * stdio-common/Makefile (tests): Add bug26.
25512         * stdio-common/bug26.c: New file.
25514         [BZ #14293]
25515         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25516         non-freeable.
25518 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25520         * Makeconfig (rtld-prefix): Define built linker prefix.
25521         * Rules (run-bench): Use it.
25522         * math/Makefile (run-regen-ulps): Likewise.
25524         * Rules (bench): Remove eval.
25526 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25527             Roland McGrath  <roland@hack.frob.com>
25528             Ondrej Bilka  <neleai@seznam.cz>
25530         [BZ #15346]
25531         * time/getdate.c: Include ctype.h and alloca.h.
25532         (__getdate_r): Trim leading and trailing spaces of input.
25533         * time/tst-getdate.c (tests): Add tests with leading and
25534         trailing spaces.
25536 2013-04-08  Roland McGrath  <roland@hack.frob.com>
25538         [BZ #14280]
25539         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25540         when computing value.
25542 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25544         * math/README.libm-test (How can I generate "libm-test-ulps"?):
25545         Use testrun.sh to run libm tests.
25547         [BZ #15309]
25548         * elf/dl-open.c (dl_open_worker): memset all of seen array.
25550 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
25552         [BZ #15264]
25553         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25555 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25557         * Makefile.in (regen-ulps): New target.
25558         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25559         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25560         [ifneq (no,$(PERL)] (regen-ulps): New target.
25561         [ifeq (no,$(PERL)] (regen-ulps): New target.
25562         * math/libm-test.inc (ulps_file_name): Define.
25563         (output_dir): New variable.
25564         (options): Add "output-dir" option.
25565         (parse_opt): Handle 'o' case.
25566         (main): If output_dir is non-NULL use it as a prefix
25567         otherwise use "".
25568         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25570 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25572         [BZ #10060, #10062]
25573         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25574         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25575         fail configure if __sync_val_compare_and_swap is not inlined.
25576         * sysdeps/i386/configure: Regenerate.
25577         * configure.in: Build for i686 when configured for i386.
25578         * configure: Regenerate.
25579         * README: Remove i386 reference.
25581 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25583         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25584         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25586 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25588         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25589         (lmsnanval): New variables.
25590         (F): Add conversion tests.
25591         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25592         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25594         * stdio-common/tstdiomisc.c (F): Properly collect individual
25595         tests' results.
25597         [BZ #14686, #15336]
25598         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25599         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25600         Instead, use input NaN values or generate a qNaN by arithmetic
25601         operation.  Also fix bugs to comply with the standard.
25602         * math/libm-test.inc (remainder_test): Add more tests.
25604         [BZ #15335, #15342]
25605         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25606         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25607         input NaN values or generate a qNaN by arithmetic operation.
25609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25610         unreachable code.
25612         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25613         definitions.
25615 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25617         [BZ #14478]
25618         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25619         underflowed result.
25620         * math/s_cexpf.c (__cexpf): Likewise.
25621         * math/s_cexpl.c (__cexpl): Likewise.
25622         * math/libm-test.inc (cexp_test): Add more tests.
25624 2013-04-03  Andreas Schwab  <schwab@suse.de>
25626         [BZ #15330]
25627         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25628         order arrays from heap if bigger than alloca cutoff.
25630 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25632         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25633         (SNAN_TESTS_double): Refer to GCC PR56831.
25634         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25635         GCC PR56828.
25637 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25639         * Rules (bench): Move bench.out after the run is complete.
25641         * Rules (bench): Echo currently running benchmark.
25643         * benchtests/Makefile (bench): Add atan and slowatan.
25644         * benchtests/atan-inputs: New file.
25645         * benchtests/slowatan-inputs: New file.
25646         * benchtests/slowatan.c: New file.
25648         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25649         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25650         its value.
25652         [BZ #15305]
25653         * sysdeps/unix/sysv/linux/kernel-features.h
25654         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25655         __ASSUME_XFS_RESTRICTED_CHOWN.
25656         * sysdeps/unix/sysv/linux/pathconf.c
25657         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25658         Save and restore errno.
25660 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25662         [BZ #15327]
25663         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25664         arguments using __kernel_casinh.
25665         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25666         arguments using __kernel_casinhf.
25667         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25668         arguments using __kernel_casinhl.
25669         * math/libm-test.inc (cacosh_test): Add more tests.
25670         * sysdeps/i386/fpu/libm-test-ulps: Update.
25671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25673 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25675         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25678         * bench/Makefile (bench): Add sin and slowsin.
25679         * benchtests/sin-inputs: New file.
25680         * benchtests/slowsin-inputs: New file.
25681         * benchtests/slowsin.c: New file.
25683         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25684         (bench): Add slowexp and slowpow.
25685         (exp-ITER): Increase iterations.
25686         (pow-ITER): Likewise.
25687         * benchtests/exp-inputs: Change input.
25688         * benchtests/pow-inputs: Likewise.
25689         * benchtests/slowexp-inputs: New file.
25690         * benchtests/slowexp.c: New file.
25691         * benchtests/slowpow-inputs: New file.
25692         * benchtests/slowpow.c: New file.
25694 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25696         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25697         instructions.
25698         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25699         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25700         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25701         * benchtests/Makefile: Add rint benchtest.
25702         * benchtests/rint-inputs: Input for rint benchtest.
25704 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25706         * Versions.def (libm): Add GLIBC_2.18.
25707         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25708         hidden libm prototypes.
25709         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25710         * math/Makefile (libm-calls): Add s_issignaling.
25711         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25712         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25713         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25714         declaration.
25715         * math/math.h [__USE_GNU] (issignaling): New macro.
25716         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25717         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25718         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25719         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25720         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25721         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25722         * manual/arith.texi (issignaling): New section.
25723         * manual/libm-err-tab.pl (@all_functions): Update comment.
25724         * math/gen-libm-test.pl (parse_args): Apply special handling for
25725         issignaling.
25726         * math/libm-test.inc (print_float, issignaling_test): New
25727         functions.
25728         (check_float_internal): Add issignaling checks.
25729         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25730         default definition.
25731         * sysdeps/powerpc/math-tests.h: New file.
25732         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25733         tests.
25734         * math/test-snan.c (TEST_FUNC): Likewise.
25736 2013-03-30  David S. Miller  <davem@davemloft.net>
25738         * po/de.po: Update from translation team.
25740 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #10357]
25743         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25744         imaginary part less than 1.0 and real part less than 0.5
25745         specially.
25746         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25747         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25748         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25749         (cacos_test): Add more tests.
25750         (casin_test): Likewise.
25751         (casinh_test): Likewise.
25752         * sysdeps/i386/fpu/libm-test-ulps: Update.
25753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25755 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25757         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25758         ONE with its value.
25760         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25761         (__pow_mp): Replace ONE and MONE with their values.
25762         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25763         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25764         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25765         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25766         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25767         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25769         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25771         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25772         (__pow_mp): Replace ZERO and MZERO with their values.
25773         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25774         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25775         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25777         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25778         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25779         (__sqr): Likewise.
25781         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25783         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25785 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25787         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25788         Declare with __attribute__ ((weak)).
25789         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25790         Call __call_tls_dtors only if it's not NULL.
25792 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25794         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25795         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25796         magic __ehdr_start linker symbol if it's defined.
25797         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25798         them up here if it was already done.
25800         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25801         (_dl_aux_init): Use const in cast when setting it.
25802         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25803         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25804         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25806         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25807         Declare them here.
25808         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25809         * csu/libc-tls.c: Nor here.
25810         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25812         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25813         (__libc_message): Never call vsyslog.
25815 2013-03-28  Alan Modra  <amodra@gmail.com>
25817         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25818         Define as empty.
25819         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25820         Likewise.
25822 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25824         [BZ #15214]
25825         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25826         underflow.
25827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25829 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25831         [BZ #15304]
25832         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25833         Don't add gid passed as argument.
25835         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25837 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25839         [BZ #15307]
25840         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25841         imaginary part between 1.0 and 1.5 and real part less than 0.5
25842         specially.
25843         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25844         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25845         * math/libm-test.inc (cacos_test): Add more tests.
25846         (casin_test): Likewise.
25847         (casinh_test): Likewise.
25848         * sysdeps/i386/fpu/libm-test-ulps: Update.
25849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25851 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25853         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25854         constants.
25855         (norm): Likewise.
25856         (denorm): Likewise.
25857         (__dbl_mp): Likewise.
25858         (add_magnitudes): Likewise.
25859         (sub_magnitudes): Likewise.
25860         (__add): Likewise.
25861         (__sub): Likewise.
25862         (__mul): Likewise.
25863         (__sqr): Likewise.
25864         (__inv): Likewise.
25865         (__dvd): Likewise.
25867         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25868         commented code.
25869         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25870         (__dubcos): Likewise.
25871         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25872         (__ieee754_acos): Likewise.
25873         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25874         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25875         (__exp1): Likewise.
25876         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25878         (log1): Likewise.
25879         (my_log2): Likewise.
25880         (checkint): Likewise.
25881         * sysdeps/ieee754/dbl-64/e_remainder.c
25882         (__ieee754_remainder): Likewise.
25883         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25885         (bsloww): Likewise.
25886         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25888         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25889         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25890         MANTISSA_STORE_T to store computations on mantissa.  Use
25891         macros for rounding and division.
25892         (denorm): Likewise.
25893         (__dbl_mp): Likewise.
25894         (add_magnitudes): Likewise.
25895         (sub_magnitudes): Likewise.
25896         (__mul): Likewise.
25897         (__sqr): Likewise.
25898         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25899         powers of two in terms of TWOPOW macro.
25900         (mp_no): Make type of mantissa as MANTISSA_T.
25901         [!RADIXI]: Define RADIXI.
25902         [!TWO52]: Define TWO52.
25903         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25905 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25907         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25908         llroundl symbol when building for PPC32.
25910 2013-03-24  Mark H Weaver  <mhw@netris.org>
25912         * manual/arith.texi (Normalization Functions): Fix prototypes for
25913         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25915 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25917         [BZ #13889]
25918         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25919         high value to check if expl overflow.
25920         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25921         to check for underflow and overflow.
25922         * math/libm-test.inc: Add exp test.
25924 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25926         [BZ #11120]
25927         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25928         with NOT_IN_libc.
25930 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25932         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25933         symbol.
25935 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25937         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25938         wrap blocks consisting of several statements.
25940         * sysdeps/generic/math-tests.h: New file.
25941         * sysdeps/i386/fpu/math-tests.h: Likewise.
25942         * math/test-snan.c: Include it.
25943         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25945 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25947         [BZ #15285]
25948         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25949         (__ieee754_j0l): Do not improve calculations using cos of twice
25950         input for inputs above LDBL_MAX / 2.0L.
25951         (__ieee754_y0l): Likewise.
25952         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25953         (__ieee754_j1l): Do not improve calculations using cos of twice
25954         input for inputs above LDBL_MAX / 2.0L.
25955         (__ieee754_y1l): Likewise.
25956         * math/libm-test.inc (j0_test): Add another test.
25957         (j1_test): Likewise.
25958         (y0_test): Likewise.
25959         (y1_test): Likewise.
25960         * sysdeps/i386/fpu/libm-test-ulps: Update.
25962 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25964         * Rules ($(objpfx)bench-%.c): Include code from a C source
25965         file.
25967 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25969         [BZ #15287]
25970         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25971         imaginary part 1.0 and real part less than 0.5 specially.
25972         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25973         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25974         * math/libm-test.inc (cacos_test): Add more tests.
25975         (casin_test): Likewise.
25976         (casinh_test): Likewise.
25977         * sysdeps/i386/fpu/libm-test-ulps: Update.
25978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25980 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25982         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25983         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25985 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
25987         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25988         * config.make.in (config-cflags-sse4): Remove variable.
25989         (config-cflags-avx): Likewise.
25990         (config-cflags-sse2avx): Likewise.
25991         (config-cflags-novzeroupper): Likewise.
25992         (config-asflags-i686): Likewise.
25993         (have-mfma4): Likewise.
25994         (have-as-vis3): Likewise.
25995         (MIG): Likewise.
25996         * configure.in (MIG): Do not AC_SUBST.
25997         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25998         (libc_cv_cc_sse4): Do not AC_SUBST.
25999         (libc_cv_cc_avx): Likewise.
26000         (libc_cv_cc_sse2avx): Likewise.
26001         (libc_cv_cc_novzeroupper): Likewise.
26002         (libc_cv_cc_fma4): Likewise.
26003         (libc_cv_as_i686): Likewise.
26004         (libc_cv_sparc_as_vis3): Likewise.
26005         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26006         LIBC_CONFIG_VAR.
26007         (config-asflags-i686): Likewise.
26008         (config-cflags-avx): Likewise.
26009         (config-cflags-sse2avx): Likewise.
26010         (have-mfma4): Likewise.
26011         (config-cflags-novzeroupper): Likewise.
26012         * sysdeps/mach/configure.in (MIG): Likewise.
26013         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26014         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26015         LIBC_CONFIG_VAR.
26016         (config-cflags-avx): Likewise.
26017         (config-cflags-sse2avx): Likewise.
26018         (have-mfma4): Likewise.
26019         (config-cflags-novzeroupper): Likewise.
26020         * configure: Regenerated.
26021         * sysdeps/i386/configure: Likewise.
26022         * sysdeps/mach/configure: Likewise.
26023         * sysdeps/sparc/configure: Likewise.
26024         * sysdeps/x86_64/configure: Likewise.
26026 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26028         [BZ #14812]
26029         * locale/programs/localedef.c (options): Put N_ translation marker
26030         on argument names, not just descriptions.
26032 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26034         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26036 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26038         [BZ #14176]
26039         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26041 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26043         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26044         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26045         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26046         [!BEFORE_ABORT] (before_abort): New function.
26047         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26048         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26049         (writev_for_fatal): New function.
26050         (WRITEV_FOR_FATAL): New macro; call that.
26051         (backtrace_and_maps): New function.
26052         (BEFORE_ABORT): New macro; call that.
26053         (struct str_list): Type removed.
26054         (__libc_message, __libc_fatal): Functions removed.
26055         Include <sysdeps/posix/libc_fatal.c> instead.
26057 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26059         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26060         constants.
26061         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26062         double constants.
26064 2013-03-19  Andreas Schwab  <schwab@suse.de>
26066         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26067         * sysdeps/gnu/configure: Regenerate.
26069         * configure.in: Substitute libc_cv_rtlddir.
26070         * configure: Regenerate.
26071         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26072         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26073         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26074         * elf/Makefile (install-others, CFLAGS-interp.c)
26075         (ldso_install, common-ldd-rewrite): Likewise.
26076         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26077         $(inst_slibdir)/$(rtld-installed-name).
26078         * scripts/rellns-sh: Add -p option.
26079         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26080         for source.
26082 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26084         * manual/nptl.texi: Renamed to ...
26085         * manual/threads.texi: ... this.
26086         * manual/Makefile (chapters): Update.
26088 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26090         [BZ #14812]
26091         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26092         on argument names, not just descriptions.
26093         * malloc/memusagestat.c (options): Likewise.
26094         * nss/getent.c (options): Likewise.
26096 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26098         [BZ #14812]
26099         * iconv/iconv_prog.c (options): Put N_ translation marker
26100         on argument names, not just descriptions.
26101         * iconv/iconvconfig.c (options): Likewise.
26103 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26105         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26106         implementation which is faster on all x86_64 architectures.
26107         Tested on AMD, Intel Nehalem, SNB, IVB.
26108         * sysdeps/x86_64/strnlen.S: Likewise.
26110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26111         Remove all multiarch strlen and strnlen versions.
26112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26113         Remove strlen and strnlen related parts.
26115         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26116         Inline strlen part.
26117         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26119         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26120         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26121         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26122         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26123         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26124         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26126 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26128         * manual/memory.texi (Malloc Tunable Parameters):
26129         Sort parameters alphabetically. Add comments for missing entries.
26131 2013-03-17  David S. Miller  <davem@davemloft.net>
26133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26135 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26137         [BZ #15283]
26138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26139         for arguments at most half maximum finite value.
26140         * math/libm-test.inc (j0_test): Add more tests.
26141         (j1_test): Likewise.
26142         (y0_test): Likewise.
26143         (y1_test): Likewise.
26144         * sysdeps/i386/fpu/libm-test-ulps: Update.
26145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26147         [BZ #14155]
26148         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26149         1 / x and functions P and Q for arguments above 0x1p256L.
26150         (__ieee754_y0l): Likewise.
26151         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26152         (__ieee754_y1l): Likewise.
26153         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26154         (j1_test): Likewise.
26155         (y0_test): Likewise.
26156         (y1_test): Likewise.
26158 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26160         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26161         variable.
26163 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26165         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26166         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26167         zero since it's initialized to EXEC_PAGESIZE.
26169         * sysdeps/unix/sysv/linux/ldsodefs.h
26170         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26171         * sysdeps/generic/ldsodefs.h: ... here.
26173 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26175         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26177         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26178         math/test-snan.c.
26179         * math/test-snan.c: Renamed from
26180         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26181         * math/Makefile (tests): Add test-snan.
26182         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26183         test-powerpc-snan.
26185         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26186         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26187         functions.
26188         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26189         __builtin_nan family of functions.
26190         * math/libm-test.inc (initialize): Initialize qnan_value with
26191         __builtin_nan family of functions.
26192         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26193         Remove variables.
26194         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26195         Remove functions.
26196         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26197         storage class.  Initialize qNaN_var and sNaN_var with
26198         __builtin_nan and __builtin_nans families of functions,
26199         respectively.
26201         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26202         (sqrt_test): Remove duplicate test with qNaN input.
26203         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26204         (round_test, signbit_test, significand_test): Note missing +/-Inf
26205         as well as qNaN tests.
26207         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26208         qNaN_var.  Fix a few strings, too.
26209         * math/libm-test.inc (nan_value): Rename to qnan_value.
26210         * math/gen-libm-test.pl (%beautify): Adjust to that.
26211         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26212         * math/test-misc.c (main): Likewise.
26213         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26214         to __qnan_bytes, and __qnan_union, respectively.
26215         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26216         Likewise.
26217         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26218         and lqnanval, respectively.
26219         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26220         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26221         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26222         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26224         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26225         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26226         doubles.
26228         * math/test-misc.c (main): Fix copy'n'pastos.
26229         * misc/tst-efgcvt.c (special): Likewise.
26231         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26232         Remove declarations.
26234 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26236         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26237         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26238         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26239         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26241 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26243         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26244         macro to return vdso values correctly in IFUNC implementations.
26245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26246         Optimization by using IFUNC.
26248 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26249             Richard Henderson  <rth@redhat.com>
26250             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26252         * Makefile.in (bench): New target.
26253         * NEWS: Mention the benchmark framework.
26254         * Rules (bench): Likewise.
26255         (binaries-bench): Generate binaries for functions to
26256         benchmark.
26257         * benchtests/Makefile: New makefile for benchmark tests.
26258         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26259         programs.
26260         * benchtests/exp-inputs: New input file for EXP function.
26261         * benchtests/pow-inputs: New input file for POW function.
26262         * scripts/bench.pl: New script to generate source files for
26263         benchmark programs.
26265 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26267         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26268         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26269         computations on mantissa.  Use macros for rounding and
26270         division.
26271         (denorm): Likewise.
26272         (__dbl_mp): Likewise.
26273         (add_magnitudes): Likewise.
26274         (sub_magnitudes): Likewise.
26275         (__mul): Likewise.
26276         (__sqr): Likewise.
26277         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26278         powers of two in terms of TWOPOW macro.
26279         (mp_no): Make type of mantissa as MANTISSA_T.
26280         [!RADIXI]: Define RADIXI.
26281         [!TWO52]: Define TWO52.
26282         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26284         * manual/nptl.texi (cindex): Modify threads to pthreads.
26286 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26288         * sysdeps/x86_64/preconfigure: Regenerated.
26290 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26292         [BZ #14155]
26293         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26294         0x1p28 and above.
26295         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26296         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26297         0x1p28 and above.
26298         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26299         * math/libm-test.inc (j0_test): Do not allow one spurious
26300         underflow exception.
26301         (y1_test): Likewise.
26303 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26305         * manual/Makefile (chapters): Add nptl.
26306         * manual/debug.texi (Debugging Support): Add link to Threads
26307         chapter.
26308         * manual/nptl.texi: New file.
26310         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26312 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26314         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26315         for non-NULL pointer before the memory validity test. Pointed
26316         out by Holger Brunck <holger.brunck@keymile.com>.
26318 2013-03-13  Andreas Schwab  <schwab@suse.de>
26320         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26321         instead of .os.
26323 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26325         * timezone/zic.c: Update from tzcode 2013b.
26327 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26329         * manual/install.texi (Configuring and compiling):
26330         Mention i686 and i586.
26331         * INSTALL: Regenerate.
26333 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26335         * sysdeps/init_array/elf-init.c: New file.
26336         * csu/elf-init.c
26337         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26338         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26340         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26341         __gmon_start__ as global, but as static with a .preinit_array pointer.
26342         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26343         * sysdeps/init_array/crti.S: New file, empty except for comments.
26344         * sysdeps/init_array/crtn.S: Likewise.
26346 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26348         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26349         definining bcopy.
26350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26351         Remove Prefer_SSE_for_memop.
26352         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26353         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26354         HAS_PREFER_SSE_FOR_MEMOP.
26355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26356         memset-x86-64.
26357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26358         Remove bzero, memset ifunc support.
26359         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26360         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26361         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26362         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26364 2013-03-11  Andreas Schwab  <schwab@suse.de>
26366         [BZ #15234]
26367         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26368         by SHLIB_COMPAT.
26369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26370         (GLIBC_2.16): Remove pthread_atfork.
26372 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26374         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26375         (ptestcases.h): Likewise.
26377 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26379         * Makeconfig ($(common-objpfx)config.status): Depend on
26380         sysdeps/*/preconfigure{,.in} too.
26382 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26384         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26385         (__free_hook): Use void * instead of __malloc_ptr_t.
26386         (__malloc_hook): Likewise.
26387         (__realloc_hook): Likewise.
26388         (__memalign_hook): Likewise.
26389         (__after_morecore_hook): Likewise.
26390         * malloc/arena.c (save_malloc_hook): Likewise.
26391         (save_free_hook): Likewise.
26392         * malloc/hooks.c (malloc_hook_ini): Likewise.
26393         (realloc_hook_ini): Likewise.
26394         (memalign_hook_ini): Likewise.
26395         * malloc/malloc.c (malloc_hook_ini): Likewise.
26396         (realloc_hook_ini): Likewise.
26397         (memalign_hook_ini): Likewise.
26398         (__free_hook): Likewise.
26399         (__malloc_hook): Likewise.
26400         (__realloc_hook): Likewise.
26401         (__memalign_hook): Likewise.
26402         (__libc_malloc): Likewise.
26403         (__libc_free): Likewise.
26404         (__libc_realloc): Likewise.
26405         (__libc_memalign): Likewise.
26406         (__libc_valloc): Likewise.
26407         (__libc_pvalloc): Likewise.
26408         (__libc_calloc): Likewise.
26409         (__posix_memalign): Likewise.
26410         * malloc/morecore.c (__sbrk): Likewise.
26411         (__default_morecore): Likewise.
26413         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26415         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26416         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26417         __malloc_ptrdiff_t.
26419         * malloc/malloc.h (__malloc_size_t): Remove macro.
26420         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26421         __malloc_size_t.
26422         (old_memalign_hook): Likewise.
26423         (old_realloc_hook): Likewise.
26424         (struct hdr): Likewise.
26425         (flood): Likewise.
26426         (mallochook): Likewise.
26427         (memalignhook): Likewise.
26428         (reallochook): Likewise.
26429         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26430         (tr_old_realloc_hook): Likewise.
26431         (tr_old_memalign_hook): Likewise.
26432         (tr_mallochook): Likewise.
26433         (tr_reallochook): Likewise.
26434         (tr_memalignhook): Likewise.
26436 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26439         default_ldbl_pack and using as default implementation.
26440         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26441         implementation.
26442         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26443         redundant definition.
26444         (ldbl_insert_mantissa): Likewise.
26445         (ldbl_canonicalize): Likewise.
26446         (ldbl_nearbyint): Likewise.
26447         (ldbl_pack): Rename to ldbl_pack_ppc.
26448         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26449         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26450         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26452 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26455         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26456         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26457         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26459         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26460         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26461         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26463 2013-03-07  Andreas Jaeger  <aj@suse.de>
26465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26466         bits/mman-linux.h.
26468 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26470         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26471         Include mpa.h and declare __MPEXP.
26472         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26473         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26474         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26475         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26476         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26477         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26478         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26480         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26481         (__slowpow): Use long double EXPL and LOGL functions to
26482         compute POW.
26483         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26484         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26485         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26486         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26487         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26488         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26491         intermediate variable to calculate exponent.
26492         (__sqr): Likewise.
26493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26494         Likewise.
26495         (__sqr): Likewise.
26497         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26498         [!NO__SQR]: Define __sqr.
26499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26500         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26501         sysdeps/ieee754/dbl-64/mpa.c.
26502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26504         [BZ #12723]
26505         * posix/Makefile (tests): Add tst-pathconf.
26506         * posix/tst-pathconf.c: New test case.
26507         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26508         _PC_PIPE_BUF.
26509         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26511 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26513         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26515 2013-03-06  Andreas Jaeger  <aj@suse.de>
26517         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26518         definition via __MAP_ANONYMOUS.
26520         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26521         it's not part of Linux headers.
26523         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26524         (MAP_HUGE_MASK): Define.
26526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26527         Define.
26528         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26529         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26530         Define.
26531         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26532         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26533         Define.
26534         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26535         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26536         Define.
26537         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26539         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26540         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26541         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26542         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26543         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26544         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26546         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26547         Handle f2fs.
26549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26550         Handle f2fs and efivarfs.
26552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26553         f2fs.
26555         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26556         (EFIVARFS_MAGIC): Add.
26557         (F2FS_LINK_MAX): Add.
26559 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26561         * stdio-common/vfprintf.c: Replace __builtin_expect with
26562         __glibc_unlikely.
26564 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
26566         [BZ #13550]
26567         * sysdeps/generic/bp-sym.h: Remove file.
26568         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26569         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26570         <bp-sym.h> and <bp-asm.h>.
26571         (__longjmp): Don't use BP_SYM.
26572         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26573         and <bp-asm.h>.
26574         (memcpy): Don't use BP_SYM.
26575         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26576         <bp-sym.h> and <bp-asm.h>.
26577         (memcpy): Don't use BP_SYM.
26578         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26579         <bp-asm.h>.
26580         (memcpy): Don't use BP_SYM.
26581         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26582         <bp-asm.h>.
26583         (memset): Don't use BP_SYM.
26584         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26585         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26586         (__bzero): Don't use BP_SYM.
26587         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26588         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26589         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26590         <bp-sym.h> and <bp-asm.h>.
26591         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26592         pointers.
26593         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26594         <bp-sym.h> and <bp-asm.h>.
26595         (memcpy): Don't use BP_SYM.
26596         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26597         <bp-sym.h> and <bp-asm.h>.
26598         (memset): Don't use BP_SYM.
26599         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26600         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26601         (__bzero): Don't use BP_SYM.
26602         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26603         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26604         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26605         <bp-sym.h> and <bp-asm.h>.
26606         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26607         pointers.
26608         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26609         <bp-sym.h> and <bp-asm.h>.
26610         (memcpy): Don't use BP_SYM.
26611         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26612         <bp-sym.h> and <bp-asm.h>.
26613         (memset): Don't use BP_SYM.
26614         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26615         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26616         (__bzero): Don't use BP_SYM.
26617         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26618         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26620         <bp-sym.h> and <bp-asm.h>.
26621         (__memchr): Don't use BP_SYM.
26622         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26623         <bp-sym.h> and <bp-asm.h>.
26624         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26625         pointers.
26626         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26627         <bp-sym.h> and <bp-asm.h>.
26628         (memcpy): Don't use BP_SYM.
26629         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26630         <bp-sym.h> and <bp-asm.h>.
26631         (__mempcpy): Don't use BP_SYM.
26632         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26633         <bp-sym.h> and <bp-asm.h>.
26634         (__memrchr): Don't use BP_SYM.
26635         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26636         <bp-sym.h> and <bp-asm.h>.
26637         (memset): Don't use BP_SYM.
26638         (__bzero): Likewise.
26639         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26640         <bp-sym.h> and <bp-asm.h>.
26641         (__rawmemchr): Don't use BP_SYM.
26642         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26643         <bp-sym.h> and <bp-asm.h>.
26644         (__STRCMP): Don't use BP_SYM.
26645         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26646         <bp-sym.h> and <bp-asm.h>.
26647         (strchr): Don't use BP_SYM.
26648         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26649         <bp-sym.h> and <bp-asm.h>.
26650         (__strchrnul): Don't use BP_SYM.
26651         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26652         <bp-sym.h> and <bp-asm.h>.
26653         (strlen): Don't use BP_SYM.
26654         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26655         <bp-sym.h> and <bp-asm.h>.
26656         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26657         pointers.
26658         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26659         <bp-sym.h> and <bp-asm.h>.
26660         (__strnlen): Don't use BP_SYM.
26661         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26662         <bp-sym.h> and <bp-asm.h>.
26663         (__GI__setjmp): Don't use BP_SYM.
26664         (_setjmp): Likewise.
26665         (__sigsetjmp): Likewise.
26666         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26667         (L(start_addresses)): Don't use BP_SYM.
26668         (_start): Likewise.
26669         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26670         <bp-asm.h>.
26671         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26672         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26673         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26674         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26675         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26676         <bp-asm.h>.
26677         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26678         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26679         about bounded pointers.
26680         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26681         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26682         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26683         <bp-asm.h>.
26684         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26685         about bounded pointers.  Remove GKM FIXME comments.
26686         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26687         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26688         <bp-asm.h>.
26689         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26690         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26691         Remove GKM FIXME comments.
26692         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26693         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26694         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26695         <bp-asm.h>.
26696         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26697         about bounded pointers.  Remove GKM FIXME comment.
26698         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26699         and <bp-asm.h>.
26700         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26701         pointers.
26702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26703         <bp-sym.h> and <bp-asm.h>.
26704         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26706         <bp-sym.h> and <bp-asm.h>.
26707         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26708         comment.
26710 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26712         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26713         call free(NULL).
26715 2013-03-05  David S. Miller  <davem@davemloft.net>
26717         * po/es.po: Update from translation team.
26719 2013-03-05  Andreas Jaeger  <aj@suse.de>
26721         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26722         <bits/mman-linux.h>.
26723         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26724         is fine.
26725         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26726         <bits/mman-linux.h> to end of file.
26727         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26728         is fine.
26729         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26730         <bits/mman-linux.h> to end of file.
26731         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26732         is fine.
26733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26734         <bits/mman-linux.h> to end of file.
26736         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26737         (MCL_CURRENT, MCL_FUTURE): Define here.
26739 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26741         [BZ #15232]
26742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26743         attribute_hidden.
26744         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26746 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26748         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26749         fourth parameter needed for rt_sigprocmask syscall.
26750         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26751         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26753         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26754         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26755         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26757 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26759         [BZ #13550]
26760         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26761         comment about bounded pointers.
26762         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26763         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26765 2013-03-04  Andreas Jaeger  <aj@suse.de>
26767         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26768         common definitions.
26770         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26771         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26772         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26773         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26774         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26775         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26777 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26779         [BZ #15055]
26780         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26781         __ieee754_sqrl instead of __sqrl.
26783 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26785         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26786         * sysdeps/powerpc/fpu_control.h: ... here.
26787         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26788         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26789         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26790         * sysdeps/powerpc/bits/mathinline.h: ... here.
26792 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26794         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26795         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26796         to just [NEED_DL_SYSINFO_DSO].
26797         * elf/dl-support.c: Likewise.
26798         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26799         * elf/rtld.c (dl_main): Likewise.
26800         * elf/setup-vdso.h (setup_vdso): Likewise.
26801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26802         * sysdeps/unix/sysv/linux/dl-sysdep.c
26803         (_dl_discover_osversion): Likewise.
26805 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26807         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26808         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26810 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26812         * NEWS: Mention libm performance improvements and non-x86 PI
26813         futex support.
26815         * csu/libc-start.c (__pthread_initialize_minimal): Change
26816         function arguments.
26817         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26819 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26821         [BZ #13550]
26822         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26823         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26824         <bp-sym.h> and <bp-asm.h>.
26825         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26826         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26827         and <bp-asm.h>.
26828         (memcpy): Don't use BP_SYM.
26829         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26830         <bp-asm.h>.
26831         (__mpn_add_n): Don't use BP_SYM.
26832         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26833         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26834         and <bp-asm.h>.
26835         (__mpn_addmul_1): Don't use BP_SYM.
26836         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26837         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26838         <bp-sym.h>.
26839         (_setjmp): Don't use BP_SYM.
26840         (__novmx_setjmp): Likewise.
26841         (__GI__setjmp): Likewise.
26842         (__vmx_setjmp): Likewise.
26843         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26844         <bp-sym.h>.
26845         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26846         (__bzero): Don't use BP_SYM.
26847         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26848         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26849         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26850         <bp-sym.h> and <bp-asm.h>.
26851         (memcpy): Don't use BP_SYM.
26852         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26853         <bp-sym.h> and <bp-asm.h>.
26854         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26855         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26856         <bp-sym.h> and <bp-asm.h>.
26857         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26858         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26859         <bp-asm.h>.
26860         (__mpn_lshift): Don't use BP_SYM.
26861         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26862         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26863         <bp-asm.h>.
26864         (memset): Don't use BP_SYM.
26865         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26866         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26867         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26868         <bp-asm.h>.
26869         (__mpn_mul_1): Don't use BP_SYM.
26870         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26871         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26872         <bp-sym.h> and <bp-asm.h>.
26873         (memcmp): Don't use BP_SYM.
26874         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26875         <bp-sym.h> and <bp-asm.h>.
26876         (memcpy): Don't use BP_SYM.
26877         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26878         <bp-sym.h> and <bp-asm.h>.
26879         (memset): Don't use BP_SYM.
26880         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26881         <bp-sym.h> and <bp-asm.h>.
26882         (strncmp): Don't use BP_SYM.
26883         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26884         <bp-sym.h> and <bp-asm.h>.
26885         (memcpy): Don't use BP_SYM.
26886         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26887         <bp-sym.h> and <bp-asm.h>.
26888         (memset): Don't use BP_SYM.
26889         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26890         <bp-sym.h> and <bp-asm.h>.
26891         (__memchr): Don't use BP_SYM.
26892         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26893         <bp-sym.h> and <bp-asm.h>.
26894         (memcmp): Don't use BP_SYM.
26895         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26896         <bp-sym.h> and <bp-asm.h>.
26897         (memcpy): Don't use BP_SYM.
26898         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26899         <bp-sym.h> and <bp-asm.h>.
26900         (__mempcpy): Don't use BP_SYM.
26901         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26902         <bp-sym.h> and <bp-asm.h>.
26903         (__memrchr): Don't use BP_SYM.
26904         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26905         <bp-sym.h> and <bp-asm.h>.
26906         (memset): Don't use BP_SYM.
26907         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26908         <bp-sym.h> and <bp-asm.h>.
26909         (__rawmemchr): Don't use BP_SYM.
26910         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26911         <bp-sym.h> and <bp-asm.h>.
26912         (__STRCMP): Don't use BP_SYM.
26913         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26914         <bp-sym.h> and <bp-asm.h>.
26915         (strchr): Don't use BP_SYM.
26916         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26917         <bp-sym.h> and <bp-asm.h>.
26918         (__strchrnul): Don't use BP_SYM.
26919         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26920         <bp-sym.h> and <bp-asm.h>.
26921         (strlen): Don't use BP_SYM.
26922         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26923         <bp-sym.h> and <bp-asm.h>.
26924         (strncmp): Don't use BP_SYM.
26925         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26926         <bp-sym.h> and <bp-asm.h>.
26927         (__strnlen): Don't use BP_SYM.
26928         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26929         <bp-asm.h>.
26930         (__mpn_rshift): Don't use BP_SYM.
26931         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26932         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26933         <bp-sym.h> and <bp-asm.h>.
26934         (__sigsetjmp): Don't use BP_SYM.
26935         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26936         (L(start_addresses)): Don't use BP_SYM.
26937         (_start): Likewise.
26938         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26939         <bp-asm.h>.
26940         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26941         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26942         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26943         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26944         <bp-asm.h>.
26945         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26946         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26947         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26948         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26949         <bp-asm.h>.
26950         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26951         comments.
26952         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26953         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26954         <bp-asm.h>.
26955         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26956         FIXME comments.
26957         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26958         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26959         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26960         <bp-asm.h>.
26961         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26962         comment.
26963         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26964         and <bp-asm.h>.
26965         (strncmp): Don't use BP_SYM,
26966         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26967         <bp-asm.h>.
26968         (__mpn_sub_n): Don't use BP_SYM.
26969         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26970         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26971         and <bp-asm.h>.
26972         (__mpn_submul_1): Don't use BP_SYM.
26973         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26975         <bp-sym.h> and <bp-asm.h>.
26976         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26978         <bp-sym.h> and <bp-asm.h>.
26979         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26980         comment.
26982 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26985         Use ZK to minimize writes to Z.
26986         (sub_magnitudes): Simplify code a bit.
26987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26988         Use ZK to minimize writes to Z.
26989         (sub_magnitudes): Simplify code a bit.
26991 2013-02-27  Roland McGrath  <roland@hack.frob.com>
26993         * csu/gmon-start.c: Add special exception to license text.
26995 2013-02-27  Richard Henderson  <rth@redhat.com>
26997         * scripts/config.guess: Update from config.git.
26998         * scripts/config.sub: Likewise.
27000 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27002         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27004         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27006         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27008         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27010         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27012 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27014         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27015         [$(build-shared = yes].
27017 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27019         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27020         (__mul): Reduce iterations for calculating mantissa.
27022         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27023         MPTWO.
27024         (__mpranred): Likewise.
27026         [BZ #15160]
27027         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27028         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27030 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27032         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27033         Define __attribute__.
27035 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27037         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27038         unused.
27039         * posix/regex_internal.h (__attribute): Remove.
27040         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27041         (re_string_context_at): Likewise.
27042         (bitset_not): Use __attribute__ and mark function as possibly
27043         unused.
27044         (bitset_merge): Likewise.
27045         (bitset_mask): Likewise.
27046         (re_string_char_size_at): Likewise.
27047         (re_string_wchar_at): Likewise.
27048         (re_string_elem_size_at): Likewise.
27050 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27052         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27053         code.
27054         (cc32): Likewise.
27056         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27057         (__acr): Likewise.
27058         (__cpy): Likewise.
27059         (norm): Likewise.
27060         (denorm): Likewise.
27061         (__dbl_mp): Likewise.
27062         (add_magnitudes): Likewise.
27063         (sub_magnitudes): Likewise.
27064         (__mul): Likewise.
27065         (__inv): Likewise.
27067         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27068         style.
27070         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27071         style.
27073         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27074         code.
27076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27077         up changes with default code.
27078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27079         Likewise.
27081 2013-02-24  Allan McRae  <allan@archlinux.org>
27083         * manual/socket.texi (The Internet Namespace): Order menu items
27084         to match that in the file.
27086         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27087         node listing of the info page menu.
27089 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27091         [BZ #13550]
27092         * sysdeps/i386/bp-asm.h: Remove file.
27093         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27094         (PARMS): Do not use macros from bp-asm.h.
27095         (S1): Likewise.
27096         (S2): Likewise.
27097         (SIZE): Likewise.
27098         (__mpn_add_n): Do not use BP_SYM
27099         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27100         "bp-asm.h".
27101         (PARMS): Do not use macros from bp-asm.h.
27102         (S1): Likewise.
27103         (SIZE): Likewise.
27104         (__mpn_addmul_1): Do not use BP_SYM
27105         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27106         "bp-asm.h".
27107         (PARMS): Do not use macros from bp-asm.h.
27108         (SIGMSK): Likewise.
27109         (_setjmp): Likewise.  Do not use BP_SYM.
27110         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27111         "bp-asm.h".
27112         (PARMS): Do not use macros from bp-asm.h.
27113         (SIGMSK): Likewise.
27114         (setjmp): Likewise.  Do not use BP_SYM.
27115         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27116         "bp-asm.h".
27117         (PARMS): Do not use macros from bp-asm.h.
27118         (__frexp): Do not use BP_SYM.
27119         (frexp): Likewise.
27120         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27121         "bp-asm.h".
27122         (PARMS): Do not use macros from bp-asm.h.
27123         (__frexpf): Do not use BP_SYM.
27124         (frexpf): Likewise.
27125         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27126         "bp-asm.h".
27127         (PARMS): Do not use macros from bp-asm.h.
27128         (__frexpl): Do not use BP_SYM.
27129         (frexpl): Likewise.
27130         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27131         "bp-asm.h".
27132         (PARMS): Do not use macros from bp-asm.h.
27133         (__remquo): Do not use BP_SYM.
27134         (remquo): Likewise.
27135         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27136         "bp-asm.h".
27137         (PARMS): Do not use macros from bp-asm.h.
27138         (__remquof): Do not use BP_SYM.
27139         (remquof): Likewise.
27140         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27141         "bp-asm.h".
27142         (PARMS): Do not use macros from bp-asm.h.
27143         (__remquol): Do not use BP_SYM.
27144         (remquol): Likewise.
27145         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27146         "bp-asm.h".
27147         (PARMS): Do not use macros from bp-asm.h.
27148         (DEST): Likewise.
27149         (SRC): Likewise.
27150         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27151         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27152         "bp-asm.h".
27153         (PARMS): Do not use macros from bp-asm.h.
27154         (strlen): Do not use BP_SYM.
27155         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27156         "bp-asm.h".
27157         (PARMS): Do not use macros from bp-asm.h.
27158         (S1): Likewise.
27159         (S2): Likewise.
27160         (SIZE): Likewise.
27161         (__mpn_add_n): Do not use BP_SYM.
27162         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27163         "bp-asm.h".
27164         (PARMS): Do not use macros from bp-asm.h.
27165         (S1): Likewise.
27166         (SIZE): Likewise.
27167         (__mpn_addmul_1): Do not use BP_SYM.
27168         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27169         weak_alias.
27170         (bzero): Likewise.
27171         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27172         "bp-asm.h".
27173         (PARMS): Do not use macros from bp-asm.h.
27174         (S): Likewise.
27175         (SIZE): Likewise.
27176         (__mpn_lshift): Do not use BP_SYM.
27177         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27178         "bp-asm.h".
27179         (PARMS): Do not use macros from bp-asm.h.
27180         (DEST): Likewise.
27181         (SRC): Likewise.
27182         (LEN): Likewise.
27183         (memcpy): Likewise.  Do not use BP_SYM.
27184         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27185         libc_hidden_def and weak_alias.
27186         (mempcpy): Do not use BP_SYM in weak_alias.
27187         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27188         "bp-asm.h".
27189         (PARMS): Do not use macros from bp-asm.h.
27190         (DEST): Likewise.
27191         (LEN): Likewise.
27192         [!BZERO_P] (CHR): Likewise.
27193         (memset): Likewise.  Do not use BP_SYM.
27194         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27195         "bp-asm.h".
27196         (PARMS): Do not use macros from bp-asm.h.
27197         (S1): Likewise.
27198         (SIZE): Likewise.
27199         (__mpn_mul_1): Do not use BP_SYM.
27200         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27201         "bp-asm.h".
27202         (PARMS): Do not use macros from bp-asm.h.
27203         (S): Likewise.
27204         (SIZE): Likewise.
27205         (__mpn_rshift): Do not use BP_SYM.
27206         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27207         "bp-asm.h".
27208         (PARMS): Do not use macros from bp-asm.h.
27209         (STR): Likewise.
27210         (CHR): Likewise.
27211         (strchr): Likewise.  Do not use BP_SYM.
27212         (index): Do not use BP_SYM in weak_alias.
27213         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27214         "bp-asm.h".
27215         (PARMS): Do not use macros from bp-asm.h.
27216         (DEST): Likewise.
27217         (SRC): Likewise.
27218         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27219         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27220         "bp-asm.h".
27221         (PARMS): Do not use macros from bp-asm.h.
27222         (strlen): Do not use BP_SYM.
27223         * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
27230         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27231         "bp-asm.h".
27232         (PARMS): Do not use macros from bp-asm.h.
27233         (S1): Likewise.
27234         (SIZE): Likewise.
27235         (__mpn_submul_1): Do not use BP_SYM.
27236         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27237         "bp-asm.h".
27238         (PARMS): Do not use macros from bp-asm.h.
27239         (S1): Likewise.
27240         (S2): Likewise.
27241         (SIZE): Likewise.
27242         (__mpn_add_n): Do not use BP_SYM.
27243         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27244         weak_alias.
27245         (bzero): Likewise.
27246         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27247         "bp-asm.h".
27248         (PARMS): Do not use macros from bp-asm.h.
27249         (BLK2): Likewise.
27250         (LEN): Likewise.
27251         (memcmp): Do not use BP_SYM.
27252         (bcmp): Do not use BP_SYM in weak_alias.
27253         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27254         "bp-asm.h".
27255         (PARMS): Do not use macros from bp-asm.h.
27256         (DEST): Likewise.
27257         (SRC): Likewise.
27258         (LEN): Likewise.
27259         (memcpy): Likewise.  Do not use BP_SYM.
27260         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27261         "bp-asm.h".
27262         (PARMS): Do not use macros from bp-asm.h.
27263         (DEST): Likewise.
27264         (SRC): Likewise.
27265         (LEN): Likewise.
27266         (memmove): Likewise.  Do not use BP_SYM.
27267         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27268         "bp-asm.h".
27269         (PARMS): Do not use macros from bp-asm.h.
27270         (DEST): Likewise.
27271         (SRC): Likewise.
27272         (LEN): Likewise.
27273         (__mempcpy): Likewise.  Do not use BP_SYM.
27274         (mempcpy): Do not use BP_SYM in weak_alias.
27275         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27276         "bp-asm.h".
27277         (PARMS): Do not use macros from bp-asm.h.
27278         (DEST): Likewise.
27279         (LEN): Likewise.
27280         [!BZERO_P] (CHR): Likewise.
27281         (memset): Likewise.  Do not use BP_SYM.
27282         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27283         "bp-asm.h".
27284         (PARMS): Do not use macros from bp-asm.h.
27285         (STR2): Likewise.
27286         (strcmp): Do not use BP_SYM.
27287         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27288         "bp-asm.h".
27289         (PARMS): Do not use macros from bp-asm.h.
27290         (STR): Likewise.
27291         (DELIM): Likewise.
27292         [USE_AS_STRTOK_R] (SAVE): Likewise.
27293         (FUNCTION): Likewise.  Do not use BP_SYM.
27294         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27295         aliases.
27296         (strtok_r): Likewise.
27297         (__GI___strtok_r): Likewise.
27298         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27299         (PARMS): Do not use macros from bp-asm.h.
27300         (S): Likewise.
27301         (SIZE): Likewise.
27302         (__mpn_lshift): Do not use BP_SYM.
27303         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27304         (PARMS): Do not use macros from bp-asm.h.
27305         (STR): Likewise.
27306         (CHR): Likewise.
27307         (__memchr): Do not use BP_SYM.
27308         (memchr): Do not use BP_SYM in weak_alias.
27309         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27310         (PARMS): Do not use macros from bp-asm.h.
27311         (BLK2): Likewise.
27312         (LEN): Likewise.
27313         (memcmp): Do not use BP_SYM.
27314         (bcmp): Do not use BP_SYM in weak_alias.
27315         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27316         (PARMS): Do not use macros from bp-asm.h.
27317         (S1): Likewise.
27318         (SIZE): Likewise.
27319         (__mpn_mul_1): Do not use BP_SYM.
27320         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27321         "bp-asm.h".
27322         (PARMS): Do not use macros from bp-asm.h.
27323         (STR): Likewise.
27324         (CHR): Likewise.
27325         (__rawmemchr): Do not use BP_SYM.
27326         (rawmemchr): Do not use BP_SYM in weak_alias.
27327         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27328         (PARMS): Do not use macros from bp-asm.h.
27329         (S): Likewise.
27330         (SIZE): Likewise.
27331         (__mpn_rshift): Do not use BP_SYM.
27332         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27333         (PARMS): Do not use macros from bp-asm.h.
27334         (SIGMSK): Likewise.
27335         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27336         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27337         (_start): Do not use BP_SYM.
27338         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27339         (PARMS): Do not use macros from bp-asm.h.
27340         (DEST): Likewise.
27341         (SRC): Likewise.
27342         (__stpcpy): Likewise.  Do not use BP_SYM.
27343         (stpcpy): Do not use BP_SYM in weak_alias.
27344         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27345         "bp-asm.h".
27346         (PARMS): Do not use macros from bp-asm.h.
27347         (DEST): Likewise.
27348         (SRC): Likewise.
27349         (LEN): Likewise.
27350         (__stpncpy): Likewise.  Do not use BP_SYM.
27351         (stpncpy): Do not use BP_SYM in weak_alias.
27352         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27353         (PARMS): Do not use macros from bp-asm.h.
27354         (STR): Likewise.
27355         (CHR): Likewise.
27356         (strchr): Likewise.  Do not use BP_SYM.
27357         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27358         "bp-asm.h".
27359         (PARMS): Do not use macros from bp-asm.h.
27360         (STR): Likewise.
27361         (CHR): Likewise.
27362         (__strchrnul): Likewise.  Do not use BP_SYM.
27363         (strchrnul): Do not use BP_SYM in weak_alias.
27364         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27365         "bp-asm.h".
27366         (PARMS): Do not use macros from bp-asm.h.
27367         (STOP): Likewise.
27368         (strcspn): Do not use BP_SYM.
27369         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27370         "bp-asm.h".
27371         (PARMS): Do not use macros from bp-asm.h.
27372         (STR): Likewise.
27373         (STOP): Likewise.
27374         (strpbrk): Likewise.  Do not use BP_SYM.
27375         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27376         "bp-asm.h".
27377         (PARMS): Do not use macros from bp-asm.h.
27378         (STR): Likewise.
27379         (CHR): Likewise.
27380         (strrchr): Likewise.  Do not use BP_SYM.
27381         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27382         (PARMS): Do not use macros from bp-asm.h.
27383         (SKIP): Likewise.
27384         (strspn): Do not use BP_SYM.
27385         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27386         (PARMS): Do not use macros from bp-asm.h.
27387         (STR): Likewise.
27388         (DELIM): Likewise.
27389         (SAVE): Likewise.
27390         (FUNCTION): Likewise.  Do not use BP_SYM.
27391         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27392         aliases.
27393         (strtok_r): Likewise.
27394         (__GI___strtok_r): Likewise.
27395         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27396         (PARMS): Do not use macros from bp-asm.h.
27397         (S1): Likewise.
27398         (S2): Likewise.
27399         (SIZE): Likewise.
27400         (__mpn_sub_n): Do not use BP_SYM.
27401         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27402         "bp-asm.h".
27403         (PARMS): Do not use macros from bp-asm.h.
27404         (S1): Likewise.
27405         (SIZE): Likewise.
27406         (__mpn_submul_1): Do not use BP_SYM.
27407         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27408         <bp-sym.h>.
27409         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27410         and <bp-asm.h>.
27411         (PARMS): Do not use macros from bp-asm.h.
27412         (FLAGS): Likewise.
27413         (PTID): Likewise.
27414         (TLS): Likewise.
27415         (CTID): Likewise.
27416         (__clone): Do not use BP_SYM.
27417         (clone): Do not use BP_SYM in weak_alias.
27418         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27419         and <bp-asm.h>.
27420         (PARMS): Do not use macros from bp-asm.h.
27421         (LEN): Likewise.
27422         (__mmap64): Do not use BP_SYM.
27423         (mmap64): Do not use BP_SYM in weak_alias.
27424         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27425         <bp-sym.h> and <bp-asm.h>.
27426         (PARMS): Do not use macros from bp-asm.h.
27427         (__posix_fadvise64_l64): Do not use BP_SYM.
27428         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27429         (PARMS): Do not use macros from bp-asm.h.
27430         (NSOPS): Likewise.
27431         (semtimedop): Do not use BP_SYM.
27432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27433         and <bp-asm.h>.
27435 2013-02-21  Allan McRae  <allan@archlinux.org>
27437         * manual/message.texi (Charset conversion in gettext):
27438         Move @end statement to beginning of line.
27440 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27443         static.
27444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27445         Likewise.
27447         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27448         (denorm): Likewise.
27449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27452 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27454         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27455         tail-call to the resolved function if pltexit isn't needed.
27457 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27460         or Y being zero as being unlikely.
27461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27462         Likewise.
27464 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27466         * manual/nss.texi (System Databases and Name Service Switch):
27467         Remove frobnicate @pxref.
27469 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27471         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27472         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27474 2013-02-20  Petr Machata  <pmachata@redhat.com>
27476         * elf/elf.h (R_ARM_TARGET1): New macro.
27477         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27478         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27479         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27480         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27481         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27482         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27483         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27484         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27485         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27486         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27487         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27488         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27489         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27490         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27491         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27492         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27493         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27494         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27495         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27496         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27497         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27498         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27499         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27500         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27501         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27502         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27503         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27504         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27505         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27506         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27507         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27508         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27509         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27510         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27511         (R_ARM_THM_GOT_BREL12): Likewise.
27512         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27513         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27514         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27515         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27516         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27517         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27518         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27519         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27520         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27522 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27524         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27525         __attribute_used__ to __attribute__ ((unused)).
27527 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27529         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27530         powerpc mpa.c.
27531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27532         comment formatting.
27533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27535 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
27537         [BZ #13550]
27538         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27539         Remove macro.
27540         (ENTER): Remove both macro definitions.
27541         (LEAVE): Likewise.
27542         (CHECK_BOUNDS_LOW): Likewise.
27543         (CHECK_BOUNDS_HIGH): Likewise.
27544         (CHECK_BOUNDS_BOTH): Likewise.
27545         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27546         (RETURN_BOUNDED_POINTER): Likewise.
27547         (RETURN_NULL_BOUNDED_POINTER): Likewise.
27548         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27549         (POP_ERRNO_LOCATION_RETURN): Likewise.
27550         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27551         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27552         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27553         macros.
27554         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27555         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27556         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27557         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27558         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27559         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27560         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27561         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27562         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27563         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27564         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27565         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27566         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27567         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27568         removed macros.
27569         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27570         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27571         macros.
27572         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27573         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27574         * sysdeps/i386/i586/memset.S (memset): Likewise.
27575         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27576         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27577         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27578         macros.
27579         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27580         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27581         Change uses of L(2) to L(out).
27582         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27583         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27584         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27585         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27586         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27587         removed macros.
27588         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27589         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27590         macros.
27591         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27592         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27593         (RETURN): Do not use macro LEAVE.
27594         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27595         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27596         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27597         * sysdeps/i386/i686/memset.S (memset): Likewise.
27598         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27599         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27600         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27601         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27602         Likewise.
27603         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27604         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27605         L(1_2) and L(1_3) into L(1).
27606         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27607         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27608         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27609         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27610         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27611         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27612         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27613         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27614         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27615         macros.
27616         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27617         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27618         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27619         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27620         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27621         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27622         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27623         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27624         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27625         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27626         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27627         * sysdeps/i386/strspn.S (strspn): Likewise.
27628         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27629         conditional code.
27630         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27631         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27632         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27633         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27634         L(1_3) into L(1_1).
27635         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27636         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27637         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27638         macros.
27639         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27641 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27643         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27644         macro.
27646 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27648         * math/atest-exp.c (exp_mpn): Remove ROUND.
27649         * math/atest-exp2.c (exp_mpn): Likewise.
27650         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27652         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27653         * stdlib/tst-tls-atexit-lib.c: Likewise.
27654         * stdlib/tst-tls-atexit.c: Likewise.
27656 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27658         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27659         and __attribute_alloc_size__.
27661 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27663         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27664         __attribute_alloc_size__.
27665         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27666         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27668 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27670         * include/programs/xmalloc.h: New file.
27671         * catgets/gencat.c: Include it.
27672         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27673         * elf/pldd.c: Likewise.
27674         * iconv/iconv_charmap.c: Likewise.
27675         * iconv/iconvconfig.c: Likewise.
27676         * iconv/strtab.c: Likewise.
27677         * locale/programs/locale.c: Likewise.
27678         * locale/programs/localedef.h: Likewise.
27679         * locale/programs/simple-hash.c: Likewise.
27680         * nscd/nscd.h: Likewise.
27681         * nss/makedb.c: Likewise.
27682         * sysdeps/generic/ldconfig.h: Likewise.
27684 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27686         * Versions.def: Add GLIBC_2.18.
27687         * include/link.h (struct link_map): New member l_tls_dtor_count.
27688         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27689         (__call_tls_dtors): Likewise.
27690         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27691         __cxa_thread_atexit_impl.
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27693         Likewise.
27694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27695         Likewise.
27696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27697         Likewise.
27698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27699         Likewise.
27700         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27702         Likewise.
27703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27704         Likewise.
27705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27707         Likewise.
27708         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27709         (tests): Add test case tst-tls-atexit.
27710         (modules-names): Add shared library for tst-tls-atexit.
27711         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27712         (GLIBC_PRIVATE): Add __call_tls_dtors.
27713         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27714         for libstdc++.
27715         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27716         * stdlib/tst-tls-atexit.c: New test case.
27717         * stdlib/tst-tls-atexit-lib.c: New test case.
27719         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27721         * elf/Versions (ld): Add _dl_find_dso_for_object.
27722         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27723         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27724         (dl_open_worker): Use _dl_find_dso_for_object.
27725         * elf/dl-sym.c (do_sym): Likewise.
27726         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27728 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27730         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27731         Syntactic changes only.
27732         (_dl_runtime_profile): Do a tail-call to the resolved function.
27734 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27736         [BZ #13550]
27737         * sysdeps/x86_64/bp-asm.h: Remove file.
27738         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27739         <bp-sym.h> and <bp-asm.h>.
27740         (__clone): Do not use BP_SYM.
27741         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27742         <bp-sym.h> and <bp-asm.h>.
27743         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27744         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27745         "bp-asm.h".
27746         (_setjmp): Do not use BP_SYM.
27747         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27748         "bp-asm.h".
27749         (setjmp): Do not use BP_SYM.
27750         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27751         libc_hidden_def.
27752         (mempcpy): Do not use BP_SYM in weak_alias.
27753         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27754         "bp-asm.h".
27755         (strchr): Do not use BP_SYM.
27756         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27757         "bp-asm.h".
27758         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27759         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27760         (_start): Do not use BP_SYM.
27761         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27762         "bp-asm.h".
27763         (strcat): Do not use BP_SYM.
27764         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27765         "bp-asm.h".
27766         (STRCMP): Do not use BP_SYM.
27767         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27768         "bp-asm.h".
27769         (STRCPY): Do not use BP_SYM.
27770         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27771         "bp-asm.h".
27772         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27773         "bp-asm.h".
27774         (FUNCTION): Do not use BP_SYM.
27775         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27776         weak_alias.
27777         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27779 2013-02-17  Andreas Jaeger  <aj@suse.de>
27781         * time/Versions: Sort entries.
27782         * string/Versions: Likewise.
27783         * resolv/Versions: Likewise.
27784         * posix/Versions: Likewise.
27785         * iconv/Versions: Likewise.
27786         * elf/Versions: Likewise.
27787         * wcsmbs/Versions: Likewise.
27789 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27791         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27792         loop termination condition.
27794         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27795         variable to calculate EZ.
27796         (__sqr): Likewise.
27798         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27799         the lower precision input.
27801 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27803         [BZ #13550]
27804         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27805         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27806         (run-via-rtld-prefix): Do not handle %-bp tests.
27807         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27808         (all-object-suffixes): Remove .ob.
27809         (bppfx): Remove variable.
27810         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27811         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27812         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27813         [$(build-bounded) = yes] (libtype.ob): Likewise.
27814         * Makerules (elide-routines.ob): Remove variable.
27815         (do-tests-clean): Do not handle *-bp.out.
27816         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27817         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27818         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27819         (tests): Do not include $(tests-bp.out).
27820         (xtests): Do not include $(xtests-bp.out).
27821         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27822         [$(build-bounded) = yes] ($(addprefix
27823         $(objpfx),$(binaries-bounded))): Remove rule.
27824         ($(objpfx)%-bp.out): Remove rule.
27825         * config.make.in (build-bounded): Remove variable.
27826         * crypt/Makefile [$(build-bounded) = yes]
27827         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27828         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27829         append to variable.
27830         [$(build-bounded) = yes] (install-lib): Likewise.
27831         [$(build-bounded) = yes] (generated): Likewise.
27832         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27833         Remove rule.
27834         * intl/Makefile [$(build-bounded) = yes]
27835         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27836         * math/Makefile [$(build-bounded) = yes]
27837         ($(tests:%=$(objpfx)%-bp): Likewise.
27838         * misc/Makefile [$(build-bounded) = yes]
27839         ($(objpfx)tst-tsearch-bp): Likewise.
27840         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27841         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27842         Remove dependency.
27843         * string/Makefile (o-objects.ob): Remove variable.
27844         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27845         (CFLAGS-.ob): Remove variable.
27846         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27847         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27848         both definitions of variable.
27849         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27850         (ASFLAGS-.ob): Remove variable.
27852 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27854         [BZ #13550]
27855         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27856         Remove __BOUNDED_POINTERS__ from condition.
27857         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27858         * string/bits/string2.h [!__NO_STRING_INLINES &&
27859         !__BOUNDED_POINTERS__]: Likewise.
27860         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27861         Likewise.
27862         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27863         Remove conditional code.
27864         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27865         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27866         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27867         condition.
27869         [BZ #13550]
27870         * csu/libc-start.c: Do not include <bp-sym.h>.
27871         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27872         * elf/dl-open.c: Do not include <bp-sym.h>.
27873         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27874         * math/fegetenv.c: Do not include <bp-sym.h>.
27875         (fegetenv): Do not use BP_SYM in versioned symbols.
27876         * nptl/sysdeps/pthread/bits/libc-lockP.h
27877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27878         <bp-sym.h>.
27879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27880         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27882         (__pthread_mutex_destroy): Likewise.
27883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27884         (__pthread_mutex_lock): Likewise.
27885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27886         (__pthread_mutex_trylock): Likewise.
27887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27888         (__pthread_mutex_unlock): Likewise.
27889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27890         (__pthread_mutexattr_init): Likewise.
27891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27892         (__pthread_mutexattr_destroy): Likewise.
27893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27894         (__pthread_mutexattr_settype): Likewise.
27895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27896         (__pthread_rwlock_init): Likewise.
27897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27898         (__pthread_rwlock_destroy): Likewise.
27899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27900         (__pthread_rwlock_rdlock): Likewise.
27901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27902         (__pthread_rwlock_tryrdlock): Likewise.
27903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27904         (__pthread_rwlock_wrlock): Likewise.
27905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27906         (__pthread_rwlock_trywrlock): Likewise.
27907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27908         (__pthread_rwlock_unlock): Likewise.
27909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27910         (__pthread_key_create): Likewise.
27911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27912         (__pthread_setspecific): Likewise.
27913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27914         (__pthread_getspecific): Likewise.
27915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27916         Likewise.
27917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27918         (_pthread_cleanup_push_defer): Likewise.
27919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27920         (_pthread_cleanup_pop_restore): Likewise.
27921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27922         (pthread_setcancelstate): Likewise.
27923         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27924         <bp-sym.h>.
27925         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27926         (memchr): Do not use BP_SYM in weak_alias.
27927         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27928         (fegetenv): Do not use BP_SYM in versioned symbols.
27929         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27930         (fesetenv): Do not use BP_SYM in versioned symbols.
27931         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27932         (feupdateenv): Do not use BP_SYM in versioned symbols.
27933         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27934         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27935         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27936         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27937         (open64): Do not use BP_SYM in weak_alias.
27938         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27939         (fegetenv): Do not use BP_SYM in versioned symbols.
27940         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27941         (fesetenv): Do not use BP_SYM in versioned symbols.
27942         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27943         (feupdateenv): Do not use BP_SYM in versioned symbols.
27944         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27945         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27946         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27947         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27948         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27949         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27950         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27951         <bp-sym.h>.
27952         (__libc_start_main): Do not use BP_SYM.
27954 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27957         redundant return line.
27958         (norm): Likewise.
27959         (denorm): Likewise.
27960         (dbl_mp): Likewise.
27961         (sub_magnitudes): Likewise.
27962         (__add): Likewise.
27963         (__sub): Likewise.
27964         (__mul): Likewise.
27965         (__inv): Likewise.
27966         (__dvd): Likewise.
27967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27968         (norm): Likewise.
27969         (denorm): Likewise.
27970         (dbl_mp): Likewise.
27971         (sub_magnitudes): Likewise.
27972         (__add): Likewise.
27973         (__sub): Likewise.
27974         (__mul): Likewise.
27975         (__inv): Likewise.
27976         (__dvd): Likewise.
27978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27979         instead of __mul.
27980         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27981         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27982         (cc32): Likewise.
27984         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27985         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27987         of __mul for squares.
27988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27989         function
27990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27991         Likewise.
27992         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27993         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27995 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
27997         [BZ #13550]
27998         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27999         code.
28000         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28001         prototype or function definition.  Rename ubp_* variables and
28002         parameters.  Remove argv definitions conditional on
28003         [__BOUNDED_POINTERS__].
28004         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28005         * elf/dl-runtime.c (_dl_fixup): Likewise.
28006         * include/set-hooks.h (RUN_HOOK): Likewise.
28007         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28008         definition.
28009         * string/strcpy.c (strcpy): Do not use __unbounded.
28010         * sysdeps/generic/frame.h (struct layout): Likewise.
28011         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28012         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28013         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28014         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28015         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28016         (__backtrace): Likewise.
28017         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28018         use __ptrvalue.
28019         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28020         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28021         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28022         Likewise.
28023         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28024         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28025         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28026         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28027         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28028         Do not use __unbounded.
28029         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28030         Rename __unboundedrlimits parameter to rlimits in prototype.
28031         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28032         Do not use __unbounded.
28033         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28034         not use __ptrvalue.
28035         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28036         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28037         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28038         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28039         __ptrvalue or __unbounded.
28040         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28041         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28042         use __unbounded.
28043         (__new_msgctl): Do not use __ptrvalue.
28044         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28045         __unbounded.
28046         (__libc_msgrcv): Do not use __ptrvalue.
28047         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28048         startup_info): Do not use __unbounded.
28049         (__libc_start_main): Likewise.  Rename ubp_* variables and
28050         parameters.  Remove argv definitions conditional on
28051         [__BOUNDED_POINTERS__].
28052         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28053         __ptrvalue.
28054         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28055         use __unbounded.
28056         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28057         or __ptrvalue.
28058         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28059         use __unbounded.
28060         (__new_shmctl): Do not use __ptrvalue.
28061         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28062         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28063         Likewise.
28064         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28065         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28066         (__libc_sigaction): Likewise.
28067         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28068         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28069         Likewise.
28070         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28072 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28074         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28076         * string/mempcpy.c: Implement by calling memcpy.
28078 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28080         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28082         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28083         evaluation.
28085         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28086         values in the mantissa.
28088         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28089         minimize writes to Z.
28090         (sub_magnitudes): Simplify code a bit.
28092 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28094         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28095         from the message.  The linker prefixes all warnings with that already.
28097 2013-02-12  Andreas Schwab  <schwab@suse.de>
28099         [BZ #15078]
28100         * posix/regexec.c (extend_buffers): Add parameter min_len.
28101         (check_matching): Pass minimum needed length.
28102         (clean_state_log_if_needed): Likewise.
28103         (get_subexp): Likewise.
28104         * posix/Makefile (tests): Add bug-regex34.
28105         (bug-regex34-ENV): Define.
28106         * posix/bug-regex34.c: New file.
28108         [BZ #11561]
28109         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28110         elements compare against the byte sequence of it, not its name.
28111         * posix/Makefile (tests): Add bug-regex35.
28112         (bug-regex35-ENV): Define.
28113         * posix/bug-regex35.c: New file.
28115 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28117         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28118         comment.
28119         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28120         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28121         (CHECK_EOL): Add undef.
28123 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28125         * bits/stdlib-bsearch.h: New file.
28126         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28127         * stdlib/stdlib.h: Likewise.
28129 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28131         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28132         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28133         declaration.
28134         * manual/search.texi (Array Search Function): Add missing const in
28135         lfind prototype.
28136         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28137         declaration to use rlim_t.
28138         (Basic Scheduling Functions): Remove erroneous const from
28139         sched_getparam prototype.  Remove erroneous * from
28140         sched_get_priority_max and sched_get_priority_min prototypes.
28141         (Resource Usage): Fix summary @comment on vtimes to refer to
28142         sys/vtimes.h rather than vtimes.h.
28143         Add missing *s in vtimes prototype.
28144         (Limits on Resources): Fix ulimit prototype to return long int.
28145         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28146         prototypes to use long int rather than double.
28147         (BSD Random): Fix initstate and setstate to use char *, not void *.
28148         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28149         prototype to make second argument 'struct aiocb64 *const[]'.
28150         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28151         (Status of AIO Operations): Remove erroneous const in aio_return and
28152         aio_return64 prototypes.
28153         (Synchronizing I/O): Fix sync prototype to return void.
28154         * manual/startup.texi (Suboptions): Remove an erroneous const in
28155         getsubopt prototype.
28156         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28157         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28158         use size_t rather than int.
28159         (Scanning All Users): Likewise for getpwent_r.
28160         (Setting Groups): Add missing const to setgroups prototype.
28161         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28162         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28163         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28164         'const void *' rather than 'const char *'.
28165         (Host Address Functions): Likewise for inet_ntop.
28166         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28167         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28168         ssize_t for return value.
28169         (Sending Data): Likewise for send, sendto, sendmsg.
28170         (Socket Option Functions): Add a missing const in setsockopt prototype.
28171         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28172         use wchar_t for the argument.
28173         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28174         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28175         take no arguments.
28176         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28177         double/float/long double for second argument.
28178         Fix return types of significand, significandf, significandl.
28179         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28180         argument in fchmod prototype.
28181         (File Owner): Use uid_t and gid_t in fchown prototype.
28182         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28183         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28184         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28185         use 'const struct dirent **' as argument types to CMP function pointer
28186         argument.
28187         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28188         (File Times): Fix summary magic @comment for struct utimbuf and utime
28189         to refer to utime.h, not time.h.
28190         * manual/string.texi (Argz Functions): Add missing const in
28191         argz_extract and argz_next prototypes.
28192         (Finding Tokens in a String): Likewise for basename.
28193         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28194         (Copying and Concatenation): Fix typo in wmemmove prototype.
28195         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28196         (Signal Stack): Remove erroneous const in sigstack prototype.
28197         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28198         prototype.
28199         (Simple Calendar Time): Likewise for stime.
28200         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28201         prototype.
28202         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28203         say sys/sysctl.h instead.
28204         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28205         and vsyslog prototypes.
28207 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28209         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28210         Remove.
28212 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28214         * misc/sys/mman.h: Fix typo in mremap comment.
28216 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28218         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28219         the '\0' terminator.
28221 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28223         [BZ #13550]
28224         * debug/segfault.c: Don't include <bp-checks.h>.
28225         * sysdeps/generic/bp-checks.h: Remove file.
28226         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28227         (__GETDENTS): Don't use CHECK_N.
28228         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28229         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28230         (__getgroups): Don't use CHECK_N.
28231         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28232         (setgroups): Don't use CHECK_N.
28233         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28234         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28235         (__libc_msgrcv): Don't use CHECK_N.
28236         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28237         (__libc_msgsnd): Don't use CHECK_N.
28238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28239         <bp-checks.h>.
28240         (__libc_pread): Don't use CHECK_N.
28241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28242         include <bp-checks.h>.
28243         (__libc_pread64): Don't use CHECK_N.
28244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28245         include <bp-checks.h>.
28246         (__libc_pwrite): Don't use CHECK_N.
28247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28248         include <bp-checks.h>.
28249         (__libc_pwrite64): Don't use CHECK_N.
28250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28251         <bp-checks.h>.
28252         (__libc_pread): Don't use CHECK_N.
28253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28254         include <bp-checks.h>.
28255         (__libc_pread64): Don't use CHECK_N.
28256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28257         include <bp-checks.h>.
28258         (__libc_pwrite): Don't use CHECK_N.
28259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28260         include <bp-checks.h>.
28261         (__libc_pwrite64): Don't use CHECK_N.
28262         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28263         (do_pread): Don't use CHECK_N.
28264         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28265         (do_pread64): Don't use CHECK_N.
28266         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28267         (do_pwrite): Don't use CHECK_N.
28268         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28269         (do_pwrite64): Don't use CHECK_N.
28270         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28271         (__libc_readv): Don't use CHECK_N.
28272         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28273         (semop): Don't use CHECK_N.
28274         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28275         <bp-checks.h>.
28276         (semtimedop): Don't use CHECK_N.
28277         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28278         (__libc_pread): Don't use CHECK_N.
28279         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28280         <bp-checks.h>.
28281         (__libc_pread64): Don't use CHECK_N.
28282         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28283         <bp-checks.h>.
28284         (__libc_pwrite): Don't use CHECK_N.
28285         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28286         <bp-checks.h>.
28287         (__libc_pwrite64): Don't use CHECK_N.
28288         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28289         <bp-checks.h>.
28290         (__libc_msgrcv): Don't use CHECK_N.
28291         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28292         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28293         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28294         (__libc_writev): Don't use CHECK_N.
28296 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28298         * string/strcpy.c: Removed unused variable.
28300         * Makeconfig (+sysdep-includes): Define with := rather than =.
28301         Use an existing include/ subdir of each sysdeps dir before it.
28303 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28305         * nscd/connection.c (register_traced_file): Comment function.
28306         [HAVE_INOTIFY] (union __inev): Define.
28307         [HAVE_INOTIFY] (inotify_check_files): New function.
28308         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28309         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28310         clear_db_cache.
28311         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28313 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28315         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28316         loaded if not already and that a failure is permanent.
28318 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28320         [BZ #15006]
28321         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28322         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28324 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28326         [BZ #13550]
28327         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28328         (CHECK_1_NULL_OK): Likewise.
28329         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28330         (__fxstat): Do not use CHECK_1.
28331         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28332         <bp-checks.h>.
28333         (___fxstat64): Do not use CHECK_1.
28334         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28335         <bp-checks.h>.
28336         (__fxstatat): Do not use CHECK_1.
28337         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28338         <bp-checks.h>.
28339         (__fxstatat64): Do not use CHECK_1.
28340         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28341         <bp-checks.h>.
28342         (__fxstat): Do not use CHECK_1.
28343         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28344         <bp-checks.h>.
28345         (__fxstatat): Do not use CHECK_1.
28346         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28347         <bp-checks.h>.
28348         (__getresgid): Do not use CHECK_1.
28349         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28350         <bp-checks.h>.
28351         (__getresuid): Do not use CHECK_1.
28352         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28353         <bp-checks.h>.
28354         (__lxstat): Do not use CHECK_1.
28355         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28356         <bp-checks.h>.
28357         (__old_msgctl): Do not use CHECK_1.
28358         (__new_msgctl): Likewise.
28359         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28360         <bp-checks.h>.
28361         (__new_setrlimit): Do not use CHECK_1.
28362         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28363         <bp-checks.h>.
28364         (__old_shmctl): Do not use CHECK_1.
28365         (__new_shmctl): Likewise.
28366         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28367         <bp-checks.h>.
28368         (__xstat): Do not use CHECK_1.
28369         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28370         (__lxstat): Do not use CHECK_1.
28371         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28372         <bp-checks.h>.
28373         (___lxstat64): Do not use CHECK_1.
28374         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28375         (__old_msgctl): Do not use CHECK_1.
28376         (__new_msgctl): Likewise.
28377         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28378         <bp-checks.h>.
28379         (__gettimeofday): Do not use CHECK_1.
28380         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28381         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28382         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28383         <bp-checks.h>.
28384         (__gettimeofday): Do not use CHECK_1.
28385         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28386         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28387         (__new_shmctl): Do not use CHECK_1.
28388         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28389         <bp-checks.h>.
28390         (do_sigtimedwait): Do not use CHECK_1.
28391         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28392         <bp-checks.h>.
28393         (do_sigwaitinfo): Do not use CHECK_1.
28394         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28395         <bp-checks.h>.
28396         (msgctl): Do not use CHECK_1.
28397         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28398         <bp-checks.h>.
28399         (shmctl): Do not use CHECK_1.
28400         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28401         (ustat): Do not use CHECK_1.
28402         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28403         <bp-checks.h>.
28404         (__fxstat): Do not use CHECK_1.
28405         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28406         <bp-checks.h>.
28407         (__fxstatat): Do not use CHECK_1.
28408         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28409         <bp-checks.h>.
28410         (__lxstat): Do not use CHECK_1.
28411         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28412         <bp-checks.h>.
28413         (__xstat): Do not use CHECK_1.
28414         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28415         (__xstat): Do not use CHECK_1.
28416         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28417         (___xstat64): Do not use CHECK_1.
28419         [BZ #13550]
28420         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28421         definitions.
28422         (CHECK_BOUNDS_HIGH): Likewise.
28423         * string/strcpy.c: Do not include <bp-checks.h>.
28424         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28426 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28428         * nscd/nscd-client.h (__nscd_drop_map_ref):
28429         Add __attribute__ ((unused)).
28430         * nis/nss-nisplus.h (niserr2nss): Likewise.
28432         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28433         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28435         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28436         Remove inline keyword.
28437         * include/rounding-mode.h (round_away): Likewise.
28438         * libio/wfileops.c (adjust_wide_data): Likewise.
28439         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28440         (__m128i_strloadu_tolower): Likewise.
28441         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28442         (__m128i_strloadu_tolower): Likewise.
28443         * time/mktime.c (ydhms_diff): Likewise.
28444         * locale/elem-hash.h (elem_hash): Likewise.
28445         * locale/setlocale.c (setdata): Likewise.
28446         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28447         (re_string_wchar_at): Likewise.
28448         (bitset_not, bitset_merge, bitset_mask): Likewise.
28449         [!(__GNUC__ > 3)] (inline): Remove macro.
28450         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28451         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28452         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28453         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28454         * string/memcmp.c (memcmp_bytes): Likewise.
28455         * locale/programs/locarchive.c (compute_hashval): Likewise.
28456         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28457         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28458         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28459         * nss/getent.c (print_rpc, print_protocols): Likewise.
28460         (print_passwd, print_group, print_aliases): Likewise.
28461         * nis/nss-nisplus.h (niserr2nss): Likewise.
28462         * nscd/connections.c (restart_p): Likewise.
28463         Change return type to bool.
28465 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28467         * Makeconfig (all-Depend-files): Add existing
28468         $(sorted-subdirs:=/Depend) files.
28469         (all-subdirs): Remove nss.
28470         * sysdeps/unix/inet/Subdirs: Add it here instead.
28471         * hesiod/Depend: New file.
28473         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28474         instead of calling alloca.
28476         * io/lseek.c (__lseek): Rename to __libc_lseek.
28477         Define __lseek as an alias.
28479         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28481 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28483         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28484         else clause and remove check for non-standard endianness.
28486 2013-02-04  David S. Miller  <davem@davemloft.net>
28488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28490 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28492         [BZ #13550]
28493         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28494         (__ubp_memchr): Remove prototype.
28495         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28496         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28497         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28498         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28499         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28500         Remove alias.
28501         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28502         (__ubp_memchr): Likewise.
28503         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28504         (__ubp_memchr): Likewise.
28505         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28506         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28507         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28508         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28509         CHECK_STRING.
28510         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28511         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28512         (__getcwd): Do not use CHECK_STRING.
28513         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28514         <bp-checks.h>.
28515         (__real_chown): Do not use CHECK_STRING.
28516         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28517         <bp-checks.h>.
28518         (fchownat): Do not use CHECK_STRING.
28519         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28520         CHECK_STRING.
28521         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28522         <bp-checks.h>.
28523         (__lchown): Do not use CHECK_STRING.
28524         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28525         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28526         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28527         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28529         include <bp-checks.h>.
28530         (truncate64): Do not use CHECK_STRING.
28531         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28532         <bp-checks.h>.
28533         (__real_chown): Do not use CHECK_STRING.
28534         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28535         <bp-checks.h>.
28536         (__lchown): Do not use CHECK_STRING.
28537         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28538         <bp-checks.h>.
28539         (__chown): Do not use CHECK_STRING.
28540         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28541         <bp-checks.h>.
28542         (truncate64): Do not use CHECK_STRING.
28543         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28544         Likewise.
28545         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28546         (__xmknod): Do not use CHECK_STRING.
28547         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28548         <bp-checks.h>.
28549         (__xmknodat): Do not use CHECK_STRING.
28550         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28551         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28553 2013-02-04  Andreas Schwab  <schwab@suse.de>
28555         [BZ #14142]
28556         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28557         * include/netdb.h: Likewise for h_errno.
28558         * elf/tst-stackguard1.c: Include <tls.h>.
28560 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
28562         * elf/link.h (struct link_map): Extend the l_addr comment.
28563         * include/link.h (struct link_map): Likewise.
28565 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
28567         [BZ #13550]
28568         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28569         (BOUNDED_1): Remove macro.
28570         * debug/backtrace.c: Don't include <bp-checks.h>.
28571         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28572         (__backtrace): Likewise.
28573         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28574         <bp-checks.h>.
28575         (__backtrace): Don't use BOUNDED_1.
28576         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28577         <bp-checks.h>.
28578         (__backtrace): Don't use BOUNDED_1.
28579         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28580         (__backtrace): Don't use BOUNDED_1.
28581         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28582         (shmat): Don't use BOUNDED_N.
28584 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
28586         [BZ #13550]
28587         * sysdeps/generic/bp-start.h: Remove file.
28588         * csu/libc-start.c: Don't include <bp-start.h>.
28589         (LIBC_START_MAIN): Set up __environ directly instead of using
28590         INIT_ARGV_and_ENVIRON.
28591         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28592         <bp-start.h>.
28594         [BZ #13550]
28595         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28596         definitions.
28597         (CHECK_FCNTL): Likewise.
28598         (CHECK_N_PAGES): Likewise.
28600         [BZ #13550]
28601         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28602         definitions.
28603         (CHECK_SIGSET_NULL_OK): Likewise.
28604         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28605         <bp-checks.h>.
28606         (sigpending): Don't use CHECK_SIGSET.
28607         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28608         <bp-checks.h>.
28609         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28610         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28611         <bp-checks.h>.
28612         (do_sigsuspend): Don't use CHECK_SIGSET.
28613         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28614         use CHECK_SIGSET.
28615         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28616         (do_sigwait): Don't use CHECK_SIGSET.
28617         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28618         use CHECK_SIGSET.
28619         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28620         include <bp-checks.h>.
28621         (sigpending): Don't use CHECK_SIGSET.
28622         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28623         include <bp-checks.h>.
28624         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28625         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28626         <bp-checks.h>.
28627         (sigpending): Don't use CHECK_SIGSET.
28628         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28629         <bp-checks.h>.
28630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28632         [BZ #13550]
28633         * sysdeps/generic/bp-semctl.h: Remove file.
28634         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28635         <bp-checks.h> and <bp-semctl.h>.
28636         (__old_semctl): Don't use CHECK_SEMCTL.
28637         (__new_semctl): Likewise.
28638         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28639         and <bp-semctl.h>.
28640         (__old_semctl): Don't use CHECK_SEMCTL.
28641         (__new_semctl): Likewise.
28642         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28643         <bp-checks.h> and <bp-semctl.h>.
28644         (__old_semctl): Don't use CHECK_SEMCTL.
28645         (__new_semctl): Likewise.
28646         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28647         <bp-checks.h> and <bp-semctl.h>.
28648         (semctl): Don't use CHECK_SEMCTL.
28650         [BZ #13550]
28651         * Makerules (elide-bp-thunks): Remove variable.
28652         (elide-routines.oS): Don't use $(elide-bp-thunks).
28653         (elide-routines.os): Likewise.
28654         (elide-routines.o): Likewise.
28655         (elide-routines.op): Likewise.
28656         (elide-routines.og): Likewise.
28657         (objects): Don't use $(bp-thunks).
28658         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28659         include.
28660         (common-generated): Do not add s-proto-bp.d.
28661         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28662         (int): Likewise.
28663         (typ): Likewise.
28664         Do not generate makefile rules for bounded-pointer thunks.
28665         * sysdeps/generic/bp-thunks.h: Remove file.
28666         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28667         * sysdeps/unix/s-proto-bp.S: Likewise.
28669         [BZ #15062]
28670         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28671         parts of result separately when argument is not close to line from
28672         -i to i and one part of argument is small.
28673         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28674         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28675         * math/libm-test.inc (cacos_test): Add more tests.
28676         (casin_test): Likewise.
28677         (casinh_test): Likewise.
28678         * sysdeps/i386/fpu/libm-test-ulps: Update.
28679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681 2013-01-31  David S. Miller  <davem@davemloft.net>
28683         * po/de.po: Update from translation team.
28685 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28687         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28689 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28691         * configure.in (_AC_PROG_CC_C89): New definition.
28692         * configure: Regenerate.
28694         * configure.in (AC_PROG_CPP): New definition.
28695         * configure: Regenerate.
28697 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28699         * debug/tst-backtrace.h: New file.
28700         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28701         (ret): Remove variable.
28702         (x): Likewise.
28703         (FAIL): Remove macro.
28704         (NO_INLINE): Likewise.
28705         (fn1): Use match function instead of strstr.
28706         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28707         (ret): Remove variable.
28708         (x): Likewise.
28709         (FAIL): Remove macro.
28710         (NO_INLINE): Likewise.
28711         (fn): Use match function instead of strstr.
28712         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28713         (ret): Remove variable.
28714         (x): Likewise.
28715         (FAIL): Remove macro.
28716         (NO_INLINE): Likewise.
28717         (handle_signal): Use match function instead of strstr.
28718         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28719         (ret): Remove variable.
28720         (x): Likewise.
28721         (FAIL): Remove macro.
28722         (NO_INLINE): Likewise.
28723         (handle_signal): Use match function instead of strstr.
28725 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28727         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28729 2013-01-23  David S. Miller  <davem@davemloft.net>
28731         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28732         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28733         argument of CAS if possible.
28734         * sysdeps/sparc/sparc64/bits/atomic.h
28735         (__arch_compare_and_exchange_val_32_acq): Likewise.
28736         (__arch_compare_and_exchange_val_64_acq): Likewise.
28738 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28740         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28741         * sysdeps/posix/ulimit.c: ... this.
28742         Include <limits.h>.
28743         * sysdeps/unix/bsd/ulimit.c: Remove file.
28745 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28747         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28748         (LDFLAGS-tst-array5): Likewise.
28750 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28752         [BZ #15036]
28753         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28754         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28755         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28756         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28758 2013-01-21  David S. Miller  <davem@davemloft.net>
28760         * sysdeps/sparc/backtrace.c: New file.
28761         * sysdeps/sparc/sparc32/backtrace.h: New file.
28762         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28763         * sysdeps/sparc/sparc64/backtrace.h: New file.
28764         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28765         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28766         -funwind-tables.
28768 2013-01-21  Andreas Schwab  <schwab@suse.de>
28770         [BZ #15020]
28771         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28772         closed its stdout.
28774 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28777         "mpa2.h".
28778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28780 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28781             Mark Mitchell  <mark@codesourcery.com>
28782             Tom de Vries  <tom@codesourcery.com>
28783             Paul Pluzhnikov  <ppluzhnikov@google.com>
28785         * debug/tst-backtrace2.c: New file.
28786         * debug/tst-backtrace3.c: Likewise.
28787         * debug/tst-backtrace4.c: Likewise.
28788         * debug/tst-backtrace5.c: Likewise.
28789         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28790         (CFLAGS-tst-backtrace3.c): Likewise.
28791         (CFLAGS-tst-backtrace4.c): Likewise.
28792         (CFLAGS-tst-backtrace5.c): Likewise.
28793         (LDFLAGS-tst-backtrace2): Likewise.
28794         (LDFLAGS-tst-backtrace3): Likewise.
28795         (LDFLAGS-tst-backtrace4): Likewise.
28796         (LDFLAGS-tst-backtrace5): Likewise.
28797         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28798         tst-backtrace4 and tst-backtrace5.
28800 2013-01-18  Anton Blanchard  <anton@samba.org>
28801             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28803         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28804         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28805         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28806         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28808         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28809         "+r" and remove output regs list as redundant.  Add explicit inline
28810         asm to specify register of return val to work around compiler codegen
28811         bug.  Remove (int) cast on return value.  Add return type parameter to
28812         use in macro so that this macro does not truncate return value for
28813         64-bit values.
28814         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28815         pass to INTERNAL_VSYSCALL_NCS.
28816         (INLINE_VSYSCALL): Add 'long int' as return type to
28817         INTERNAL_VSYSCALL_NCS macro invocation.
28818         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28819         INTERNAL_VSYSCALL_NCS macro invocation.
28820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28822 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28824         [BZ #14496]
28825         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28826         Fix application of SIMD FP exception mask.
28828         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28829         mp_no from a power of two.
28830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28831         __mpexp_twomm1.  Use __pow_mp.
28833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28834         multiplication.
28836 2013-01-17  David S. Miller  <davem@davemloft.net>
28838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28840 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28842         [BZ #15023]
28843         * include/complex.h: Condition contents on [!_COMPLEX_H].
28844         (__kernel_casinhf): New prototype.
28845         (__kernel_casinh): Likewise.
28846         (__kernel_casinhl): Likewise.
28847         * math/Makefile (libm_calls): Add k_casinh.
28848         * math/k_casinh.c: New file.
28849         * math/k_casinhf.c: Likewise.
28850         * math/k_casinhl.c: Likewise.
28851         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28852         finite nonzero arguments.
28853         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28854         finite nonzero arguments.
28855         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28856         finite nonzero arguments.
28857         * math/s_casinh.c: Do not include <float.h>.
28858         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28859         * math/s_casinhf.c: Do not include <float.h>.
28860         (__casinhf): Move code for finite nonzero arguments to
28861         k_casinhf.c.
28862         * math/s_casinhl.c: Do not include <float.h>.
28863         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28864         redefine.
28865         (__casinhl): Move code for finite nonzero arguments to
28866         k_casinhl.c.
28867         * math/libm-test.inc (cacos_test): Add more tests.
28868         * sysdeps/i386/fpu/libm-test-ulps: Update.
28869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28871 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28873         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28874         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28875         [!HAVE_MREMAP]: Remove [defined linux] case.
28876         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28878 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28880         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28882 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28884         * elf/elf.h (R_386_SIZE32): New relocation.
28885         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28886         R_386_SIZE32.
28887         (elf_machine_rela): Likewise.
28888         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28889         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28891 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28893         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28894         (FP_FAST_FMA): Do not define.
28895         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28896         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28897         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28898         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28899         !_SOFT_FLOAT]: Likewise.
28900         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28901         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28902         value.
28903         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28904         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28905         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28906         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28907         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28908         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28909         file.
28911 2013-01-16  Andreas Schwab  <schwab@suse.de>
28913         [BZ #14327]
28914         * include/stdlib.h (__mktemp): Add declaration.
28915         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28916         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28918 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28920         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28921         definitions.
28922         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28923         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28924         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28925         definitions here.
28926         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28927         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28928         definitions.
28929         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28930         and ONE.
28931         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28932         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28933         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28934         definitions.
28935         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28936         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28937         definitions.
28938         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28940         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28942 2013-01-15  David S. Miller  <davem@davemloft.net>
28944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28945         trunc{,f} to libm-sysdep_routes.
28946         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28948         file.
28949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28951         file.
28952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28953         file.
28954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28956         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28957         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28958         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28959         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28960         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28961         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28964         nearbyint{,f} to libm-sysdep_routes.
28965         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28967         New file.
28968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28969         file.
28970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28971         New file.
28972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28973         file.
28974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28976         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28977         file.
28978         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28979         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28980         file.
28981         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28982         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28983         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28985         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28986         libc_feholdexcept and libc_fesetenv.
28988 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
28990         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28992 2013-01-14  David S. Miller  <davem@davemloft.net>
28994         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28995         (SPARC_ASM_VIS2_IFUNC): Likewise.
28996         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28998         use of 'siam' instruction.
28999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29000         Likewise.
29001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29002         Likewise.
29003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29004         Likewise.
29005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29010         file.
29011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29012         file.
29013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29014         file.
29015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29016         file.
29017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29022         new VIS2 routines.
29023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29026         Likewise.
29027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29029         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29032         routines to libm-sysdep_routines.
29033         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29036         fdim/fdimf to libm-sysdep_routines.
29037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29038         file.
29039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29041         file.
29042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29045         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29046         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29047         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29048         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29050 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29052         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29053         to optimize copies.
29055         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29059         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29060         local variable MPTWO.
29061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29062         Likewise.
29064 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29066         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29067         GLOB_NOESCAPE.
29069 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29071         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29073 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29075         * manual/pattern.texi (glob_t): Document gl_flags.
29076         (glob64_t): Likewise.
29078 2013-01-11  David S. Miller  <davem@davemloft.net>
29080         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29081         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29082         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29083         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29084         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29085         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29086         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29087         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29088         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29089         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29090         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29091         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29092         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29094         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29095         sparc V9 rather than using V8 code.
29096         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29097         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29099         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29100         Move to...
29101         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29102         Here.
29104 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29106         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29107         not in the main loop.
29108         * configure: Regenerated.
29110 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29112         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29113         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29114         to just #else.
29115         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29116         [!__GLIBC_HAVE_LONG_LONG] case.
29117         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29118         condition to just #else.
29119         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29120         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29121         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29122         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29123         unconditional.
29124         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29125         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29126         #elif condition to just #else.
29127         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29128         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29129         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29130         #elif condition to just #else.
29132 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29134         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29135         (EF_MIPS_ARCH_64): Fix value.
29136         (EF_MIPS_ARCH_32R2): New.
29137         (EF_MIPS_ARCH_64R2): New.
29139 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29141         * Makeconfig (+link-pie-before-libc): New.
29142         (+link-pie-after-libc): Likewise.
29143         (+link-pie-tests): Likewise.
29144         (+link-pie): Rewritten.
29145         (link-before-libc): Remove $(config-LDFLAGS).
29146         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29147         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29148         (config-LDFLAGS): Renamed to ...
29149         (rtld-LDFLAGS): This.
29150         (rtld-tests-LDFLAGS): New macro.
29151         (link-libc-rpath-link): Likewise.
29152         (link-libc-tests-rpath-link): Likewise.
29153         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29154         (link-libc): Prepand $(link-libc-rpath-link).
29155         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29156         (test-program-prefix): New macro.
29157         (test-via-rtld-prefix): Likewise.
29158         (test-program-cmd): Likewise.
29159         (host-test-program-cmd): Likewise.
29160         * Makefile ($(common-objpfx)testrun.sh): Replace
29161         $(run-program-prefix) with $(test-program-prefix).
29162         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29163         $(rtld-LDFLAGS).
29164         ($(common-objpfx)shlib.lds): Likewise.
29165         (build-module-helper): Likewise.
29166         ($(common-objpfx)format.lds): Likewise.
29167         * Rules (binaries-pie-tests): New.
29168         (binaries-pie-notests): Likewise.
29169         (binaries-pie): Rewritten.
29170         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29171         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29172         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29173         (make-test-out): Replace $(host-built-program-cmd) with
29174         $(host-test-program-cmd).
29175         * config.make.in (build-hardcoded-path-in-tests): New variable.
29176         * configure.in (--enable-hardcoded-path-in-tests): New configure
29177         option.
29178         (hardcoded_path_in_tests): New AC_SUBST.
29179         * configure: Regenerated.
29180         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29181         $(built-program-cmd) with $(test-program-cmd).
29182         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29183         (test_program_cmd): This.
29184         * elf/Makefile ($(objpfx)order.out): Run test with
29185         $(test-program-prefix).
29186         ($(objpfx)order2.out): Likewise.
29187         ($(objpfx)tst-initorder.out): Likewise.
29188         ($(objpfx)tst-initorder2.out): Likewise.
29189         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29190         $(test-program-cmd).
29191         ($(objpfx)tst-array1-static.out): Likewise.
29192         ($(objpfx)tst-array2.out): Likewise.
29193         ($(objpfx)tst-array3.out): Likewise.
29194         ($(objpfx)tst-array4.out): Likewise.
29195         ($(objpfx)tst-array5.out): Likewise.
29196         ($(objpfx)tst-array5-static.out): Likewise.
29197         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29198         $(test-program-cmd).
29199         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29200         $(run-program-prefix) with $(test-program-prefix).
29201         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29202         (test_program_prefix): This.
29203         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29204         $(run-program-prefix) with $(test-program-prefix).
29205         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29206         (test_program_prefix): This.
29207         * iconvdata/tst-tables.sh: Likewise.
29208         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29209         $(run-program-prefix) with $(test-program-prefix).
29210         ($(objpfx)tst-translit.out): Likewise.
29211         ($(objpfx)tst-gettext2.out): Likewise.
29212         ($(objpfx)tst-gettext4.out): Likewise.
29213         ($(objpfx)tst-gettext6.out): Likewise.
29214         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29215         (test_program_prefix): This.
29216         * intl/tst-gettext2.sh: Likewise.
29217         * intl/tst-gettext4.sh  Likewise.
29218         * intl/tst-gettext6.sh: Likewise.
29219         * intl/tst-translit.sh: Likewise.
29220         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29221         with $(test-program-cmd).
29222         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29223         $(run-program-prefix) with $(test-program-prefix).
29224         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29225         (test_program_prefix): This.
29226         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29227         $(run-program-prefix) with $(test-program-prefix).
29228         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29229         (test_program_prefix): This.
29230         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29231         * posix/Makefile ($(objpfx)globtest.out): Replace
29232         $(run-via-rtld-prefix) and $(test-wrapper) with
29233         $(test-program-prefix) and $(test-via-rtld-prefix).
29234         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29235         $(test-program-prefix).
29236         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29237         $(host-test-program-cmd).
29238         (tst-spawn-ARGS): Likewise.
29239         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29240         $(test-program-prefix).
29241         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29242         (test_via_rtld_prefix): This.
29243         (test_wrapper): Renamed to ...
29244         (test_program_prefix): This.
29245         (run_program_prefix): Replaced by test_program_prefix.
29246         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29247         (test_program_prefix): This.
29248         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29249         with $(host-test-program-cmd).
29250         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29251         $(run-program-prefix) with $(test-program-prefix).
29252         ($(objpfx)tst-printf.out): Likewise.
29253         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29254         $(test-program-cmd).
29255         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29256         (test_program_prefix): This.
29257         * stdio-common/tst-unbputc.sh: Likewise.
29258         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29259         $(run-program-prefix) with $(test-program-prefix).
29260         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29261         (test_program_prefix): This.
29262         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29263         $(built-program-cmd) with $(test-program-cmd).
29265 2013-01-11  Andreas Jaeger  <aj@suse.de>
29267         [BZ #15003]
29268         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29269         value. Sync with Linux 3.7.
29271 2013-01-10  David S. Miller  <davem@davemloft.net>
29273         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29280         never set.
29281         * configure: Regenerated.
29283 2013-01-10  David S. Miller  <davem@davemloft.net>
29285         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29286         sparc V9 rather than using V8 code.
29287         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29288         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29290 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29292         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29293         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29294         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29295         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29296         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29297         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29298         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29299         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29300         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29301         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29302         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29303         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29304         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29305         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29306         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29307         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29308         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29309         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29310         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29311         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29312         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29313         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29314         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29315         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29316         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29317         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29318         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29320 2013-01-10  David S. Miller  <davem@davemloft.net>
29322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29324 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29326         * posix/Makefile (tests-static): New variable.
29327         (tests): Add $(tests-static).
29328         (tst-exec-static-ARGS): New variable.
29329         (tst-spawn-static-ARGS): Likewise.
29330         * posix/tst-exec-static.c: New file.
29331         * posix/tst-spawn-static.c: Likewise.
29332         * posix/tst-exec.c: Support run directly.
29333         * posix/tst-spawn.c: Likewise.
29335 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29337         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29338         long.
29339         * math/bits/mathcalls.h (llrint): Likewise.
29340         (llround): Likewise.
29341         * stdlib/stdlib.h (struct drand48_data): Likewise.
29342         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29343         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29344         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29345         Likewise.
29346         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29347         Likewise.
29348         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29349         (elf_greg_t): Likewise.
29350         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29351         (__jmp_buf): Likewise.
29352         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29353         definitions.
29354         (llrint): Likewise, for all definitions.
29355         (llrintl): Likewise.
29357         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29358         Remove [__GNUC__] condition.
29359         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29360         condition to just [__USE_ISOC99].
29361         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29363 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29365         [BZ #14200]
29366         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29367         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29368         defined.
29369         (_POSIX_V6_ILP32_OFF32): Likewise.
29370         (_XBS5_ILP32_OFF32): Likewise.
29371         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29372         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29374 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29376         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29378         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29379         doubles __mpexp_twomm1.  Adjust usage.
29380         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29381         Remove.
29383 2013-01-10  Andreas Schwab  <schwab@suse.de>
29385         [BZ #14964]
29386         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29387         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29389 2013-01-09  David S. Miller  <davem@davemloft.net>
29391         [BZ #15003]
29392         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29393         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29394         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29395         (TCP_FASTOPEN): Define.
29396         (tcp_repair_opt): New structure.
29397         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29398         enum values.
29399         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29400         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29401         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29402         (tcp_cookie_transactions): New structure.
29404 2013-01-09  Anton Blanchard  <anton@samba.org>
29406         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29407         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29408         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29409         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29411 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29413         * include/features.h (__USE_ANSI): Remove.
29415 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29417         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29419         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29421 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29423         * sysdeps/s390/fpu/libm-test-ulps: Update.
29425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29427         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29428         (__acr): Likewise.
29429         (__cpy): Likewise.
29430         (norm): Likewise.
29431         (denorm): Likewise.
29432         (__mp_dbl): Likewise.
29433         (__dbl_mp): Likewise.
29434         (add_magnitudes): Likewise.
29435         (sub_magnitudes): Likewise.
29436         (__add): Likewise.
29437         (__sub): Likewise.
29438         (__mul): Likewise.
29439         (__inv): Likewise.
29440         (__dvd): Likewise.
29441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29442         (__acr): Likewise.
29443         (__cpy): Likewise.
29444         (norm): Likewise.
29445         (denorm): Likewise.
29446         (__mp_dbl): Likewise.
29447         (__dbl_mp): Likewise.
29448         (add_magnitudes): Likewise.
29449         (sub_magnitudes): Likewise.
29450         (__add): Likewise.
29451         (__sub): Likewise.
29452         (__mul): Likewise.
29453         (__inv): Likewise.
29454         (__dvd): Likewise.
29455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29456         (__acr): Likewise.
29457         (__cpy): Likewise.
29458         (norm): Likewise.
29459         (denorm): Likewise.
29460         (__mp_dbl): Likewise.
29461         (__dbl_mp): Likewise.
29462         (add_magnitudes): Likewise.
29463         (sub_magnitudes): Likewise.
29464         (__add): Likewise.
29465         (__sub): Likewise.
29466         (__mul): Likewise.
29467         (__inv): Likewise.
29468         (__dvd): Likewise.
29470 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29472         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29473         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29474         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29475         2 && __USE_EXTERN_INLINES]: Likewise.
29477 2013-01-08  Andreas Jaeger  <aj@suse.de>
29479         [BZ# 14985]
29480         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29481         Remove.
29482         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29483         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29485 2013-01-07  Anton Blanchard  <anton@samba.org>
29487         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29488         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29489         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29490         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29491         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29492         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29493         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29494         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29496         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29497         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29498         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29500         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29501         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29502         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29503         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29504         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29505         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29506         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29507         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29508         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29509         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29510         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29511         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29512         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29513         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29514         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29515         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29516         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29517         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29519         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29520         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29521         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29522         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29523         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29524         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29525         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29526         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29527         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29529         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29531 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29533         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29534         (__MALLOC_PMT): Likewise.
29535         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29536         [__GNUC__], only on [_LIBC].
29537         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29538         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29539         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29540         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29541         forward declaration.
29542         (realloc_hook_ini): Likewise.
29543         (memalign_hook_ini): Likewise.
29544         (__libc_memalign): Do not use __MALLOC_PMT in variable
29545         declaration.
29546         (__libc_valloc): Likewise.
29547         (__libc_pvalloc): Likewise.
29548         (__libc_calloc): Likewise.
29549         (__posix_memalign): Likewise.
29551         [BZ #14996]
29552         * math/s_casinh.c: Include <float.h>.
29553         (__casinh): Do not do computation with squaring and square root
29554         for large arguments.
29555         * math/s_casinhf.c: Include <float.h>.
29556         (__casinhf): Do not do computation with squaring and square root
29557         for large arguments.
29558         * math/s_casinhl.c: Include <float.h>.
29559         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29560         (__casinhl): Do not do computation with squaring and square root
29561         for large arguments.
29562         * math/libm-test.inc (casin_test): Add more tests.
29563         (casinh_test): Likewise.
29564         * sysdeps/i386/fpu/libm-test-ulps: Update.
29565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29567 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
29569         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29570         (__x86_64_raw_data_cache_size): Likewise.
29571         (__x86_64_data_cache_size_half): Likewise.
29572         (__x86_64_raw_data_cache_size_half): Likewise.
29573         (__x86_64_shared_cache_size): Likewise.
29574         (__x86_64_raw_shared_cache_size): Likewise.
29575         (__x86_64_shared_cache_size_half): Likewise.
29576         (__x86_64_raw_shared_cache_size_half): Likewise.
29577         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29578         to ...
29579         (__x86_data_cache_size): This.
29580         (__x86_64_raw_data_cache_size): Renamed to ...
29581         (__x86_raw_data_cache_size): This.
29582         (__x86_64_data_cache_size_half): Renamed to ...
29583         (__x86_data_cache_size_half): This.
29584         (__x86_64_raw_data_cache_size_half): Renamed to ...
29585         (__x86_raw_data_cache_size_half): This.
29586         (__x86_64_shared_cache_size): Renamed to ...
29587         (__x86_shared_cache_size): This.
29588         (__x86_64_raw_shared_cache_size): Renamed to ...
29589         (__x86_raw_shared_cache_size): This.
29590         (__x86_64_shared_cache_size_half): Renamed to ...
29591         (__x86_shared_cache_size_half): This.
29592         (__x86_64_raw_shared_cache_size_half): Renamed to ...
29593         (__x86_raw_shared_cache_size_half): This.
29594         * sysdeps/x86_64/memcpy.S: Updated.
29595         * sysdeps/x86_64/memset.S: Likewise.
29596         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29598         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29600 2013-01-04  David S. Miller  <davem@davemloft.net>
29602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29604 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29606         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29607         1 to avoid redefinition warning.
29608         (__USE_GNU): Don't define.
29609         (init_signaling_nan): Protoize.
29611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29613 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29615         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29617         (__cpymn): Likewise.
29618         (norm): Remove commented code.
29619         (denorm): Likewise.
29620         (__mp_dbl): Likewise.
29621         (__inv): Likewise.
29622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29623         (__cpymn): Likewise.
29624         (norm): Remove commented code.
29625         (denorm): Likewise.
29626         (__mp_dbl): Likewise.
29627         (__inv): Likewise.
29629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29630         mp_no value for 1.0 and 2.0.
29631         (norm): Use RADIXI instead of radixi.d.
29632         (denorm): Likewise.
29633         (__mul): Use 0.0 instead of zero.d.
29634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29635         mp_no value for 1.0 and 2.0.
29636         (norm): Use RADIXI instead of radixi.d.
29637         (denorm): Likewise.
29638         (__mul): Use 0.0 instead of zero.d.
29640 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29642         [BZ #14994]
29643         * math/s_casinh.c (__casinh): Reduce finite argument to first
29644         quadrant then set signs of results at the end.
29645         * math/s_casinhf.c (__casinhf): Likewise.
29646         * math/s_casinhl.c (__casinhl): Likewise.
29647         * math/libm-test.inc (casin_test): Add more tests.
29648         (casinh_test): Likewise.
29649         * sysdeps/i386/fpu/libm-test-ulps: Update.
29650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29652 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29654         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29656         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29658         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29659         declarations.
29660         (denorm): Likewise.
29661         (__mp_dbl): Likewise.
29662         (__inv): Likewise.
29664         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29665         and adjust the header comment.
29667         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29668         variable name from declaration.
29670 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29673         Initialize COMMON_CPUID_INDEX_7 element.
29674         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29675         (CPUID_RTM): Likewise.
29676         (HAS_RTM): Likewise.
29677         (COMMON_CPUID_INDEX_7): New enum.
29679 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29681         [BZ #14981]
29682         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29683         size is zero, record memory as freed.
29685 2013-01-03  Andreas Jaeger  <aj@suse.de>
29687         * po/ia.po: Add new Interlingua translation.
29689 2012-01-03  Allan McRae  <allan@archlinux.org>
29691         * locale/programs/localedef.c: Fix description of '--posix' flag.
29693 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29695         * NEWS: Update dates in second copyright notice.
29696         * README: Update copyright dates in example.
29697         * manual/libc.texinfo: Update copyright dates.
29698         * scripts/test-installation.pl: Update copyright date in --version
29699         output.
29701         * hurd/ctty-input.c: Fix copyright notice formatting.
29702         * hurd/ctty-output.c: Likewise.
29703         * hurd/dtable.c: Likewise.
29704         * hurd/hurd-raise.c: Likewise.
29705         * hurd/hurdprio.c: Likewise.
29706         * hurd/msgportdemux.c: Likewise.
29707         * misc/sys/file.h: Likewise.
29708         * misc/sys/ioctl.h: Likewise.
29709         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29710         * sysdeps/mach/hurd/chdir.c: Likewise.
29711         * sysdeps/mach/hurd/fchdir.c: Likewise.
29712         * sysdeps/mach/hurd/rename.c: Likewise.
29713         * sysdeps/mach/hurd/rmdir.c: Likewise.
29714         * sysdeps/mach/hurd/seekdir.c: Likewise.
29715         * sysdeps/mach/hurd/setsid.c: Likewise.
29716         * sysdeps/posix/wait3.c: Likewise.
29718         * All files with FSF copyright notices: Update copyright dates
29719         using scripts/update-copyrights.
29720         * intl/plural.c: Regenerated.
29721         * locale/programs/charmap-kw.h: Likewise.
29722         * locale/programs/locfile-kw.h: Likewise.
29724 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29726         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29727         four values.
29729         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29730         calculation loop and add branch prediction.
29732         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29733         check access beyond bounds of m1np.
29735         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29736         MPTWO.
29737         (__inv): Remove local variable MPTWO to use the global
29738         constant.
29739         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29740         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29741         variable MPTWO.
29742         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29743         MP3HALFS static const.
29745 2013-01-01  David S. Miller  <davem@davemloft.net>
29747         * po/ca.po: Update from translation team.
29749 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29751         * scripts/update-copyrights: New file.
29752         * Makeconfig: Reformat copyright notice.
29753         * ctype/ctype.h: Likewise.
29754         * debug/swprintf_chk.c: Likewise.
29755         * elf/dl-cache.c: Likewise.
29756         * elf/dl-debug.c: Likewise.
29757         * elf/dl-object.c: Likewise.
29758         * grp/initgroups.c: Likewise.
29759         * hurd/Makefile: Likewise.
29760         * hurd/hurd/signal.h: Likewise.
29761         * hurd/hurdfault.c: Likewise.
29762         * hurd/hurdioctl.c: Likewise.
29763         * hurd/hurdlookup.c: Likewise.
29764         * hurd/intr-msg.c: Likewise.
29765         * iconv/gconv_open.c: Likewise.
29766         * libio/swprintf.c: Likewise.
29767         * locale/lc-ctype.c: Likewise.
29768         * locale/nl_langinfo.c: Likewise.
29769         * mach/Machrules: Likewise.
29770         * mach/Makefile: Likewise.
29771         * malloc/obstack.h: Likewise.
29772         * manual/Makefile: Likewise.
29773         * manual/tsort.awk: Likewise.
29774         * misc/bits/stab.def: Likewise.
29775         * nis/nis_print_group_entry.c: Likewise.
29776         * nis/nis_table.c: Likewise.
29777         * nis/nss_compat/compat-pwd.c: Likewise.
29778         * nis/nss_compat/compat-spwd.c: Likewise.
29779         * po/Makefile: Likewise.
29780         * posix/fnmatch.c: Likewise.
29781         * posix/regex.h: Likewise.
29782         * resolv/Makefile: Likewise.
29783         * resolv/nss_dns/dns-network.c: Likewise.
29784         * resolv/res_hconf.c: Likewise.
29785         * scripts/gen-sorted.awk: Likewise.
29786         * soft-fp/soft-fp.h: Likewise.
29787         * stdio-common/printf.h: Likewise.
29788         * stdlib/monetary.h: Likewise.
29789         * stdlib/random.c: Likewise.
29790         * stdlib/random_r.c: Likewise.
29791         * sysdeps/generic/Makefile: Likewise.
29792         * sysdeps/gnu/Makefile: Likewise.
29793         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29794         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29795         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29796         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29797         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29800         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29801         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29803         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29804         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29805         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29806         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29807         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29808         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29809         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29810         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29811         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29813         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29814         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29815         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29817         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29818         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29819         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29820         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29821         * sysdeps/mach/hurd/errnos.awk: Likewise.
29822         * sysdeps/mach/hurd/fork.c: Likewise.
29823         * sysdeps/mach/hurd/getcwd.c: Likewise.
29824         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29825         * sysdeps/mach/hurd/mmap.c: Likewise.
29826         * sysdeps/mach/hurd/utimes.c: Likewise.
29827         * sysdeps/mach/hurd/xmknod.c: Likewise.
29828         * sysdeps/posix/profil.c: Likewise.
29829         * sysdeps/posix/readdir_r.c: Likewise.
29830         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29831         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29832         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29833         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29835         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29836         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29837         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29839         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29840         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29841         * sysdeps/pthread/lio_listio.c: Likewise.
29842         * sysdeps/sparc/dl-procinfo.h: Likewise.
29843         * sysdeps/unix/i386/sysdep.S: Likewise.
29844         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29845         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29846         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29847         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29849         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29850         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29851         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29852         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29853         * sysdeps/wordsize-32/divdi3.c: Likewise.
29854         * time/sys/time.h: Likewise.
29855         * wcsmbs/Makefile: Likewise.
29857 2013-01-01  David S. Miller  <davem@davemloft.net>
29859         * po/fr.po: Update from translation team.
29861         * catgets/gencat.c: Update copyright year.
29862         * csu/version.c: Likewise.
29863         * debug/catchsegv.sh: Likewise.
29864         * debug/pcprofiledump.c: Likewise.
29865         * debug/xtrace.sh: Likewise.
29866         * elf/ldconfig.c: Likewise.
29867         * elf/ldd.bash.in: Likewise.
29868         * elf/pldd.c: Likewise.
29869         * elf/sotruss.ksh: Likewise.
29870         * elf/sprof.c: Likewise.
29871         * iconv/iconv_prog.c: Likewise.
29872         * iconv/iconvconfig.c: Likewise.
29873         * locale/programs/locale.c: Likewise.
29874         * locale/programs/localedef.c: Likewise.
29875         * login/programs/pt_chown.c: Likewise.
29876         * malloc/memusage.sh: Likewise.
29877         * malloc/memusagestat.c: Likewise.
29878         * malloc/mtrace.pl: Likewise.
29879         * nscd/nscd.c: Likewise.
29880         * nss/getent.c: Likewise.
29881         * nss/makedb.c: Likewise.
29882         * posix/getconf.c: Likewise.
29884 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29886         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29887         numbers.
29889 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29891         * math/bits/mathcalls.h (modf): Use __nonnull.
29893 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29895         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29896         (split): Use macro CN instead of the bare value.
29897         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29898         could be used.
29899         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29900         instead of the bare value.
29901         (power1): Likewise.
29903 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29906         __ATAN_TWOM.
29907         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29909         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29910         their values.
29911         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29912         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29913         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29914         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29916 2012-12-28  Andreas Jaeger  <aj@suse.de>
29918         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29919         values are from Linux 3.7.
29921         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29922         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29924 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29926         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29927         TRUE case.
29929         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29930         (norm): Likewise.
29931         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29932         variables with preprocessor constants.
29933         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29934         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29935         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29937 2012-12-27  Bruno Haible  <bruno@clisp.org>
29939         [BZ #14317]
29940         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29941         only if needed.
29943 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29946         and use variable directly.
29947         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29949         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29950         MPONE.
29951         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29952         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29953         variable MPONE.
29954         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29956         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29957         include directive.  Remove local variable MPONE.
29958         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29959         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29960         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29962 2012-12-25  David S. Miller  <davem@davemloft.net>
29964         * version.h (RELEASE): Set to "development".
29965         (VERSION): Set to "2.17.90".
29966         * NEWS: Add 2.18 section.
29968 2012-12-21  David S. Miller  <davem@davemloft.net>
29970         * po/hr.po: Update from translation team.
29972 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29974         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29976 2012-12-19  Steve Ellcey  <sellcey@mips.com>
29978         * NEWS:  Mention new memcpy for MIPS.
29980 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29982         * manual/contrib.texi (Contributors): Spelling correction.
29984 2012-12-15  David S. Miller  <davem@davemloft.net>
29986         * po/ru.po: Update from translation team.
29988 2012-12-13  David S. Miller  <davem@davemloft.net>
29990         * NEWS: Mention IFUNC testsuite enhancements.
29992         * po/pl.po: Update from translation team.
29993         * po/bg.po: Likewise.
29995         * manual/contrib.texi (Contributors): Update entries for Hongjiu
29996         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
29998 2012-12-11  David S. Miller  <davem@davemloft.net>
30000         * po/sv.po: Update from translation team.
30002         * po/vi.po: Update from translation team.
30004         * po/cs.po: Update from translation team.
30006         * po/de.po: Update from translation team.
30007         * po/eo.po: Likewise.
30008         * po/nl.po: Likewise.
30010 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012         [BZ #14246]
30013         * manual/argp.texi (Argp Helper Functions): Move node to follow
30014         Argp Parsing State.
30016         [BZ #14872]
30017         * manual/conf.texi (Limits on File System Capacity): Mention if
30018         terminating null is included in the max size.
30020 2012-12-10  Andreas Jaeger  <aj@suse.de>
30022         * po/cs.po: Update from translation team.
30024 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30026         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30027         void pointer and cast to uintptr_t.
30028         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30029         path.
30030         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30031         * sysdeps/s390/s390-64/memset.S: Likewise.
30033 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30035         [BZ #14833]
30036         * menual/message.texi (Message Translation): Fix typos.
30037         (Helper programs for gettext): Likewise.
30039 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30041         [BZ #14898]
30042         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30043         Change to -1.
30045 2012-12-07  David S. Miller  <davem@davemloft.net>
30047         * po/libc.pot: Update.
30049 2012-12-07  Richard Henderson  <rth@redhat.com>
30051         [BZ #10114]
30052         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30053         normal/normal case to before the switch.
30054         (_FP_DIV): Likewise.
30056 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30057             Mike Frysinger  <vapier@gentoo.org>
30059         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30060         check for __NR_fadvise64_64.
30062 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30064         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30065         0, not just to plain "0" as a statement.
30066         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30067         with cw.
30069 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30071         * NEWS: Use sourceware.org in Bugzilla URL.
30073 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30076         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30078         * stdio-common/tst-put-error.c (do_test): Add newline to the
30079         padded test to ensure flush.
30081 2012-12-05  Jeff Law  <law@redhat.com>
30083         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30085 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30087         * README: Don't refer to ports add-on as distributed separately.
30088         Mention AArch64 in list of systems supported in the ports add-on.
30090         * LICENSES: Add more non-FSF copyright and license notices.
30092         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30093         ((unused)).
30095         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30097         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30098         10000 as width of padded output.
30100 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30102         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30104         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30105         variable LX with __attribute__ ((unused)).
30106         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30107         Likewise.
30108         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30110         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30111         with __attribute__ ((unused)).
30113 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30115         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30117 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30119         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30120         (CFLAGS-nldbl-acos.c): New variable.
30121         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30122         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30123         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30124         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30125         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30126         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30127         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30128         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30129         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30130         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30131         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30132         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30133         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30134         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30135         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30136         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30137         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30138         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30139         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30140         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30141         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30142         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30143         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30144         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30145         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30146         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30147         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30148         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30149         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30150         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30151         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30152         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30153         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30154         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30155         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30156         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30157         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30158         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30159         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30160         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30161         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30162         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30163         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30164         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30165         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30166         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30167         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30168         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30169         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30170         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30171         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30172         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30173         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30174         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30175         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30176         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30177         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30178         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30179         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30180         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30181         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30182         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30183         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30184         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30185         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30186         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30187         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30188         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30189         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30190         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30191         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30192         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30193         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30194         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30195         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30196         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30197         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30198         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30199         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30200         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30201         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30202         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30203         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30204         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30205         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30206         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30207         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30208         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30209         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30210         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30211         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30212         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30213         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30214         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30215         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30216         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30217         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30220         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30222         [BZ #14914]
30223         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30224         whole low double instead of just low 47 bits when splitting values
30225         into two parts.
30227 2012-12-03  Allan McRae  <allan@archlinux.org>
30229         * manual/stdio.texi (Predefined Printf Handlers): Remove
30230         @hsep and @vsep usage.
30232 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30234         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30235         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30237 2012-12-03  Jeff Law  <law@redhat.com>
30239         * time/sys/time.h (settimeofday): Do not mark TV argument
30240         as __nonnull.
30242 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30244         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30245         when currently writing and seek to current position when not.
30246         * libio/Makefile (tests): Remove bug-fclose1.
30247         * libio/bug-fclose1.c: Delete.
30249 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30251         * manual/arith.texi (feenableexcept): Fix typo.
30252         (fedisableexcept): Likewise.
30254 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30256         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30257         second, differently-typed declaration, rather than a cast.
30259 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30261         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30262         * include/rpc/svc.h: ... here.
30264 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30266         [BZ #13013]
30267         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30268         depending n and resplen2 to catch cases where answer
30269         equals answerp2.
30271 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30273         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30274         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30276 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30278         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30280 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30282         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30284 2012-11-28  Jeff Law  <law@redhat.com>
30286         [BZ #13761]
30287         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30288         dataset_temporary.  Track alloca usage into alloca_used.
30289         If dataset is large allocate and release it via malloc/free.
30291 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30293         [BZ #14197]
30294         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30296 2012-11-28  David S. Miller  <davem@davemloft.net>
30298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30300 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30302         [BZ #14803]
30303         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30304         of pi/2 rounded to nearest to 64 bits.
30305         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30306         nearest to 64 bits.
30307         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30308         bits.
30310 2012-11-28  Jeff Law <law@redhat.com>
30311             Martin Osvald <mosvald@redhat.com>
30313         [BZ #14889]
30314         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30315         * sunrpc/svc.c: Include time.h.
30316         (__svc_accept_failed): New function.
30317         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30318         any reason other than EINTR, call __svc_accept_failed.
30319         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30320         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30322 2012-11-28  Andreas Schwab  <schwab@suse.de>
30324         * scripts/abilist.awk: Also handle indirect functions in .opd
30325         section.
30327 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30329         [BZ #13881]
30330         * sysdeps/x86/fpu/powl_helper.c: New file.
30331         * sysdeps/x86/fpu/Makefile: Likewise.
30332         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30333         (p3): New object.
30334         (__ieee754_powl): Use __powl_helper for finite arguments except
30335         integer exponents below 8.
30336         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30337         (p3): New object.
30338         (__ieee754_powl): Use __powl_helper for finite arguments except
30339         integer exponents below 8.
30340         * math/libm-test.inc (pow_test): Add more tests and enable some
30341         previously disabled tests.
30342         * sysdeps/i386/fpu/libm-test-ulps: Update.
30343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30345 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30346             Carlos O'Donell  <carlos_odonell@mentor.com>
30348         * nss/makedb.c (is_prime): Assert that input is odd and greater
30349         than 4.  Note that fact in a comment too.
30350         (next_prime): Add 4 to input.
30352 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30354         [BZ #11741]
30355         * libio/Makefile (tests): Add test case tst-fwrite-error.
30356         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30357         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30358         * libio/tst-fwrite-error.c: New test case.
30360 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30362         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30363         before casting to void *.
30364         * include/libc-internal.h (__pointer_type): New macro.
30365         (__integer_if_pointer_type_sub): Likewise.
30366         (__integer_if_pointer_type): Likewise.
30367         (cast_to_integer): Likewise.
30368         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30369         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30370         before casting to atomic64_t.
30371         (atomic_exchange_acq): Likewise.
30372         (__arch_exchange_and_add_body): Likewise.
30373         (__arch_add_body): Likewise.
30374         (atomic_add_negative): Likewise.
30375         (atomic_add_zero): Likewise.
30377 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30379         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30380         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30381         (add_fdes): Likewise.
30382         (linear_search_fdes): Likewise.
30383         (binary_search_unencoded_fdes): Likewise.
30385 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30387         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30389 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30391         * configure.in: Autodetect C++ header directories.
30392         * configure: Regenerated.
30394 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30396         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30398 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30402 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30404         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30405         LDBL_MANT_DIG == 106]: Disable some tests.
30406         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30407         Likewise.
30408         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30409         Likewise.
30411         [BZ #14871]
30412         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30413         input for small inputs.  Return +/- pi/2 for large inputs.
30414         * math/libm-test.inc (atan_test): Add more tests.
30416         * sysdeps/generic/unwind-dw2-fde-glibc.c
30417         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30418         __attribute__ ((unused)).
30420         [BZ #14645]
30421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30422         x * y if x and y are nonzero and z is zero.
30424         [BZ #14811]
30425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30426         nonzero exponents with absolute value below 0x1p-117 to +/-
30427         0x1p-117.
30429         [BZ #14869]
30430         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30431         up arguments below 2**-450, not just those below 2**-500.
30432         * math/libm-test.inc (hypot_test): Add another test.
30434         [BZ #14868]
30435         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30436         Return a+b for ratio over 2**120, not 2**60.
30437         * math/libm-test.inc (hypot_test): Add another test.
30439         * math/libm-test.inc (clog_test): Use
30440         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30441         (clog10_test): Likewise.
30443         [BZ #6778]
30444         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30446 2012-11-22  Andreas Schwab  <schwab@suse.de>
30448         * sysdeps/i386/fpu/libm-test-ulps: Update.
30450 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30452         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30453         printf output with newline.
30455 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30457         [BZ #14865]
30458         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30459         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30460         -z nodlopen, -z initfirst and -z execstack support.
30461         * configure: Regenerated.
30463         * elf/elf.h (DF_1_NODIRECT): New macro.
30464         (DF_1_IGNMULDEF): Likewise.
30465         (DF_1_NOKSYMS): Likewise.
30466         (DF_1_NOHDR): Likewise.
30467         (DF_1_EDITED): Likewise.
30468         (DF_1_NORELOC): Likewise.
30469         (DF_1_SYMINTPOSE): Likewise.
30470         (DF_1_GLOBAUDIT): Likewise.
30471         (DF_1_SINGLETON): Likewise.
30472         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30473         DT_1_SUPPORTED_MASK bits.
30474         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30476 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30478         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30480 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30482         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30483         macro.
30485         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30486         (sendmmsg): Move declarations...
30487         * socket/sys/socket.h: ... here.
30488         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30489         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30490         include it from...
30491         * socket/recvmmsg.c: ... this new file.
30492         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30493         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30494         definition of __sendmmsg hidden.
30495         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30496         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30497         Move ENOSYS stub into and include it from...
30498         * socket/sendmmsg.c: ... this new file.
30499         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30500         (sysdep_routines): Move recvmmsg and sendmmsg...
30501         * socket/Makefile (routines): ... here.
30502         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30503         (GLIBC_PRIVATE): Add __sendmmsg.
30504         * include/sys/socket.h (__sendmmsg): Add declarations.
30505         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30506         sendmmsg.
30508 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30510         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30511         variable I1 with __attribute__ ((unused)).
30512         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30514 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30516         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30517         DUMMY variables with __attribute__ ((unused)).
30519         * bits/byteswap.h: Include <bits/types.h>.
30520         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30522 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30524         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30525         string_t.  Do not manually set errno.
30526         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30527         length with __strnlen.  Make sure to both set errno and return it on
30528         failure.
30530 2012-11-19  David S. Miller  <davem@davemloft.net>
30532         With help from Joseph Myers.
30533         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30534         very large arguments properly.
30535         * math/libm-test.inc (atan_test): New tests.
30536         (atan2_test): New tests.
30537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30540 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30542         [BZ #14856]
30543         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30544         Define to 3.
30546         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30547         [POSIX] (EADDRNOTAVAIL): Likewise.
30548         [POSIX] (EAFNOSUPPORT): Likewise.
30549         [POSIX] (EALREADY): Likewise.
30550         [POSIX] (ECONNABORTED): Likewise.
30551         [POSIX] (ECONNREFUSED): Likewise.
30552         [POSIX] (ECONNRESET): Likewise.
30553         [POSIX] (EDESTADDRREQ): Likewise.
30554         [POSIX] (EDQUOT): Likewise.
30555         [POSIX] (EHOSTUNREACH): Likewise.
30556         [POSIX] (EIDRM): Likewise.
30557         [POSIX] (EISCONN): Likewise.
30558         [POSIX] (ELOOP): Likewise.
30559         [POSIX] (EMULTIHOP): Likewise.
30560         [POSIX] (ENETDOWN): Likewise.
30561         [POSIX] (ENETUNREACH): Likewise.
30562         [POSIX] (ENOBUFS): Likewise.
30563         [POSIX] (ENODATA): Likewise.
30564         [POSIX] (ENOLINK): Likewise.
30565         [POSIX] (ENOMSG): Likewise.
30566         [POSIX] (ENOPROTOOPT): Likewise.
30567         [POSIX] (ENOSR): Likewise.
30568         [POSIX] (ENOSTR): Likewise.
30569         [POSIX] (ENOTCONN): Likewise.
30570         [POSIX] (ENOTSOCK): Likewise.
30571         [POSIX] (EOPNOTSUPP): Likewise.
30572         [POSIX] (EOVERFLOW): Likewise.
30573         [POSIX] (EPROTO): Likewise.
30574         [POSIX] (EPROTONOSUPPORT): Likewise.
30575         [POSIX] (EPROTOTYPE): Likewise.
30576         [POSIX] (ESTALE): Likewise.
30577         [POSIX] (ETIME): Likewise.
30578         [POSIX] (ETXTBSY): Likewise.
30579         [POSIX] (EWOULDBLOCK): Likewise.
30580         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30581         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30582         [POSIX] (SEEK_CUR): Likewise.
30583         [POSIX] (SEEK_END): Likewise.
30584         [POSIX || UNIX98] (mode_t): Do not require.
30585         [POSIX] (off_t): Likewise.
30586         [POSIX] (pid_t): Likewise.
30587         [POSIX] (sys/stat.h): Do not allow header.
30588         [POSIX] (unistd.h): Likewise.
30589         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30590         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30591         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30592         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30593         require.
30594         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30595         sigevent): Specify elements.
30596         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30597         entry.
30598         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30599         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30601         * conform/data/cpio.h-data [POSIX]: Disable whole file.
30602         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30603         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30604         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30605         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30606         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30607         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30608         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30609         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30610         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30611         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30612         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30613         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30614         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30615         Likewise.
30616         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30617         Likewise.
30618         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30619         Likewise.
30620         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30621         Likewise.
30622         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30623         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30624         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30625         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30626         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30627         Specify lower bound on value.
30628         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30629         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30630         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30631         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30632         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30633         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30634         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30635         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30636         value.
30637         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30638         as optional.
30639         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30640         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30641         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30642         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30643         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30644         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30645         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30646         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30647         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30648         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30649         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30650         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30651         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30652         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30653         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30654         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30655         entry.
30656         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30657         optional.
30658         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30659         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30660         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30661         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30662         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30663         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30664         Likewise.
30665         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30666         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30667         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30668         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30669         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30670         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30671         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30672         as optional.
30673         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30674         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30675         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30676         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30677         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30678         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30679         specify as optional.
30680         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30681         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30682         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30683         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30684         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30685         [XPG3] (NL_LANGMAX): Likewise.
30686         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30687         [POSIX || XPG3] (NL_NMAX): Likewise.
30688         [POSIX || XPG3] (NL_SETMAX): Likewise.
30689         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30690         [XPG3] (NZERO): Likewise.
30691         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30692         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30693         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30694         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30695         (REG_ERANGE): Expect.
30696         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30697         optional-constant.
30698         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30699         Use (void) in prototype.
30700         [POSIX] (*_t): Allow.
30701         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30702         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30703         (WRDE_BADVAL): Expect.
30705         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30706         expect.
30707         [XPG3 || XPG4] (O_RSYNC): Likewise.
30708         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30709         Likewise.
30710         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30711         [XPG3 || XPG4] (sigqueue): Likewise.
30712         [XPG3 || XPG4] (sigtimedwait): Likewise.
30713         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30714         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30715         [XPG3 || XPG4] (vsnprintf): Likewise.
30716         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30717         Likewise.
30718         [XPG3 || XPG4] (blksize_t): Likewise.
30719         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30720         Likewise.
30721         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30722         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30723         [XPG3 || XPG4] (struct itimerspec): Likewise.
30724         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30725         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30726         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30727         [XPG3 || XPG4] (clockid_t): Likewise.
30728         [XPG3 || XPG4] (timer_t): Likewise.
30729         [XPG3 || XPG4] (clock_getres): Likewise.
30730         [XPG3 || XPG4] (clock_gettime): Likewise.
30731         [XPG3 || XPG4] (clock_settime): Likewise.
30732         [XPG3 || XPG4] (nanosleep): Likewise.
30733         [XPG3 || XPG4] (timer_create): Likewise.
30734         [XPG3 || XPG4] (timer_delete): Likewise.
30735         [XPG3 || XPG4] (timer_gettime): Likewise.
30736         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30737         [XPG3 || XPG4] (timer_settime): Likewise.
30738         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30739         [XPG3 || XPG4] (getlogin_r): Likewise.
30740         [XPG3 || XPG4] (pread): Likewise.
30741         [XPG3 || XPG4] (pthread_atfork): Likewise.
30742         [XPG3 || XPG4] (pwrite): Likewise.
30744         [BZ #14835]
30745         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30746         <bits/siginfo.h>.
30748 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30750         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30751         finalizing MALLSTREAM.
30753         * sysdeps/mach/hurd/syncfs.c: New file.
30755 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30757         [BZ #14719]
30758         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30759         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30760         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30761         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30762         (_nss_dns_gethostbyname4_r): Likewise.
30763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30764         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30766 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30768         [BZ #13763]
30769         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30771 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30773         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30774         * elf/cache.c (print_entry): Print ",AArch64" for
30775         FLAG_AARCH64_LIB64
30777         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30778         * elf/cache.c (print_entry): Print ",hard-float" for
30779         FLAG_ARM_LIBHF.
30781 2012-11-18  David S. Miller  <davem@davemloft.net>
30783         With help from Joseph Myers.
30784         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30785         cutoff to 2**-13.
30786         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30787         cutoff to 2**-25.
30788         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30789         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30790         small.
30791         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30792         * math/libm-test.inc (y0_test): New tests.
30793         (y1_test): New tests.
30794         * sysdeps/i386/fpu/libm-test-ulps: Update.
30795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30798 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30800         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30801         64-bit targets.
30802         * configure: Regenerated.
30804 2012-11-17  David S. Miller  <davem@davemloft.net>
30806         [BZ #14811]
30807         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30808         nonzero exponents with absolute value below 0x1p-128 to +/-
30809         0x1p-128.
30811 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30813         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30815         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30817         * posix/getconf-speclist.c: New file.
30818         * posix/posix-envs.def: Likewise.
30819         * posix/confstr.c (START_ENV_GROUP): New macro.
30820         (END_ENV_GROUP): Likewise.
30821         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30822         (KNOWN_PRESENT_ENV_STRING): Likewise.
30823         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30824         (UNKNOWN_ENVIRONMENT): Likewise.
30825         (confstr): Include posix-envs.def instead of handling
30826         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30827         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30828         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30829         (END_ENV_GROUP): Likewise.
30830         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30831         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30832         (UNKNOWN_ENVIRONMENT): Likewise.
30833         (__sysconf): Include posix-envs.def instead of handling associated
30834         cases directly here.
30835         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30836         preprocessing getconf-speclist.c rather than running getconf or
30837         generating empty file.
30839 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30841         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30843 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30845         [BZ #14672]
30846         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30848 2012-11-16  David S. Miller  <davem@davemloft.net>
30850         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30851         smaller than LDBL_EPSILON/2.0L, just return xm1.
30853 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30855         * elf/tst-array1.c (init): Set constructor priority to 1000.
30856         (fini): Set destructor priority to 1000.
30857         * elf/tst-array2dep.c: Likewise.
30859 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30861         [BZ #11741]
30862         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30863         (_IO_new_file_xsputn): Also return EOF if none of the input
30864         data was written when overflow failed.
30865         * libio/iopadn.c (_IO_padn): Likewise.
30866         * libio/iowpadn.c (_IO_wpadn): Likewise.
30867         * stdio-common/tst-put-error.c: Add copyright notice.
30868         (do_test): Add case for printing padded string.
30869         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30870         _IO_padn returned error.
30871         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30872         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30873         return EOF.
30875 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30877         * libio/libioP.h: Add comment note that the references to C++
30878         bits are now obsolete.
30880 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30882         * math/libm-test.inc (check_complex): Use asprintf.
30884 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30886         * debug/pcprofiledump.c (print_version): Update copyright year.
30887         * malloc/memusagestat.c (print_version): Likewise.
30889 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30891         [BZ #14831]
30892         * elf/Makefile (tests): Add tst-audit8.
30893         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30894         ($(objpfx)tst-audit8.out): New target.
30895         (tst-audit8-ENV): New variable.
30896         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30897         audit if l_reloc_result is NULL.
30898         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30899         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30900         * elf/tst-audit8.c: New file.
30902 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30904         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30905         * misc/Makefile (CFLAGS-select.c): Define.
30906         * posix/Makefile (CFLAGS-pause.c): Define.
30908 2012-11-13  David S. Miller  <davem@davemloft.net>
30910         * crypt/Makefile: Move test targets after toplevel Rules
30911         inclusion.  Grab any necessary sysdep routines when linking.
30912         * crypt/md5.c (md5_process_block): Remove define, we will always
30913         name it __md5_process_block.
30914         (md5_finish_ctx): Update md5_process_block call.
30915         (md5_stream): Likewise.
30916         (md5_process_bytes): Likewise.
30917         (md5_process_block): Rename to __md5_process_block and move to ...
30918         * crypt/md5-block.c: ... here.
30919         * crypt/sha256.c (sha256_process_block): Move to ...
30920         * crypt/sha256-block.c: ... here.
30921         * crypt/sha512.c (sha512_process_block): Move to ...
30922         * crypt/sha512-block.c: ... here.
30923         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30924         path.
30925         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30926         * sysdeps/sparc/sparc64/multiarch/Makefile
30927         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30928         crypt subdir.
30929         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30930         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30931         multiarch changes.
30932         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30933         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30934         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30935         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30936         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30937         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30938         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30939         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30940         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30941         file.
30942         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30943         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30944         file.
30945         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30947 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30949         * timezone/tzselect.ksh: Update from tzcode git revision
30950         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30951         * timezone/zdump.c: Likewise.
30952         * timezone/zic.c: Likewise.
30953         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30954         in TZVERSION setting, not $(PKGVERSION).
30955         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30956         REPORT_BUGS_TO settings.
30958         [BZ #14838]
30959         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30960         macro.
30962 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30964         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30965         detection to immediately after _FP_ROUND().
30966         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30967         bits are 0.
30969 2012-11-11  David S. Miller  <davem@davemloft.net>
30971         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30972         inttypes.h
30973         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30974         __close rather than their public counterparts.
30976 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
30978         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30979         file.
30980         [UNIX98] (sem_timedwait): Do not expect.
30981         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30982         [XPG4 || UNIX98] (sockatmark): Do not expect.
30983         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30984         (clock_getcpuclockid): Do not expect.
30985         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30986         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30987         Do not expect.
30988         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30989         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30990         [UNIX98] (vwscanf): Likewise.
30991         [UNIX98] (vswscanf): Likewise.
30993 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
30995         * timezone/version.h: Remove file.
30996         * timezone/README: Do not refer to version.h.
30997         * timezone/Makefile ($(objpfx)zic.o): New dependency on
30998         $(objpfx)version.h.
30999         ($(objpfx)zdump.o): Likewise.
31000         ($(objpfx)version.h): New target.
31002         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31003         2012i.
31004         * timezone/README: Don't mention modification to tzselect.ksh.
31005         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31006         work on unmodified tzselect.ksh.  Substitute version numbers in
31007         tzselect.ksh.
31009         * Makefile (format-me): Remove.
31010         (INSTALL): Adjust indentation.  Use commands directly instead of
31011         using $(format-me).
31013         * aclocal.m4 (ACX_PKGVERSION): New macro.
31014         (ACX_BUGURL): Likewise.
31015         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31016         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31017         (REPORT_BUGS_TO): Likewise.
31018         * configure: Regenerated.
31019         * config.h.in (PKGVERSION): New macro.
31020         (REPORT_BUGS_TO): Likewise.
31021         * config.make.in (PKGVERSION): New variable.
31022         (PKGVERSION_TEXI): Likewise.
31023         (REPORT_BUGS_TO): Likewise.
31024         (REPORT_BUGS_TEXI): Likewise.
31025         * Makefile (format-me): Use -I$(common-objpfx)manual.
31026         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31027         ($(common-objpfx)manual/%): New target.
31028         (manual/%): Remove target.
31029         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31030         (print_version): Use PKGVERSION.
31031         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31032         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31033         and REPORT_BUGS_TO.
31034         ($(objpfx)xtrace): Likewise.
31035         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31036         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31037         (print_version): Use PKGVERSION.
31038         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31039         (do_version): Use PKGVERSION.
31040         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31041         REPORT_BUGS_TO.
31042         (common-ldd-rewrite): Likewise.
31043         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31044         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31045         (print_version): Use PKGVERSION.
31046         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31047         * elf/pldd.c (argp_program_bug_address): Remove variable.
31048         (more_help): New function.
31049         (argp): Use more_help.
31050         (print_version): Use PKGVERSION.
31051         * elf/sln.c (main): Use PKGVERSION.
31052         (usage): Use REPORT_BUGS_TO.
31053         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31054         (top level): Use PKGVERSION.
31055         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31056         (print_version): Use PKGVERSION.
31057         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31058         (print_version): Use PKGVERSION.
31059         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31060         (print_version): Use PKGVERSION.
31061         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31062         (print_version): Use PKGVERSION.
31063         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31064         (print_version): Use PKGVERSION.
31065         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31066         (print_version): Use PKGVERSION.
31067         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31068         and BUGURL.
31069         ($(objpfx)memusage): Likewise.
31070         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31071         (do_version): Use PKGVERSION.
31072         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31073         (print_version): Use PKGVERSION.
31074         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31075         ($PKGVERSION): New variable.
31076         ($REPORT_BUGS_TO): Likewise.
31077         (usage): Use $REPORT_BUGS_TO.
31078         (top level): Use $PKGVERSION.
31079         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31080         ($(objpfx)pkgvers.texi): New rule.
31081         ($(objpfx)stamp-pkgvers): Likewise.
31082         * manual/install.texi: Include pkgvers.texi.
31083         (--with-pkgversion): Document new configure option.
31084         (--with-bugurl): Likewise.
31085         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31086         than necessarily for this particular distribution.  Use
31087         REPORT_BUGS_TO for where to report bugs.
31088         * INSTALL: Regenerated.
31089         * manual/libc.texinfo: Include pkgvers.texi.
31090         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31091         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31092         (print_version): Use PKGVERSION.
31093         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31094         (print_version): Use PKGVERSION.
31095         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31096         (print_version): Use PKGVERSION.
31097         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31098         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31099         macro.
31100         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31101         (print_version): Use PKGVERSION.
31102         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31103         (print_version): Use PKGVERSION.
31104         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31105         and PKGVERSION.
31107         * timezone/checktab.awk: Update from tzcode 2012i.
31108         * timezone/ialloc.c: Likewise.
31109         * timezone/private.h: Likewise.
31110         * timezone/scheck.c: Likewise.
31111         * timezone/tzfile.h: Likewise.
31112         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31113         (TZVERSION): Hardcode tzcode version number.
31114         * timezone/zdump.c: Update from tzcode 2012i.
31115         * timezone/zic.c: Likewise.
31116         * timezone/version.h: New file.
31117         * timezone/README: Describe version.h.  Update upstream location.
31119         [BZ #14824]
31120         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31121         (mktemp): Enable declaration.
31122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31125         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31126         Likewise.
31127         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31128         Likewise.
31129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31130         Likewise.
31131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31132         Likewise.
31133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31134         Likewise.
31135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31136         Likewise.
31138         [BZ #14821]
31139         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31140         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31141         for copies of such integer values.
31142         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31143         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31145 2012-11-09  Andreas Jaeger  <aj@suse.de>
31147         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31148         definitions and declarations that are provided by
31149         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31151 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31153         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31154         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31155         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31156         definition.
31158 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31160         * elf/elf.h: Update comment before AArch64 relocations.
31162 2012-11-07  David S. Miller  <davem@davemloft.net>
31164         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31165         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31166         (__start_context): Declare.
31167         (__makecontext_ret): Delete.
31168         (__makecontext): Hook up __start_context instead of
31169         __makecontext_ret.
31170         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31171         (sysdep_routines): Add __start_context when in stdlib.
31173 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31175         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31176         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31177         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31178         hardcoded "nm".
31179         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31180         (READELF): New variable.  Use it instead of hardcoded "readelf".
31182 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31184         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31185         * sysdeps/x86/Makefile: Here.
31186         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31187         * sysdeps/x86/tst-xmmymm.sh: This.
31189 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31191         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31192         expectations.
31193         [UNIX98] (pthread_barrier_t): Do not expect.
31194         [UNIX98] (pthread_barrierattr_t): Likewise.
31195         [UNIX98] (pthread_spinlock_t): Likewise.
31196         [UNIX98] (pthread_barrier_destroy): Likewise.
31197         [UNIX98] (pthread_barrier_init): Likewise.
31198         [UNIX98] (pthread_barrier_wait): Likewise.
31199         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31200         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31201         [UNIX98] (pthread_barrierattr_init): Likewise.
31202         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31203         [UNIX98] (pthread_getcpuclockid): Likewise.
31204         [UNIX98] (pthread_mutex_timedlock): Likewise.
31205         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31206         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31207         [UNIX98] (pthread_sigmask): Likewise.
31208         [UNIX98] (pthread_spin_destroy): Likewise.
31209         [UNIX98] (pthread_spin_init): Likewise.
31210         [UNIX98] (pthread_spin_lock): Likewise.
31211         [UNIX98] (pthread_spin_trylock): Likewise.
31212         [UNIX98] (pthread_spin_unlock): Likewise.
31213         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31214         Do not expect.
31215         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31216         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31217         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31218         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31219         [XPG3 || XPG4] (pthread_key_t): Likewise.
31220         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31221         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31222         [XPG3 || XPG4] (pthread_once_t): Likewise.
31223         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31224         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31225         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31226         [XPG3 || XPG4] (pthread_t): Likewise.
31228         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31229         not expect.
31230         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31232         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31233         Change function return type to int.
31235         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31236         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31237         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31238         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31239         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31240         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31241         [!POSIX] (posix_madvise): Likewise.
31242         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31243         && !UNIX98].
31244         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31245         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31246         (mode_t): Likewise.
31247         (posix_mem_offset): Likewise.
31248         (posix_typed_mem_get_info): Likewise.
31249         (posix_typed_mem_open): Likewise.
31251         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31252         Change condition to [XOPEN2K8].
31254         * conform/conformtest.pl: Preprocess allow-header data with -x c
31255         instead of from stdin.
31256         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31257         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31258         [C99-based standards] (cerfc): Likewise.
31259         [C99-based standards] (cexp2): Likewise.
31260         [C99-based standards] (cexpm1): Likewise.
31261         [C99-based standards] (clog10): Likewise.
31262         [C99-based standards] (clog1p): Likewise.
31263         [C99-based standards] (clog2): Likewise.
31264         [C99-based standards] (clgamma): Likewise.
31265         [C99-based standards] (ctgamma): Likewise.
31266         [C99-based standards] (cerff): Likewise.
31267         [C99-based standards] (cerfcf): Likewise.
31268         [C99-based standards] (cexp2f): Likewise.
31269         [C99-based standards] (cexpm1f): Likewise.
31270         [C99-based standards] (clog10f): Likewise.
31271         [C99-based standards] (clog1pf): Likewise.
31272         [C99-based standards] (clog2f): Likewise.
31273         [C99-based standards] (clgammaf): Likewise.
31274         [C99-based standards] (ctgammaf): Likewise.
31275         [C99-based standards] (cerfl): Likewise.
31276         [C99-based standards] (cerfcl): Likewise.
31277         [C99-based standards] (cexp2l): Likewise.
31278         [C99-based standards] (cexpm1l): Likewise.
31279         [C99-based standards] (clog10l): Likewise.
31280         [C99-based standards] (clog1pl): Likewise.
31281         [C99-based standards] (clog2l): Likewise.
31282         [C99-based standards] (clgammal): Likewise.
31283         [C99-based standards] (ctgammal): Likewise.
31284         * conform/data/inttypes.h-data [C99-based standards]: Include
31285         stdint.h-data.  Remove all expectations for stdint.h contents.
31286         [C99-based standards] (PRI*): Do not allow.
31287         [C99-based standards] (SCN*): Likewise.
31288         [C99-based standards] (*_t): Likewise.
31289         [C99-based-standards] (PRId8): Expect macro.
31290         [C99-based-standards] (PRIi8): Likewise.
31291         [C99-based-standards] (PRIo8): Likewise.
31292         [C99-based-standards] (PRIu8): Likewise.
31293         [C99-based-standards] (PRIx8): Likewise.
31294         [C99-based-standards] (PRIX8): Likewise.
31295         [C99-based-standards] (SCNd8): Likewise.
31296         [C99-based-standards] (SCNi8): Likewise.
31297         [C99-based-standards] (SCNo8): Likewise.
31298         [C99-based-standards] (SCNu8): Likewise.
31299         [C99-based-standards] (SCNx8): Likewise.
31300         [C99-based-standards] (PRIdLEAST8): Likewise.
31301         [C99-based-standards] (PRIiLEAST8): Likewise.
31302         [C99-based-standards] (PRIoLEAST8): Likewise.
31303         [C99-based-standards] (PRIuLEAST8): Likewise.
31304         [C99-based-standards] (PRIxLEAST8): Likewise.
31305         [C99-based-standards] (PRIXLEAST8): Likewise.
31306         [C99-based-standards] (SCNdLEAST8): Likewise.
31307         [C99-based-standards] (SCNiLEAST8): Likewise.
31308         [C99-based-standards] (SCNoLEAST8): Likewise.
31309         [C99-based-standards] (SCNuLEAST8): Likewise.
31310         [C99-based-standards] (SCNxLEAST8): Likewise.
31311         [C99-based-standards] (PRIdFAST8): Likewise.
31312         [C99-based-standards] (PRIiFAST8): Likewise.
31313         [C99-based-standards] (PRIoFAST8): Likewise.
31314         [C99-based-standards] (PRIuFAST8): Likewise.
31315         [C99-based-standards] (PRIxFAST8): Likewise.
31316         [C99-based-standards] (PRIXFAST8): Likewise.
31317         [C99-based-standards] (SCNdFAST8): Likewise.
31318         [C99-based-standards] (SCNiFAST8): Likewise.
31319         [C99-based-standards] (SCNoFAST8): Likewise.
31320         [C99-based-standards] (SCNuFAST8): Likewise.
31321         [C99-based-standards] (SCNxFAST8): Likewise.
31322         [C99-based-standards] (PRId16): Likewise.
31323         [C99-based-standards] (PRIi16): Likewise.
31324         [C99-based-standards] (PRIo16): Likewise.
31325         [C99-based-standards] (PRIu16): Likewise.
31326         [C99-based-standards] (PRIx16): Likewise.
31327         [C99-based-standards] (PRIX16): Likewise.
31328         [C99-based-standards] (SCNd16): Likewise.
31329         [C99-based-standards] (SCNi16): Likewise.
31330         [C99-based-standards] (SCNo16): Likewise.
31331         [C99-based-standards] (SCNu16): Likewise.
31332         [C99-based-standards] (SCNx16): Likewise.
31333         [C99-based-standards] (PRIdLEAST16): Likewise.
31334         [C99-based-standards] (PRIiLEAST16): Likewise.
31335         [C99-based-standards] (PRIoLEAST16): Likewise.
31336         [C99-based-standards] (PRIuLEAST16): Likewise.
31337         [C99-based-standards] (PRIxLEAST16): Likewise.
31338         [C99-based-standards] (PRIXLEAST16): Likewise.
31339         [C99-based-standards] (SCNdLEAST16): Likewise.
31340         [C99-based-standards] (SCNiLEAST16): Likewise.
31341         [C99-based-standards] (SCNoLEAST16): Likewise.
31342         [C99-based-standards] (SCNuLEAST16): Likewise.
31343         [C99-based-standards] (SCNxLEAST16): Likewise.
31344         [C99-based-standards] (PRIdFAST16): Likewise.
31345         [C99-based-standards] (PRIiFAST16): Likewise.
31346         [C99-based-standards] (PRIoFAST16): Likewise.
31347         [C99-based-standards] (PRIuFAST16): Likewise.
31348         [C99-based-standards] (PRIxFAST16): Likewise.
31349         [C99-based-standards] (PRIXFAST16): Likewise.
31350         [C99-based-standards] (SCNdFAST16): Likewise.
31351         [C99-based-standards] (SCNiFAST16): Likewise.
31352         [C99-based-standards] (SCNoFAST16): Likewise.
31353         [C99-based-standards] (SCNuFAST16): Likewise.
31354         [C99-based-standards] (SCNxFAST16): Likewise.
31355         [C99-based-standards] (PRId32): Likewise.
31356         [C99-based-standards] (PRIi32): Likewise.
31357         [C99-based-standards] (PRIo32): Likewise.
31358         [C99-based-standards] (PRIu32): Likewise.
31359         [C99-based-standards] (PRIx32): Likewise.
31360         [C99-based-standards] (PRIX32): Likewise.
31361         [C99-based-standards] (SCNd32): Likewise.
31362         [C99-based-standards] (SCNi32): Likewise.
31363         [C99-based-standards] (SCNo32): Likewise.
31364         [C99-based-standards] (SCNu32): Likewise.
31365         [C99-based-standards] (SCNx32): Likewise.
31366         [C99-based-standards] (PRIdLEAST32): Likewise.
31367         [C99-based-standards] (PRIiLEAST32): Likewise.
31368         [C99-based-standards] (PRIoLEAST32): Likewise.
31369         [C99-based-standards] (PRIuLEAST32): Likewise.
31370         [C99-based-standards] (PRIxLEAST32): Likewise.
31371         [C99-based-standards] (PRIXLEAST32): Likewise.
31372         [C99-based-standards] (SCNdLEAST32): Likewise.
31373         [C99-based-standards] (SCNiLEAST32): Likewise.
31374         [C99-based-standards] (SCNoLEAST32): Likewise.
31375         [C99-based-standards] (SCNuLEAST32): Likewise.
31376         [C99-based-standards] (SCNxLEAST32): Likewise.
31377         [C99-based-standards] (PRIdFAST32): Likewise.
31378         [C99-based-standards] (PRIiFAST32): Likewise.
31379         [C99-based-standards] (PRIoFAST32): Likewise.
31380         [C99-based-standards] (PRIuFAST32): Likewise.
31381         [C99-based-standards] (PRIxFAST32): Likewise.
31382         [C99-based-standards] (PRIXFAST32): Likewise.
31383         [C99-based-standards] (SCNdFAST32): Likewise.
31384         [C99-based-standards] (SCNiFAST32): Likewise.
31385         [C99-based-standards] (SCNoFAST32): Likewise.
31386         [C99-based-standards] (SCNuFAST32): Likewise.
31387         [C99-based-standards] (SCNxFAST32): Likewise.
31388         [C99-based-standards] (PRId64): Likewise.
31389         [C99-based-standards] (PRIi64): Likewise.
31390         [C99-based-standards] (PRIo64): Likewise.
31391         [C99-based-standards] (PRIu64): Likewise.
31392         [C99-based-standards] (PRIx64): Likewise.
31393         [C99-based-standards] (PRIX64): Likewise.
31394         [C99-based-standards] (SCNd64): Likewise.
31395         [C99-based-standards] (SCNi64): Likewise.
31396         [C99-based-standards] (SCNo64): Likewise.
31397         [C99-based-standards] (SCNu64): Likewise.
31398         [C99-based-standards] (SCNx64): Likewise.
31399         [C99-based-standards] (PRIdLEAST64): Likewise.
31400         [C99-based-standards] (PRIiLEAST64): Likewise.
31401         [C99-based-standards] (PRIoLEAST64): Likewise.
31402         [C99-based-standards] (PRIuLEAST64): Likewise.
31403         [C99-based-standards] (PRIxLEAST64): Likewise.
31404         [C99-based-standards] (PRIXLEAST64): Likewise.
31405         [C99-based-standards] (SCNdLEAST64): Likewise.
31406         [C99-based-standards] (SCNiLEAST64): Likewise.
31407         [C99-based-standards] (SCNoLEAST64): Likewise.
31408         [C99-based-standards] (SCNuLEAST64): Likewise.
31409         [C99-based-standards] (SCNxLEAST64): Likewise.
31410         [C99-based-standards] (PRIdFAST64): Likewise.
31411         [C99-based-standards] (PRIiFAST64): Likewise.
31412         [C99-based-standards] (PRIoFAST64): Likewise.
31413         [C99-based-standards] (PRIuFAST64): Likewise.
31414         [C99-based-standards] (PRIxFAST64): Likewise.
31415         [C99-based-standards] (PRIXFAST64): Likewise.
31416         [C99-based-standards] (SCNdFAST64): Likewise.
31417         [C99-based-standards] (SCNiFAST64): Likewise.
31418         [C99-based-standards] (SCNoFAST64): Likewise.
31419         [C99-based-standards] (SCNuFAST64): Likewise.
31420         [C99-based-standards] (SCNxFAST64): Likewise.
31421         [C99-based-standards] (PRIdMAX): Likewise.
31422         [C99-based-standards] (PRIiMAX): Likewise.
31423         [C99-based-standards] (PRIoMAX): Likewise.
31424         [C99-based-standards] (PRIuMAX): Likewise.
31425         [C99-based-standards] (PRIxMAX): Likewise.
31426         [C99-based-standards] (PRIXMAX): Likewise.
31427         [C99-based-standards] (SCNdMAX): Likewise.
31428         [C99-based-standards] (SCNiMAX): Likewise.
31429         [C99-based-standards] (SCNoMAX): Likewise.
31430         [C99-based-standards] (SCNuMAX): Likewise.
31431         [C99-based-standards] (SCNxMAX): Likewise.
31432         [C99-based-standards] (PRIdPTR): Likewise.
31433         [C99-based-standards] (PRIiPTR): Likewise.
31434         [C99-based-standards] (PRIoPTR): Likewise.
31435         [C99-based-standards] (PRIuPTR): Likewise.
31436         [C99-based-standards] (PRIxPTR): Likewise.
31437         [C99-based-standards] (PRIXPTR): Likewise.
31438         [C99-based-standards] (SCNdPTR): Likewise.
31439         [C99-based-standards] (SCNiPTR): Likewise.
31440         [C99-based-standards] (SCNoPTR): Likewise.
31441         [C99-based-standards] (SCNuPTR): Likewise.
31442         [C99-based-standards] (SCNxPTR): Likewise.
31443         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31444         allow.
31445         * conform/data/stdint.h-data: Update comments to clarify
31446         requirements.
31447         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31448         type.
31449         [C99-based standards] (INT8_MAX): Likewise.
31450         [C99-based standards] (INT16_MIN): Likewise.
31451         [C99-based standards] (INT16_MAX): Likewise.
31452         [C99-based standards] (INT32_MIN): Likewise.
31453         [C99-based standards] (INT32_MAX): Likewise.
31454         [C99-based standards] (INT64_MIN): Likewise.
31455         [C99-based standards] (INT64_MAX): Likewise.
31456         [C99-based standards] (UINT8_MAX): Likewise.
31457         [C99-based standards] (UINT16_MAX): Likewise.
31458         [C99-based standards] (UINT32_MAX): Likewise.
31459         [C99-based standards] (UINT64_MAX): Likewise.
31460         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31461         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31462         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31463         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31464         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31465         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31466         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31467         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31468         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31469         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31470         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31471         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31472         [C99-based standards] (INT_FAST8_MIN): Likewise.
31473         [C99-based standards] (INT_FAST8_MAX): Likewise.
31474         [C99-based standards] (INT_FAST16_MIN): Likewise.
31475         [C99-based standards] (INT_FAST16_MAX): Likewise.
31476         [C99-based standards] (INT_FAST32_MIN): Likewise.
31477         [C99-based standards] (INT_FAST32_MAX): Likewise.
31478         [C99-based standards] (INT_FAST64_MIN): Likewise.
31479         [C99-based standards] (INT_FAST64_MAX): Likewise.
31480         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31481         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31482         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31483         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31484         [C99-based standards] (INTPTR_MIN): Likewise.
31485         [C99-based standards] (INTPTR_MAX): Likewise.
31486         [C99-based standards] (UINTPTR_MAX): Likewise.
31487         [C99-based standards] (INTMAX_MIN): Likewise.
31488         [C99-based standards] (INTMAX_MAX): Likewise.
31489         [C99-based standards] (UINTMAX_MAX): Likewise.
31490         [C99-based standards] (PTRDIFF_MIN): Likewise.
31491         [C99-based standards] (PTRDIFF_MAX): Likewise.
31492         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31493         [C99-based standards] (SIZE_MAX): Likewise.
31494         [C99-based standards] (WCHAR_MAX): Likewise.
31495         [C99-based standards] (WINT_MAX): Likewise.
31496         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31497         constraint on value.
31498         [C99-based standards] (WCHAR_MIN): Likewise.
31499         [C99-based standards] (WINT_MIN): Likewise.
31500         [C99-based standards] (*_t): Allow.
31501         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31502         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31503         Include math.h-data and complex.h-data.  Remove all expectations
31504         of math.h and complex.h contents.
31505         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31506         at end of line.
31507         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31508         (struct tm): Expect tag.
31509         [C99-based-standards] (wcstof): Expect function.
31510         [C99-based-standards] (wcstold): Likewise.
31511         [C99-based-standards] (wcstoll): Likewise.
31512         [C99-based-standards] (wcstoull): Likewise.
31513         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31514         macro-int-constant.  Specify type.
31515         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31516         constraint on value.
31517         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31518         Specify type.
31519         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31520         Specify value.
31521         [ISO C standards]: Do not allow headers.
31522         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31523         wcs[abcdefghijklmnopqrstuvwxyz]*.
31524         [ISO C standards] (*_t): Do not allow.
31525         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31526         Expect function.
31527         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31528         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31529         Specify type.
31530         [ISO C standards]: Do not allow headers.
31531         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31532         is[abcdefghijklmnopqrstuvwxyz]*.
31533         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31534         to[abcdefghijklmnopqrstuvwxyz]*.
31535         [ISO C standards] (*_t): Do not allow.
31536         * conform/data/stdalign.h-data: New file.
31537         * conform/data/stdbool.h-data: Likewise.
31538         * conform/data/stdnoreturn.h-data: Likewise.
31540 2012-11-07  Roland McGrath  <roland@hack.frob.com>
31542         [BZ #14815]
31543         * manual/filesys.texi (Directory Entries): Typo fix.
31544         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31546 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31548         * elf/elf.h (EM_AARCH64): New macro.
31549         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31550         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31551         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31552         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31553         (R_AARCH64_TLSDESC): Likewise.
31554         (NT_ARM_TLS): Likewise.
31555         (NT_ARM_HW_BREAK): Likewise.
31556         (NT_ARM_HW_WATCH): Likewise.
31558 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31560         [BZ #14811]
31561         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31562         (__ieee754_powl): Saturate nonzero exponents with absolute value
31563         below 0x1p-79 to +/- 0x1p-79.
31564         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31565         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31566         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31567         nonzero exponents with absolute value below 0x1p-32 to +/-
31568         0x1p-32.
31569         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31570         (__ieee754_powl): Saturate nonzero exponents with absolute value
31571         below 0x1p-79 to +/- 0x1p-79.
31572         * math/libm-test.inc (pow_test): Add more tests.
31574 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31576         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31577         _dl_s390_cap_flags with kernel. Increase string length.
31578         (_dl_s390_platforms): Add z196 and zEC12.
31580 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31582         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31583         Change XOPEN21K to XOPEN2K.
31585 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
31587         * string/memmove.c: Use memcpy when possible.
31589 2012-11-06  Andreas Jaeger  <aj@suse.de>
31591         * po/eo.po: Update from translation team.
31593 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
31595         [BZ #14793]
31596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31597         exponent and small x and y exponents, scale x or y up.  Increase
31598         by 2 the exponent used in scaling up.
31599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31600         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31601         * math/libm-test.inc (fma_test): Add more tests.
31602         (fma_test_towardzero): Likewise.
31603         (fma_test_downward): Likewise.
31604         (fma_test_upward): Likewise.
31606 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31608         [BZ #14805]
31609         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31610         fenv_t *.
31612         [BZ #14801]
31613         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31614         namespace for names of struct fields.
31615         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31616         fenv_t fields.
31617         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31618         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31620 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31622         [BZ #3665]
31623         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31625 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31627         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31628         PTR_DEMANGLE.
31630         [BZ #5246]
31631         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31632         PTR_DEMANGLE.
31634 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31636         [BZ #14797]
31637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31638         definitely overflow as x * y not x * y + z.
31639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31641         * math/libm-test.inc (fma_test): Add more tests.
31642         (fma_test_towardzero): Likewise.
31643         (fma_test_downward): Likewise.
31644         (fma_test_upward): Likewise.
31646 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31648         [BZ #157]
31650         * include/stub-tag.h: Remove file.
31651         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31652         '#include' of it.
31653         * manual/maint.texi (Porting): Don't reference it.
31654         * Makerules ($(objpfx)stubs): Likewise.
31655         * dirent/closedir.c: Don't include <stub-tag.h>.
31656         * dirent/dirfd.c: Likewise.
31657         * dirent/fdopendir.c: Likewise.
31658         * dirent/getdents.c: Likewise.
31659         * dirent/getdents64.c: Likewise.
31660         * dirent/opendir.c: Likewise.
31661         * dirent/readdir.c: Likewise.
31662         * dirent/readdir64.c: Likewise.
31663         * dirent/readdir64_r.c: Likewise.
31664         * dirent/readdir_r.c: Likewise.
31665         * dirent/rewinddir.c: Likewise.
31666         * dirent/seekdir.c: Likewise.
31667         * dirent/telldir.c: Likewise.
31668         * gmon/profil.c: Likewise.
31669         * grp/setgroups.c: Likewise.
31670         * inet/if_index.c: Likewise.
31671         * io/access.c: Likewise.
31672         * io/chdir.c: Likewise.
31673         * io/chmod.c: Likewise.
31674         * io/chown.c: Likewise.
31675         * io/close.c: Likewise.
31676         * io/dup.c: Likewise.
31677         * io/dup2.c: Likewise.
31678         * io/dup3.c: Likewise.
31679         * io/euidaccess.c: Likewise.
31680         * io/faccessat.c: Likewise.
31681         * io/fchdir.c: Likewise.
31682         * io/fchmod.c: Likewise.
31683         * io/fchmodat.c: Likewise.
31684         * io/fchown.c: Likewise.
31685         * io/fchownat.c: Likewise.
31686         * io/fcntl.c: Likewise.
31687         * io/flock.c: Likewise.
31688         * io/fstatfs.c: Likewise.
31689         * io/fstatfs64.c: Likewise.
31690         * io/fstatvfs.c: Likewise.
31691         * io/fstatvfs64.c: Likewise.
31692         * io/futimens.c: Likewise.
31693         * io/fxstat.c: Likewise.
31694         * io/fxstat64.c: Likewise.
31695         * io/fxstatat.c: Likewise.
31696         * io/fxstatat64.c: Likewise.
31697         * io/getcwd.c: Likewise.
31698         * io/isatty.c: Likewise.
31699         * io/lchmod.c: Likewise.
31700         * io/lchown.c: Likewise.
31701         * io/link.c: Likewise.
31702         * io/linkat.c: Likewise.
31703         * io/lseek.c: Likewise.
31704         * io/lseek64.c: Likewise.
31705         * io/lxstat64.c: Likewise.
31706         * io/mkdir.c: Likewise.
31707         * io/mkdirat.c: Likewise.
31708         * io/mkfifo.c: Likewise.
31709         * io/mkfifoat.c: Likewise.
31710         * io/open.c: Likewise.
31711         * io/open64.c: Likewise.
31712         * io/openat.c: Likewise.
31713         * io/openat64.c: Likewise.
31714         * io/pipe.c: Likewise.
31715         * io/pipe2.c: Likewise.
31716         * io/poll.c: Likewise.
31717         * io/posix_fadvise.c: Likewise.
31718         * io/posix_fadvise64.c: Likewise.
31719         * io/posix_fallocate.c: Likewise.
31720         * io/posix_fallocate64.c: Likewise.
31721         * io/read.c: Likewise.
31722         * io/readlink.c: Likewise.
31723         * io/readlinkat.c: Likewise.
31724         * io/rmdir.c: Likewise.
31725         * io/sendfile.c: Likewise.
31726         * io/sendfile64.c: Likewise.
31727         * io/statfs.c: Likewise.
31728         * io/statfs64.c: Likewise.
31729         * io/statvfs.c: Likewise.
31730         * io/statvfs64.c: Likewise.
31731         * io/symlink.c: Likewise.
31732         * io/symlinkat.c: Likewise.
31733         * io/ttyname.c: Likewise.
31734         * io/ttyname_r.c: Likewise.
31735         * io/umask.c: Likewise.
31736         * io/unlink.c: Likewise.
31737         * io/unlinkat.c: Likewise.
31738         * io/utime.c: Likewise.
31739         * io/utimensat.c: Likewise.
31740         * io/write.c: Likewise.
31741         * io/xmknod.c: Likewise.
31742         * io/xmknodat.c: Likewise.
31743         * io/xstat.c: Likewise.
31744         * io/xstat64.c: Likewise.
31745         * login/getpt.c: Likewise.
31746         * login/grantpt.c: Likewise.
31747         * login/unlockpt.c: Likewise.
31748         * math/e_acoshl.c: Likewise.
31749         * math/e_acosl.c: Likewise.
31750         * math/e_asinl.c: Likewise.
31751         * math/e_atan2l.c: Likewise.
31752         * math/e_atanhl.c: Likewise.
31753         * math/e_coshl.c: Likewise.
31754         * math/e_expl.c: Likewise.
31755         * math/e_fmodl.c: Likewise.
31756         * math/e_gammal_r.c: Likewise.
31757         * math/e_hypotl.c: Likewise.
31758         * math/e_j0l.c: Likewise.
31759         * math/e_j1l.c: Likewise.
31760         * math/e_jnl.c: Likewise.
31761         * math/e_lgammal_r.c: Likewise.
31762         * math/e_log10l.c: Likewise.
31763         * math/e_log2l.c: Likewise.
31764         * math/e_logl.c: Likewise.
31765         * math/e_powl.c: Likewise.
31766         * math/e_rem_pio2l.c: Likewise.
31767         * math/e_sinhl.c: Likewise.
31768         * math/e_sqrtl.c: Likewise.
31769         * math/fclrexcpt.c: Likewise.
31770         * math/fedisblxcpt.c: Likewise.
31771         * math/feenablxcpt.c: Likewise.
31772         * math/fegetenv.c: Likewise.
31773         * math/fegetexcept.c: Likewise.
31774         * math/fegetround.c: Likewise.
31775         * math/feholdexcpt.c: Likewise.
31776         * math/fesetenv.c: Likewise.
31777         * math/fesetround.c: Likewise.
31778         * math/feupdateenv.c: Likewise.
31779         * math/fgetexcptflg.c: Likewise.
31780         * math/fraiseexcpt.c: Likewise.
31781         * math/fsetexcptflg.c: Likewise.
31782         * math/ftestexcept.c: Likewise.
31783         * math/k_cosl.c: Likewise.
31784         * math/k_rem_pio2l.c: Likewise.
31785         * math/k_sinl.c: Likewise.
31786         * math/k_tanl.c: Likewise.
31787         * math/s_asinhl.c: Likewise.
31788         * math/s_atanl.c: Likewise.
31789         * math/s_cbrtl.c: Likewise.
31790         * math/s_erfl.c: Likewise.
31791         * math/s_expm1l.c: Likewise.
31792         * math/s_log1pl.c: Likewise.
31793         * math/s_tanhl.c: Likewise.
31794         * misc/acct.c: Likewise.
31795         * misc/brk.c: Likewise.
31796         * misc/chflags.c: Likewise.
31797         * misc/chroot.c: Likewise.
31798         * misc/fchflags.c: Likewise.
31799         * misc/fgetxattr.c: Likewise.
31800         * misc/flistxattr.c: Likewise.
31801         * misc/fremovexattr.c: Likewise.
31802         * misc/fsetxattr.c: Likewise.
31803         * misc/fsync.c: Likewise.
31804         * misc/ftruncate.c: Likewise.
31805         * misc/futimes.c: Likewise.
31806         * misc/futimesat.c: Likewise.
31807         * misc/getdomain.c: Likewise.
31808         * misc/getdtsz.c: Likewise.
31809         * misc/gethostid.c: Likewise.
31810         * misc/gethostname.c: Likewise.
31811         * misc/getloadavg.c: Likewise.
31812         * misc/getpagesize.c: Likewise.
31813         * misc/getsysstats.c: Likewise.
31814         * misc/getxattr.c: Likewise.
31815         * misc/gtty.c: Likewise.
31816         * misc/ioctl.c: Likewise.
31817         * misc/lgetxattr.c: Likewise.
31818         * misc/listxattr.c: Likewise.
31819         * misc/llistxattr.c: Likewise.
31820         * misc/lremovexattr.c: Likewise.
31821         * misc/lsetxattr.c: Likewise.
31822         * misc/lutimes.c: Likewise.
31823         * misc/madvise.c: Likewise.
31824         * misc/mincore.c: Likewise.
31825         * misc/mlock.c: Likewise.
31826         * misc/mlockall.c: Likewise.
31827         * misc/mmap.c: Likewise.
31828         * misc/mprotect.c: Likewise.
31829         * misc/msync.c: Likewise.
31830         * misc/munlock.c: Likewise.
31831         * misc/munlockall.c: Likewise.
31832         * misc/munmap.c: Likewise.
31833         * misc/preadv.c: Likewise.
31834         * misc/preadv64.c: Likewise.
31835         * misc/ptrace.c: Likewise.
31836         * misc/pwritev.c: Likewise.
31837         * misc/pwritev64.c: Likewise.
31838         * misc/readv.c: Likewise.
31839         * misc/reboot.c: Likewise.
31840         * misc/remap_file_pages.c: Likewise.
31841         * misc/removexattr.c: Likewise.
31842         * misc/revoke.c: Likewise.
31843         * misc/select.c: Likewise.
31844         * misc/setdomain.c: Likewise.
31845         * misc/setegid.c: Likewise.
31846         * misc/seteuid.c: Likewise.
31847         * misc/sethostid.c: Likewise.
31848         * misc/sethostname.c: Likewise.
31849         * misc/setregid.c: Likewise.
31850         * misc/setreuid.c: Likewise.
31851         * misc/setxattr.c: Likewise.
31852         * misc/sstk.c: Likewise.
31853         * misc/stty.c: Likewise.
31854         * misc/swapoff.c: Likewise.
31855         * misc/swapon.c: Likewise.
31856         * misc/sync.c: Likewise.
31857         * misc/syncfs.c: Likewise.
31858         * misc/syscall.c: Likewise.
31859         * misc/truncate.c: Likewise.
31860         * misc/ualarm.c: Likewise.
31861         * misc/usleep.c: Likewise.
31862         * misc/ustat.c: Likewise.
31863         * misc/utimes.c: Likewise.
31864         * misc/vhangup.c: Likewise.
31865         * misc/writev.c: Likewise.
31866         * posix/_exit.c: Likewise.
31867         * posix/alarm.c: Likewise.
31868         * posix/execve.c: Likewise.
31869         * posix/fexecve.c: Likewise.
31870         * posix/fork.c: Likewise.
31871         * posix/fpathconf.c: Likewise.
31872         * posix/getaddrinfo.c: Likewise.
31873         * posix/getegid.c: Likewise.
31874         * posix/geteuid.c: Likewise.
31875         * posix/getgid.c: Likewise.
31876         * posix/getgroups.c: Likewise.
31877         * posix/getlogin.c: Likewise.
31878         * posix/getlogin_r.c: Likewise.
31879         * posix/getpgid.c: Likewise.
31880         * posix/getpid.c: Likewise.
31881         * posix/getppid.c: Likewise.
31882         * posix/getresgid.c: Likewise.
31883         * posix/getresuid.c: Likewise.
31884         * posix/getsid.c: Likewise.
31885         * posix/getuid.c: Likewise.
31886         * posix/glob64.c: Likewise.
31887         * posix/nanosleep.c: Likewise.
31888         * posix/pathconf.c: Likewise.
31889         * posix/pause.c: Likewise.
31890         * posix/posix_madvise.c: Likewise.
31891         * posix/pread.c: Likewise.
31892         * posix/pread64.c: Likewise.
31893         * posix/pwrite.c: Likewise.
31894         * posix/pwrite64.c: Likewise.
31895         * posix/sched_getaffinity.c: Likewise.
31896         * posix/sched_getp.c: Likewise.
31897         * posix/sched_gets.c: Likewise.
31898         * posix/sched_primax.c: Likewise.
31899         * posix/sched_primin.c: Likewise.
31900         * posix/sched_rr_gi.c: Likewise.
31901         * posix/sched_setaffinity.c: Likewise.
31902         * posix/sched_setp.c: Likewise.
31903         * posix/sched_sets.c: Likewise.
31904         * posix/sched_yield.c: Likewise.
31905         * posix/setgid.c: Likewise.
31906         * posix/setlogin.c: Likewise.
31907         * posix/setpgid.c: Likewise.
31908         * posix/setresgid.c: Likewise.
31909         * posix/setresuid.c: Likewise.
31910         * posix/setsid.c: Likewise.
31911         * posix/setuid.c: Likewise.
31912         * posix/sleep.c: Likewise.
31913         * posix/spawni.c: Likewise.
31914         * posix/sysconf.c: Likewise.
31915         * posix/times.c: Likewise.
31916         * posix/wait.c: Likewise.
31917         * posix/wait3.c: Likewise.
31918         * posix/wait4.c: Likewise.
31919         * posix/waitpid.c: Likewise.
31920         * resolv/gai_sigqueue.c: Likewise.
31921         * resource/getpriority.c: Likewise.
31922         * resource/getrlimit.c: Likewise.
31923         * resource/getrusage.c: Likewise.
31924         * resource/nice.c: Likewise.
31925         * resource/setpriority.c: Likewise.
31926         * resource/setrlimit.c: Likewise.
31927         * resource/ulimit.c: Likewise.
31928         * rt/aio_cancel.c: Likewise.
31929         * rt/aio_fsync.c: Likewise.
31930         * rt/aio_read.c: Likewise.
31931         * rt/aio_sigqueue.c: Likewise.
31932         * rt/aio_suspend.c: Likewise.
31933         * rt/aio_write.c: Likewise.
31934         * rt/clock_getres.c: Likewise.
31935         * rt/clock_gettime.c: Likewise.
31936         * rt/clock_nanosleep.c: Likewise.
31937         * rt/clock_settime.c: Likewise.
31938         * rt/lio_listio.c: Likewise.
31939         * rt/mq_close.c: Likewise.
31940         * rt/mq_getattr.c: Likewise.
31941         * rt/mq_notify.c: Likewise.
31942         * rt/mq_open.c: Likewise.
31943         * rt/mq_receive.c: Likewise.
31944         * rt/mq_send.c: Likewise.
31945         * rt/mq_setattr.c: Likewise.
31946         * rt/mq_timedreceive.c: Likewise.
31947         * rt/mq_timedsend.c: Likewise.
31948         * rt/mq_unlink.c: Likewise.
31949         * rt/shm_open.c: Likewise.
31950         * rt/shm_unlink.c: Likewise.
31951         * rt/timer_create.c: Likewise.
31952         * rt/timer_delete.c: Likewise.
31953         * rt/timer_getoverr.c: Likewise.
31954         * rt/timer_gettime.c: Likewise.
31955         * rt/timer_settime.c: Likewise.
31956         * setjmp/__longjmp.c: Likewise.
31957         * setjmp/setjmp.c: Likewise.
31958         * signal/kill.c: Likewise.
31959         * signal/killpg.c: Likewise.
31960         * signal/raise.c: Likewise.
31961         * signal/sigaction.c: Likewise.
31962         * signal/sigaltstack.c: Likewise.
31963         * signal/sigblock.c: Likewise.
31964         * signal/sigignore.c: Likewise.
31965         * signal/sigintr.c: Likewise.
31966         * signal/signal.c: Likewise.
31967         * signal/sigpause.c: Likewise.
31968         * signal/sigpending.c: Likewise.
31969         * signal/sigqueue.c: Likewise.
31970         * signal/sigreturn.c: Likewise.
31971         * signal/sigset.c: Likewise.
31972         * signal/sigsetmask.c: Likewise.
31973         * signal/sigstack.c: Likewise.
31974         * signal/sigsuspend.c: Likewise.
31975         * signal/sigtimedwait.c: Likewise.
31976         * signal/sigvec.c: Likewise.
31977         * signal/sigwait.c: Likewise.
31978         * signal/sigwaitinfo.c: Likewise.
31979         * signal/sysv_signal.c: Likewise.
31980         * socket/accept.c: Likewise.
31981         * socket/accept4.c: Likewise.
31982         * socket/bind.c: Likewise.
31983         * socket/connect.c: Likewise.
31984         * socket/getpeername.c: Likewise.
31985         * socket/getsockname.c: Likewise.
31986         * socket/getsockopt.c: Likewise.
31987         * socket/isfdtype.c: Likewise.
31988         * socket/listen.c: Likewise.
31989         * socket/recv.c: Likewise.
31990         * socket/recvfrom.c: Likewise.
31991         * socket/recvmsg.c: Likewise.
31992         * socket/send.c: Likewise.
31993         * socket/sendmsg.c: Likewise.
31994         * socket/sendto.c: Likewise.
31995         * socket/setsockopt.c: Likewise.
31996         * socket/shutdown.c: Likewise.
31997         * socket/sockatmark.c: Likewise.
31998         * socket/socket.c: Likewise.
31999         * socket/socketpair.c: Likewise.
32000         * stdio-common/ctermid.c: Likewise.
32001         * stdio-common/cuserid.c: Likewise.
32002         * stdio-common/remove.c: Likewise.
32003         * stdio-common/rename.c: Likewise.
32004         * stdio-common/renameat.c: Likewise.
32005         * stdio-common/tempname.c: Likewise.
32006         * stdlib/getcontext.c: Likewise.
32007         * stdlib/makecontext.c: Likewise.
32008         * stdlib/setcontext.c: Likewise.
32009         * stdlib/swapcontext.c: Likewise.
32010         * stdlib/system.c: Likewise.
32011         * streams/fattach.c: Likewise.
32012         * streams/fdetach.c: Likewise.
32013         * streams/getmsg.c: Likewise.
32014         * streams/getpmsg.c: Likewise.
32015         * streams/putmsg.c: Likewise.
32016         * streams/putpmsg.c: Likewise.
32017         * sysdeps/unix/bsd/getpt.c: Likewise.
32018         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32019         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32020         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32022         Likewise.
32023         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32024         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32025         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32026         * sysvipc/msgctl.c: Likewise.
32027         * sysvipc/msgget.c: Likewise.
32028         * sysvipc/msgrcv.c: Likewise.
32029         * sysvipc/msgsnd.c: Likewise.
32030         * sysvipc/semctl.c: Likewise.
32031         * sysvipc/semget.c: Likewise.
32032         * sysvipc/semop.c: Likewise.
32033         * sysvipc/semtimedop.c: Likewise.
32034         * sysvipc/shmat.c: Likewise.
32035         * sysvipc/shmctl.c: Likewise.
32036         * sysvipc/shmdt.c: Likewise.
32037         * sysvipc/shmget.c: Likewise.
32038         * termios/tcdrain.c: Likewise.
32039         * termios/tcflow.c: Likewise.
32040         * termios/tcflush.c: Likewise.
32041         * termios/tcgetattr.c: Likewise.
32042         * termios/tcgetpgrp.c: Likewise.
32043         * termios/tcsendbrk.c: Likewise.
32044         * termios/tcsetattr.c: Likewise.
32045         * termios/tcsetpgrp.c: Likewise.
32046         * time/adjtime.c: Likewise.
32047         * time/clock.c: Likewise.
32048         * time/getitimer.c: Likewise.
32049         * time/gettimeofday.c: Likewise.
32050         * time/setitimer.c: Likewise.
32051         * time/settimeofday.c: Likewise.
32052         * time/stime.c: Likewise.
32053         * time/time.c: Likewise.
32055 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32057         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32058         /usr/old/bin.
32060         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32061         instead of spaces.
32062         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32064 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32066         [BZ #14796]
32067         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32068         FE_TONEAREST before applying Dekker multiplication and Knuth
32069         addition.  Clear inexact exceptions and check for exact zero
32070         results afterwards.
32071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32072         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32073         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32074         * math/libm-test.inc (fma_test): Add more tests.
32075         (fma_test_towardzero): Likewise.
32076         (fma_test_downward): Likewise.
32077         (fma_test_upward): Likewise.
32078         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32079         function.
32080         (libc_fesetround): New macro.
32081         (libc_fesetroundf): Likewise.
32082         (libc_fesetroundl): Likewise.
32083         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32084         function.
32085         (libc_fesetround_387): Likewise.
32086         (libc_fesetroundf): New macro.
32087         (libc_fesetround): Likewise.
32088         (libc_fesetroundl): Likewise.
32089         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32090         function.
32091         (libc_fesetroundf): New macro.
32092         (libc_fesetround): Likewise.
32093         (libc_fesetroundl): Likewise.
32094         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32095         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32096         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32097         libm_hidden_ver.
32098         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32099         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32100         libm_hidden_def.
32101         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32102         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32103         libm_hidden_ver.
32104         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32105         libm_hidden_def.
32107         [BZ #3439]
32108         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32109         integer constant usable in #if and use that to give value to enum
32110         constant.
32111         (FE_DIVBYZERO): Likewise.
32112         (FE_UNDERFLOW): Likewise.
32113         (FE_OVERFLOW): Likewise.
32114         (FE_INVALID): Likewise.
32115         (FE_INVALID_SNAN): Likewise.
32116         (FE_INVALID_ISI): Likewise.
32117         (FE_INVALID_IDI): Likewise.
32118         (FE_INVALID_ZDZ): Likewise.
32119         (FE_INVALID_IMZ): Likewise.
32120         (FE_INVALID_COMPARE): Likewise.
32121         (FE_INVALID_SOFTWARE): Likewise.
32122         (FE_INVALID_SQRT): Likewise.
32123         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32124         (FE_TONEAREST): Likewise.
32125         (FE_TOWARDZERO): Likewise.
32126         (FE_UPWARD): Likewise.
32127         (FE_DOWNWARD): Likewise.
32128         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32129         (FE_DIVBYZERO): Likewise.
32130         (FE_OVERFLOW): Likewise.
32131         (FE_UNDERFLOW): Likewise.
32132         (FE_INEXACT): Likewise.
32133         (FE_TONEAREST): Likewise.
32134         (FE_DOWNWARD): Likewise.
32135         (FE_UPWARD): Likewise.
32136         (FE_TOWARDZERO): Likewise.
32137         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32138         (FE_UNDERFLOW): Likewise.
32139         (FE_OVERFLOW): Likewise.
32140         (FE_DIVBYZERO): Likewise.
32141         (FE_INVALID): Likewise.
32142         (FE_TONEAREST): Likewise.
32143         (FE_TOWARDZERO): Likewise.
32144         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32145         (FE_OVERFLOW): Likewise.
32146         (FE_UNDERFLOW): Likewise.
32147         (FE_DIVBYZERO): Likewise.
32148         (FE_INEXACT): Likewise.
32149         (FE_TONEAREST): Likewise.
32150         (FE_TOWARDZERO): Likewise.
32151         (FE_UPWARD): Likewise.
32152         (FE_DOWNWARD): Likewise.
32153         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32154         (FE_DIVBYZERO): Likewise.
32155         (FE_OVERFLOW): Likewise.
32156         (FE_UNDERFLOW): Likewise.
32157         (FE_INEXACT): Likewise.
32158         (FE_TONEAREST): Likewise.
32159         (FE_DOWNWARD): Likewise.
32160         (FE_UPWARD): Likewise.
32161         (FE_TOWARDZERO): Likewise.
32163 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32165         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32167 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32169         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32170         commands.  Quote $PWD.
32171         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32172         -x" by "export".
32173         (remove_newlines): Remove.
32175 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32177         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32178         * stdlib/stdlib.h (atof): Moved to ...
32179         * include/bits/stdlib-float.h: Here.  New file.
32180         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32181         * stdlib/bits/stdlib-float.h: New file.
32182         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32183         -mno-sse -mno-mmx.
32184         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32185         <xmmintrin.h>.
32187 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32189         * conform/conformtest.pl (@headers): Add fenv.h.
32190         * conform/data/fenv.h-data: New file.
32191         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32192         include of <math/fenv.h>.
32194         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32195         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32196         && !UNIX98].  Enables tests for XOPEN2K8.
32197         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32198         POSIX2008]: Likewise.
32200         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32201         (struct rusage): Do not expect type or its members.
32203         [BZ #3439]
32204         * math/math.h (FP_NAN): Define macro to integer constant usable in
32205         #if and use that to give value to enum constant.
32206         (FP_INFINITE): Likewise.
32207         (FP_ZERO): Likewise.
32208         (FP_SUBNORMAL): Likewise.
32209         (FP_NORMAL): Likewise.
32211 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32213         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32214         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32215         arguments.
32217 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32219         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32220         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32221         autoconf-time if not.
32222         * configure.in: Remove AC_PREREQ.
32224 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32226         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32227         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32228         of the internal implementation.
32230 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32232         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32233         except include of <misc/sys/syslog.h>.
32235 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32238         function returns with a NULL context exit with zero.
32240 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32242         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32244 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32246         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32247         (run_program_cmd): This.
32248         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32249         (tst_langinfo): New variable.  Use it.
32251 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32253         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32254         floating point opcodes.
32256 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32258         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32259         variable.
32261         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32263         * sysdeps/mach/hurd/powerpc: Remove directory.
32264         * sysdeps/mach/powerpc: Likewise.
32266 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32268         * scripts/check-local-headers.sh: Ignore c++ headers.
32270 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32272         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32273         __libc_cleanup_region_start argument.
32275 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32277         [BZ #14784]
32278         [BZ #14785]
32279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32280         x * y using scaling, not as x * y + z.
32281         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32283         * math/libm-test.inc (fma_test): Add more tests.
32284         (fma_test_towardzero): Likewise.
32285         (fma_test_downward): Likewise.
32286         (fma_test_upward): Likewise.
32288 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32290         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32292 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32294         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32295         New variable.
32297 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32299         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32301 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32304         Fix sort order.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32306         Likewise.
32308 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32311         Fix the order of the list for glibc 2.17.
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32313         Likewise.
32315 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32319 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32321         [BZ #14610]
32322         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32323         for low part of x being zero before using __atanl (y).
32324         * math/libm-test.inc (atan2_test): Add another test.
32326         * manual/install.texi (Configuring and compiling): Document
32327         general use of test-wrapper and test-wrapper-env.
32328         * INSTALL: Regenerated.
32330         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32331         (__fma): Do not extract and scale down low bits on after-rounding
32332         systems when result rounded to normal precision would have normal
32333         exponent.
32334         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32335         (__fmal): Do not extract and scale down low bits on after-rounding
32336         systems when result rounded to normal precision would have normal
32337         exponent.
32338         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32339         (__fmal): Do not extract and scale down low bits on after-rounding
32340         systems when result rounded to normal precision would have normal
32341         exponent.
32342         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32343         macro.
32344         (fma_test): Add more tests.
32345         (fma_test_towardzero): Likewise.
32346         (fma_test_downward): Likewise.
32347         (fma_test_upward): Likewise.
32349 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32351         * sysdeps/i386/tininess.h: Renamed to ...
32352         * sysdeps/x86/tininess.h: This.
32353         * sysdeps/x86_64/tininess.h: Removed.
32355 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32357         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32358         input.  Use $(build-program-cmd).
32359         ($(objpfx)tst-array1-static.out): Likewise.
32360         ($(objpfx)tst-array2.out): Likewise.
32361         ($(objpfx)tst-array3.out): Likewise.
32362         ($(objpfx)tst-array4.out): Likewise.
32363         ($(objpfx)tst-array5.out): Likewise.
32364         ($(objpfx)tst-array5-static.out): Likewise.
32366 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32368         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32369         if defined.
32371         * nss/nsswitch.h (nss_interface_function): Provide new
32372         macro for use with NSS functions.
32373         * grp/initgroups.c: Use new macro.
32374         * nss/getXXbyYY.c: Likewise.
32375         * nss/getXXbyYY_r.c: Likewise.
32376         * nss/getXXent.c: Likewise.
32377         * nss/getXXent_r.c: Likewise.
32378         * sysdeps/posix/getaddrinfo.c: Likewise.
32380 2012-10-30  Andreas Jaeger  <aj@suse.de>
32382         * po/ru.po: Update Russion translation from translation project.
32384 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32386         [BZ #14152]
32387         [BZ #14783]
32388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32389         result and shift together with sticky bit instead of replicating
32390         round-to-nearest rounding.
32391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32392         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32393         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32394         missing underflow exceptions.
32395         (fma_test_towardzero): Add more tests.
32396         (fma_test_downward): Likewise.
32397         (fma_test_upward): Likewise.
32399         [BZ #14047]
32400         * sysdeps/generic/tininess.h: New file.
32401         * sysdeps/i386/tininess.h: Likewise.
32402         * sysdeps/sh/tininess.h: Likewise.
32403         * sysdeps/x86_64/tininess.h: Likewise.
32404         * stdlib/tst-strtod-underflow.c: Likewise.
32405         * stdlib/tst-tininess.c: Likewise.
32406         * stdlib/strtod_l.c: Include <tininess.h>.
32407         (round_and_return): Do not set errno for exact underflow cases.
32408         Force an underflow exception when setting errno for underflow.
32409         Determine underflow based on rounding to normal precision if
32410         TININESS_AFTER_ROUNDING.
32411         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32412         ERANGE for exact underflow cases.
32413         * stdlib/Makefile (tests): Add tst-tininess and
32414         tst-strtod-underflow.
32415         ($(objpfx)tst-tininess): Use $(link-libm).
32416         ($(objpfx)tst-strtod-underflow): Likewise.
32418 2012-10-30  Andreas Jaeger  <aj@suse.de>
32420         [BZ#14767]
32421         * elf/Makefile (tests): Remove conditional for have-initfini-array
32422         since this is now always required and the variable does not exist
32423         anymore.
32424         (tests-static): Likewise.
32425         (modules-names): Likewise.
32427         * po/eo.po: Add Esperanto translation from translation project.
32429         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32430         merged with constructor/destructor.
32431         (init_array): Likewise.
32432         * elf/tst-array2dep.c (fini_array): Likewise.
32433         (init_array): Likewise.
32435 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32437         * manual/message.texi: Delete @cartouche tags.
32439 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32441         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32442         EOPNOTSUPP.
32443         * sysdeps/mach/hurd/fsync.c: Likewise.
32445         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32446         [_POSIX_REALTIME_SIGNALS]: Change condition to
32447         [_POSIX_REALTIME_SIGNALS > 0].
32449 2012-10-27  Andreas Jaeger  <aj@suse.de>
32451         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32452         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32454         [__WORDSIZE != 64]: Likewise.
32456 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32458         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32459         *  iconvdata/tst-tables.sh: Likewise.
32461 2012-10-25  David S. Miller  <davem@davemloft.net>
32463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32464         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32465         of strtoull.
32467         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32468         ifunc-impl-list.c
32469         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32470         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32471         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32472         file.
32474 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32477         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32478         __getdirentries.
32480 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32481             Jim Blandy  <jimb@codesourcery.com>
32483         * scripts/cross-test-ssh.sh: New file.
32484         * manual/install.texi (Configuring and compiling): Document use of
32485         cross-test-ssh.sh.
32486         * INSTALL: Regenerated.
32488 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32490         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32491         EOPNOTSUPP.
32493 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32495         * Makeconfig (run-program-prefix): Fix comment.
32497 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32498             Jim Blandy  <jimb@codesourcery.com>
32500         * Makeconfig (test-wrapper): New variable,
32501         (test-wrapper-env): Likewise.
32502         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32503         (run-built-tests): Define to yes.
32504         (run-program-prefix): Use $(test-wrapper).
32505         (built-program-cmd): Likewise.
32506         * Rules (make-test-out): Use $(test-wrapper-env) and
32507         $(host-built-program-cmd).
32508         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32509         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32510         tst-pathopt.sh.
32511         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32512         $(test-wrapper-env) to tst-rtld-load-self.sh.
32513         ($(objpfx)order2.out): Use $(test-wrapper).
32514         ($(objpfx)tst-initorder.out): Likewise.
32515         ($(objpfx)tst-initorder2.out): Likewise.
32516         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32517         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32518         (test_wrapper_env): New variable.  Use it to run ld.so.
32519         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32520         Use it to run ld.so.
32521         (test_wrapper_env): Likewise.
32522         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32523         $(test-wrapper) to run-iconv-test.sh.
32524         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32525         (ICONV): Use $test_wrapper.
32526         * posix/Makefile ($(objpfx)globtest.out): Pass
32527         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32528         globtest.sh, not $(run-program-prefix).
32529         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32530         (test_wrapper): Likewise.
32531         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32532         set together with run_via_rtld_prefix.
32533         (run_program_prefix): Define in terms of test_wrapper and
32534         run_via_rtld_prefix.
32536 2012-10-24  Roland McGrath  <roland@hack.frob.com>
32538         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32539         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32540         Targets removed.
32542         [BZ #14743]
32543         * include/time.h: Remove librt_hidden_proto (clock_gettime).
32544         Declare __clock_getres, __clock_gettime, __clock_settime,
32545         __clock_nanosleep, and __clock_getcpuclockid.
32546         * rt/clock_gettime.c: Define __clock_gettime as an alias.
32547         Remove librt_hidden_def (clock_gettime).
32548         * sysdeps/unix/clock_gettime.c: Likewise.
32549         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32550         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32551         * rt/clock_getres.c: Define __clock_getres as an alias.
32552         * sysdeps/posix/clock_getres.c: Likewise.
32553         * rt/clock_settime.c: Define __clock_settime as an alias.
32554         * sysdeps/unix/clock_settime.c: Likewise.
32555         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32556         * sysdeps/unix/clock_nanosleep.c: Likewise.
32557         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32558         * rt/clock-compat.c: New file.
32559         * rt/Makefile (librt-routines): Add clock-compat and move
32560         $(clock-routines) to ...
32561         (routines): ... here, new variable.
32562         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32563         Don't add get_clockfreq here.
32564         * rt/Versions (libc: GLIBC_2.17): New version set.
32565         Add clock_* symbols here.
32566         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
32567         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32568         (GLIBC_2.17): Add clock_* symbols.
32569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32573         Likewise.
32574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32575         Likewise.
32576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32580         * NEWS: Mention the move.
32582         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32583         Use __open, __read, __close rather than their public counterparts.
32584         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32585         (__get_clockfreq_via_cpuinfo): Likewise.
32586         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32587         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32589         * config.h.in (HAVE_IFUNC): New #undef.
32590         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32591         was successful.
32592         * configure: Regenerated.
32594 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32596         * configure.in: Move READELF check to start of file.
32597         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32598         libc_cv_asm_gnu_indirect_function in the process.
32599         * configure: Regenerated.
32601 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32603         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32604         send the output to /dev/null.
32605         (libc_cv_cc_with_libunwind): Likewise.
32606         (libc_cv_as_noexecstack): Likewise.
32607         * configure: Regenerate.
32609 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32611         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32613         * posix/globtest.sh (TMPDIR): Do not set.
32614         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32615         (testout): Likewise.
32617 2012-10-24  Andreas Jaeger  <aj@suse.de>
32619         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32620         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32621         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32622         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32623         posix_fadvise64, posix_fallocate64.
32625         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32626         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32627         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32628         Likewise.
32629         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32630         Likewise.
32631         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32634         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32635         <bits/fcntl-linux.h>.
32636         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32638         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32639         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32640         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32641         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32642         [__WORDSIZE != 64]: Likewise.
32644 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32646         * Makeconfig (run-built-tests): New variable.
32647         * Rules [$(cross-compiling) = yes]: Change condition to
32648         [$(run-built-tests) = no].
32649         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32650         to [$(run-built-tests) = yes].
32651         * elf/Makefile [$(cross-compiling) = no]: Likewise
32652         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32653         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32654         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32655         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32656         * io/Makefile [$(cross-compiling) = no]: Likewise.
32657         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32658         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32659         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32660         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32661         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32662         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32663         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32664         * string/Makefile [$(cross-compiling) = no]: Likewise.
32666         * posix/Makefile ($(objpfx)globtest.out): Pass
32667         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32668         $(rtld-installed-name).
32669         * posix/globtest.sh (elf_objpfx): Remove variable.
32670         (rtld_installed_name): Likewise.
32671         (library_path): Likewise.
32672         (run_program_prefix): New variable.  Use for running globtest
32673         binary.
32675 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32676             Joseph Myers  <joseph@codesourcery.com>
32678         * Makeconfig (host-built-program-cmd): New variable.
32679         * elf/Makefile (tst-stackguard1-ARGS): Use
32680         $(host-built-program-cmd).
32681         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32682         (tst-spawn-ARGS): Likewise.
32683         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32685 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32686             Jim Blandy  <jimb@codesourcery.com>
32688         * Makeconfig (run-via-rtld-prefix): New variable.
32689         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32690         (built-program-cmd): Likewise.
32692 2012-10-22  Andreas Jaeger  <aj@suse.de>
32694         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32695         __O_RSYNC if it exists, otherwise to O_SYNC.
32697 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32698             Joseph Myers  <joseph@codesourcery.com>
32700         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32701         /dev/null.
32702         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32703         from /dev/null
32704         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32705         /dev/null.
32707 2012-10-22  Andreas Jaeger  <aj@suse.de>
32709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32710         Define always.
32711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32714         bits/fcntl-linux.h.
32716         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32717         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32720         to __O_LARGEFILE.
32721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32722         to __O_LARGEFILE.
32724 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32725             Joseph Myers  <joseph@codesourcery.com>
32727         * config.make.in (NM): New variable.
32729 2012-10-21  Andreas Jaeger  <aj@suse.de>
32731         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32732         definitions and declarations that are provided by
32733         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32735 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32737         [BZ #14683]
32738         * elf/Makefile (tests-static): Add tst-leaks1-static.
32739         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32740         ($(objpfx)tst-leaks1-static): New rule.
32741         ($(objpfx)tst-leaks1-static-mem): Likewise.
32742         (tst-leaks1-static-ENV): New macro.
32743         * elf/dl-open.c (dl_open_worker): Check the main application
32744         only if SHARED is defined.
32745         * elf/tst-leaks1-static.c: New file.
32747 2012-10-20  Andreas Jaeger  <aj@suse.de>
32749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32750         generic values for Linux.
32751         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32752         and declarations that are provided by <bits/fcntl-linux.h> and
32753         include <bits/fcntl-linux.h>.
32754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32757 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32759         * io/fcntl.h: Move include of <bits/types.h> to the top and
32760         include it unconditionally.
32762 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32764         * wcsmbs/Makefile (tests-ifunc): New variable.
32765         (tests): Add $(tests-ifunc).
32766         * wcsmbs/test-wcschr-ifunc.c: New file.
32767         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32768         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32769         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32770         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32771         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32773         * string/Makefile (tests-ifunc): New variable.
32774         (tests): Add $(tests-ifunc).
32775         * string/test-memccpy.c (TEST_NAME): New macro.
32776         * string/test-memchr.c (TEST_NAME): Likewise.
32777         * string/test-memcmp.c (TEST_NAME): Likewise.
32778         * string/test-memcpy.c (TEST_NAME): Likewise.
32779         * string/test-memmem.c (TEST_NAME): Likewise.
32780         * string/test-memmove.c (TEST_NAME): Likewise.
32781         * string/test-memset.c (TEST_NAME): Likewise.
32782         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32783         * string/test-stpcpy.c (TEST_NAME): Likewise.
32784         * string/test-stpncpy.c (TEST_NAME): Likewise.
32785         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32786         * string/test-strcasestr.c (TEST_NAME): Likewise.
32787         * string/test-strcat.c (TEST_NAME): Likewise.
32788         * string/test-strchr.c (TEST_NAME): Likewise.
32789         * string/test-strcmp.c(TEST_NAME): Likewise.
32790         * string/test-strcpy.c (TEST_NAME): Likewise.
32791         * string/test-strcspn.c (TEST_NAME): Likewise.
32792         * string/test-strlen.c (TEST_NAME): Likewise.
32793         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32794         * string/test-strncmp.c (TEST_NAME): Likewise.
32795         * string/test-strncpy.c (TEST_NAME): Likewise.
32796         * string/test-strnlen.c (TEST_NAME): Likewise.
32797         * string/test-strpbrk.c (TEST_NAME): Likewise.
32798         * string/test-strrchr.c (TEST_NAME): Likewise.
32799         * string/test-strspn.c (TEST_NAME): Likewise.
32800         * string/test-strstr.c (TEST_NAME): Likewise.
32801         * string/test-bcopy-ifunc.c: New file.
32802         * string/test-bzero-ifunc.c: Likewise.
32803         * string/test-memccpy-ifunc.c: Likewise.
32804         * string/test-memchr-ifunc.c: Likewise.
32805         * string/test-memcmp-ifunc.c: Likewise.
32806         * string/test-memcpy-ifunc.c: Likewise.
32807         * string/test-memmem-ifunc.c: Likewise.
32808         * string/test-memmove-ifunc.c: Likewise.
32809         * string/test-mempcpy-ifunc.c: Likewise.
32810         * string/test-memset-ifunc.c: Likewise.
32811         * string/test-rawmemchr-ifunc.c: Likewise.
32812         * string/test-stpcpy-ifunc.c: Likewise.
32813         * string/test-stpncpy-ifunc.c: Likewise.
32814         * string/test-strcasecmp-ifunc.c: Likewise.
32815         * string/test-strcasestr-ifunc.c: Likewise.
32816         * string/test-strcat-ifunc.c: Likewise.
32817         * string/test-strchr-ifunc.c: Likewise.
32818         * string/test-strchrnul-ifunc.c: Likewise.
32819         * string/test-strcmp-ifunc.c: Likewise.
32820         * string/test-strcpy-ifunc.c: Likewise.
32821         * string/test-strcspn-ifunc.c: Likewise.
32822         * string/test-strlen-ifunc.c: Likewise.
32823         * string/test-strncasecmp-ifunc.c: Likewise.
32824         * string/test-strncat-ifunc.c: Likewise.
32825         * string/test-strncmp-ifunc.c: Likewise.
32826         * string/test-strncpy-ifunc.c: Likewise.
32827         * string/test-strnlen-ifunc.c: Likewise.
32828         * string/test-strpbrk-ifunc.c: Likewise.
32829         * string/test-strrchr-ifunc.c: Likewise.
32830         * string/test-strspn-ifunc.c: Likewise.
32831         * string/test-strstr-ifunc.c: Likewise.
32833         * debug/Makefile (tests-ifunc): New variable.
32834         (tests): Add $(tests-ifunc).
32835         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32836         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32837         * debug/test-stpcpy_chk-ifunc.c: New file.
32838         * debug/test-strcpy_chk-ifunc.c: Likewise.
32840 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32842         [BZ #13601]
32843         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32844         header is not read in.
32846 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32848         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32849         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32850         directly.  Pass built executable to script as
32851         $(built-program-cmd).
32852         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32853         $testprogram without using LD_LIBRARY_PATH and $ldso.
32855         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32856         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32857         $(rtld-installed-name).
32858         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32859         (rtld_installed_name): Likewise.
32860         (library_path): Likewise.
32861         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32862         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32863         $(run-program-prefix) to tst-tables.sh.
32864         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32865         it to run tst-table-from and tst-table-to.
32866         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32867         Pass it to tst-table.sh.
32868         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32869         $(run-program-prefix) to tst-gettext.sh.
32870         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32871         tst-translit.sh.
32872         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32873         tst-gettext2.sh.
32874         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32875         to run tst-gettext.
32876         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32877         to run tst-gettext2.
32878         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32879         to run tst-translit.
32880         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32881         $(run-program-prefix) to tst-mtrace.sh.
32882         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32883         to run tst-mtrace.
32884         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32885         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32886         $(rtld-installed-name).
32887         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32888         (rtld_installed_name): Likewise.
32889         (run_program_prefix): New variable.  Use it to run wordexp-test.
32891         * Makeconfig (ARCH): Remove all definitions.
32892         (machine): Likewise.
32893         [ARCH]: Remove conditional code.
32894         [!objdir]: Give error.
32895         [!objdir] (objpfx): Remove.
32896         [!objdir] (common-objpfx): Likewise.
32897         [!objdir] (common-objdir): Likewise.
32898         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32899         AC_CONFIG_FILES call.
32900         * configure: Regenerated.
32902         [BZ #13888]
32903         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32904         or TMPDIR.
32905         (testout): Likewise.
32907         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32908         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32909         $(rtld-installed-name).
32910         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32911         (rtld_installed_name): Likwise.
32912         (runit): Remove function.
32913         (run_getconf): New variable,  Use it for running getconf binary.
32915 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32917         [BZ #14716]
32918         * string/test-memmem.c (check_result): New function.
32919         (do_one_test): Use it.
32920         (check1): New function.
32921         (test_main): Use it.
32923 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32925         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32927 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32929         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32930         (_G_LSEEK64): Likewise.
32931         (_G_MMAP64): Likewise.
32932         (_G_FSTAT64): Likewise.
32933         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32934         (_G_LSEEK64): Likewise.
32935         (_G_MMAP64): Likewise.
32936         (_G_FSTAT64): Likewise.
32937         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32938         unconditional.  Call __mmap64 directly.
32939         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32940         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32941         __lseek64 directly.
32942         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32943         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32944         __mmap64 directly.
32945         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32946         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32947         __lseek64 directly.
32948         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32949         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32950         __lseek64 directly.
32951         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32952         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32953         __lseek64 directly.
32954         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32955         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32956         __fxstat64 directly.
32957         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32958         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32959         unconditional.
32960         (freopen64) [!_G_OPEN64]: Remove conditional code.
32961         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32962         unconditional.
32963         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32964         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32965         unconditional.
32966         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32967         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32968         unconditional.
32969         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32970         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32971         unconditional.
32972         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32973         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32974         unconditional.
32975         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32976         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32977         unconditional.
32978         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32979         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32980         unconditional.
32981         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32983 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32985         [BZ #12140]
32986         * manual/memory.texi (Malloc Tunable Parameters): Add note
32987         about free list pointers overwriting some perturb bytes.
32988         Wording suggested by Roland McGrath.
32990 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
32992         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32993         (lgamma_test): Likewise.
32994         (tgamma_test): Likewise.
32996 2012-10-16  Florian Weimer  <fweimer@redhat.com>
32998         [BZ #14700]
32999         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33000         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33002 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33004         * NEWS: Mention BZ #14716.
33005         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33006         when removing AVAILABLE1_USES_J macro.
33008 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33010         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33011         (__bswap_64): __uint64_t for unsigned 64-bit int.
33013 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33015         * include/string.h (memmem): Declare libc hidden alias.
33016         * string/memmem.c (memmem): Define libc hidden alias.
33017         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33018         __read, __close instead of open, read, close.
33020 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33023         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33024         global and hidden.
33025         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33026         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33027         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33028         Likewise.
33029         (__rawmemchr_sse2): Likewise.
33030         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33031         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33032         (__strchr_sse2): Likewise.
33033         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33034         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33035         (__strcasecmp_sse2): Likewise.
33036         (__strncasecmp_sse2): Likewise.
33037         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33038         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33039         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33040         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33041         (__strrchr_sse2): Likewise.
33042         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33043         ifunc-impl-list.c.
33044         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33045         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33046         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33047         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33048         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33049         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33050         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33051         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33052         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33053         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33054         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33055         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33056         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33057         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33058         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33059         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33060         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33061         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33062         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33063         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33064         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33065         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33066         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33067         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33068         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33069         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33070         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33071         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33072         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33073         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33075         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33076         global and hidden.
33077         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33078         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33079         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33080         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33081         Likewise.
33082         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33083         Likewise.
33084         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33085         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33086         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33087         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33088         ifunc-impl-list.c.
33089         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33090         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33091         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33092         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33093         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33094         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33095         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33096         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33097         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33098         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33099         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33100         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33101         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33102         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33103         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33104         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33105         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33106         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33107         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33108         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33109         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33110         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33111         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33112         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33113         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33114         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33115         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33116         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33117         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33118         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33119         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33120         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33121         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33122         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33123         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33124         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33125         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33126         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33127         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33128         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33129         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33131         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33132         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33133         * include/ifunc-impl-list.h: New file.
33134         * misc/ifunc-impl-list.c: Likewise.
33135         * misc/Makefile (routines): Add ifunc-impl-list.
33136         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33137         * string/test-string.h: Include <ifunc-impl-list.h>.
33138         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33139         TEST_NAME]: New variables.
33140         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33141         are defined.
33142         (test_init): Call __libc_ifunc_impl_list to initialize
33143         func_list if TEST_IFUNC and TEST_NAME are defined.
33145         * string/Makefile (strop-tests): Add bcopy and bzero.
33146         * string/test-bcopy.c: New file.
33147         * string/test-bzero.c: Likewise.
33148         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33149         defined.
33150         * string/test-memset.c: Support bzero test if TEST_BZERO is
33151         defined.
33152         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33153         __libc_memmove.
33154         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33155         __libc_memset.
33156         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33157         of memset.
33159 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33161         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33162         * configure: Regenerated.
33164         * Makeconfig (+link-static-before-libc): Don't include
33165         $(link-static-libc).
33167         * libio/libio.h (_IO_pos_t): Remove.
33169 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33171         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33172         McGrath.
33174 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33176         * crypt/crypt-entry.c: Include fips-private.h.
33177         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33178         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33179         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33180         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33182 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33184         * crypt/crypt-private.h: Include stdbool.h.
33185         (_ufc_setup_salt_r): Return bool.
33186         * crypt/crypt-entry.c: Include errno.h.
33187         (__crypt_r): Return NULL with EINVAL for bad salt.
33188         * crypt/crypt_util.c (bad_for_salt): New.
33189         (_ufc_setup_salt_r): Check that salt is long enough and within
33190         the specified alphabet.
33191         * crypt/badsalttest.c: New file.
33192         * crypt/Makefile (tests): Add it.
33193         ($(objpfx)badsalttest): New.
33195 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33197         * NEWS: Add entry for BZ #14602.
33199 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33201         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33202         type-generic.
33203         * math/libm-test.inc: Update comment listing what functions and
33204         macros are tested.
33205         (isgreater_test): New function.
33206         (isgreaterequal_test): Likewise.
33207         (isless_test): Likewise.
33208         (islessequal_test): Likewise.
33209         (islessgreater_test): Likewise.
33210         (isunordered_test): Likewise.
33211         (main): Call the new functions.
33213 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33215         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33216         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33217         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33218         * sysdeps/i386/configure: Regenerated.
33219         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33220         * sysdeps/mach/configure: Regenerated.
33221         * sysdeps/mach/hurd/configure: Regenerated.
33222         * sysdeps/powerpc/configure: Regenerated.
33223         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33224         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33225         * sysdeps/s390/s390-32/configure: Regenerated.
33226         * sysdeps/s390/s390-64/configure: Regenerated.
33227         * sysdeps/sh/configure: Regenerated.
33228         * sysdeps/sparc/configure: Regenerated.
33229         * sysdeps/unix/sysv/linux/configure: Regenerated.
33230         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33231         * sysdeps/x86_64/configure: Regenerated.
33233         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33234         defined.  Don't check if MAP is NULL.
33236 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33238         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33239         (_G_stat64): Likewise.
33240         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33241         (_G_stat64): Likewise.
33242         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33243         instead of struct _G_stat64.
33244         * libio/fileops.c (mmap_remap_check): Likewise.
33245         (decide_maybe_mmap): Likewise.
33246         (_IO_new_file_seekoff): Likewise.
33247         (_IO_file_stat): Likewise.
33248         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33249         _G_off64_t.
33250         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33251         instead of struct _G_stat64.
33252         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33254 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33256         [BZ #14602]
33257         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33258         Replace with ...
33259         (CHECK_EOL): New macro.
33260         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33261         CHECK_EOL.
33262         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33263         Replace with CHECK_EOL.
33264         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33265         Replace with CHECK_EOL.
33267 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33269         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33270         type-generic.
33271         * math/libm-test.inc: Update comment listing what functions and
33272         macros are tested.
33273         (finite_test): New function.
33274         (isinf_test): Likewise.
33275         (isnan_test): Likewise.
33276         (fpclassify_test): Test subnormal input.
33277         (isfinite_test): Likewise.
33278         (isnormal_test): Likewise.
33279         (main): Call the new functions.
33281 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33283         [BZ #14660]
33284         * Makerules (%.dynsym): Force C locale when running
33285         $(OBJDUMP) --dynamic-syms.
33287 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33289         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33290         <stdint.h>.
33292 2012-10-06  David S. Miller  <davem@davemloft.net>
33294         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33295         upper 32-bits of the length value in %o2 since we use branch-on-register
33296         tests which consider the entire 64-bit register.
33298 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33300         * string/test-strstr.c (check2): Add a test for page boundary.
33302 2012-10-05  David S. Miller  <davem@davemloft.net>
33304         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33305         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33306         file.
33307         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33308         sysdep_routines.
33309         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33310         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33311         and bzero when HWCAP_SPARC_CRYPTO is present.
33313 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33315         [BZ #14602]
33316         * string/test-strstr.c (check2): New function.
33317         (test_main): Call check2.
33319         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33320         and bug-strchr1.
33321         * string/bug-strcasestr1.c (do_test): Moved to ...
33322         * string/test-strcasestr.c (check1): Here.  New function.
33323         (do_one_test): Break out result checking code into ...
33324         (check_result): This.  New function.
33325         (do_one_test): Call check_result.
33326         (test_main): Call check1.
33327         * string/bug-strchr1.c (do_test): Moved to ...
33328         * string/test-strchr.c (check1): Here.  New function.
33329         (do_one_test): Break out result checking code into ...
33330         (check_result): This.  New function.
33331         (do_one_test): Call check_result.
33332         (test_main): Call check1.
33333         * string/bug-strstr1.c (main): Moved to ...
33334         * string/test-strstr.c (check1): Here.  New function.
33335         (do_one_test): Break out result checking code into ...
33336         (check_result): This.  New function.
33337         (do_one_test): Call check_result.
33338         (test_main): Call check1.
33339         * string/bug-strcasestr1.c: Removed.
33340         * string/bug-strchr1.c: Likewise.
33341         * string/bug-strstr1.c: Likewise.
33343         * elf/Makefile (dl-routines): Add hwcaps.
33344         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33345         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33346         (_dl_important_hwcaps): Moved to ...
33347         * elf/dl-hwcaps.c: Here.  New file.
33348         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33350         [BZ #14557]
33351         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33352         if IS_IN_rtld isn't defined.
33354         * elf/dl-support.c (_dl_sysinfo_map): New.
33355         Include "get-dynamic-info.h" and "setup-vdso.h".
33356         (_dl_non_dynamic_init): Call setup_vdso.
33357         * elf/dynamic-link.h: Don't include <assert.h>.
33358         (elf_get_dynamic_info): Moved to ...
33359         * elf/get-dynamic-info.h: Here.  New file.
33360         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33361         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33362         * elf/setup-vdso.h: Here.  New file.
33363         * elf/rtld.c: Include "setup-vdso.h".
33364         (dl_main): Call setup_vdso.
33366 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33368         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33369         creal in comment listing functions tested.  List finite, isinf,
33370         isnan, isless, islessequal, isgreater, isgreaterequal,
33371         islessgreater, isunordered, lgamma_r and pow10 as functions and
33372         macros not tested.  Mention which functions not tested are aliases
33373         for other functions.  Fix typo.  Note that signs of NaNs are not
33374         tested.
33376         * scripts/config.guess: Update from config.git.
33377         * scripts/config.sub: Likewise.
33379 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33381         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33382         * misc/madvise.c (madvise): Renamed to __madvise.
33383         Make madvise a weak alias.
33384         * include/sys/mman.h: Declare __madvise.
33385         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33386         * sysdeps/unix/syscalls.list
33387         (madvise): Make __madvise the strong name, and madvise a weak alias.
33388         * sysdeps/unix/sysv/linux/syscalls.list
33389         (madvise, mmap): Remove redundant entries.
33390         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33391         * malloc/malloc.c (mtrim): Likewise.
33392         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33394 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33396         * sysdeps/mach/hurd/dl-cache.c: File removed.
33397         * config.h.in (USE_LDCONFIG): New #undef.
33398         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33399         * configure: Regenerated.
33400         * elf/Makefile (dl-routines): Add dl-cache only under
33401         [$(use-ldconfig) = yes].
33402         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33403         cache on [USE_LDCONFIG].
33404         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33405         [USE_LDCONFIG].
33406         * elf/rtld.c (dl_main): Likewise.
33408 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33410         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33411         _SC_LEVEL4_CACHE_LINESIZE.
33413 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33415         * sysdeps/unix/bsd/confstr.h: File removed.
33417 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33419         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33420         sys/sdt-config.h.
33422 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33424         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33425         Make 'mapoff' field ElfW(Off) rather than off_t.
33427 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33429         * nscd/Makefile: Remove nscd-cflags and all its users.
33430         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33431         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33433         [BZ #10631]
33434         * malloc.c (malloc_printerr): Clarify error message.
33436 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33438         [BZ #14648]
33439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33440         Set bit_FMA_Usable if FMA is supported.
33441         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33442         macro.
33443         (bit_FMA4_Usable): Updated.
33444         (index_FMA_Usable): New macro.
33445         (CPUID_FMA): Likewise
33446         (HAS_FMA): Defined with bit_FMA_Usable.
33448 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33450         * bits/types.h (__swblk_t): Type removed.
33451         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33452         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33453         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33454         (__SWBLK_T_TYPE): Likewise.
33455         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33456         (__SWBLK_T_TYPE): Likewise.
33457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33458         (__SWBLK_T_TYPE): Likewise.
33459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33460         (__SWBLK_T_TYPE): Likewise.
33462 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33463             Honza Horak <hhorak@redhat.com>
33465         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33466         (xdr_mapname): Use YPMAXMAP as maxsize.
33467         (xdr_peername): Use YPMAXPEER as maxsize.
33468         (xdr_keydat): Use YPAXRECORD as maxsize.
33469         (xdr_valdat): Use YPMAXRECORD as maxsize.
33471 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33473         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33475         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33476         * csu/init-first.c: ... here.
33477         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33478         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33479         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33480         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33481         * sysdeps/i386/init-first.c: File removed.
33482         * sysdeps/sh/init-first.c: File removed.
33484 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33486         [BZ #14645]
33487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33488         if x * y might underflow to zero and z is zero.
33489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33490         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33491         * math/libm-test.inc (min_subnorm_value): New variable.
33492         (fma_test): Add more tests.
33493         (fma_test_towardzero): Likewise.
33494         (fma_test_downward): Likewise
33495         (fma_test_upward): Likewise.
33496         (initialize): Set min_subnorm_value.
33498 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33500         [BZ #14638]
33501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33502         0 + 0.
33503         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33504         mode for addition resulting in exact zero.
33505         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33506         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33507         exact 0 + 0.
33508         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33509         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33510         * math/libm-test.inc (fma_test): Add more tests.
33511         (fma_test_towardzero): New function.
33512         (fma_test_downward): Likewise.
33513         (fma_test_upward): Likewise.
33514         (main): Call the new functions.
33516 2012-09-28  David S. Miller  <davem@davemloft.net>
33518         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33520 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33522         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33523         instead of SIGALRM.
33525         * sysdeps/gnu/_G_config.h: Moved to ...
33526         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33527         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33528         * sysdeps/generic/_G_config.h: ... here.
33530         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33532         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33534         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33535         Conditionalize target on [libnss_test1.so-version].
33537         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33539         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33540         (elfobjdir): Move out of conditionals.
33542         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33543         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33544         (__nss_lookup_function): Conditionalize label remove_from_tree on
33545         [!DO_STATIC_NSS || SHARED], matching its only use.
33547 2012-09-28  David S. Miller  <davem@davemloft.net>
33549         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33550         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33551         file.
33552         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33553         sysdep_routines.
33554         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33555         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33556         when HWCAP_SPARC_CRYPTO is present.
33558 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33560         * io/tst-mknodat.c: Create a FIFO instead of a socket.
33562 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
33564         [BZ #6530]
33565         * stdio-common/vfprintf.c (process_string_arg): Revert
33566         2000-07-22 change.
33568 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
33570         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33571         for testcase.
33572         * stdio-common/tst-sprintf.c: Include <locale.h>
33573         (main): Test sprintf's handling of incomplete multibyte
33574         characters.
33576 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
33578         * elf/dl-runtime.c (VERSYMIDX): Removed.
33579         * elf/dl-version.c (VERSYMIDX): Likewise.
33580         * elf/do-rel.h (VERSYMIDX): Likewise.
33581         (VALIDX): Likewise.
33582         * elf/dynamic-link.h (VERSYMIDX): Likewise.
33583         * elf/rtld.c (VALIDX): Likewise.
33584         (ADDRIDX): Likewise.
33585         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33586         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33587         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33588         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33589         (VALIDX): Likewise.
33590         (ADDRIDX): Likewise.
33592 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33594         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33596 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
33598         [BZ #11438]
33599         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33600         to global scope.
33601         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33602         addresses are in the same scope as 192.0.2/24.
33603         * posix/gai.conf: Document new scope table defaults.
33605 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33607         [BZ #5298]
33608         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33609         for ftell.  Compute offsets from write pointers instead.
33610         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33612 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33614         [BZ #14543]
33615         * libio/Makefile (tests): New test case tst-fseek.
33616         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33617         combination works in wide mode.
33618         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33619         state when the external buffer state changes.
33621 2012-09-27  David S. Miller  <davem@davemloft.net>
33623         [BZ #14376]
33624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33625         pass reloc->r_addend in as the 'high' argument to
33626         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33630 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33632         * rt/tst-aio2.c: Include <pthread.h>.
33633         * rt/tst-aio3.c: Likewise.
33635 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33637         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33639 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33641         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33642         contents on [SHARED].
33644 2012-09-26  Marek Polacek  <polacek@redhat.com>
33646         [BZ #14530]
33647         [BZ #13741]
33648         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33649         for C++ and GCC <4.3 as well as for non GCC compilers.
33651 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33655 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33657         * Makefile.in (all, install): Declare with .PHONY.
33658         Reported by Michael Hope <michael.hope@linaro.org>.
33660 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33662         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33663         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33664         system header.
33665         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33666         Likewise.
33667         (sydep_routines): Add the new and the internal functions.
33668         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33669         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33671         (GLIBC_2.17): Add the new function.
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33673         (GLIBC_2.17): Likewise.
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33675         (GLIBC_2.17): Likewise.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33677         (GLIBC_2.17): Likewise.
33678         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33680 2012-09-25  Alan Modra  <amodra@gmail.com>
33682         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33683         Add release barrier before setting once_control to say
33684         initialisation is done.  Add hints on lwarx.  Use macro in
33685         place of isync.
33686         (clear_once_control): Add release barrier.
33688 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33690         [BZ #13629]
33691         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33692         specially.
33693         * math/s_clog10.c (__clog10): Likewise.
33694         * math/s_clog10f.c (__clog10f): Likewise.
33695         * math/s_clog10l.c (__clog10l): Likewise.
33696         * math/s_clogf.c (__clogf): Likewise.
33697         * math/s_clogl.c (__clogl): Likewise.
33698         * math/Makefile (libm-calls): Add x2y2m1.
33699         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33700         (__x2y2m1): Likewise.
33701         (__x2y2m1l): Likewise.
33702         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33703         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33704         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33705         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33706         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33707         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33708         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33709         * sysdeps/i386/fpu/libm-test-ulps: Update.
33710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33712         [BZ #14621]
33713         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33714         int as type of variable DEPTH.
33715         (glob): Use size_t instead of int as type of variables NEWCOUNT
33716         and OLD_PATHC.
33718 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33720         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33721         Add s_sincosf-sse2.
33722         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33723         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33724         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33725         macros for using routine as __sincosf_ia32.
33726         Use macro for function declaration and weak_alias.
33727         * sysdeps/i386/fpu/libm-test-ulps: Update.
33729         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33732         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33733         subnormal argument.
33734         * math/s_cexpf.c (__cexpf): Likewise.
33735         * math/s_csinf.c (__csinf): Likewise.
33736         * math/s_csinhf.c (__csinhf): Likewise.
33737         * math/s_ctanf.c (__ctanf): Likewise.
33738         * math/s_ctanhf.c (__ctanhf): Likewise.
33739         * math/s_ccosh.c (__ccoshf): Likewise.
33740         * math/s_cexp.c (__cexpl): Likewise.
33741         * math/s_csin.c (__csin): Likewise.
33742         * math/s_csinh.c (__csinh): Likewise.
33743         * math/s_ctan.c (__ctan): Likewise.
33744         * math/s_ctanh.c (ctanh): Likewise.
33745         * math/s_ccoshl.c (__ccoshl): Likewise.
33746         * math/s_cexpl.c (__cexpl): Likewise.
33747         * math/s_csinl.c (__csinl): Likewise.
33748         * math/s_csinhl.c (__csinhl): Likewise.
33749         * math/s_ctanl.c (__ctanl): Likewise.
33750         * math/s_ctanhl.c (__ctanhl): Likewise.
33752 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33754         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33755         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33756         (_IO_off_t): Define to __off_t, not _G_off_t.
33757         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33758         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33759         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33760         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33761         type of __dummy and __dummy2 fields.
33762         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33763         (_G_ssize_t): Likewise.
33764         (_G_off_t): Likewise.
33765         (_G_pid_t): Likewise.
33766         (_G_uid_t): Likewise.
33767         (_G_wchar_t): Likewise.
33768         (_G_wint_t): Likewise.
33769         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33770         (_G_ssize_t): Likewise.
33771         (_G_off_t): Likewise.
33772         (_G_pid_t): Likewise.
33773         (_G_uid_t): Likewise.
33774         (_G_wchar_t): Likewise.
33775         (_G_wint_t): Likewise.
33776         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33777         (_G_ssize_t): Likewise.
33778         (_G_off_t): Likewise.
33779         (_G_pid_t): Likewise.
33780         (_G_uid_t): Likewise.
33781         (_G_wchar_t): Likewise.
33782         (_G_wint_t): Likewise.
33784 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33786         * malloc/arena.c: Include malloc-sysdep.h.
33787         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33788         is sufficient to shrink the heap or an unmap is needed.
33789         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33790         new function check_may_shrink_heap.
33791         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33792         new function check_may_shrink_heap.
33794 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33796         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33797         comments.
33799 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33801         * catgets/test-gencat.sh: Add "set -e".
33802         * elf/tst-pathopt.sh: Likewise.
33803         * grp/tst_fgetgrent.sh: Likewise.
33804         * iconvdata/run-iconv-test.sh: Likewise.
33805         * intl/tst-gettext.sh: Likewise.
33806         * intl/tst-gettext2.sh: Likewise.
33807         * intl/tst-gettext4.sh: Likewise.
33808         * intl/tst-gettext6.sh: Likewise.
33809         * intl/tst-translit.sh: Likewise.
33810         * io/ftwtest-sh: Likewise.
33811         * libio/test-freopen.sh: Likewise.
33812         * malloc/tst-mtrace.sh: Likewise.
33813         * posix/globtest.sh: Likewise.
33814         * posix/tst-getconf.sh: Likewise.
33815         * posix/wordexp-tst.sh: Likewise.
33816         * stdio-common/tst-printf.sh: Likewise.
33817         * stdio-common/tst-unbputc.sh: Likewise.
33818         * stdlib/tst-fmtmsg.sh: Likewise.
33819         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33820         * catgets/Makefile: Do not specify -e option when running
33821         testsuite shell scripts.
33822         * elf/Makefile: Likewise.
33823         * grp/Makefile: Likewise.
33824         * iconvdata/Makefile: Likewise.
33825         * intl/Makefile: Likewise.
33826         * io/Makefile: Likewise.
33827         * libio/Makefile: Likewise.
33828         * malloc/Makefile: Likewise.
33829         * posix/Makefile: Likewise.
33830         * stdio-common/Makefile: Likewise.
33831         * stdlib/Makefile: Likewise.
33832         * sysdeps/x86_64/Makefile: Likewise.
33834         * io/ftwtest-sh: Add copyright header.
33835         * posix/globtest.sh: Likewise.
33836         * posix/tst-getconf.sh: Likewise.
33837         * posix/wordexp-tst.sh: Likewise.
33838         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33840 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33842         [BZ #13679]
33843         * Makeconfig (+link): Defined as $(+link-static) if
33844         $(build-shared) isn't yes.
33845         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33846         isn't yes.
33847         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33849         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33851         [BZ #14562]
33852         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33853         new chunk size with MALLOC_ALIGN_MASK.
33855 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33857         [BZ #5044]
33858         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33859         <rounding-mode.h>.
33860         (__printf_fphex): Determine rounding using get_rounding_mode and
33861         round_away.
33862         * stdio-common/tst-printf-round.c (struct hex_test): New
33863         structure.
33864         (hex_tests): New variable.
33865         (test_hex_in_one_mode): New function.
33866         (do_test): Also run tests for hex float output.
33868 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33870         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33871         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33872         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33873         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33874         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33875         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33876         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33877         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33879 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33881         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33882         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33883         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33884         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33886 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33888         [BZ #14579]
33889         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33890         mode only.
33891         * elf/tst-rtld-load-self.sh: New test.
33892         * elf/Makefile: Run it.
33894 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33896         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33897         (tst-writev-ENV): Remove.
33898         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33900 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33902         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33904 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33906         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33907         unconditional.
33908         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33909         Likewise.
33910         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33911         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33912         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33913         Likewise.
33915 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33917         [BZ #14587]
33918         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33919         * config.make.in (have-cpp-asm-debuginfo): Removed.
33920         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33921         * configure: Regenerated.
33923 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33925         [BZ #5044]
33926         * stdio-common/printf_fp.c: Include <stdbool.h> and
33927         <rounding-mode.h>.
33928         (___printf_fp): Determine rounding using get_rounding_mode and
33929         round_away.
33930         * stdio-common/tst-printf-round.c: New file.
33931         * stdio-common/Makefile (tests): Add tst-printf-round.
33932         (link-libm): New variable.
33933         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33935 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33937         [BZ #14576]
33938         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33939         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33940         Likewise.
33941         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33942         Likewise.
33944 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33946         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33947         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33948         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33949         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33951 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33953         [BZ #14518]
33954         * include/rounding-mode.h: New file.
33955         * sysdeps/generic/get-rounding-mode.h: Likewise.
33956         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33957         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33958         (MAX_VALUE): New macro.
33959         (MIN_VALUE): Likewise.
33960         (overflow_value): New function.
33961         (underflow_value): Likewise.
33962         (round_and_return): Use overflow_value and underflow_value to
33963         determine return values in overflow and underflow cases.  Use
33964         round_away to determine rounding depending on rounding mode.
33965         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33966         determine return values in overflow and underflow cases.
33967         * stdlib/tst-strtod-round.c: Include <fenv.h>.
33968         (struct test_results): New structure.
33969         (struct test): Use struct test_results to store expected results
33970         for all rounding modes.
33971         (TEST): Include expected results for all rounding modes.
33972         (test_in_one_mode): New function.
33973         (do_test): Use test_in_one_mode to compute and check results.
33974         Check results for all rounding modes.
33975         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33976         $(link-libm).
33978 2012-12-09  Allan McRae  <allan@archlinux.org>
33980         * sysdeps/i386/fpu/libm-test-ulps: Update
33982 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
33984         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33985         (_G_int32_t): Likewise.
33986         (_G_uint16_t): Likewise.
33987         (_G_uint32_t): Likewise.
33988         (_G_HAVE_BOOL): Likewise.
33989         (_G_HAVE_ATEXIT): Likewise.
33990         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33991         (_G_HAVE_IO_FILE_OPEN): Likewise.
33992         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33993         (_G_int32_t): Likewise.
33994         (_G_uint16_t): Likewise.
33995         (_G_uint32_t): Likewise.
33996         (_G_HAVE_BOOL): Likewise.
33997         (_G_HAVE_ATEXIT): Likewise.
33998         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33999         (_G_HAVE_IO_FILE_OPEN): Likewise.
34000         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34001         (_G_int32_t): Likewise.
34002         (_G_uint16_t): Likewise.
34003         (_G_uint32_t): Likewise.
34004         (_G_HAVE_BOOL): Likewise.
34005         (_G_HAVE_ATEXIT): Likewise.
34006         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34007         (_G_HAVE_IO_FILE_OPEN): Likewise.
34009 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34011         * csu/libc-tls.c: Update copyright years.
34013 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34015         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34016         [!_G_USING_THUNKS]: Remove conditional code.
34017         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34018         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34020         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34021         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34022         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34023         (_G_VTABLE_LABEL_PREFIX): Likewise.
34024         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34025         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34026         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34027         (_G_VTABLE_LABEL_PREFIX): Likewise.
34028         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34029         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34030         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34031         (_G_VTABLE_LABEL_PREFIX): Likewise.
34032         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34034 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34036         * libio/Makefile: Include ../Makeconfig before tests.
34037         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34038         only if $(build-shared) is yes.
34040         * iconv/gconv_db.c: Update copyright years.
34042 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34044         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34045         unwind info if defined PIC. Fix special cases description.
34046         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34048         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34049         DP_HI_MASK entry.
34050         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34052 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34054         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34056         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34057         is NULL.
34059         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34060         (LDLIBS-tst-chk4): This.
34061         (LDFLAGS-tst-chk5): Renamed to ...
34062         (LDLIBS-tst-chk5): This.
34063         (LDFLAGS-tst-chk6): Renamed to ...
34064         (LDLIBS-tst-chk6): This.
34065         (LDFLAGS-tst-lfschk4): Renamed to ...
34066         (LDLIBS-tst-lfschk4): This.
34067         (LDFLAGS-tst-lfschk5): Renamed to ...
34068         (LDLIBS-tst-lfschk5): This.
34069         (LDFLAGS-tst-lfschk6): Renamed to ...
34070         (LDLIBS-tst-lfschk6): This.
34072         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34073         on $(common-objpfx)soversions.mk.
34075 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34077         [BZ #10014]
34078         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34079         example host name.
34081 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34083         * malloc/arena.c (arena_get_retry): New function that gets
34084         another arena for the caller to try its request on.
34085         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34086         current arena cannot fulfill the request.
34087         (__libc_memalign): Likewise.
34088         (__libc_memalign): Likewise.
34089         (__libc_pvalloc): Likewise.
34090         (__libc_calloc): Likewise.
34092 2012-09-05  John Tobey  <john.tobey@gmail.com>
34094         [BZ #13542]
34095         * manual/arith.texi (Operations on Complex): Fix description
34096         of carg branch cut.
34098 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34100         [BZ #10014]
34101         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34102         host name.
34104         [BZ #10038]
34105         * manual/memory.texi (Memory): Make order of menu items match
34106         order of sections.
34108 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34110         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34111         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34112         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34114 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34116         * csu/libc-tls.c (static_dtv): Renamed to ...
34117         (_dl_static_dtv): This.  Make it global.
34118         (_dl_initial_dtv): Removed.
34119         (__libc_setup_tls): Updated.
34120         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34121         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34122         DL_INITIAL_DTV.
34124 2012-09-06  Petr Machata  <pmachata@redhat.com>
34126         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34127         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34128         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34129         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34131 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34133         [BZ #14545]
34134         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34135         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34136         freeing dtv[-1].
34138 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34140         [BZ #14544]
34141         * Makeconfig (link-static-before-libc): Replace $(+prector)
34142         with $(+prectorT).
34143         (link-static-after-libc): Replace $(+postctor) with
34144         $(+postctorT).
34145         (link-bounded): Replace $(+prector)/$(+postctor) with
34146         $(+prectorT)/$(+postctorT).
34147         (+prectorT): New macro.
34148         (+postctorT): Likewise.
34150 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34152         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34153         (round_str): Handle values above the maximum for IBM long double
34154         as inexact.
34155         * stdlib/tst-strtod-round.c (tests): Regenerated.
34157 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34159         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34160         assembler flag.
34161         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34162         zarch_nohighgprs around the zarch optimized routines.
34163         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34164         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34165         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34166         for zarch.
34168 2012-09-05  David S. Miller  <davem@davemloft.net>
34170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34172         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34173         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34174         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34175         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34176         entries.
34178 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34180         * malloc/arena.c: Fold copyright years.
34181         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34183 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34185         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34187 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34189         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34191 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34193         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34194         change internal state upon failure.
34196 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34198         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34199         * malloc/memusage.c (mmap): Likewise.
34200         (mmap64, mremap): Likewise.  Adjust name in comment.
34202 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34204         * libio/fileops.c: Fix typos in comments.
34205         * libio/oldfileops.c: Likewise.
34206         * libio/wfileops.c: Likewise.
34208 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34210         [BZ #1349]
34211         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34212         (tst-malloc-usable-ENV): Set environment for test case.
34213         * malloc/hooks.c (malloc_check_get_size): New function to get
34214         requested size.
34215         * malloc/malloc.c (musable): Use malloc_check_get_size.
34216         * malloc/tst-malloc-usable.c: New test case.
34218 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34220         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34222 2012-09-05  Allan McRae  <allan@archlinux.org>
34224         [BZ #13966]
34225         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34226         determine header location.
34227         * configure: Regenerated.
34229 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34231         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34232         float format.
34233         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34234         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34235         format.
34236         (test): Regenerate.
34238 2012-09-04  David S. Miller  <davem@davemloft.net>
34240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34242         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34244 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34246         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34247         failures.
34249         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34251 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34253         [BZ #9914]
34254         * libio/iogetdelim.c: Include <limits.h>.
34255         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34256         + len + 1 would overflow.
34258 2012-09-03  Andreas Jaeger  <aj@suse.de>
34260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34261         * sysdeps/i386/fpu/libm-test-ulps: Update.
34263 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34265         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34266         Add s_sinf-sse2, s_conf-sse2.
34268         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34269         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34270         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34271         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34273         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34274         for using routine as __sinf_ia32.
34275         Use macro for function declaration and weak_alias.
34276         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34277         for using routine as __cosf_ia32.
34278         Use macro for function declaration and weak_alias.
34280         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34281         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34283         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34284         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34287         * math/libm-test.inc (cos_test): Add more test cases.
34288         (sin_test): Likewise.
34289         (sincos_test): Likewise.
34291 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34293         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34294         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34295         hidden.
34296         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34298 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34300         [BZ #14538]
34301         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34302         first element of the GOT.
34303         (elf_machine_load_address): Return the difference between
34304         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34306 2012-09-01  Allan McRae  <allan@archlinux.org>
34308         [BZ #13412]
34309         * configure.in (AWK): Require gawk version 3.0 or later.
34310         * configure: Regenerated.
34312 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34314         * sysdeps/unix/sysv/linux/kernel-features.h
34315         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34316         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34317         [__NR_clock_getres]: Make code unconditional.
34318         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34319         (clock_getcpuclockid): Remove code left unreachable by removal of
34320         conditionals.
34321         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34322         code unconditional.
34323         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34324         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34325         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34326         Make code unconditional.
34327         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34328         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34329         * sysdeps/unix/sysv/linux/clock_settime.c
34330         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34331         conditional code.
34332         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34333         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34335 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34337         [BZ #14476]
34338         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34339         scripts/test-installation.pl.
34341         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34342         and $ld_so_version if it is set.
34344 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34346         [BZ #14516]
34347         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34348         failure if reading from procfs failed.
34349         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34351 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34353         * sysdeps/unix/sysv/linux/kernel-features.h
34354         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34355         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34356         Remove conditional code.
34357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34358         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34359         Remove conditional code.
34360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34361         * sysdeps/unix/sysv/linux/i386/fxstat.c
34362         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34364         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34365         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34367         * sysdeps/unix/sysv/linux/i386/lxstat.c
34368         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34370         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34371         Remove conditional code.
34372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34373         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34374         Remove conditional code.
34375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34376         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34377         <kernel-features.h>.
34378         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34379         Remove.
34380         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34381         Remove conditional code.
34382         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34383         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34384         Remove conditional.
34386 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34388         [BZ #5400]
34389         * NEWS: Add fixed bug number.
34391 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34393         [BZ #14519]
34394         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34395         underflowing exponent in case of negative sign.
34396         * stdlib/tst-strtod-round-data: Add more tests.
34397         * stdlib/tst-strtod-round.c (tests): Regenerated.
34399         [BZ #3479]
34400         * stdlib/strtod_l.c (NDIG): Remove.
34401         (HEXNDIG): Likewise.
34402         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34403         smallest representable value.
34404         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34405         lie within an exact representation of 1/2 ulp of the result.
34406         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34407         unconditionally.
34408         (TENS_P9_IDX): Define unconditionally.
34409         (TENS_P9_SIZE): Likewise.
34410         (TENS_P10_IDX): Likewise.
34411         (TENS_P10_SIZE): Likewise.
34412         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34413         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34414         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34415         entries for 10^2^13 and 10^2^14.
34416         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34417         (TENS_P13_IDX): Define.
34418         (TENS_P13_SIZE): Likewise.
34419         (TENS_P14_IDX): Likewise.
34420         (TENS_P14_SIZE): Likewise.
34421         (_fpioconst_pow10): Change array size to
34422         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34423         unconditional.
34424         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34425         1024]: Add entries for 10^2^13 and 10^2^14.
34426         [LAST_POW10 > _LAST_POW10]: Remove #error.
34427         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34428         (_fpioconst_pow10): Change array size to
34429         FPIOCONST_POW10_ARRAY_SIZE.
34430         * stdlib/gen-fpioconst.c: New file.
34431         * stdlib/gen-tst-strtod-round.c: Likewise.
34432         * stdlib/tst-strtod-round-data: Likewise.
34433         * stdlib/tst-strtod-round.c: Likewise.
34434         * stdlib/Makefile (tests): Add tst-strtod-round.
34436         [BZ #14459]
34437         * stdlib/strtod_l.c: Include <stdint.h>.
34438         (NDEBUG): Do not define.
34439         (round_and_return): Change EXPONENT parameter to type intmax_t.
34440         Rearrange calculations to avoid internal overflow possibilities.
34441         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34442         Rearrange calculations to avoid internal overflow possibilities.
34443         Assert that number fits inside MPNSIZE limbs.
34444         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34445         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34446         calculations and add assertions to avoid internal overflow
34447         possibilities.  Add casts to avoid signed/unsigned operations.
34448         * stdlib/tst-strtod-overflow.c: New file.
34449         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34451 2012-08-25  Marek Polacek  <polacek@redhat.com>
34453         * time/time.h: Fix some typos in comments.
34455 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34457         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34458         * posix/tst-rfc3484-2.c: Likewise.
34459         * posix/tst-rfc3484-3.c: Likewise.
34461 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34463         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34464         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34466 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34468         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34469         #include of fxstatat64.c.
34471 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34473         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34474         * shadow/getspent_r.c: Likewise.
34475         * shadow/getspnam.c: Likewise.
34476         * shadow/getspnam_r.c: Likewise.
34477         * gshadow/getsgent.c: Likewise.
34478         * gshadow/getsgent_r.c: Likewise.
34479         * gshadow/getsgnam.c: Likewise.
34480         * gshadow/getsgnam_r.c: Likewise.
34481         * inet/getnetbyad.c: Likewise.
34482         * inet/getnetbyad_r.c: Likewise.
34483         * inet/getnetbynm.c: Likewise.
34484         * inet/getnetbynm_r.c: Likewise.
34485         * inet/getnetent.c: Likewise.
34486         * inet/getnetent_r.c: Likewise.
34487         * inet/getproto.c: Likewise.
34488         * inet/getproto_r.c: Likewise.
34489         * inet/getprtent.c: Likewise.
34490         * inet/getprtent_r.c: Likewise.
34491         * inet/getprtname.c: Likewise.
34492         * inet/getprtname_r.c: Likewise.
34493         * inet/getrpcbyname.c: Likewise.
34494         * inet/getrpcbyname_r.c: Likewise.
34495         * inet/getrpcbynumber.c: Likewise.
34496         * inet/getrpcbynumber_r.c: Likewise.
34497         * inet/getrpcent.c: Likewise.
34498         * inet/getrpcent_r.c: Likewise.
34499         * inet/getaliasent.c: Likewise.
34500         * inet/getaliasent_r.c: Likewise.
34501         * inet/getaliasname.c: Likewise.
34502         * inet/getaliasname_r.c: Likewise.
34503         * nscd/getgrgid_r.c: Likewise.
34504         * nscd/getgrnam_r.c: Likewise.
34505         * nscd/gethstbyad_r.c: Likewise.
34506         * nscd/gethstbynm3_r.c: Likewise.
34507         * nscd/getpwnam_r.c: Likewise.
34508         * nscd/getpwuid_r.c: Likewise.
34509         * nscd/getsrvbynm_r.c: Likewise.
34510         * nscd/getsrvbypt_r.c: Likewise.
34511         * nscd/gai.c: Likewise.
34513         * configure.in (build_nscd): New substituted variable, set
34514         by --disable-build-nscd and defaults to $use_nscd.
34515         * configure: Regenerated.
34516         * config.make.in (build-nscd): New substituted variable.
34517         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34518         Change conditional to require [$(build-nscd) = yes] as well.
34519         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34521         [BZ# 13696]
34522         * configure.in (use_nscd): New substituted variable, set by
34523         --disable-nscd.  If enabled, define USE_NSCD.
34524         * configure: Regenerated.
34525         * config.h.in: Add USE_NSCD.
34526         * config.make.in (use-nscd): New substituted variable.
34527         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34528         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34529         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34530         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34531         (CFLAGS-getgrnam_r.c): Likewise.
34532         (CFLAGS-initgroups.c): Likewise.
34533         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34534         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34535         Variables removed.
34536         * inet/getnetgrent_r.c
34537         (nscd_setnetgrent): New function, broken out of ...
34538         (setnetgrent): ... here.  Call it.
34539         (innetgr): Conditionalize nscd bits on [USE_NSCD].
34540         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34541         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34542         * nscd/Makefile (routines, aux): Move definitions after include of
34543         Makeconfig.  Conditionalize on [$(use-nscd) != no].
34544         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34545         Conditionalize on [USE_NSCD].
34546         (is_nscd, nscd_init_cb): Likewise.
34547         (nss_load_library): Conditionalize init callback on [USE_NSCD].
34548         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34549         * nss/nss_db/db-init.c: Likewise.
34550         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34551         [USE_NSCD].
34552         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34553         (make_request): Use it.
34554         (cache_valid_p): New function.
34555         (__check_pf): Use it.
34556         * NEWS: Add item for --disable-nscd.
34558 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
34560         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34561         to support sed >= 4.2.1-20-ga9bf076.
34562         * configure: Regenerated.
34564 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34566         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34567         Conditionalize whole body on [IREL].
34569 2012-08-22  Jeff Law <law@redhat.com>
34571         [BZ #14505]
34572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34573         if the family is PF_UNSPEC.
34575 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
34577         * Makerules (lib-version): Rename from V.
34578         (install-lib-nosubdir): Change V to lib-version.
34580 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
34582         [BZ #14252]
34583         * powerpc32/power6/wcschr.c: New file.
34584         * powerpc32/power6/wcscpy.c: New file.
34585         * powerpc32/power6/wcsrchr.c: New file.
34586         * powerpc64/power6/wcschr.c: New file.
34587         * powerpc64/power6/wcscpy.c: New file.
34588         * powerpc64/power6/wcsrchr.c: New file.
34590 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34592         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34593         (two_way_short_needle): Use it.
34594         * string/strstr.c (AVAILABLE1_USES_J): Define.
34595         * string/strcasestr.c: Likewise.
34597         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34598         array references.
34599         * string/strcasestr.c (TOLOWER): Make side-effect safe.
34601         [BZ #11607]
34602         * NEWS: Add an entry.
34603         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34604         define their defaults.
34605         (two_way_short_needle): Detect end-of-string on-the-fly.
34606         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34607         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34608         * string/bug-strcasestr1.c: New test.
34609         * string/Makefile: Run it.
34611 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34613         [BZ #11607]
34614         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34615         the first character.
34617 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34619         * csu/elf-init.c (__libc_csu_irel): Function removed.
34620         * csu/libc-start.c (apply_irel): New function.
34621         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34623 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34625         * sysdeps/unix/sysv/linux/kernel-features.h
34626         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34627         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34628         <kernel-features.h>.
34629         [__NR_fadvise64_64]: Make code unconditional.
34630         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34631         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34632         !__NR_fadvise64_64)]: Likewise.
34633         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34634         !__NR_fadvise64_64))]: Likewise.
34635         [__NR_fadvise64]: Make code unconditional.
34636         [!__NR_fadvise64]: Remove conditional code.
34637         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34638         <kernel-features.h>.
34639         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34640         unconditional.
34641         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34642         conditional code.
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34644         not include <kernel-features.h>.
34645         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34646         unconditional.
34647         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34648         conditional code.
34649         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34650         include <kernel-features.h>.
34651         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34652         unconditional.
34653         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34654         conditional code.
34656 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34658         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34659         slight instruction rearrangements per scrollpipe analysis.
34660         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34662 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34664         * manual/syslog.texi (syslog; vsyslog, closelog):
34665         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34666         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34668         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34669         DSOCAPS to match condition on defining it.
34671 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34673         * sysdeps/unix/sysv/linux/kernel-features.h
34674         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34676         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34677         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34679         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34680         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34682         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34683         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34685         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34686         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34688         * sysdeps/unix/sysv/linux/kernel-features.h
34689         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34690         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34691         unconditional.
34692         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34693         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34694         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34695         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34696         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34697         Make code unconditional.
34698         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34699         (__mmap64) [!__NR_mmap2]: Likewise.
34700         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34701         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34702         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34703         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34704         [__NR_mmap2]: Make code unconditional.
34705         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34706         (__mmap64) [!__NR_mmap2]: Likewise.
34708 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34710         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34712 2012-08-18  Andreas Jaeger  <aj@suse.de>
34714         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34716 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34718         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34719         * include/unistd.h (__have_sock_cloexec): Likewise.
34720         (__have_pipe2): Likewise.
34721         (__have_dup3): Likewise.
34723 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34725         [BZ #9685]
34726         * include/unistd.h (__have_pipe2): Change define into an extern int.
34727         (__have_dup3): Likewise.
34728         * socket/have_sock_cloexec.c: Include fcntl.h.
34729         (__have_pipe2): New variable.
34730         (__have_dup3): Likewise.
34732 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34734         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34736 2012-08-17  Marek Polacek  <polacek@redhat.com>
34738         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34739         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34741 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34743         * configure.in: Add AC_SUBST for sysheaders.
34744         * configure: Regenerated.
34745         * config.make.in (sysheaders): New substituted variable.
34747         * sysdeps/unix/mkfifo.c: Moved ...
34748         * sysdeps/posix/mkfifo.c: ... here.
34749         * sysdeps/unix/mkfifoat.c: Moved ...
34750         * sysdeps/posix/mkfifoat.c: ... here.
34752         * sysdeps/unix/utime.c: Moved ...
34753         * sysdeps/posix/utime.c: ... here.
34755         * sysdeps/unix/time.c: Moved ...
34756         * sysdeps/posix/time.c: ... here.
34757         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34758         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34760         * sysdeps/unix/nice.c: Moved ...
34761         * sysdeps/posix/nice.c: ... here.
34763         * sysdeps/unix/alarm.c: Moved ...
34764         * sysdeps/posix/alarm.c: ... here.
34766         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34768 2012-08-17  Jeff Law <law@redhat.com>
34770         * intl/Makefile (codeset_mo): New variable.
34771         ($(codeset_mo)): New target.
34772         (tst-codeset.out): Depend on that.  Remove explicit rule.
34773         (tst-gettext3.out, tst-gettext5.out): Likewise.
34774         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34775         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34776         * intl/tst-codeset.sh: Remove.
34777         * intl/tst-gettext3.sh: Likewise.
34778         * intl/tst-gettext5.sh: Likewise.
34780 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34782         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34783         * sysdeps/unix/syscalls.list: ... here.
34785         * sysdeps/posix/getaddrinfo.c
34786         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34787         (gaiconf_init, gaiconf_reload): Use them.
34788         [!_STATBUF_ST_NSEC]
34789         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34790         Define using time_t rather than struct timespec.
34792         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34793         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34794         Macros removed.
34795         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34796         [!NO_THREADS].
34797         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34798         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34799         Likewise.
34801         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34802         __libc_cleanup_push argument.
34804         * bits/param.h: New file.
34805         * misc/sys/param.h: New file.
34806         * include/sys/param.h: New file.
34807         * misc/Makefile (headers): Add bits/param.h.
34808         * sysdeps/generic/sys/param.h: File removed.
34809         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34810         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34811         * sysdeps/mach/hurd/bits/param.h: New file.
34812         * sysdeps/mach/hurd/sys/param.h: File removed.
34814         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34815         last change.
34817         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34818         [_IO_MTSAFE_IO].
34819         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34820         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34821         New macros.
34823         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34824         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34825         rather than -D_IO_MTSAFE_IO conditionally.
34826         * stdio-common/Makefile (CPPFLAGS): Likewise.
34827         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34828         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34829         Use $(libio-mtsafe).
34830         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34831         of -D_IO_MTSAFE_IO.
34832         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34833         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34834         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34835         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34836         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34837         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34838         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34839         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34840         (CFLAGS-fread_u_chk.c): Likewise.
34841         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34842         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34843         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34844         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34845         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34846         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34847         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34848         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34849         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34851         * libio/Makefile: Test [$(libc-reentrant) = yes]
34852         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34854         * Makeconfig
34855         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34856         * sysdeps/pthread/configure: File removed.
34857         * sysdeps/pthread/Makeconfig: New file.
34858         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34859         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34861 2012-08-16  Gary Benson  <gbenson@redhat.com>
34863         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34864         unmapping the first object in a namespace.
34866 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34868         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34869         (__internal_setnetgrent): ... this.  Add internal_function to
34870         definition.  Add libc_hidden_def.
34871         (setnetgrent): Update caller.
34872         (internal_endnetgrent): Renamed to ...
34873         (__internal_endnetgrent): ... this.  Add internal_function to
34874         definition.  Add libc_hidden_def.
34875         (endnetgrent): Update caller.
34876         (internal_getnetgrent_r): Renamed to ...
34877         (__internal_getnetgrent_r): ... this.  Add internal_function to
34878         definition.  Add libc_hidden_def.
34879         (__getnetgrent_r): Update caller.
34880         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34882 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34884         * stdlib/longlong.h: Update from GCC.
34886 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34888         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34889         on _QL, which is set by umul_ppmm but never used.
34890         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34891         variables, which are set by GMP macros but never used.
34892         * stdio-common/_itowa.c (_itowa): Likewise.
34893         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34894         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34896 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34898         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34899         struct La_sh_regs is not constant.
34900         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34901         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34902         and struct La_sparc64_regs are not constant.
34904 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34906         * sysdeps/unix/sysv/linux/kernel-features.h
34907         (__ASSUME_POSIX_TIMERS): Remove.
34908         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34909         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34910         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34911         Make code unconditional.
34912         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34913         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34914         Make code unconditional.
34915         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34916         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34917         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34918         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34919         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34920         Make code unconditional.
34921         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34922         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34923         (__libc_missing_posix_timers): Remove.
34925 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34927         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34928         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34930         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34932         * elf/dl-sym.c: Include <stdlib.h>.
34934         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34935         constants, which avoids warnings in 32-bit builds.
34937         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34938         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34940         * misc/lseek.c: File moved to ...
34941         * io/lseek.c: ... here.
34943         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34945         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34946         shifting LEN more than 31 bits at once.
34948 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34950         [BZ #14195]
34951         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34952         segmentation fault for a case of two empty input strings.
34953         * string/test-strncasecmp.c (check1): Renamed to...
34954         (bz12205): ...this.
34955         (bz14195): Add new testcase for two empty input strings and N > 0.
34956         (test_main): Call new testcase, adapt for renamed function.
34958 2012-08-15  Andreas Jaeger  <aj@suse.de>
34960         [BZ #14090]
34961         * crypt/md5test2.c: New test, based on test supplied by Serge
34962         Belyshev <belyshev@depni.sinp.msu.ru>.
34963         * crypt/Makefile (xtests): Add md5test-giant..
34964         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34966 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
34968         [BZ #14090]
34969         * crypt/md5.c (md5_process_block): Don't assume the buffer
34970         length is less than 2**32.
34971         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34972         length is less than 2**64.
34974 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34976         * string/str-two-way.h: Include <sys/param.h>.
34977         (MAX): Macro removed.
34979         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34980         Move #define and #undef of memmove to just before and after
34981         including <string.h>.
34983         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34984         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34985         and after including <string.h>.  Move declarations of
34986         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34987         to before #include "string/memmove.c".
34989         * include/dirent.h: Declare __getdirentries.
34991         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34992         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34994 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
34996         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34997         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34998         * sysdeps/i386/configure: Regenerated.
34999         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35000         STABS_CURRENT_FILE, and STABS_FUN.
35001         (END): Remove call to STABS_FUN_END.
35002         (STABS_CURRENT_FILE1): Delete.
35003         (STABS_CURRENT_FILE): Likewise.
35004         (STABS_FUN): Likewise.
35005         (STABS_FUN_END): Likewise.
35006         (STABS_FUN2): Likewise.
35007         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35008         * sysdeps/x86_64/configure: Regenerated.
35010 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35012         * elf/dl-open.c: Include <atomic.h>.
35013         * elf/dl-lookup.c: Likewise.
35015 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35017         * sysdeps/unix/sysv/linux/kernel-features.h
35018         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35019         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35020         unconditionally.
35021         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35022         unconditionally.
35023         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35024         condition on __ASSUME_CLONE_THREAD_FLAGS.
35026 2012-08-14  Andreas Jaeger  <aj@suse.de>
35028         * sysdeps/i386/fpu/libm-test-ulps: Update.
35030 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35032         * include/atomic.h (atomic_exchange_and_add): Split into ...
35033         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35034         New atomic macros.
35036 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35040 2012-08-13  Jeff Law <law@redhat.com>
35042         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35043         null byte in the output string.
35045 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35047         * sysdeps/unix/sysv/linux/kernel-features.h
35048         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35049         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35050         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35051         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35052         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35053         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35054         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35056 2012-08-09  Jeff Law <law@redhat.com>
35058         [BZ #13939]
35059         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35060         When avoid_arena is set, don't retry in the that arena.  Pick the
35061         next one, whatever it might be.
35062         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35063         (arena_lock): Pass in new parameter to arena_get2.
35064         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35065         arena_get2.
35066         (__libc_malloc): Unify retrying after main arena failure with
35067         __libc_memalign version.
35068         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35070 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35072         [BZ #14166]
35073         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35074         to __redirect_strstr.
35075         (__strstr_sse42): Use typeof __redirect_strstr.
35076         (__strstr_ia32): Likewise.
35077         (__libc_strstr): New prototype.
35078         (strstr): Renamed to ...
35079         (__libc_strstr): This.
35080         (strstr): New strong alias of __libc_strstr.
35081         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35082         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35083         __redirect_time.
35084         Include <time.h>.
35085         (__libc_time): New prototype.
35086         (time_ifunc): Replace time with __libc_time.
35087         (time): New strong alias and hidden definition of __libc_time.
35088         (__GI_time): Remove strong alias.
35089         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35090         Include <stddef.h>.
35091         (memmove): Redefined to __redirect_memmove.
35092         (__memmove_sse2): Use typeof __redirect_memmove.
35093         (__memmove_ssse3): Likewise.
35094         (__memmove_ssse3_back): Likewise.
35095         (__libc_memmove): New prototype.
35096         (memmove): Renamed to ...
35097         (__libc_memmove): This.
35098         (memmove): New strong alias of __libc_memmove.
35100 2012-08-08  Mark Salter  <msalter@redhat.com>
35102         * elf/elf.h
35103         (R_MN10300_TLS_GD): Define.
35104         (R_MN10300_TLS_LD): Likewise.
35105         (R_MN10300_TLS_LDO): Likewise.
35106         (R_MN10300_TLS_GOTIE): Likewise.
35107         (R_MN10300_TLS_IE): Likewise.
35108         (R_MN10300_TLS_LE): Likewise.
35109         (R_MN10300_TLS_DTPMOD): Likewise.
35110         (R_MN10300_TLS_DTPOFF): Likewise.
35111         (R_MN10300_TLS_TPOFF): Likewise.
35112         (R_MN10300_SYM_DIFF): Likewise.
35113         (R_MN10300_ALIGN): Likewise.
35114         (R_MN10300_NUM): Update.
35116 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35119         Remove.
35121 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35123         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35125         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35126         sysdeps/unix -> sysdeps/posix move.
35127         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35129 2012-08-07      Allan McRae     <allan@archlinux.org>
35131         [BZ #14303]
35132         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35133         (SUNOS_CPP): Likewise.
35134         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35135         not found.
35136         (open_input): Call CPP using execvp.
35138 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35140         * sysdeps/unix/sysv/linux/kernel-features.h
35141         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35142         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35143         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35144         (__ASSUME_WAITID_SYSCALL): Likewise.
35145         * sysdeps/unix/sysv/linux/dl-execstack.c
35146         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35147         code unconditional.
35148         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35149         conditional code.
35150         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35151         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35152         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35153         code.
35154         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35155         unconditional.
35156         [__ASSUME_WAITID_SYSCALL]: Likewise.
35157         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35159 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35161         * sysdeps/unix/closedir.c: Renamed to ...
35162         * sysdeps/posix/closedir.c: ... here.
35163         * sysdeps/unix/dirfd.c: Renamed to ...
35164         * sysdeps/posix/dirfd.c: ... here.
35165         * sysdeps/unix/dirstream.h: Renamed to ...
35166         * sysdeps/posix/dirstream.h: ... here.
35167         * sysdeps/unix/fdopendir.c: Renamed to ...
35168         * sysdeps/posix/fdopendir.c: ... here.
35169         * sysdeps/unix/opendir.c: Renamed to ...
35170         * sysdeps/posix/opendir.c: ... here.
35171         * sysdeps/unix/readdir.c: Renamed to ...
35172         * sysdeps/posix/readdir.c: ... here.
35173         * sysdeps/unix/readdir_r.c: Renamed to ...
35174         * sysdeps/posix/readdir_r.c: ... here.
35175         * sysdeps/unix/rewinddir.c: Renamed to ...
35176         * sysdeps/posix/rewinddir.c: ... here.
35177         * sysdeps/unix/seekdir.c: Renamed to ...
35178         * sysdeps/posix/seekdir.c: ... here.
35179         * sysdeps/unix/telldir.c: Renamed to ...
35180         * sysdeps/posix/telldir.c: ... here.
35181         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35182         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35183         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35184         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35186         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35187         * bits/fcntl.h: ... here.
35189         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35190         not 0.
35191         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35192         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35193         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35194         (struct flock): Move l_start, l_len to the beginning.
35195         Use __pid_t for l_pid.
35196         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35197         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35198         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35199         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35200         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35201         [__USE_LARGEFILE64] (struct flock64): New type.
35202         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35204         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35205         * bits/dirent.h: ... here.
35207         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35208         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35210 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35212         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35213         Change from 2.6.0 to 2.6.16.
35214         * sysdeps/unix/sysv/linux/configure: Regenerated.
35215         * sysdeps/unix/sysv/linux/kernel-features.h
35216         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35217         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35218         version.
35219         (__ASSUME_UTIMES): Likewise.
35220         (__ASSUME_CLONE_STOPPED): Remove.
35221         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35222         architectures, not kernel version.
35223         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35224         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35225         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35226         (__ASSUME_WAITID_SYSCALL): Likewise.
35227         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35228         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35229         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35230         refer to older versions.
35232 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35234         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35235         Define alphasort64 as an alias.
35236         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35237         Define versionsort64 as an alias.
35238         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35239         Define scandir64 as an alias.
35240         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35241         Define scandirat64 as an alias.
35242         * dirent/alphasort64.c (alphasort64):
35243         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35244         * dirent/versionsort64.c: Likewise.
35245         * dirent/scandir64.c: Likewise.
35246         * dirent/scandirat64.c: Likewise.
35247         * sysdeps/wordsize-64/alphasort.c: File removed.
35248         * sysdeps/wordsize-64/alphasort64.c: File removed.
35249         * sysdeps/wordsize-64/scandir.c: File removed.
35250         * sysdeps/wordsize-64/scandir64.c: File removed.
35251         * sysdeps/wordsize-64/scandirat.c: File removed.
35252         * sysdeps/wordsize-64/scandirat64.c: File removed.
35253         * sysdeps/wordsize-64/versionsort.c: File removed.
35254         * sysdeps/wordsize-64/versionsort64.c: File removed.
35255         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35256         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35258         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35260         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35261         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35264         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35266         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35268         [defined __arch64__ || defined __sparcv9]
35269         (__INO_T_MATCHES_INO64_T): New macro.
35270         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35271         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35272         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35273         * sysdeps/unix/sysv/linux/bits/dirent.h
35274         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35275         (_DIRENT_MATCHES_DIRENT64): New macro.
35277         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35278         Define lockf64 as an alias.
35279         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35280         Define fseeko64 as an alias.
35281         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35282         Define ftello64 as an alias.
35283         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35284         Define _IO_fgetpos64 and fgetpos64 as aliases.
35285         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35286         Define _IO_fsetpos64 and fsetpos64 as aliases.
35287         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35288         Conditionalize body on this.
35289         * libio/fseeko64.c: Likewise.
35290         * libio/ftello64.c: Likewise.
35291         * libio/iofgetpos64.c: Likewise.
35292         * libio/iofsetpos64.c: Likewise.
35293         * sysdeps/wordsize-64/lockf.c: File removed.
35294         * sysdeps/wordsize-64/lockf64.c: File removed.
35295         * sysdeps/wordsize-64/fseeko.c: File removed.
35296         * sysdeps/wordsize-64/fseeko64.c: File removed.
35297         * sysdeps/wordsize-64/ftello.c: File removed.
35298         * sysdeps/wordsize-64/ftello64.c: File removed.
35299         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35300         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35301         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35302         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35304         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35306         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35307         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35308         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35309         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35310         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35311         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35312         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35314         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35316         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35318         [defined __arch64__ || defined __sparcv9]
35319         (__OFF_T_MATCHES_OFF64_T): New macro.
35320         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35321         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35322         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35323         (__OFF_T_MATCHES_OFF64_T): New macro.
35325 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35327         * stdlib/secure-getenv.c (__secure_getenv): Replace
35328         GLIBC_2_16 with GLIBC_2_17.
35330 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35332         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35333         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35335 2012-08-03  David S. Miller  <davem@davemloft.net>
35337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35339 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35341         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35342         Remove.
35343         (__ASSUME_CORRECT_SI_PID): Likewise.
35344         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35345         (__ASSUME_TMPFS_NAME): Likewise.
35346         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35347         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35348         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35349         (HAVE_AUX_SECURE): Make definition unconditional.
35350         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35351         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35353 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35355         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35356         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35357         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35358         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35359         __eloop_threshold instead of SYMLOOP_MAX.
35361         * sysdeps/generic/eloop-threshold.h: New file.
35362         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35363         of MAXSYMLINKS.
35364         * elf/chroot_canon.c (chroot_canon): Likewise.
35366 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35368         [BZ #13717]
35369         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35370         Change to 2.6.0 everywhere.
35371         * sysdeps/unix/sysv/linux/configure: Regenerated.
35372         * sysdeps/unix/sysv/linux/kernel-features.h
35373         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35374         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35375         kernel versions.
35376         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35377         (__ASSUME_FUTEX_REQUEUE): Remove.
35378         (__ASSUME_STATFS64): Define unconditionally.
35379         (__ASSUME_AT_SECURE): Likewise.
35380         (__ASSUME_CORRECT_SI_PID): Likewise.
35381         (__ASSUME_TGKILL): Define without depending on kernel version for
35382         i386.
35383         (__ASSUME_UTIMES): Likewise.
35384         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35385         kernel version.
35386         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35387         (__ASSUME_TMPFS_NAME): Likewise.
35388         * README: Update reference to Linux kernel versions.
35390 2012-08-02  Marek Polacek  <polacek@redhat.com>
35392         [BZ# 14150]
35393         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35394         libc_cv_asm_type_prefix with %.
35395         * configure: Regenerated.
35396         * include/libc-symbols.h: Remove comment about
35397         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35398         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35399         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35400         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35401         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35402         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35403         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35404         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35405         * elf/tst-unique2mod1.c: Likewise.
35406         * elf/tst-unique1mod2.c: Likewise.
35407         * elf/tst-unique1mod1.c: Likewise.
35408         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35409         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35410         Replace ASM_TYPE_DIRECTIVE with .type.
35411         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35412         * sysdeps/i386/sysdep.h: Likewise.
35413         * sysdeps/x86_64/sysdep.h: Likewise.
35414         * sysdeps/sh/sysdep.h: Likewise.
35415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35416         Do not define ASM_TYPE_DIRECTIVE.
35417         * sysdeps/powerpc/sysdep.h: Likewise.
35418         * sysdeps/powerpc/powerpc32/sysdep.h:
35419         Replace ASM_TYPE_DIRECTIVE with .type.
35420         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35421         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35422         * sysdeps/i386/fpu/e_powf.S: Likewise.
35423         * sysdeps/i386/fpu/e_expl.S: Likewise.
35424         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35425         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35426         * sysdeps/i386/fpu/e_pow.S: Likewise.
35427         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35428         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35429         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35430         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35431         * sysdeps/i386/fpu/e_log2.S: Likewise.
35432         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35434         * sysdeps/i386/fpu/e_powl.S: Likewise.
35435         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35436         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35437         * sysdeps/i386/fpu/e_logl.S: Likewise.
35438         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35439         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35440         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35441         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35442         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35443         * sysdeps/i386/fpu/e_log.S: Likewise.
35444         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35445         * sysdeps/i386/fpu/e_logf.S: Likewise.
35446         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35447         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35448         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35449         * sysdeps/i386/fpu/e_log10.S: Likewise.
35450         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35451         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35452         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35453         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35454         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35455         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35456         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35457         * sysdeps/i386/i686/strtok.S: Likewise.
35458         * sysdeps/i386/i386-mcount.S: Likewise.
35459         * sysdeps/i386/strtok.S: Likewise.
35460         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35461         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35462         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35463         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35464         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35465         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35466         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35467         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35468         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35469         * sysdeps/x86_64/_mcount.S: Likewise.
35470         * sysdeps/x86_64/strtok.S: Likewise.
35471         * sysdeps/sh/_mcount.S: Likewise.
35473 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35475         * libio/iofopen.c: Include <fcntl.h>.
35476         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35477         (_IO_fopen64, fopen64): Define as aliases.
35478         * libio/iofopen64.c: Include <fcntl.h>.
35479         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35480         Conditionalize body on this.
35481         * sysdeps/wordsize-64/iofopen.c: File removed.
35482         * sysdeps/wordsize-64/iofopen64.c: File removed.
35484 2012-08-01  Marek Polacek  <polacek@redhat.com>
35486         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35487         Use dlfcn directly instead of a variable.
35488         (binfmt-subdir): Do not define.
35489         (dlfcn): Likewise.
35491 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35494         Remove all definitions.
35495         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35496         <kernel-features.h>.
35497         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35498         (miss_F_GETOWN_EX): Remove all definitions.
35499         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35500         macro definition.
35501         [!__ASSUME_FCNTL64]: Remove conditional code.
35502         [__ASSUME_FCNTL64]: Make code unconditional.
35503         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35504         <kernel-features.h>.
35505         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35506         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35507         (lockf64) [__NR_fcntl64]: Make code unconditional.
35508         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35510         * sysdeps/unix/sysv/linux/kernel-features.h
35511         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35512         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35513         Make code unconditional.
35514         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35515         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35517         [__NR_vfork]: Make code unconditional.
35518         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35519         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35521         [__NR_vfork]: Make code unconditional.
35522         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35523         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35525 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35527         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35528         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35530         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35531         Define mkstemp64 as an alias.
35532         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35533         Define mkstemps64 as an alias.
35534         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35535         Define mkostemp64 as an alias.
35536         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35537         Define mkostemps64 as an alias.
35538         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35539         Conditionalize body on this.
35540         * misc/mkostemp64.c: Likewise.
35541         * misc/mkostemps64.c: Likewise.
35542         * misc/mkstemps64.c: Likewise.
35543         * sysdeps/wordsize-64/mkstemp64.c: File removed.
35544         * sysdeps/wordsize-64/mkostemp64.c: File removed.
35545         * sysdeps/wordsize-64/mkostemp.c: File removed.
35546         * sysdeps/wordsize-64/mkstemp.c: File removed.
35547         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35548         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35549         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35550         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35552         [BZ #14138]
35553         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35554         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35555         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35556         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35558         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35559         compat_symbol macros from <shlib-compat.h> rather than the underlying
35560         default_symbol_version and symbol_version macros, so that DEFAULT
35561         lines in shlib-versions are respected.
35562         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35564 2012-08-01  Florian Weimer  <fweimer@redhat.com>
35566         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35567         Declare with warn_unused_result.
35568         (setgid, setregid, setegid, setresgid): Likewise.
35569         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35570         Likewise.
35571         * WUR-REPORT: Remove set*id functions.
35573 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
35575         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35577 2012-07-31  Roland McGrath  <roland@hack.frob.com>
35579         [BZ #10191]
35580         * include/sys/socket.h (__libc_accept, __libc_accept4):
35581         Add attribute_hidden.
35582         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35584         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35585         use of PTR_MANGLE.
35586         * inet/getnetgrent_r.c (setup): Likewise.
35588         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35590 2012-07-31  David S. Miller  <davem@davemloft.net>
35592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35594 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
35596         [BZ #13629]
35597         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35598         value between 1.0 and 2.0 and smaller part has absolute value less
35599         than 1.0.
35600         * math/s_clog10.c (__clog10): Likewise.
35601         * math/s_clog10f.c (__clog10f): Likewise.
35602         * math/s_clog10l.c (__clog10l): Likewise.
35603         * math/s_clogf.c (__clogf): Likewise.
35604         * math/s_clogl.c (__clogl): Likewise.
35605         * math/libm-test.inc (clog_test): Add more tests.
35606         (clog10_test): Likewise.
35607         * sysdeps/i386/fpu/libm-test-ulps: Update.
35608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35610 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35612         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35613         Exit with zero in case no suitable GID is found, and write a
35614         message to standard error.
35616 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35618         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35619         rather than to 1.
35620         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35621         (MAXPATHLEN): Removed.
35622         (NOGROUP, NODEV): New macros.
35623         (setbit, clrbit, isset, isclr): New macros.
35624         (howmany, roundup, powerof2): New macros.
35625         (DEV_BSIZE): New macro.
35627         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35628         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35630         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35631         definition on [!__NO_LONG_DOUBLE_MATH].
35633         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35634         PTR_MANGLE and PTR_DEMANGLE.
35636         * socket/accept4.c (accept4): Rename to __libc_accept4.
35637         Define accept4 as a weak alias.
35639         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35640         on [_DIRENT_HAVE_D_TYPE].
35641         * io/ftw.c (ftw_dir): Likewise.
35643         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35645         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35647         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35648         Use the BSD numbers rather than the arbitrary ones we had.
35649         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35650         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35651         (SIGXCPU, SIGXFSZ): New macros.
35652         (_NSIG): Now 32.
35654         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35655         initializer on [_LIBC_REENTRANT].
35657         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35658         definitions inside [_POSIX_MAPPED_FILES].
35660         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35662         * dirent/opendir.c: Include <fcntl.h>.
35664         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35665         (__libc_getspecific): Likewise.
35666         (__libc_key_create): Likewise.
35668         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35669         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35670         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35671         (tmpfile64): Define as alias.
35672         * sysdeps/wordsize-64/tmpfile.c: File removed.
35673         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35674         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35675         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35677         * stdio-common/vfscanf.c: Include <stdbool.h>.
35678         * nss/makedb.c: Likewise.
35679         * stdio-common/_i18n_number.h: Likewise.
35680         * argp/argp-help.c: Likewise.
35681         * posix/wordexp.c: Likewise.
35682         * sysdeps/posix/spawni.c: Likewise.
35683         * nss/nss_files/files-initgroups.c: Likewise.
35684         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35685         * nss/nss_files/files-initgroups.c: Likewise.
35686         * nss/nss_db/db-netgrp.c: Likewise.
35687         * nss/nss_db/db-initgroups.c: Likewise.
35688         * io/fchmodat.c: Include <sys/stat.h>.
35690         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35691         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35693         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35694         [HAVE_MMAP].
35696         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35697         Add multiple inclusion protection.
35699 2012-07-27  David S. Miller  <davem@davemloft.net>
35701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35703 2012-07-27  Gary Benson  <gbenson@redhat.com>
35705         [BZ #14298]
35706         * elf/rtld.c: Include <stap-probe.h>.
35707         (dl_main): Added static probes "init_start" and "init_complete".
35708         * elf/dl-load.c: Include <stap-probe.h>.
35709         (lose): Take new parameter "nsid".
35710         Added static probe "map_failed".
35711         (_dl_map_object_from_fd): Pass namespace id to lose.
35712         Added static probe "map_start".
35713         (open_verify): Pass namespace id to lose.
35714         * elf/dl-open.c: Include <stap-probe.h>.
35715         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35716         and "reloc_complete".
35717         * elf/dl-close.c: Include <stap-probe.h>.
35718         (_dl_close_worker): Added static probes "unmap_start" and
35719         "unmap_complete".
35720         * elf/rtld-debugger-interface.txt: New file documenting the above.
35722 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35724         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35725         rather than a string variable.
35726         * sunrpc/rpc_main.c (h_output): Likewise.
35727         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35729 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35731         * inet/check_native.c: New file.
35733 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35735         [BZ #13629]
35736         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35737         if larger part has absolute value 1.0.
35738         * math/s_clog10.c (__clog10): Likewise.
35739         * math/s_clog10f.c (__clog10f): Likewise.
35740         * math/s_clog10l.c (__clog10l): Likewise.
35741         * math/s_clogf.c (__clogf): Likewise.
35742         * math/s_clogl.c (__clogl): Likewise.
35743         * math/libm-test.inc (clog_test): Add more tests.
35744         (clog10_test): Likewise.
35745         * sysdeps/i386/fpu/libm-test-ulps: Update.
35746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35748         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35749         (pltexit): Likewise.
35750         (La_regs): Likewise.
35751         (La_retval): Likewise.
35752         (int_retval): Likewise.
35753         Update #error for removed macros to refer only to definitions in
35754         tst-audit.h.
35755         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35756         macro.
35757         (pltexit): Likewise.
35758         (La_regs): Likewise.
35759         (La_retval): Likewise.
35760         (int_retval): Likewise.
35761         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35762         macro.
35763         (pltexit): Likewise.
35764         (La_regs): Likewise.
35765         (La_retval): Likewise.
35766         (int_retval): Likewise.
35767         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35768         macro.
35769         (pltexit): Likewise.
35770         (La_regs): Likewise.
35771         (La_retval): Likewise.
35772         (int_retval): Likewise.
35773         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35774         macro.
35775         (pltexit): Likewise.
35776         (La_regs): Likewise.
35777         (La_retval): Likewise.
35778         (int_retval): Likewise.
35779         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35780         macro.
35781         (pltexit): Likewise.
35782         (La_regs): Likewise.
35783         (La_retval): Likewise.
35784         (int_retval): Likewise.
35785         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35786         macro.
35787         (pltexit): Likewise.
35788         (La_regs): Likewise.
35789         (La_retval): Likewise.
35790         (int_retval): Likewise.
35791         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35792         macro definitions in tst-audit.h.
35793         * sysdeps/i386/tst-audit.h: New file.
35794         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35795         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35796         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35797         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35798         * sysdeps/sh/tst-audit.h: Likewise.
35799         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35800         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35801         * sysdeps/x86_64/tst-audit.h: Likewise.
35803 2012-07-26  Andreas Jaeger  <aj@suse.de>
35805         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35806         ptrace.
35808         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35809         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35810         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35811         PTRACE_O_MASK.
35812         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35813         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35814         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35816         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35817         value.
35819         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35820         _sigsys.
35821         (si_call_addr, si_syscall, si_arch): Define new macro.
35822         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35823         _sigsys.
35824         (si_call_addr, si_syscall, si_arch): Define new marcro.
35825         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35826         _sigsys.
35827         (si_call_addr, si_syscall, si_arch): Define new macro.
35828         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35829         _sigsys.
35830         (si_call_addr, si_syscall, si_arch): Define new macro.
35832 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35834         [BZ #13717]
35835         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35836         Change to 2.4.21 where previously 2.4.1.
35837         * sysdeps/unix/sysv/linux/configure: Regenerated.
35838         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35839         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35840         Linux kernel version.
35841         (__ASSUME_STD_AUXV): Remove.
35842         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35843         kernel version.
35844         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35845         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35846         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35847         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35848         (__ASSUME_NETLINK_SUPPORT): Likewise.
35849         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35850         (__no_netlink_support): Remove conditional definition.
35851         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35852         Remove.
35853         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35854         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35855         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35856         (if_nameindex_ioctl): Remove.
35857         (if_nameindex_netlink): Do not handle __no_netlink_support.
35858         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35859         code.
35860         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35861         Remove conditional code.
35862         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35863         code.
35864         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35865         unconditional.
35866         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35867         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35868         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35869         Remove.
35870         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35871         [!__ASSUME_STD_AUXV]: Remove conditional code.
35872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35873         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35874         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35876         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35877         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35878         code.
35879         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35881         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35882         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35883         conditional code.
35884         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35886         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35887         code.
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35889         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35890         conditional code.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35892         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35893         code unconditional.
35894         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35895         conditional code.
35896         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35897         unconditional.
35898         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35899         conditional code.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35901         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35902         unconditional.
35903         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35904         conditional code.
35905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35906         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35907         code unconditional.
35908         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35909         conditional code.
35910         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35911         unconditional.
35912         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35913         conditional code.
35914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35915         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35916         code unconditional.
35917         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35918         conditional code.
35919         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35920         unconditional.
35921         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35922         conditional code.
35924 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35926         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35927         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35928         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35929         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35930         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35931         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35932         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35933         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35934         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35935         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35936         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35937         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35938         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35939         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35940         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35941         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35942         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35943         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35944         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35946         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35947         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35948         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35950 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35952         * Versions.def: Add GLIBC_2.17.
35953         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35954         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35955         Introduce __libc_secure_getenv.
35956         * stdlib/Versions (2.17): Add secure_getenv
35957         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35958         * stdlib/secure-getenv.c: Rename __secure_getenv to
35959         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35960         symbol __secure_getenv for GLIBC_2.0.
35961         * stdlib/tst-secure-getenv.c: New.
35962         * stdlib/Makefile (tests): Add testcase.
35963         * manual/startup.texi (Environment Access): Document
35964         secure_getenv.
35965         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35966         __libc_secure_getenv.
35967         * inet/ruserpass.c (ruserpass): Likewise.
35968         * malloc/mtrace.c (mtrace): Likewise.
35969         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35970         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35971         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35972         * sysdeps/posix/tempname.c: Likewise.  Evaluate
35973         HAVE_SECURE_GETENV.
35974         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35975         __secure_getenv to __libc_secure_getenv.
35976         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35978         Likewise.
35979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35980         Likewise.
35981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35989 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35991         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35992         (struct La_i86_retval): Likewise.
35993         (struct La_x86_64_regs): Likewise.
35994         (struct La_x86_64_retval): Likewise.
35995         (struct La_x32_regs): Likewise.
35996         (struct La_x32_retval): Likewise.
35997         (struct La_ppc32_regs): Likewise.
35998         (struct La_ppc32_retval): Likewise.
35999         (struct La_ppc64_regs): Likewise.
36000         (struct La_ppc64_retval): Likewise.
36001         (struct La_sh_regs): Likewise.
36002         (struct La_sh_retval): Likewise.
36003         (struct La_s390_32_regs): Likewise.
36004         (struct La_s390_32_retval): Likewise.
36005         (struct La_s390_64_regs): Likewise.
36006         (struct La_s390_64_retval): Likewise.
36007         (struct La_sparc32_regs): Likewise.
36008         (struct La_sparc32_retval): Likewise.
36009         (struct La_sparc64_regs): Likewise.
36010         (struct La_sparc64_retval): Likewise.
36011         (struct audit_ifaces): Remove architecture-specific pltenter and
36012         pltexit members.
36013         * sysdeps/i386/ldsodefs.h: New file.
36014         * sysdeps/powerpc/ldsodefs.h: Likewise.
36015         * sysdeps/s390/ldsodefs.h: Likewise.
36016         * sysdeps/sh/ldsodefs.h: Likewise.
36017         * sysdeps/sparc/ldsodefs.h: Likewise.
36018         * sysdeps/x86_64/ldsodefs.h: Likewise.
36020 2012-07-25  Marek Polacek  <polacek@redhat.com>
36022         [BZ #6808]
36023         * math/libm-test.inc (yn_test): Add another test.
36024         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36025         to ERANGE when the result is +-Inf.
36026         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36027         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36028         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36029         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36031 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36033         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36034         equal to 0.
36035         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36036         clock_t.
36037         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36039 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36041         * configure.in <sysdeps resolving>: Correct printing
36042         Implies_before.
36043         * configure: Regenerate.
36045 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36047         * math/w_ilogb.c: Include <limits.h>.
36048         * math/w_ilogbl.c: Likewise.
36050 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36052         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36053         va_copy.  Document allowing for unavailable va_copy only as
36054         pre-C99 compatibility.
36055         * manual/string.texi (Copying and Concatenation): Use va_copy
36056         instead of __va_copy in concat example.
36058 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36060         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36061         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36062         it if not null.
36064         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36065         with O_NOLINK passed to __file_name_lookup.
36067         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36068         with O_NOLINK passed to __file_name_lookup.
36070         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36071         negative N or less than NGIDS.
36073         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36074         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36075         enough.  Use memcpy instead of strncpy.
36077 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36079         * elf/Makefile (check-data): Remove.
36080         (localplt.data): New vpath directive.
36081         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36082         instead of $(check-data).
36083         * scripts/data/localplt-generic.data: Move to ...
36084         * sysdeps/generic/localplt.data: ... here.
36085         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36086         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36087         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36089         ... here.
36090         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36092         ... here.
36093         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36095         ... here.
36096         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36098         ... here.
36099         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36101         ... here.
36102         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36104         ... here.
36106 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36108         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36109         PPC32 and PPC64 files.
36110         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36111         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36113 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36115         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36116         __makecontext_ret to ...
36117         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36118         ... here and call exit if uc_link is NULL.  New file.
36119         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36120         __makecontext_ret.S.
36121         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36122         __makecontext_ret to ...
36123         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36124         ... here and call exit if uc_link is NULL.  New file.
36125         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36126         __makecontext_ret.S.
36128 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36130         * elf/elf.h (R_390_IRELATIVE): New definition.
36131         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36132         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36133         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36134         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36135         (elf_machine_lazy_rel): Likewise.
36136         * sysdeps/s390/dl-irel.h: New file.
36137         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36138         * sysdeps/s390/s390-64/memset.S: New asm code.
36139         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36140         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36141         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36142         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36143         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36144         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36145         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36146         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36147         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36148         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36149         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36150         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36151         * sysdeps/s390/s390-32/memset.S: New asm code.
36152         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36154 2012-07-17  Marek Polacek  <polacek@redhat.com>
36156         [BZ #14349]
36157         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36158         * sysdeps/s390/s390-64/configure.in: Likewise.
36159         * sysdeps/sparc/configure.in: Likewise.
36160         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36161         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36162         * sysdeps/i386/configure.in: Likewise.
36163         * sysdeps/x86_64/configure.in: Likewise.
36164         * sysdeps/sh/configure.in: Likewise.
36165         * sysdeps/s390/s390-32/configure: Regenerated.
36166         * sysdeps/s390/s390-64/configure: Likewise.
36167         * sysdeps/x86_64/configure: Likewise.
36168         * sysdeps/sh/configure: Likewise.
36169         * sysdeps/powerpc/powerpc64/configure: Likewise.
36170         * sysdeps/powerpc/powerpc32/configure: Likewise.
36171         * sysdeps/sparc/configure: Likwise.
36172         * sysdeps/i386/configure: Likewise.
36174         * elf/dl-open.c: Comment fixes.
36176 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36178         * Makefile [CXX] (check-data): Remove.
36179         [CXX] (c++-types.data): New vpath directive.
36180         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36181         vpath.  Do not allow for C++ type data being missing.
36182         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36183         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36184         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36185         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36186         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36187         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36188         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36190         ... here.
36191         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36193         ... here.
36194         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36196         ... here.
36197         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36199         ... here.
36200         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36202         ... here.
36203         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36205         ... here.
36206         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36208         ... here.
36209         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36212         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36213         definitions to architecture-specific files.
36214         (TLS_IE): Likewise.
36215         (TLS_LD): Likewise.
36216         (TLS_GD): Likewise.
36217         * sysdeps/i386/tls-macros.h: New file.
36218         * sysdeps/powerpc/tls-macros.h: Likewise.
36219         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36220         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36221         * sysdeps/sh/tls-macros.h: Likewise.
36222         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36223         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36224         * sysdeps/x86_64/tls-macros.h: Likewise.
36226 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36228         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36229         zero value for regular exit case.
36231         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36232         (__start_context): Preserve zero value for regular exit case.
36234 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36235             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36237         * manual/setjmp.texi (setcontext): Clarify normal process
36238         termination when uc_link is the null pointer.
36239         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36240         exit call.
36242 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36244         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36245         preprocessor.  Test for each exception mask separately.
36247 2012-07-16  Andreas Jaeger  <aj@suse.de>
36249         * po/ru.po: Update from translation team.
36251 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36253         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36254         equal to 0.
36255         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36256         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36257         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36258         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36259         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36261 2012-07-13  Andreas Jaeger  <aj@suse.de>
36263         * po/fr.po: Update from translation team.
36265 2012-07-12  Marek Polacek  <polacek@redhat.com>
36267         [BZ #14173]
36268         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36269         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36270         loop condition.
36272 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36274         [BZ #13717]
36275         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36276         Change to 2.4.1 where previously 2.4.0.
36277         * sysdeps/unix/sysv/linux/configure: Regenerated.
36278         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36279         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36280         version.
36281         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36282         (__ASSUME_AT_CLKTCK): Remove.
36283         (__ASSUME_AT_PAGESIZE): Likewise.
36284         (__ASSUME_AT_XID): Likewise.
36285         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36286         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36287         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36288         unconditionally.
36289         (HAVE_AUX_PAGESIZE): Likewise.
36290         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36291         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36292         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36294 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36296         [BZ #14307]
36297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36298         the temporary buffer used to invoke __gethostbyname2_r,
36299         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36300         host_data / struct gaih_addrtuple.
36301         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36302         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36303         header file nss/nsswitch.h.
36304         * nss/nsswitch.h (global scope): Add definition of implementation
36305         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36306         resolv/nss_dns/dns-host.c).
36308 2012-07-11  Andreas Jaeger  <aj@suse.de>
36310         * po/fr.po: Update from translation team.
36312         * po/sv.po: Update from translation team
36313         * po/fr.po: Another update from translation team.
36315 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36317         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36318         for subnormals or multiply small sinh result by itself.
36319         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36322 2012-07-11  David S. Miller  <davem@davemloft.net>
36324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36326 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36328         [BZ #14347]
36329         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36330         (INTERNAL_MARK): Shift it here.
36332 2012-07-10  Marek Polacek  <polacek@redhat.com>
36334         [BZ #14151]
36335         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36336         libc_cv_asm_global_directive with .globl.
36337         * configure: Regenerated.
36338         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36339         with .globl.
36340         * sysdeps/i386/configure: Regenerated.
36341         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36342         with .globl.
36343         * sysdeps/x86_64/configure: Regenerated.
36344         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36345         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36346         * elf/tst-unique2mod2.c: Likewise.
36347         * elf/tst-unique2mod1.c: Likewise.
36348         * elf/tst-unique1mod2.c: Likewise.
36349         * elf/tst-unique1mod1.c: Likewise.
36350         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36351         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36353         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36354         * sysdeps/mach/sysdep.h: Likewise.
36355         * sysdeps/i386/sysdep.h: Likewise.
36356         * sysdeps/i386/i386-mcount.S: Likewise.
36357         * sysdeps/x86_64/_mcount.S: Likewise.
36358         * sysdeps/x86_64/sysdep.h: Likewise.
36359         * sysdeps/sh/_mcount.S: Likewise.
36360         * sysdeps/sh/sysdep.h: Likewise.
36361         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36362         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36363         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36364         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36365         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36366         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36367         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36368         * locale/localeinfo.h: Likewise.
36369         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36370         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36372 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36374         [BZ #14336]
36375         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36376         system".
36377         * manual/message.texi (The Uniforum approach): Likewise.
36378         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36379         (glibc iconv Implementation): Likewise.
36381 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36383         [BZ #14337]
36384         * math/s_clog.c (__clog): Avoid scaling a value down where that
36385         could result in underflow.
36386         * math/s_clog10.c (__clog10): Likewise.
36387         * math/s_clog10f.c (__clog10f): Likewise.
36388         * math/s_clog10l.c (__clog10l): Likewise.
36389         * math/s_clogf.c (__clogf): Likewise.
36390         * math/s_clogl.c (__clogl): Likewise.
36391         * math/libm-test.inc (clog_test): Add more tests.
36392         (clog10_test): Likewise.
36393         * sysdeps/i386/fpu/libm-test-ulps: Update.
36394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36396 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36398         [BZ #14283]
36399         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36400         by 7 not 8 to examine high bit of fractional part.
36402         [BZ #14042]
36403         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36404         for call to __mcount_internal.
36405         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36406         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36407         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36409 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36411         [BZ #14154]
36412         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36413         approximation for values within 0x1p-13f of an odd multiple of
36414         pi/4.
36415         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36416         exception.  Add more tests.
36417         * sysdeps/i386/fpu/libm-test-ulps: Update.
36419         [BZ #6778]
36420         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36421         inputs and return -1 for them.  Do not check for +Inf in case not
36422         reachable for +Inf.
36423         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36424         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36425         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36426         and return -1 for them.  Do not check for +Inf in case not
36427         reachable for +Inf.
36428         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36429         define.
36430         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36431         and return -1 for them.  Do not check for +Inf in case not
36432         reachable for +Inf.
36433         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
36434         spurious underflow.
36435         * sysdeps/i386/fpu/libm-test-ulps: Update.
36436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36438 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
36440         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36442 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36444         [BZ #14157]
36445         [BZ #14331]
36446         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36447         could result in spurious underflow.  Scale down values above
36448         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36449         * math/s_csqrtf.c (__csqrtf): Likewise.
36450         * math/s_csqrtl.c (__csqrtl): Likewise.
36451         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36452         spurious underflow.
36453         * sysdeps/i386/fpu/libm-test-ulps: Update.
36454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36456 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36458         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36459         xopen-msg.sed.
36460         * catgets/xopen-msg.awk: New file.
36461         * catgets/xopen-msg.sed: Removed.
36463         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36464         po2text.sed.
36465         * intl/po2test.awk: New file.
36466         * intl/po2test.sed: Removed.
36468 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36470         [BZ #14328]
36471         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36472         or multiply small sinh result by itself.
36473         * math/s_ctanf.c (__ctanf): Likewise.
36474         * math/s_ctanh.c (__ctanh): Likewise.
36475         * math/s_ctanhf.c (__ctanhf): Likewise.
36476         * math/s_ctanhl.c (__ctanhl): Likewise.
36477         * math/s_ctanl.c (__ctanl): Likewise.
36478         * math/libm-test.inc (ctan_test_tonearest): New function.
36479         (ctan_test_towardzero): Likewise.
36480         (ctan_test_downward): Likewise.
36481         (ctan_test_upward): Likewise.
36482         (ctanh_test_tonearest): Likewise.
36483         (ctanh_test_towardzero): Likewise.
36484         (ctanh_test_downward): Likewise.
36485         (ctanh_test_upward): Likewise.
36486         (main): Call these new functions.
36487         * sysdeps/i386/fpu/libm-test-ulps: Update.
36488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36490 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36492         * .gitignore: Delete /ports entry.
36494 2012-07-03  Andreas Jaeger  <aj@suse.de>
36496         * po/bg.po: Update from translation team.
36497         * po/cs.po: Likewise.
36498         * po/de.po: Likewise.
36499         * po/hr.po: Likewise.
36500         * po/nl.pl: Likewise.
36501         * po/pl.po: Likewise.
36502         * po/vi.po: Likewise.
36504 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36506         * Makeconfig [!+link] (+link-before-libc): New variable.
36507         [!+link] (+link-after-libc): Likewise.
36508         [!+link] (+link-tests): Likewise.
36509         [!+link] (+link): Define in terms of $(+link-before-libc) and
36510         $(+link-after-libc).
36511         [!+link-static] (+link-static-before-libc): New variable.
36512         [!+link-static] (+link-static-after-libc): Likewise.
36513         [!+link-static] (+link-static-tests): Likewise.
36514         [!+link-static] (+link-static): Define in terms of
36515         $(+link-static-before-libc) and $(+link-static-after-libc).
36516         [build-shared] (link-libc-before-gnulib): New variable.
36517         [build-shared] (link-libc-tests): Likewise.
36518         [build-shared] (link-libc): Define in terms of
36519         $(link-libc-before-gnulib).
36520         [!build-shared] (link-libc-tests): New variable.
36521         (link-libc-static-tests): New variable.
36522         [!gnulib] (gnulib-arch): New variable.
36523         [!gnulib] (gnulib-tests): Likewise.
36524         [!gnulib] (static-gnulib-arch): Likewise.
36525         [!gnulib] (static-gnulib-tests): Likewise.
36526         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36527         Define with "=" instead of ":=".
36528         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36529         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36530         * Rules (binaries-all-notests): New variable.
36531         (binaries-all-tests): Likewise.
36532         (binaries-static-notests): Likewise.
36533         (binaries-static-tests): Likewise.
36534         (binaries-all): Define using $(binaries-all-notests) and
36535         $(binaries-all-tests).
36536         (binaries-static): Define using $(binaries-static-notests) and
36537         $(binaries-static-tests).
36538         (binaries-shared-tests): New variable.
36539         (binaries-shared-notests): Likewise.
36540         (binaries-shared): Remove variable.
36541         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36542         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36543         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36544         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36545         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36546         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36547         * elf/Makefile (sln-modules): New variable.
36548         (extra-objs): Add $(sln-modules:=.o).
36549         (ldconfig-modules): Add static-stubs.
36550         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36551         * elf/static-stubs.c: New file.
36553         [BZ #14283]
36554         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36555         by 7 not 8 to examine high bit of fractional part.  Use volatile
36556         variables when splitting into final array of floats if
36557         __FLT_EVAL_METHOD__ != 0.
36558         * math/libm-test.inc (cos_test): Add another test.
36559         (sin_test): Likewise.
36560         * sysdeps/i386/fpu/libm-test-ulps: Update.
36562         [BZ #14273]
36563         * math/libm-test.inc (cosh_test): Add more tests.
36565         * version.h (RELEASE): Set to "development".
36566         (VERSION): Set to "2.16.90".
36568 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
36570         * NEWS: Update copyright. Remove last-updated date.
36571         Mention math library bug fixes and timezone data changes.
36572         * README: Mention GNU/Hurd, x32, and HPPA support status.
36574 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
36576         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36578 2012-06-27  Andreas Jaeger  <aj@suse.de>
36580         * manual/contrib.texi (Contributors): Add Samuel Thibault.
36582 2012-06-25  Andreas Jaeger  <aj@suse.de>
36584         * sysdeps/s390/fpu/libm-test-ulps: Update.
36586 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
36587             Thomas Schwinge  <thomas@codesourcery.com>
36589         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36590         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36592         fanotify_mark.
36594 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
36596         * sysdeps/mach/start.c: Remove file.
36597         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36598         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36599         * sysdeps/sh/init-first.c: Likewise.
36601         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36602         registers for frame unwinding purposes, add CFI directives.
36603         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36604         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36605         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36606         Likewise.
36608         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36609         __fortify_fail returning.
36610         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36612         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36613         sysdeps/sh/____longjmp_chk.S.
36614         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36615         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36616         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36617         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36619         * sysdeps/sh/abort-instr.h: New file.
36620         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36621         process in case exit returns.
36623         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36624         initialize the GOT register before use.
36626         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36627         calculation of ARGC > 4.
36629         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36630         meaningful names to some local labels.
36632 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36633             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36635         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36636         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36637         (__arch_compare_and_exchange_val_16_acq): Likewise.
36638         (__arch_compare_and_exchange_val_32_acq): Likewise.
36639         (atomic_exchange_and_add): Fix gUSA sequence.
36640         (atomic_add): Likewise.
36641         (atomic_add_negative): Likewise.
36642         (atomic_add_zero): Likewise.
36643         (atomic_bit_test_set): Likewise.
36645 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36647         [BZ #13579]
36648         * include/link.h (struct link_map): Add l_free_initfini.
36649         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36650         l_initfini.
36651         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36652         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36653         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36654         set.
36656 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36658         * configure.in: Use AC_LANG_SOURCE.
36659         * configure: Regenerate.
36661 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36663         * configure.in (libc_cv_localstatedir): New substituted variable.
36664         * configure: Regenerated.
36665         * config.make.in (localstatedir): New variable, substituted from
36666         libc_cv_localstatedir.
36667         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36668         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36669         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36670         * sysdeps/gnu/configure: Regenerated.
36672 2012-06-21  Jeff Law  <law@redhat.com>
36674         [BZ #14277]
36675         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36676         free.  Simplify list management for _LIBC case.
36678 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #14273]
36681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36682         Clear sign bit of 64-bit integer value before comparing against
36683         overflow value.
36685         * sysdeps/mach/configure: Regenerated.
36687 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36689         [BZ #14278]
36690         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36692 2012-06-21  Jeff Law  <law@redhat.com>
36694         [BZ #13882]
36695         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36696         uint16_t for elements in the "seen" array to avoid char overflows.
36697         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36698         * elf/dl-open.c (dl_open_worker): Likewise.
36700 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36702         * scripts/list-sources.sh: Scan PORTS for translations.
36703         * po/libc.pot: Regenerated.
36705 2012-06-21  Andreas Jaeger  <aj@suse.de>
36707         [BZ #12194]
36708         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36709         warning.
36710         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36711         * bits/byteswap-16.h (__bswap_16): Likewise.
36712         * bits/byteswap.h (__bswap_constant_16): Likewise.
36714 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36716         [BZ #14117]
36717         * sysdeps/i386/fpu_control.h: Removed.
36718         * sysdeps/x86_64/fpu_control.h: Moved to ...
36719         * sysdeps/x86/fpu_control.h: Here.
36721         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36722         (_FPU_SETCW): Likewise.
36724 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36726         [BZ #14117]
36727         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36728         * sysdeps/x86/fpu/bits/mathinline.h: This.
36729         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36731         [BZ #14050]
36732         [BZ #14117]
36733         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36734         functions if __x86_64__ is defined.
36736 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36738         * string/endian.h: Add !__ASSEMBLER__ condition for including
36739         conversion interfaces.
36741 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36743         [BZ #14241]
36744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36745         of ABS(x) in calculating zero to negative powers other than odd
36746         integers.
36747         * math/libm-test.inc (pow_test): Add more tests.
36749 2012-06-15  Andreas Jaeger  <aj@suse.de>
36751         * manual/contrib.texi (Contributors): Update entry of Liubov
36752         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36753         Machado Filho.
36755 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36757         * string/string.h: Add __wur to GNU version of strerror_r.
36759 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36761         [BZ #14229]
36762         * string/Makefile (tests): Add tst-strtok_r.
36763         * string/tst-strtok_r.c: New file.
36764         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36765         RAX_LP/RDX_LP on SAVE_PTR.
36767 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36769         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36771 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36773         * libm_test.inc (csqrt_test): Allow more spurious underflow
36774         exceptions.
36775         (j0_test): Likewise.
36776         (j1_test): Likewise.
36777         (y0_test): Likewise.
36778         (y1_test): Likewise.
36780 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36782         * po/Makefile (libc.pot): Use UTF-8 charset.
36784 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36786         [BZ #14210]
36787         Suppress sign-conversion warning from FD_SET.
36788         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36789         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36790         not unsigned long int.
36791         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36793 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36795         [BZ #14050]
36796         [BZ #14117]
36797         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36798         __extern_always_inline instead of __extern_inline.
36799         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36800         (__signbit): Likewise.
36801         (__signbitl): Support C++ namespace.
36802         (lrintf): New inline function.
36803         (lrint): Likewise.
36804         (llrintf): Likewise.
36805         (llrint): Likewise.
36806         (fmaxf): Likewise.
36807         (fmax): Likewise.
36808         (fminf): Likewise.
36809         (fmin): Likewise.
36810         (rint): Likewise.
36811         (rintf): Likewise.
36812         (ceil): Likewise.
36813         (ceilf): Likewise.
36814         (floor): Likewise.
36815         (floorf): Likewise.
36816         (nearbyint): Likewise.
36817         (nearbyintf): Likewise.
36819 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36821         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36822         non-default versions.
36824 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36826         [BZ #14218]
36827         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36829 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36831         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36832         (FE_UPWARD, FE_DOWNWARD): Don't define.
36833         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36834         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36836         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36837         reading it.
36838         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36839         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36841 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36843         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36844         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36845         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36846         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36848 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36850         [BZ #14117]
36851         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36852         * sysdeps/i386/fpu/Implies: New file.
36853         * sysdeps/x86_64/fpu/Implies: Likewise.
36854         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36855         * sysdeps/x86/fpu/bits/fenv.h: This.
36857         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36858         __SSE_MATH__.
36860 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36862         [BZ #14134]
36863         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36864         character 0xffff that matches the last element of the
36865         conversion table.
36867 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36869         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36870         fmodl commit.
36872 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36874         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36875         values higher than 25.6283.
36877 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36880         subnormal exponent extraction and add some __builtin_expect.
36881         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36882         Fix for subnormal mantissa calculation.
36884 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36886         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36887         cpu2 is -1 and errno is not ENOSYS.
36889 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36891         [BZ #14117]
36892         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36893         * sysdeps/x86/bits/string.h: This.
36894         * sysdeps/x86_64/bits/string.h: Removed.
36896         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36897         if not compiling for x86-64, but compiling for >= i486.
36899         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36900         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36902         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36903         New macro from Linux kernel 3.4.0.
36904         (FP_XSTATE_MAGIC2): Likewise.
36905         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36906         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36907         (struct _fpx_sw_bytes): New struct.
36908         (struct _xsave_hdr): Likewise.
36909         (struct _ymmh_state): Likewise.
36910         (struct _xstate): Likewise.
36912         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36913         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36914         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36915         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36916         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36917         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36919         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36920         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36921         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36922         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36923         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36924         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36926 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36928         [BZ #13743]
36929         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36930         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36931         (sysdep_headers): Include sys/platform/ppc.h.
36932         * sysdeps/powerpc/test-gettimebase.c: Test for
36933         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36934         * manual/Makefile (appendices): Include platform.texi.
36935         * manual/contrib.texi (Contributors): Update @node pointers.
36936         * manual/maint.texi (Maintenance): Likewise.
36937         (Platform): New node.
36938         * manual/platform.texi: New file.  Document the new features.
36940 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36941             Jakub Jelinek  <jakub@redhat.com>
36943         [BZ #14188]
36944         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36945         where __builtin_expect is unavailable.
36947 2012-06-03  David S. Miller  <davem@davemloft.net>
36949         * stdlib/longlong.h: Updated from GCC.
36951 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36953         [BZ #14042]
36954         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36955         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36956         __mcount_internal.
36957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36958         (GLIBC_2.16): Likewise.
36960 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36962         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36964 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36967         (default-abi): New variable.
36968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36969         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36970         variable.
36971         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36972         Likewise.
36973         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36974         Likewise.
36975         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36976         Likewise.
36978         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36979         definition.  Document in comment.
36981 2012-06-01  David S. Miller  <davem@davemloft.net>
36983         * stdlib/longlong.h: Updated from GCC.
36985 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36987         [BZ #14117]
36988         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36989         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36990         sys/debugreg.h sys/io.h here.
36991         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36992         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36993         sys/io.h.
36994         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36995         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36996         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36997         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36998         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36999         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37001         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37002         Define only if __x86_64__ is defined.
37004 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37006         [BZ #14048]
37007         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37008         Use int64_t for variable i.
37009         * math/libm-test.inc (fmod_test): Add more tests.
37011         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37012         z computation is not scheduled after fetestexcept.
37013         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37014         Use math_force_eval instead of asm to ensure calculation scheduled
37015         before exception test.
37016         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37017         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37019 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37022         computation is not scheduled after fetestexcept.
37024 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37026         [BZ #14117]
37027         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37028         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37030 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37032         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37033         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37035 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37037         [BZ #14117]
37038         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37039         <bits/wordsize.h>.
37040         (__WCHAR_MIN): Support __WORDSIZE == 64.
37041         (__WCHAR_MAX): Likewise.
37043         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37044         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37046         [BZ #14183]
37047         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37048         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37050         [BZ #14117]
37051         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37052         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37054         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37055         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37057         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37058         Defined to 1 if __x86_64__ isn't defined.
37059         (_STAT_VER_LINUX_OLD): New.
37060         (st_atime): Remove duplicate.
37061         (st_mtime): Likewise.
37062         (st_ctime): Likewise.
37064 2012-05-31  David S. Miller  <davem@davemloft.net>
37066         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37067         entries.
37069 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37071         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37072         gen-libm-test.pl.
37074         [BZ #14132]
37075         * elf/dl-reloc.c: Include <_itoa.h>.
37076         (_dl_reloc_bad_type): Remove use of INTUSE.
37077         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37078         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37079         * stdio-common/psiginfo.c (psiginfo): Likewise.
37080         * stdio-common/psignal.c (psignal): Likewise.
37081         * string/strsignal.c (strsignal): Likewise.
37082         * include/signal.h (_sys_siglist): Declare hidden proto.
37083         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37084         INTVARDEF with libc_hidden_data_def.
37085         * stdio-common/itoa-udigits.c: Likewise.
37086         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37087         (_itoa_lower_digits_internal): Remove declaration.
37088         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37089         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37090         (_sys_sigabbrev_internal): Remove aliases.
37091         (_sys_siglist): Define hidden alias.
37093 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37095         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37096         bits/sysctl.h.
37098 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37100         [BZ #14117]
37101         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37102         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37104         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37105         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37106         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37107         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37108         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37109         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37111         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37112         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37113         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37115         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37116         with __addr.
37117         (insw): Likewise.
37118         (insl): Likewise.
37119         (outsb): Likewise.
37120         (outsw): Likewise.
37121         (outsl): Likewise.
37123         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37124         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37125         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37127         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37128         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37129         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37130         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37131         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37132         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37134         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37135         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37137         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37138         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37140         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37142         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37144         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37145         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37146         to ...
37147         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37149         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37150         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37151         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37153         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37154         for x86-64.
37155         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37157 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37159         * math/math.h (M_El): Use two more decimal places.
37160         (M_LOG2El): Likewise.
37161         (M_LOG10El): Likewise.
37162         (M_LN2l): Likewise.
37163         (M_LN10l): Likewise.
37164         (M_PIl): Likewise.
37165         (M_PI_2l): Likewise.
37166         (M_PI_4l): Likewise.
37167         (M_1_PIl): Likewise.
37168         (M_2_PIl): Likewise.
37169         (M_2_SQRTPIl): Likewise.
37170         (M_SQRT2l): Likewise.
37171         (M_SQRT1_2l): Likewise.
37173 2012-05-31  David S. Miller  <davem@davemloft.net>
37175         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37176         values between float registers.
37177         * sysdeps/sparc/sparc64/memset.S: Likewise.
37178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37180 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37182         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37183         -D_FORTIFY_SOURCE=1.
37184         (CPPFLAGS-tst-longjmp_chk.c): Define.
37185         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37186         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37187         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37188         CFLAGS-tst-wchar-h.c.
37190 2012-05-31  Marek Polacek  <polacek@redhat.com>
37192         [BZ #14132]
37193         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37194         __endmntent_internal): Remove declaration.
37195         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37196         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37197         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37199 2012-05-30  David S. Miller  <davem@davemloft.net>
37201         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37202         (___Q_simulate_exceptions): Use real FP ops rather than writing
37203         into the %fsr.
37204         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37205         Likewise.
37207 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37209         [BZ #14117]
37210         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37211         * sysdeps/x86/bits/xtitypes.h: This.
37213         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37214         * sysdeps/x86/bits/wordsize.h: This.
37216         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37217         * sysdeps/x86/bits/huge_vall.h: This.
37219         * sysdeps/i386/bits/select.h: Removed.
37220         * sysdeps/x86_64/bits/select.h: Renamed to ...
37221         * sysdeps/x86/bits/select.h: This.
37223         * sysdeps/i386/bits/setjmp.h: Removed.
37224         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37225         * sysdeps/x86/bits/setjmp.h: This.
37227         * sysdeps/i386/bits/mathdef.h: Removed.
37228         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37229         * sysdeps/x86/bits/mathdef.h: This.
37231 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37233         [BZ #14132]
37234         * include/sys/socket.h (__connect_internal)
37235         (__libc_sa_len_internal): Remove declaration.
37236         (__connect, __libc_sa_len): Declare hidden_proto.
37237         (SA_LEN): Remove use of INTUSE.
37238         * socket/connect.c: Add libc_hidden_def.
37239         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37240         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37241         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37242         alias.
37243         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37244         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37245         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37246         of adding _internal alias.
37248 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37250         [BZ #14117]
37251         * sysdeps/i386/bits/link.h: Removed.
37252         * sysdeps/i386/bits/linkmap.h: Likewise.
37253         * sysdeps/x86_64/bits/link.h: Renamed to ...
37254         * sysdeps/x86/bits/link.h: This.
37255         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37256         * sysdeps/x86/bits/linkmap.h: This.
37258         * sysdeps/i386/bits/endian.h: Removed.
37259         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37260         * sysdeps/x86/bits/endian.h: This.
37262         * sysdeps/i386/bits/byteswap.h: Removed.
37263         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37264         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37265         * sysdeps/x86/bits/byteswap.h: This.
37266         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37267         * sysdeps/x86/bits/byteswap-16.h: This.
37268         * sysdeps/i386/Implies: Add x86.
37269         * sysdeps/x86_64/Implies: Likewise.
37271 2012-05-30  David S. Miller  <davem@davemloft.net>
37273         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37274         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37275         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37276         (FP_TRAPPING_EXCEPTIONS): Define.
37277         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37278         (FP_TRAPPING_EXCEPTIONS): Define.
37279         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37280         subnormals only when inexact has been signalled or underflow
37281         exceptions are enabled.
37282         (_FP_PACK_CANONICAL): Likewise.
37284 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37286         [BZ #14183]
37287         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37288         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37290 2012-05-30  Richard Henderson  <rth@twiddle.net>
37292         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37293         with #ifndef NOT_IN_libc.
37295         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37296         marked to avoid plt entry.
37298 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37300         [BZ #14112]
37301         * Makeconfig (default-abi): New macro.
37302         (abi-includes): Likewise.
37303         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37304         $(abi-$(default-abi)-lib-soname) for soname if defined.
37305         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37306         abi-variants.
37307         * Makefile (installed-stubs): Likewise.
37308         * include/stubs-biarch.h: Removed.
37309         * scripts/lib-names.awk: Only handle one library at a time.
37310         * scripts/soversions.awk: Remove WORDSIZE support.
37311         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37312         entries.
37313         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37314         Removed.
37315         (syscall-list-default-condition): Likewise.
37316         (syscall-list-default-condition): Likewise.
37317         (syscall-list-includes): Likewise.
37318         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37319         syscall-list-* with abi-*.  Handle undefined abi-variants.
37320         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37321         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37322         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37323         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37324         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37325         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37326         Removed.
37327         (syscall-list-32-options): Likewise.
37328         (syscall-list-32-condition): Likewise.
37329         (syscall-list-64-options): Likewise.
37330         (syscall-list-64-condition): Likewise.
37331         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37332         macro.
37333         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37334         Renamed to ...
37335         (abi-*): This.
37336         (abi-64-ld-soname): New macro.
37337         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37338         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37339         Renamed to ...
37340         (abi-*): This.
37341         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37342         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37344 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37346         * sysdeps/unix/sysv/linux/kernel-features.h
37347         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37348         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37349         include <kernel-features.h>.
37350         [!__NR_ftruncate64]: Remove conditional code.
37351         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37352         [__NR_ftruncate64]: Make code unconditional.
37353         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37354         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37355         include <kernel-features.h>.
37356         [!__NR_ftruncate64]: Remove conditional code.
37357         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37358         [__NR_ftruncate64]: Make code unconditional.
37359         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37361         include <kernel-features.h>.
37362         [!__NR_ftruncate64]: Remove conditional code.
37363         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37364         [__NR_ftruncate64]: Make code unconditional.
37365         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37367         include <kernel-features.h>.
37368         [!__NR_ftruncate64]: Remove conditional code.
37369         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37370         [__NR_ftruncate64]: Make code unconditional.
37371         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37373         * configure.in (libc_cv_fpie): Weaken to a compile test using
37374         LIBC_TRY_CC_OPTION.
37375         * configure: Regenerated.
37377 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37383         Refreshed.
37384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37390         Refreshed.
37392 2012-05-27  David S. Miller  <davem@davemloft.net>
37394         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37395         (___Q_zero): New.
37396         (__Q_simulate_exceptions): Return void.  Change to simulate
37397         exceptions by writing into the %fsr.
37398         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37399         (__Qp_handle_exceptions): Likewise.
37400         (numbers): Delete.
37401         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37402         __Qp_handle_exceptions.
37403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37404         __Qp_handle_exceptions.
37405         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37406         as unused and give dummy FP_RND_NEAREST initializer.
37407         (FP_INHIBIT_RESULTS): Define.
37408         (___Q_simulate_exceptions): Update declaration.
37409         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37410         formatting.
37411         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37412         as unused and give dummy FP_RND_NEAREST initializer.
37413         (__Qp_handle_exceptions): Update declaration.
37414         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37415         formatting.
37417 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37419         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37420         the temporary FPU control word.
37421         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37422         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37423         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37424         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37425         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37426         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37427         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37428         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37429         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37430         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37433 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37435         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37436         fields.
37438 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37440         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37441         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37442         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37443         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37444         Likewise.
37445         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37446         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37447         Likewise.
37449 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37451         * po/h.po: Update from translation team.
37453 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37455         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37457         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37458         handling of denormals.
37459         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37460         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37461         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37462         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37463         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37466         Likewise.
37468 2012-05-26  Marek Polacek  <polacek@redhat.com>
37470         [BZ #14152]
37471         * math/libm-test.inc (fma_test): Don't always expect underflow
37472         exception.
37474 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37476         [BZ #12416]
37477         * elf/tst-execstack.c: Include stackinfo.h.
37478         (do_test): Adjust test case to ensure that pthread_getattr_np
37479         behaviour remains the same after marking stack executable.
37481 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37483         * sysdeps/unix/sysv/linux/kernel-features.h
37484         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37485         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37486         kernel-features.h.
37487         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37488         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37489         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37490         kernel-features.h.
37491         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37492         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37494 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37496         * configure.in: Define the default includes to being none.
37497         * configure: Regenerated.
37499 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37501         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37502         * sysdeps/x86_64/setjmp.S: Likewise.
37503         * sysdeps/i386/bsd-setjmp.S: Likewise.
37504         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37505         * sysdeps/i386/setjmp.S: Likewise.
37506         * sysdeps/i386/__longjmp.S: Likewise.
37507         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37508         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37510         * include/stap-probe.h: New file.
37511         * configure.in: Handle --enable-systemtap.
37512         * configure: Regenerated.
37513         * config.h.in (USE_STAP_PROBE): New #undef.
37514         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37515         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37516         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37518 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37520         [BZ #13717]
37521         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37522         to 2.4.0 where earlier.
37523         * sysdeps/unix/sysv/linux/configure: Regenerated.
37524         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37525         <kernel-features.h>.
37526         [__ASSUME_32BITUIDS]: Make code unconditional.
37527         [!__ASSUME_32BITUIDS]: Remove conditional code.
37528         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37529         <kernel-features.h>.
37530         [__ASSUME_32BITUIDS]: Make code unconditional.
37531         [!__ASSUME_32BITUIDS]: Remove conditional code.
37532         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37533         [__ASSUME_32BITUIDS]: Make code unconditional.
37534         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37535         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37536         <kernel-features.h>.
37537         [__ASSUME_32BITUIDS]: Make code unconditional.
37538         [!__ASSUME_32BITUIDS]: Remove conditional code.
37539         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37540         <kernel-features.h>.
37541         [__ASSUME_32BITUIDS]: Make code unconditional.
37542         [!__ASSUME_32BITUIDS]: Remove conditional code.
37543         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37544         <kernel-features.h>.
37545         [__ASSUME_32BITUIDS]: Make code unconditional.
37546         [!__ASSUME_32BITUIDS]: Remove conditional code.
37547         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37548         <kernel-features.h>.
37549         [__ASSUME_32BITUIDS]: Make code unconditional.
37550         [!__ASSUME_32BITUIDS]: Remove conditional code.
37551         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37552         <kernel-features.h>.
37553         [__ASSUME_32BITUIDS]: Make code unconditional.
37554         [!__ASSUME_32BITUIDS]: Remove conditional code.
37555         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37556         <kernel-features.h>.
37557         [__ASSUME_32BITUIDS]: Make code unconditional.
37558         [!__ASSUME_32BITUIDS]: Remove conditional code.
37559         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37560         <kernel-features.h>.
37561         [__ASSUME_32BITUIDS]: Make code unconditional.
37562         [!__ASSUME_32BITUIDS]: Remove conditional code.
37563         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37564         <kernel-features.h>.
37565         [__ASSUME_32BITUIDS]: Make code unconditional.
37566         [!__ASSUME_32BITUIDS]: Remove conditional code.
37567         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37568         <kernel-features.h>.
37569         [__ASSUME_32BITUIDS]: Make code unconditional.
37570         [!__ASSUME_32BITUIDS]: Remove conditional code.
37571         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37572         <kernel-features.h>.
37573         [__ASSUME_32BITUIDS]: Make code unconditional.
37574         [!__ASSUME_32BITUIDS]: Remove conditional code.
37575         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37576         <kernel-features.h>.
37577         [__NR_setresgid] (__setresgid): Do not declare.
37578         [__ASSUME_32BITUIDS]: Make code unconditional.
37579         [!__ASSUME_32BITUIDS]: Remove conditional code.
37580         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37581         <kernel-features.h>.
37582         [__NR_setresuid] (__setresuid): Do not declare.
37583         [__ASSUME_32BITUIDS]: Make code unconditional.
37584         [!__ASSUME_32BITUIDS]: Remove conditional code.
37585         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37586         <kernel-features.h>.
37587         [__ASSUME_32BITUIDS]: Make code unconditional.
37588         [!__ASSUME_32BITUIDS]: Remove conditional code.
37589         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37590         <kernel-features.h>.
37591         [__ASSUME_32BITUIDS]: Make code unconditional.
37592         [!__ASSUME_32BITUIDS]: Remove conditional code.
37593         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37594         <kernel-features.h>.
37595         [__ASSUME_32BITUIDS]: Make code unconditional.
37596         [!__ASSUME_32BITUIDS]: Remove conditional code.
37597         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37598         <kernel-features.h>.
37599         [__ASSUME_32BITUIDS]: Make code unconditional.
37600         [!__ASSUME_32BITUIDS]: Remove conditional code.
37601         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37602         <kernel-features.h>.
37603         [__ASSUME_32BITUIDS]: Make code unconditional.
37604         [!__ASSUME_32BITUIDS]: Remove conditional code.
37605         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37606         <kernel-features.h>.
37607         [__ASSUME_32BITUIDS]: Make code unconditional.
37608         [!__ASSUME_32BITUIDS]: Remove conditional code.
37609         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37610         <kernel-features.h>.
37611         [__ASSUME_32BITUIDS]: Make code unconditional.
37612         [!__ASSUME_32BITUIDS]: Remove conditional code.
37613         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37614         <kernel-features.h>.
37615         [__ASSUME_32BITUIDS]: Make code unconditional.
37616         [!__ASSUME_32BITUIDS]: Remove conditional code.
37617         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37618         <kernel-features.h>.
37619         [__ASSUME_32BITUIDS]: Make code unconditional.
37620         [!__ASSUME_32BITUIDS]: Remove conditional code.
37621         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37622         <kernel-features.h>.
37623         [__ASSUME_32BITUIDS]: Make code unconditional.
37624         [!__ASSUME_32BITUIDS]: Remove conditional code.
37625         * sysdeps/unix/sysv/linux/kernel-features.h
37626         (__ASSUME_SETRESUID_SYSCALL): Remove.
37627         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37628         (__ASSUME_32BITUIDS): Likewise.
37629         (__ASSUME_LDT_WORKS): Likewise.
37630         (__ASSUME_O_DIRECTORY): Likewise.
37631         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37632         architecture but not kernel version.
37633         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37634         (__ASSUME_MMAP2_SYSCALL): Likewise.
37635         (__ASSUME_STAT64_SYSCALL): Likewise.
37636         (__ASSUME_IPC64): Likewise.
37637         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37638         <kernel-features.h>.
37639         [__ASSUME_32BITUIDS]: Make code unconditional.
37640         [!__ASSUME_32BITUIDS]: Remove conditional code.
37641         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37642         <kernel-features.h>.
37643         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37644         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37645         132096]: Remove conditional code.
37646         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37647         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37648         <kernel-features.h>.
37649         [__ASSUME_32BITUIDS]: Make code unconditional.
37650         [!__ASSUME_32BITUIDS]: Remove conditional code.
37651         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37652         <kernel-features.h>.
37653         [__ASSUME_32BITUIDS]: Make code unconditional.
37654         [!__ASSUME_32BITUIDS]: Remove conditional code.
37655         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37656         <kernel-features.h>.
37657         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37658         unconditional.
37659         (__setresgid): Do not declare.
37660         [__ASSUME_32BITUIDS]: Make code unconditional.
37661         [!__ASSUME_32BITUIDS]: Remove conditional code.
37662         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37663         <kernel-features.h>.
37664         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37665         unconditional.
37666         (__setresuid): Do not declare.
37667         [__ASSUME_32BITUIDS]: Make code unconditional.
37668         [!__ASSUME_32BITUIDS]: Remove conditional code.
37669         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37670         <kernel-features.h>.
37671         [__ASSUME_32BITUIDS]: Make code unconditional.
37672         [!__ASSUME_32BITUIDS]: Remove conditional code.
37673         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37674         <kernel-features.h>.
37675         [__ASSUME_32BITUIDS]: Make code unconditional.
37676         [!__ASSUME_32BITUIDS]: Remove conditional code.
37678 2012-05-25  Richard Henderson  <rth@twiddle.net>
37680         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37681         dl_hwcap to ifunc resolver.
37682         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37683         elf_ifunc_invoke.
37684         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37685         dl_hwcap to ifunc resolver.
37686         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37688 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37690         [BZ #14153]
37691         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37692         for |x| <= 2**-26, not 2**-57.
37693         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37694         exception.
37696 2012-05-24  Jeff Law  <law@redhat.com>
37698         * stdio-common/Makefile (tests): Add bug25.
37699         * stdio-common/bug25.c: New test.
37701 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37703         [BZ #13576]
37704         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37705         multiple of MALLOC_ALIGNMENT in size.
37706         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37708 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37710         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37711         Require >= 256.
37712         (FILENAME_MAX): Use macro-int-constant.
37713         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37714         (_IOFBF): Use macro-int-constant.
37715         (_IOLBF): Likewise.
37716         (_IONBF): Likewise.
37717         (SEEK_CUR): Likewise.
37718         (SEEK_END): Likewise.
37719         (SEEK_SET): Likewise.
37720         (TMP_MAX): Likewise.
37721         (EOF): Use macro-int-constant.  Require < 0.
37722         (NULL): Use macro-constant.  Require == 0.
37723         (stdin): Require type to be FILE *.
37724         (stdout): Likewise.
37725         (stderr): Likewise.
37726         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37727         macro-int-constant.
37728         (EXIT_SUCCESS): Likewise.
37729         (NULL): Use macro-constant.  Require == 0.
37730         (RAND_MAX): Use macro-int-constant.
37731         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37732         [C99-based standards] (strtof): Require function.
37733         [C99-based standards] (strtold): Likewise.
37734         [C99-based standards] (strtoll): Likewise.
37735         [C99-based standards] (strtoull): Likewise.
37736         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37737         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37738         [ISO || ISO99 || ISO11] (math.h): Likewise.
37739         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37740         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37743 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37745         [BZ #14132]
37746         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37747         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37748         * intl/dgettext.c (DCGETTEXT): Likewise.
37749         * intl/gettext.c (DCGETTEXT): Likewise.
37750         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37751         * posix/regex_internal.h (gettext): Likewise.
37752         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37753         Remove declaration.
37754         * include/argz.h (__argz_count_internal)
37755         (__argz_stringify_internal): Remove declaration.
37756         (__argz_count, __argz_stringify): Declare hidden proto.
37757         * intl/dcgettext.c: Remove use of INTDEF.
37758         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37759         * string/argz-stringify.c: Likewise.
37760         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37761         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37762         Declare hidden proto.
37763         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37764         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37765         Declare hidden proto.
37766         * include/stdio.h (__asprintf_internal): Don't declare.
37767         (__asprintf): Don't define as macro.  Declare hidden proto.
37768         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37769         (__fsetlocking): Declare hidden proto.
37770         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37771         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37772         hidden proto.
37773         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37774         (_IO_setlinebuf): Remove use of INTUSE.
37775         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37776         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37777         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37778         Remove declaration.
37779         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37780         (_IO_do_flush): Remove use of INTUSE.
37781         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37782         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37783         (_IO_adjust_column, _IO_least_wmarker)
37784         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37785         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37786         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37787         (_IO_default_doallocate, _IO_wdefault_doallocate)
37788         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37789         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37790         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37791         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37792         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37793         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37794         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37795         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37796         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37797         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37798         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37799         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37800         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37801         proto.
37802         (_IO_flush_all_internal, _IO_adjust_column_internal)
37803         (_IO_default_uflow_internal, _IO_default_finish_internal)
37804         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37805         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37806         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37807         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37808         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37809         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37810         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37811         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37812         (_IO_file_close_internal, _IO_file_close_it_internal)
37813         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37814         (_IO_file_init_internal, _IO_file_attach_internal)
37815         (_IO_file_fopen_internal, _IO_file_read_internal)
37816         (_IO_file_sync_internal, _IO_file_seek_internal)
37817         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37818         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37819         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37820         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37821         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37822         (_IO_list_all_internal, _IO_link_in_internal)
37823         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37824         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37825         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37826         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37827         (_IO_do_write_internal, _IO_padn_internal)
37828         (_IO_getline_info_internal, _IO_getline_internal)
37829         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37830         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37831         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37832         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37833         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37834         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37835         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37836         with libc_hidden_ver, remove use of INTUSE.
37837         * libio/genops.c: Likewise.
37838         * libio/freopen.c: Likewise.
37839         * libio/freopen64.c: Likewise.
37840         * libio/iofclose.c: Likewise.
37841         * libio/iofdopen.c: Likewise.
37842         * libio/iofflush.c: Likewise.
37843         * libio/iofflush_u.c: Likewise.
37844         * libio/iofgets.c: Likewise.
37845         * libio/iofgets_u.c: Likewise.
37846         * libio/iofopen.c: Likewise.
37847         * libio/iofopncook.c: Likewise.
37848         * libio/iofread.c: Likewise.
37849         * libio/iofread_u.c: Likewise.
37850         * libio/ioftell.c: Likewise.
37851         * libio/iofwrite.c: Likewise.
37852         * libio/iogetline.c: Likewise.
37853         * libio/iogets.c: Likewise.
37854         * libio/iogetwline.c: Likewise.
37855         * libio/iopadn.c: Likewise.
37856         * libio/iopopen.c: Likewise.
37857         * libio/ioseekoff.c: Likewise.
37858         * libio/ioseekpos.c: Likewise.
37859         * libio/iosetbuffer.c: Likewise.
37860         * libio/iosetvbuf.c: Likewise.
37861         * libio/ioungetc.c: Likewise.
37862         * libio/ioungetwc.c: Likewise.
37863         * libio/iovdprintf.c: Likewise.
37864         * libio/iovsprintf.c: Likewise.
37865         * libio/iovsscanf.c: Likewise.
37866         * libio/memstream.c: Likewise.
37867         * libio/obprintf.c: Likewise.
37868         * libio/oldfileops.c: Likewise.
37869         * libio/oldiofclose.c: Likewise.
37870         * libio/oldiofdopen.c: Likewise.
37871         * libio/oldiofopen.c: Likewise.
37872         * libio/oldiopopen.c: Likewise.
37873         * libio/oldstdfiles.c: Likewise.
37874         * libio/putc.c: Likewise.
37875         * libio/setbuf.c: Likewise.
37876         * libio/setlinebuf.c: Likewise.
37877         * libio/stdfiles.c: Likewise.
37878         * libio/strops.c: Likewise.
37879         * libio/vasprintf.c: Likewise.
37880         * libio/vscanf.c: Likewise.
37881         * libio/vsnprintf.c: Likewise.
37882         * libio/vswprintf.c: Likewise.
37883         * libio/wfiledoalloc.c: Likewise.
37884         * libio/wfileops.c: Likewise.
37885         * libio/wgenops.c: Likewise.
37886         * libio/wmemstream.c: Likewise.
37887         * libio/wstrops.c: Likewise.
37888         * libio/__fpurge.c: Likewise.
37889         * libio/__fsetlocking.c: Likewise.
37890         * assert/assert.c: Likewise.
37891         * debug/fgets_chk.c: Likewise.
37892         * debug/fgets_u_chk.c: Likewise.
37893         * debug/fread_chk.c: Likewise.
37894         * debug/fread_u_chk.c: Likewise.
37895         * debug/gets_chk.c: Likewise.
37896         * debug/obprintf_chk.c: Likewise.
37897         * debug/vasprintf_chk.c: Likewise.
37898         * debug/vdprintf_chk.c: Likewise.
37899         * debug/vsnprintf_chk.c: Likewise.
37900         * debug/vsprintf_chk.c: Likewise.
37901         * malloc/mtrace.c: Likewise.
37902         * misc/error.c: Likewise.
37903         * misc/syslog.c: Likewise.
37904         * stdio-common/asprintf.c: Likewise.
37905         * stdio-common/fxprintf.c: Likewise.
37906         * stdio-common/getw.c: Likewise.
37907         * stdio-common/isoc99_fscanf.c: Likewise.
37908         * stdio-common/isoc99_scanf.c: Likewise.
37909         * stdio-common/isoc99_vfscanf.c: Likewise.
37910         * stdio-common/isoc99_vscanf.c: Likewise.
37911         * stdio-common/isoc99_vsscanf.c: Likewise.
37912         * stdio-common/printf-prs.c: Likewise.
37913         * stdio-common/printf_fp.c: Likewise.
37914         * stdio-common/printf_fphex.c: Likewise.
37915         * stdio-common/printf_size.c: Likewise.
37916         * stdio-common/putw.c: Likewise.
37917         * stdio-common/scanf.c: Likewise.
37918         * stdio-common/sprintf.c: Likewise.
37919         * stdio-common/tmpfile.c: Likewise.
37920         * stdio-common/vfprintf.c: Likewise.
37921         * stdio-common/vfscanf.c: Likewise.
37922         * stdlib/strfmon_l.c: Likewise.
37923         * sunrpc/openchild.c: Likewise.
37924         * sunrpc/xdr_stdio.c: Likewise.
37925         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37926         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37928 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37930         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37932         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37933         in the third column, to generate for the shared library an IFUNC
37934         that uses _dl_vdso_vsym.
37935         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37936         * Makeconfig (object-suffixes-noshared): New variable.
37938         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37939         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37940         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37941         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37943         [BZ #14132]
37944         * include/sys/time.h (__gettimeofday): Remove macro.
37945         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37946         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37947         Remove INTDEF.
37948         (__gettimeofday): Add libc_hidden_def.
37949         (gettimeofday): Add libc_hidden_weak.
37950         * sysdeps/mach/gettimeofday.c: Likewise.
37951         * sysdeps/posix/gettimeofday.c: Likewise.
37952         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37953         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37955         (__gettimeofday_internal): Remove strong_alias.
37956         (__gettimeofday): Add libc_hidden_def.
37957         (gettimeofday): Add libc_hidden_weak.
37958         * sysdeps/unix/syscalls.list (gettimeofday):
37959         Remove __gettimeofday_internal alias.
37961 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37962             H.J. Lu  <hongjiu.lu@intel.com>
37964         [BZ #12495]
37965         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37966         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37967         (largebin_index_32_big): New.
37968         (largebin_index): Use it for 16-byte alignment.
37969         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
37970         correction with front_misalign.
37972 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37976         Likewise.
37977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37978         Likewise.
37979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37980         Likewise.
37981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37982         Likewise.
37983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37984         Likewise.
37985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37986         Likewise.
37987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37988         Likewise.
37989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37990         Likewise.
37991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37992         Likewise.
37993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37994         Likewise.
37995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37996         Likewise.
37997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37998         Likewise.
38000         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38001         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38003 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38005         [BZ #10846]
38006         [BZ #14036]
38007         * math/libm-test.inc (exp_test): Add test from bug 14036.
38008         (pow_test): Add test from bug 10846.
38010         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38011         and other flags.
38012         (special_function): Do not include flags in test name.
38013         (parse_args): Likewise.
38014         * sysdeps/i386/fpu/libm-test-ulps: Update.
38015         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38016         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38017         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38020         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38021         exceptions.
38022         * math/libm-test.inc ("Philosophy"): Update comment about
38023         exception testing.
38024         (UNDERFLOW_EXCEPTION): New macro.
38025         (UNDERFLOW_EXCEPTION_OK): Likewise.
38026         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38027         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38028         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38029         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38030         (INVALID_EXCEPTION_OK): Update value.
38031         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38032         (OVERFLOW_EXCEPTION_OK): Likewise.
38033         (IGNORE_ZERO_INF_SIGN): Likewise.
38034         (test_exceptions): Handle underflow exceptions.
38035         (acos_test): Update for underflow exception expectations.
38036         (cexp_test): Likewise.
38037         (clog_test): Likewise.
38038         (clog10_test): Likewise.
38039         (csqrt_test): Likewise.
38040         (ctan_test): Likewise.
38041         (ctanh_test): Likewise.
38042         (exp_test): Likewise.
38043         (exp10_test): Likewise.
38044         (exp2_test): Likewise.
38045         (expm1_test): Likewise.
38046         (fma_test): Likewise.
38047         (j0_test): Likewise.
38048         (jn_test): Likewise.
38049         (nexttoward_test): Likewise.
38050         (pow_test): Likewise.
38051         (scalbn_test): Likewise.
38052         (scalbln_test): Likewise.
38053         (tan_test): Likewise.
38054         (y1_test): Likewise.
38055         * sysdeps/i386/fpu/libm-test-ulps: Update.
38056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38058 2012-05-23  David S. Miller  <davem@davemloft.net>
38060         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38061         (__libc_sigaction): Remove unused local variables.
38063 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38065         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38067 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38069         mktime: avoid signed integer overflow
38070         * time/mktime.c (__mktime_internal): Do not mishandle the case
38071         where diff == INT_MIN.
38073         mktime: simplify computation of average
38074         * time/mktime.c (ranged_convert): Use new time_t_avg function
38075         instead of rolling our own (probably-slower) code.
38077         mktime: do not assume signed right shift propagates sign bit
38078         * time/mktime.c (isdst_differ): New static function.
38079         (__mktime_internal): No need to normalize tm_isdst now.
38080         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38081         tm_isdst values.
38083         mktime: merge another wrapv change from gnulib
38084         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38085         from some compilers.
38087         mktime: remove incorrect attempt at unusual arithmetics
38088         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38089         The code didn't really work on such machines anyway.
38090         (TYPE_MINIMUM): Assume two's complement.
38091         (twos_complement_arithmetic): Verify that long_int and time_t
38092         are two's complement (or unsigned, in the latter case).
38094         mktime: check signed shifts on long_int and time_t, too
38095         * time/mktime.c (SHR): Check that shifts work as desired
38096         on the types long_int and time_t too, as SHR is used on
38097         such types.
38099         mktime: do not assume 'long' is wide enough
38100         * time/mktime.c (verify): Move decl up.
38101         (long_int): New type.
38102         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38103         to remove assumption in the code that 'long' is wide enough to
38104         store year values.  This assumption is not true on x32 and on
38105         some non-glibc platforms.
38107         mktime: merge wrapv change from gnulib
38108         * time/mktime.c (WRAPV): New macro.
38109         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38110         (guess_time_tm, __mktime_internal): Do not assume that signed
38111         integer overflow wraps around; modern compilers generate code
38112         where this assumption is no longer valid.
38114 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38116         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38117         Replace "jmp L(pseudo_end)" with "ret".
38118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38119         Likewise.
38121 2012-05-23  Andreas Jaeger  <aj@suse.de>
38123         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38124         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38126 2012-05-23  Andreas Jaeger  <aj@suse.de>
38127             Maximilian Attems  <max@stro.at>
38129         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38130         New macros.
38132 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38134         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38135         code so that pseudo_end is just ret and the stack pointer is
38136         correct also for static library in error case.
38138 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38140         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38141         move to syscalls.list.
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38147         * manual/install.texi (Running make install): Do not mention Linux
38148         kernel version for which pt_chown is not needed.
38149         (Linux): Do not mention problems with nscd with 2.0 kernels.
38150         * INSTALL: Regenerated.
38152 2012-05-23  Andreas Jaeger  <aj@suse.de>
38154         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38155         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38156         macro.
38157         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38158         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38159         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38160         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38161         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38162         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38163         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38164         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38165         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38166         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38167         * sysdeps/unix/sysv/linux/bits/in.h
38168         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38170 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38172         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38173         (PREPARE_VERSION): Just use assert instead, it will be elided
38174         under [NDEBUG] anyway.
38176 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38178         * sysdeps/unix/sysv/linux/Makefile: Include
38179         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38180         (sysdep_routines): Remove sysctl.
38181         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38182         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38183         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38184         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38185         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38187 2012-05-22  Andreas Jaeger  <aj@suse.de>
38189         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38190         that pseudo_end is just ret and the stack pointer is correct also
38191         for static library in error case.
38193 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38195         [BZ #14122]
38196         * nss/nsswitch.c (defconfig_entries): New variable.
38197         (__nss_database_lookup): Don't leak defconfig entries.
38198         (nss_parse_service_list): Don't leak on error paths.
38199         (free_database_entries): New function.
38200         (free_defconfig): New function.
38201         (free_mem): Move common code to free_database_entries.
38203 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38205         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38206         Add arch_prctl.
38207         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38209         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38210         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38212         New macro.
38213         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38214         (INTERNAL_SYSCALL_TYPES): Likewise.
38215         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38216         (LOAD_REGS_TYPES_[1-6]): Likewise.
38217         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38218         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38220 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38222         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38223         copysignl for GLIBC_2_0.
38224         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38225         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38227         logbl for GLIBC_2_0.
38228         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38229         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38231 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38233         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38234         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38236         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38237         Use "neg %eax".
38239         * time/mktime.c: Update copyright years.
38241 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38243         mktime: merge comment-quoting-style change from gnulib
38244         * time/mktime.c: Quote 'like this' in comments.
38245         The GNU coding standards suggest that we no longer quote `like this',
38246         as "`" and "'" are typically rendered asymmetrically nowadays.
38247         The typical gnulib style is to quote 'like this' when quoting
38248         code, and "like this" when quoting English.
38250         * time/mktime.c (compile-command): Add "-I.".
38252         mktime: merge mktime-internal.h change from gnulib
38253         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38255         mktime: merge time_r change from gnulib
38256         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38258         mktime: merge DEBUG change from gnulib
38259         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38260         case system <time.h> has a #define.
38262         mktime: merge <sys/types.h> change from gnulib
38263         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38264         since <time.t> is now guaranteed to define time_t.
38266         mktime: merge HAVE_CONFIG_H change from gnulib
38267         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38269 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38272         Use "neg %eax".
38274         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38275         __rlim_t cast.
38276         (struct rusage): Use anonymous union to pad each field to
38277         __syscall_slong_t.
38279 2012-05-21  David S. Miller  <davem@davemloft.net>
38281         * Makefules (o-iterator): Remove .s cases.
38282         (compile-command.s): Delete.
38283         (COMPILE.s): Delete.
38284         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38286 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38288         * configure.in (libc_cv_predef_stack_protector): Only consider
38289         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38290         * configure: Regenerated.
38292 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38295         New macro.  Use R*LP on int and pointer.
38296         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38297         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38298         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38299         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38301         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38302         [__WORDSIZE_TIME64_COMPAT32] instead of
38303         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38304         (struct utmp): Likewise.
38305         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38306         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38307         Renamed to ...
38308         (__WORDSIZE_TIME64_COMPAT32): This.
38309         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38310         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38311         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38312         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38313         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38314         (__WORDSIZE_TIME64_COMPAT32): New macro.
38316 2012-05-21  Andreas Jaeger  <aj@suse.de>
38318         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38319         only if [SHARED]. Add prototype for __wcschr_ia32.
38321 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38323         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38324         of %rbp unmolested in the jmp_buf while mangling the low bits.
38325         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38326         unmolested high bits of %rbp while demangling the low bits.
38327         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38329 2012-05-21  Andreas Jaeger  <aj@suse.de>
38331         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38332         * sunrpc/svc_simple.c: Use it for registerrpc.
38333         * sunrpc/xcrypt.c: Use it for passwd2des.
38335         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38337 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38339         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38340         Don't define if [__SYSCALL_WORDSIZE != 32].
38341         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38342         New macro.
38344 2012-05-21  Bruno Haible  <bruno@clisp.org>
38345             Andreas Jaeger  <aj@suse.de>
38347         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38348         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38349         inptr and inend for must_buffer_ch.
38350         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38351         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38352         * stdio-common/Makefile (tests): Remove bug15.
38353         (bug15-ENV): Remove macro.
38354         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38355         anymore.
38357 2012-05-19  Andreas Jaeger  <aj@suse.de>
38358             Roland McGrath  <roland@hack.frob.com>
38360         * manual/contrib.texi: Completely rewritten. It contains now an
38361         alphabetical list of contributors and their contributions.
38363 2012-05-21  Richard Henderson  <rth@twiddle.net>
38365         * misc/getauxval.c (__getauxval): Use unsigned long int.
38366         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38367         (getauxval): Use unsigned long int.
38369 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38371         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38373 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38375         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38376         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38377         __alignof__ (long double).
38379 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38383 2012-05-20  Richard Henderson  <rth@twiddle.net>
38385         * misc/getauxval.c: New file.
38386         * misc/sys/auxv.h: New file.
38387         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38388         (routines): Add getauxval.
38389         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38390         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38391         * elf/dl-sysdep.c (_dl_auxv): Remove.
38392         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38393         * elf/dl-support.c (_dl_auxv): New variable.
38394         (_dl_aux_init): Initialize it.
38395         * manual/startup.texi (Auxiliary Vector): New node.
38396         * sysdeps/generic/bits/hwcap.h: New file.
38397         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38398         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38399         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38400         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38401         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38402         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38404         Update.
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38408         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38414 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38418 2012-05-19  David S. Miller  <davem@davemloft.net>
38420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38422 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38424         [BZ #14123]
38425         * math/s_ccosh.c: Include <float.h>
38426         (__ccosh): Avoid internal overflow calculating sinh and cosh
38427         values before multiplying by sin and cos values.
38428         * math/s_ccoshf.c: Likewise.
38429         * math/s_ccoshl.c: Likewise.
38430         * math/s_csin.c: Likewise.
38431         * math/s_csinf.c: Likewise.
38432         * math/s_csinl.c: Likewise.
38433         * math/s_csinh.c: Likewise.
38434         * math/s_csinhf.c: Likewise.
38435         * math/s_csinhl.c: Likewise.
38436         * math/libm-test.inc (ccos_test): Add more tests.
38437         (ccosh_test): Likewise.
38438         (csin_test): Likewise.
38439         (csinh_test): Likewise.
38440         * sysdeps/i386/fpu/libm-test-ulps: Update.
38441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38443 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38445         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38446         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38448         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38450 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38452         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38453         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38454         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38455         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38456         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38457         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38458         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38459         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38460         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38461         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38462         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38463         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38464         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38465         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38466         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38467         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38468         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38469         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38470         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38471         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38472         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38473         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38474         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38475         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38476         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38477         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38478         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38479         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38480         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38481         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38482         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38484 2012-05-18  Andreas Jaeger  <aj@suse.de>
38486         * csu/.gitignore: Delete.
38488 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38490         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38491         (timex): Use __syscall_slong_t.
38493 2012-05-18  Andreas Jaeger  <aj@suse.de>
38494             Carlos O'Donell  <carlos_odonell@mentor.com>
38496         * manual/install.texi (Configuring and compiling): Update
38497         description about files modified in the source directory.
38498         * INSTALL: Regenerated.
38500 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38502         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38503         value.  Use "or" to set return value to -1.
38504         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38505         negate return value.
38507 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38509         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38510         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38511         failure if the compiler has Graphite support disabled.
38512         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38513         Likewise.
38514         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38515         (CFLAGS-memmove.c): Likewise.
38516         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38517         Likewise.
38519 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38521         * sysdeps/x86_64/x32/_itoa.h: New file.
38523         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38524         getdents system call only if kernel and user dirents have the
38525         same d_ino and d_off.
38527         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38528         LLONG_MAX != LONG_MAX.
38529         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38530         (_fitoa_word): Likewise.
38532         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38533         years.
38534         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38535         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38536         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38538         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38539         include <bits/wordsize.h>.  Check __x86_64__ instead of
38540         __WORDSIZE.
38541         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38542         if __x86_64__ is defined.  Use anonymous union on fpstate.
38544         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38545         anonymous union.
38547 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
38549         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38550         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38551         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38552         Refer to _rtld_local_ro instead of _rtld_global_ro.
38553         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38554         Likewise.
38555         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38556         Likewise.
38557         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38558         Likewise.
38559         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38560         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38561         of _rtld_global, and rtld_progname instead of _dl_argv[0].
38563         * sysdeps/powerpc/powerpc32/dl-machine.c
38564         (__elf_machine_runtime_setup) [PROF]: Don't reference
38565         _dl_prof_resolve.
38567 2012-05-18  Andreas Jaeger  <aj@suse.de>
38569         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38570         function only available for GCCs before 3.4 since GCC 3.4
38571         introduced a builtin.
38572         (lrint): Likewise.
38573         (llrintf): Likewise.
38574         (llrint): Likewise.
38575         (fmaxf): Likewise.
38576         (fmax): Likewise.
38577         (fminf): Likewise.
38578         (fmin): Likewise.
38579         (rint): Likewise.
38580         (rintf): Likewise.
38581         (nearbyint): Likewise.
38582         (nearbyintf): Likewise.
38583         (ceil): Likewise.
38584         (ceilf): Likewise.
38585         (floor): Likewise.
38586         (floorf): Likewise.
38588 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38590         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38591         on both fields and cast pointer to __syscall_ulong_t.
38593         * bits/types.h (__fsword_t): New type.
38594         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38595         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38596         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38597         (__FSWORD_T_TYPE): Likewise.
38598         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38599         (__FSWORD_T_TYPE): Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38601         (__FSWORD_T_TYPE): Likewise.
38602         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38603         (__FSWORD_T_TYPE): Likewise.
38604         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38605         __SWORD_TYPE with __fsword_t.
38606         (statfs64): Likewise.
38608 2012-05-17  David S. Miller  <davem@davemloft.net>
38610         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38612 2012-05-17  Andreas Jaeger  <aj@suse.de>
38614         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38615         warning.
38617 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38619         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38621 2012-05-17  Andreas Jaeger  <aj@suse.de>
38623         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38624         when it is used.
38626 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38628         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38630 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38632         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38633         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38635 2012-05-17  Andreas Jaeger  <aj@suse.de>
38636             Carlos O'Donell  <carlos_odonell@mentor.com>
38638         [BZ #14059]
38639         * sysdeps/x86_64/multiarch/init-arch.h
38640         (bit_YMM_Usable): Rename to...
38641         (bit_AVX_Usable): ... this.
38642         (bit_FMA4_Usable): New macro.
38643         (bit_XMM_state): New macro.
38644         (bit_YMM_state): New macro.
38645         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38646         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38647         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38648         (CPUID_OSXSAVE): New macro.
38649         (CPUID_AVX): New macro.
38650         (CPUID_FMA4): New macro.
38651         (index_YMM_Usable): Rename to...
38652         (index_AVX_Usable): ... this.
38653         (HAS_AVX): Use HAS_ARCH_FEATURE.
38654         (HAS_FMA4): Likewise.
38655         (HAS_YMM_USABLE): Remove.
38656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38657         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38658         are present.
38659         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38660         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38661         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38662         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38663         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38665 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38667         * math/libm-test.c: Support platforms without multiple rounding modes.
38668         * math/bug-nextafter.c: Support platforms without FP exceptions.
38669         * math/bug-nexttoward.c: Likewise.
38670         * math/test-fenv.c: Likewise.
38671         * math/test-misc.c: Likewise.
38672         * stdlib/bug-getcontext.c: Likewise.
38674 2012-05-17  Andreas Jaeger  <aj@suse.de>
38676         * manual/examples/search.c (critter_cmp): Change signature to
38677         avoid warnings.
38678         * manual/string.texi (Collation Functions): Likewise.
38680 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38682         * bits/types.h: Fold copyright years.
38683         * bits/typesizes.h: Likewise.
38684         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38687         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38688         * time/time.h: Likewise.
38690 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38692         [BZ #208]
38693         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38694         in instead of returning them.  Return void.
38695         (__libc_mallinfo): Accumulate over all arenas.
38696         (__malloc_stats): Adjust for change in int_mallinfo interface.
38698 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38700         [BZ #10375]
38701         * configure.in (NM): Add AC_CHECK_TOOL for it.
38702         (libc_extra_cflags): New substituted variable.
38703         Check for -fstack-protector being used implicitly.
38704         * configure: Regenerated.
38705         * config.make.in (config-extra-cflags): New variable,
38706         gets @libc_extra_cflags@.
38707         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38709         [BZ #10375]
38710         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38711         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38712         * configure: Regenerated.
38713         * config.make.in (CPPUNDEFS): New substituted variable.
38714         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38715         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38716         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38718 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38720         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38721         (mq_attr): Use __syscall_slong_t.
38723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38725         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38726         Check __x86_64__ instead of __WORDSIZE.
38727         (_STAT_VER_LINUX): Likewise.
38728         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38729         __syscall_ulong_t and __syscall_slong_t.
38730         (stat64): Likewise.
38732 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38734         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38738         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38742         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38743         __syscall_ulong_t.
38745         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38746         include <bits/wordsize.h>.  Check __x86_64__ instead of
38747         __WORDSIZE.
38748         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38749         defined.
38750         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38752         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38753         include <bits/wordsize.h>.  Check __x86_64__ instead of
38754         __WORDSIZE.
38755         (user_regs_struct): Use "__extension__ unsigned long long"
38756         instead of "unsigned long" if __x86_64__ is defined.
38757         (user): Likewise.  Pad after pointer field if __ILP32__ is
38758         defined.
38760 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38762         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38763         versions 5 to 9.
38764         * configure: Regenerated.
38765         * manual/install.texi (texinfo): Increase version requirement to
38766         4.5 or later.
38767         * INSTALL: Regenerated.
38769         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38771 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38773         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38775         * sysdeps/x86_64/x32/ffs.c: New file.
38777         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38778         __syscall_ulong_t.
38779         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38780         defined.  Use __syscall_ulong_t.
38781         (shminfo): Use __syscall_ulong_t.
38782         (shm_info): Likewise.
38784         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38785         __syscall_ulong_t.
38787         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38788         <bits/wordsize.h>.
38789         (msgqnum_t): Use __syscall_ulong_t.
38790         (msglen_t): Likewise.
38791         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38792         __syscall_ulong_t.
38794         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38795         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38797         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38799         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38800         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38802         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38803         __syscall_slong_t.
38805         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38806         include <bits/wordsize.h>.  Check __x86_64__ instead of
38807         __WORDSIZE.
38809         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38810         "unsigned long long int" if __x86_64__ is defined.
38811         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38813         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38814         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38815         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38817         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38818         <stdint.h>.
38819         (GET_PC): Cast to uintptr_t first.
38820         (GET_FRAME): Likewise.
38821         (GET_STACK): Likewise.
38823         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38824         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38825         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38826         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38827         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38828         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38829         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38830         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38831         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38832         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38833         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38834         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38835         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38836         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38837         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38838         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38839         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38840         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38841         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38842         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38843         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38844         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38845         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38846         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38847         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38848         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38849         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38850         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38851         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38853 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38855         * Makerules (+depfiles): Also collect depfiles from .oS in
38856         $(extra-objs).
38857         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38858         .oS, $(libnldbl-routines)).
38860         * Makerules (native-compile-mkdep-flags): Define.
38861         * sunrpc/Makefile (extra-objs): Add $(addprefix
38862         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38863         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38864         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38865         calling $(make-target-directory).
38867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38869         * bits/types.h (__snseconds_t): Removed.
38870         * time/time.h (struct timespec): Replace __snseconds_t with
38871         __syscall_slong_t.
38872         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38873         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38874         Likewise.
38875         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38876         (__SNSECONDS_T_TYPE): Likewise.
38877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38878         (__SNSECONDS_T_TYPE): Likewise.
38879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38880         (__SNSECONDS_T_TYPE): Likewise.
38882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38884         * sysdeps/mach/hurd/bits/typesizes.h
38885         (__SYSCALL_SLONG_TYPE): New macro.
38886         (__SYSCALL_ULONG_TYPE): Likewise.
38888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38890         * bits/types.h (__syscall_slong_t): New type.
38891         (__syscall_ulong_t): Likewise.
38893         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38894         (__SYSCALL_ULONG_TYPE): Likewise.
38895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38896         (__SYSCALL_SLONG_TYPE): Likewise.
38897         (__SYSCALL_ULONG_TYPE): Likewise.
38898         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38899         (__SYSCALL_SLONG_TYPE): Likewise.
38900         (__SYSCALL_ULONG_TYPE): Likewise.
38901         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38902         (__SYSCALL_SLONG_TYPE): Likewise.
38903         (__SYSCALL_ULONG_TYPE): Likewise.
38905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38907         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38908         Add sigaltstack-offsets.sym.
38909         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38910         <sigaltstack-offsets.h>.
38911         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38912         longjmp_msg pointer.
38913         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38914         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38915         signal stack.
38916         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38918 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38920         * elf/stackguard-macros.h: Remove file.
38921         * sysdeps/generic/stackguard-macros.h: New file.
38922         * sysdeps/i386/stackguard-macros.h: Likewise.
38923         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38924         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38925         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38926         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38927         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38928         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38929         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38930         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38931         <elf/stackguard-macros.h>.
38933         [BZ #14109]
38934         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38935         __aligned__ in attribute.
38936         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38937         (gregset_t): Likewise.
38939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38941         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38942         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38943         * sysdeps/x86_64/x32/Implies-after: New file.
38945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38947         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38948         and access return value for _dl_profile_fixup.  Use R10_LP to
38949         load frame size.
38951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38953         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38957         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38958         * sysdeps/x86_64/x32/sysdep.h: New file.
38960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38962         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38963         * sysdeps/x86_64/setjmp.S: Likewise.
38965 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38967         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38969         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38970         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38971         remove unused global constant.
38973 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
38975         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38976         include of <not-cancel.h>.
38978 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38980         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38982 2012-05-15  Jeff Law  <law@redhat.com>
38983             Andreas Jaeger  <aj@suse.de>
38985         [BZ #13594]
38986         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38987         out from...
38988         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38989         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38990         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38991         code changing __hst_map_handle.map.
38993 2012-05-15  Roland McGrath  <roland@hack.frob.com>
38995         * configure.in (sysnames): Look for Implies-before and Implies-after
38996         files.
38997         * configure: Regenerated.
38999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39001         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39002         8-byte data alignment with LP_SIZE alignment.
39004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39006         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39007         into R10_LP.
39009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39011         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39015         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39016         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39017         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39018         Likewise.
39019         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39023         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39024         (stackinfo_sub_sp): Likewise.
39026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39028         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39029         RAX_LP.
39031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39033         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39034         into R*_LP.
39036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39038         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39039         sizes into R*_LP.
39041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39043         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39047         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39048         into R11_LP and load __x86_64_shared_cache_size_half into
39049         R8_LP.
39051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39053         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39054         R8_LP.
39056 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39059         logb for POWER7.
39060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39061         logbf for POWER7.
39062         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39063         logbl for POWER7.
39064         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39065         powerpc32/power7/fpu/s_logb.c via #include.
39066         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39067         powerpc32/power7/fpu/s_logbf.c via #include.
39068         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39069         powerpc32/power7/fpu/s_logbl.c via #include.
39071 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39073         * README.libm: Remove file.
39075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39077         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39078         count for x32.  Use R*_LP and omit operand-size suffix.
39080 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39082         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39083         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39084         * sysdeps/x86_64/x32/shlib-versions: New file.
39086 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39088         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39089         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39090         Use _dl_fatal_printf instead.
39092 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39094         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39095         set if not set by the user.  Do not allow for being unset.
39096         * sysdeps/unix/sysv/linux/configure: Regenerated.
39098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39100         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39101         the `q' suffix from lea and replace .quad with ASM_ADDR.
39103 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39106         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39107         instead of $17.
39108         (PTR_DEMANGLE): Likewise.
39110 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39112         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39113         (LP_OP): Likewise.
39114         (ASM_ADDR): Likewise.
39115         (RAX_LP): Likewise.
39116         (RBP_LP): Likewise.
39117         (RBX_LP): Likewise.
39118         (RCX_LP): Likewise.
39119         (RDI_LP): Likewise.
39120         (RSI_LP): Likewise.
39121         (RSP_LP): Likewise.
39122         (R8_LP): Likewise.
39123         (R9_LP): Likewise.
39124         (R10_LP): Likewise.
39125         (R10_LP): Likewise.
39126         (R11_LP): Likewise.
39127         (R12_LP): Likewise.
39128         (R13_LP): Likewise.
39129         (R14_LP): Likewise.
39130         (R15_LP): Likewise.
39132 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39134         * sysdeps/x86_64/x32/dl-machine.h: New file.
39136 2012-05-14  Andreas Jaeger  <aj@suse.de>
39138         * manual/Makefile (subdir): Remove export of subdir.
39139         (all): Remove target.
39140         (.PHONY): Remove all from list.
39141         (mkinstalldirs): Remove.
39142         (.PHONY): Remove installdirs from list.
39143         ($(inst_infodir)/libc.info): Use make-target-directory.
39144         (installdirs): Remove.
39145         (subdir_%): Remove.
39146         (glibc-targets): Remove.
39147         (lib): Remove.
39148         (stubs): Remove.
39149         ($(objpfx)stubs ../po/manual.pot): Remove.
39150         ($(objpfx)stamp%): Remove.
39151         (make-target-directory): Remove.
39152         (subdir_install): Remove.
39153         (routines): Remove.
39154         (aux): Remove.
39155         (sources): Remove.
39156         (objects): Remove.
39157         (headers): Remove.
39159         [BZ #13750]
39160         * manual/.gitignore: Remove, it's not needed anymore.
39161         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39162         all files in it.
39163         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39164         directory.
39165         (texis): Renamed to $(objpfx)texis.
39166         (texis-path): New, contains path to generated files.
39167         (chapters.%): Use texis-path for complete path, add extra argument
39168         libc-texinfo.sh.
39169         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39170         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39171         (summary,texi, stamp-summary): Use complete path of
39172         files. Generate files in build dir.
39173         (dir-add.texi): Build in build dir.
39174         (libm-err.texi,stamp-libm-err): Likewise.
39175         (version.texi, stamp-version): Likewise.
39176         (.%c.texi): Likewise.
39177         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39178         (mostlyclean): Remove target.
39179         (realclean): Remove target.
39180         (generated): Add new variable with contents from mostlyclean and
39181         realclean, remove entries duplicated in common-mostlyclean, add
39182         stamp-libm-err and stamp-version.
39183         (generated-dirs): Add libc directory.
39184         ($(inst_infodir)/libc.info): Install files from build dir.
39186         * manual/install.texi (Configuring and compiling): Adjust since
39187         the info files are not part of the tar ball anymore.
39189 2012-05-14  Andreas Jaeger  <aj@suse.de>
39191         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39192         variable.
39194 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39196         [BZ #13717]
39197         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39198         to 2.2.0 where earlier.
39199         * sysdeps/unix/sysv/linux/configure: Regenerated.
39200         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39201         Remove conditional code.
39202         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39203         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39204         Remove conditional code.
39205         [!__NR_lchown]: Likewise.
39206         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39207         [__NR_lchown]: Likewise.
39208         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39209         comment referencing __ASSUME_LCHOWN_SYSCALL.
39210         * sysdeps/unix/sysv/linux/i386/sigaction.c
39211         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39212         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39213         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39214         Remove conditional code.
39215         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39216         (__protocol_available): Remove #if 0 code.
39217         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39218         conditional code.
39219         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39220         * sysdeps/unix/sysv/linux/kernel-features.h
39221         (__ASSUME_GETCWD_SYSCALL): Don't define.
39222         (__ASSUME_REALTIME_SIGNALS): Likewise.
39223         (__ASSUME_PREAD_SYSCALL): Likewise.
39224         (__ASSUME_PWRITE_SYSCALL): Likewise.
39225         (__ASSUME_POLL_SYSCALL): Likewise.
39226         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39227         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39228         non-SPARC.
39229         (__ASSUME_SIOCGIFNAME): Don't define.
39230         (__ASSUME_MSG_NOSIGNAL): Likewise.
39231         (__ASSUME_SENDFILE): Define unconditionally.
39232         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39233         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39234         conditional code.
39235         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39236         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39237         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39238         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39239         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39240         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39241         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39243         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39246         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39252         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39255         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39258         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39261         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39262         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39264         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39265         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39266         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39267         Remove conditional code.
39268         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39269         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39270         Remove conditional code.
39271         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39272         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39273         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39274         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39275         Remove conditional code.
39276         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39277         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39278         Remove conditional code.
39279         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39280         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39281         Remove conditional code.
39282         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39283         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39284         Remove conditional code.
39285         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39286         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39287         Remove conditional code.
39288         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39289         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39290         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39291         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39292         * sysdeps/unix/sysv/linux/sigaction.c
39293         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39294         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39295         * sysdeps/unix/sysv/linux/sigpending.c
39296         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39297         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39298         * sysdeps/unix/sysv/linux/sigprocmask.c
39299         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39300         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39301         * sysdeps/unix/sysv/linux/sigsuspend.c
39302         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39303         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39304         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39305         (__libc_missing_rt_sigs): Remove.
39306         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39307         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39308         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39309         Remove conditional code.
39310         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39311         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39312         return 1.
39313         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39314         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39315         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39316         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39318 2012-05-14  Andreas Jaeger  <aj@suse.de>
39320         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39321         it's not used in glibc.
39322         (__coshm1): Likewise.
39323         (__acosh1p): Likewise.
39324         (__sgn): Likewise.
39326         * manual/string.texi (Copying and Concatenation): Add missing
39327         variable in concat example.
39328         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39330 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39332         [BZ #14103]
39333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39334         __builtin_clzl with __builtin_clzll.
39336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39338         [BZ #14104]
39339         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39340         libc_freeres_ptr.
39342 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39344         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39345         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39346         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39347         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39349 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39351         * NEWS: Update ia64 info.
39353 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39355         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39356         used as bcopy.
39358 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39360         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39361         * sysdeps/unix/syscalls.list (dup3): Likewise.
39362         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39363         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39365 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39367         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39368         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39370 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39372         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39373         thread pointer.
39374         (TLS_IE): Use mov/add instead of movq/addq to load thread
39375         pointer.
39376         (TLS_GD_PREFIX): New.
39377         (TLS_GD): Use it.
39379 2012-05-11  David S. Miller  <davem@davemloft.net>
39381         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39382         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39383         (_FPU_SETCW): Likewise.
39385 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39387         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39388         is 32-byte aligned.
39390 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39392         [BZ #11837]
39393         * iconvdata/gb18030.c: Update tables.
39394         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39395         characters specially.
39396         (BODY for TO_LOOP): Add encoding of missing ranges.
39398 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39400         [BZ #13673]
39401         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39402         * sysdeps/mach/hurd/dup3.c: Likewise.
39403         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39404         * sysdeps/powerpc/memmove.c:: Likewise.
39406 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39408         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39409         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39411 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39413         * elf/elf.h (R_X86_64_RELATIVE64): New.
39414         (R_X86_64_NUM): Updated.
39415         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39416         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39417         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39418         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39419         tst-quad1pie tst-quad2pie
39420         (modules-names): Add tst-quadmod1 tst-quadmod2.
39421         ($(objpfx)tst-quad1): New dependency.
39422         ($(objpfx)tst-quad2): Likewise.
39423         ($(objpfx)tst-quad1pie): Likewise.
39424         ($(objpfx)tst-quad2pie): Likewise.
39425         * sysdeps/x86_64/tst-quad1.c: New file.
39426         * sysdeps/x86_64/tst-quad1pie.c: New file.
39427         * sysdeps/x86_64/tst-quad2.c: Likewise.
39428         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39429         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39430         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39431         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39432         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39436         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39437         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39438         * streams/stropts.h (t_scalar_t): Define type.
39440         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39441         (_PATH_PRESERVE): Set to "/var/lib".
39442         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39444         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39445         instead of int.
39447         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39448         if __dir_mkfile succeeded.
39450         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39451         checking for _hurd_dtablesize.  Unlock it right after having
39452         finished _hurd_dtable allocation.
39454 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39456         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39457         * sysdeps/mach/hurd/configure: Regenerated.
39458         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39459         special-casing to...
39460         * sysdeps/gnu/configure.in: ... this new file.
39461         * sysdeps/unix/sysv/linux/configure: Regenerated.
39462         * sysdeps/gnu/configure: New generated file.
39464         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39465         for Linux: use nsec instead of usec, as well as:
39466         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39467         members of type struct timespec.
39468         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39469         New macros.
39470         (struct stat64): Likewise.
39471         (_STATBUF_ST_NSEC): New macro.
39472         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39474         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39475         __strtoul_internal rather than strtoul.
39477 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39479         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39480         and reject them.
39482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39484         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39485         which preserves existing values.
39486         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39490         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39491         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39492         greater than FD_SETSIZE.
39494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39496         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39497         allocated, call __vm_protect to finish enabling the existing space, and
39498         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39499         allocate the remainder.
39501 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39503         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39504         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39508         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39509         sysdeps/mach/hurd/readlink.c.
39511         * posix/tst-sysconf.c (posix_options): Only use
39512         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39513         _POSIX_SYNCHRONIZED_IO when they are defined
39514         * sysdeps/mach/hurd/bits/posix_opt.h:
39515         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39516         (_XOPEN_REALTIME): Undefine macro.
39517         (_XOPEN_REALTIME_THREADS): Undefine macro.
39518         (_XOPEN_SHM): Undefine macro.
39519         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39520         macro to -1.
39521         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39522         macro to -1.
39523         (_POSIX_ASYNC_IO): Undefine macro.
39524         (_POSIX_PRIORITIZED_IO): Undefine macro.
39525         (_POSIX_SPIN_LOCKS): Define macro to -1.
39527         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39528         SA_NODEFER, SA_RESETHAND.
39529         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39530         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39531         F_DUPFD_CLOEXEC.
39533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39535         * elf/Makefile (pldd-modules): Define unconditionally.
39537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39539         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39543         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39544         Return ENOENT when name is empty.
39545         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39549         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39551         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39555         Fix mlock in all cases except non-readable pages.
39556         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39557         instead of VM_PROT_ALL as parameter to __vm_wire function.
39559         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39560         (__mkdir): When path is `/', just fail with EEXIST.
39561         * sysdeps/mach/hurd/mkdirat.c: Likewise.
39563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39565         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39566         <sys/uio.h> (for writev).
39567         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39568         and <sys/param.h> (for MIN).
39570 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39572         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39573         REQUESTED_TIME.  Properly set the remaining time and return EINTR
39574         if interrupted.
39576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39578         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39579         Depend on against $(link-rpcuserlibs).
39581 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39583         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39584         (__libc_stack_end): Do not use attribute_relro.
39585         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39586         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39587         to libthread-provided value.
39588         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39589         attribute_relro.
39591 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39593         [BZ #3748]
39594         * bits/libc-lock.h (__libc_once_get): New macro.
39595         * sysdeps/mach/bits/libc-lock.h: Likewise.
39596         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39597         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39598         instead of using implementation details.
39600         * libio/fileops.c: Unconditionally include <kernel-features.h>.
39601         * libio/freopen.c: Likewise.
39602         * libio/freopen64.c: Likewise.
39603         * misc/syslog.c: Likewise.
39604         * nscd/connections.c: Likewise.
39605         * nscd/netgroupcache.c: Likewise.
39606         * sysdeps/posix/getcwd.c: Likewise.
39608 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39610         * math/w_ilogbf.c: Add #include <limits.h>.
39612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39614         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39615         path instead of returning without unlocking.
39617         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39618         immediate-write ioctls.
39619         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39621 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39623         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39624         __builtin_frame_address instead of making assumptions about the
39625         location of the return address relative to DATA.  Force early load of
39626         the return address.
39627         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39628         __builtin_frame_address.
39630         dup3 for GNU Hurd.
39631         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39632         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39633         implement dup3 and do some further code clean-ups.
39634         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39635         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39639         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39641         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39642         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39643         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39644         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39645         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39646         d->port.lock.
39648         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39649         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39650         when handler == SIG_ERR, not when handler != SIG_ERR.
39652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39654         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39655         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39656         definitions.
39658         accept4 for GNU Hurd.
39659         * include/sys/socket.h (__libc_accept4): New prototype.
39660         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39661         to implement __libc_accept4.
39662         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39663         __libc_accept4.
39664         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39666         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39667         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39668         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39669         signal-defines.sym.
39671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39673         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39675 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39677         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39678         assertion on O_CLOEXEC flag.
39679         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39680         * hurd/intern-fd.c: Likewise.
39681         * hurd/port2fd.c: Likewise.
39683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39685         [BZ #3906]
39686         * bits/in.h (IPV6_PKTINFO): Define new macro.
39687         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39689 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39691         [BZ #13954]
39692         [BZ #13955]
39693         [BZ #13956]
39694         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39695         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39696         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39697         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39699         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39700         * math/libm-test.inc (logb_test) : Additional logb tests.
39702 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39703             Andreas Jaeger  <aj@suse.de>
39705         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39706         * configure: Regenerated.
39707         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39708         * config.make.in (link-obsolete-rpc): New substituted variable.
39709         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39710         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39711         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39712         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39713         so that libc.a contains the symbols.
39714         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39715         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39716         * sunrpc/auth_none.c: Likewise.
39717         * sunrpc/auth_unix.c: Likewise.
39718         * sunrpc/authdes_prot.c: Likewise.
39719         * sunrpc/authuxprot.c: Likewise.
39720         * sunrpc/clnt_gen.c: Likewise.
39721         * sunrpc/clnt_perr.c: Likewise.
39722         * sunrpc/clnt_raw.c: Likewise.
39723         * sunrpc/clnt_simp.c: Likewise.
39724         * sunrpc/clnt_tcp.c: Likewise.
39725         * sunrpc/clnt_udp.c: Likewise.
39726         * sunrpc/clnt_unix.c: Likewise.
39727         * sunrpc/des_crypt.c: Likewise.
39728         * sunrpc/des_soft.c: Likewise.
39729         * sunrpc/get_myaddr.c: Likewise.
39730         * sunrpc/key_call.c: Likewise.
39731         * sunrpc/key_prot.c: Likewise.
39732         * sunrpc/netname.c: Likewise.
39733         * sunrpc/pm_getmaps.c: Likewise.
39734         * sunrpc/pm_getport.c: Likewise.
39735         * sunrpc/pmap_clnt.c: Likewise.
39736         * sunrpc/pmap_prot.c: Likewise.
39737         * sunrpc/pmap_prot2.c: Likewise.
39738         * sunrpc/pmap_rmt.c: Likewise.
39739         * sunrpc/publickey.c: Likewise.
39740         * sunrpc/rpc_cmsg.c: Likewise.
39741         * sunrpc/rpc_common.c: Likewise.
39742         * sunrpc/rpc_dtable.c: Likewise.
39743         * sunrpc/rpc_prot.c: Likewise.
39744         * sunrpc/rpc_thread.c: Likewise.
39745         * sunrpc/rtime.c: Likewise.
39746         * sunrpc/svc.c: Likewise.
39747         * sunrpc/svc_auth.c: Likewise.
39748         * sunrpc/svc_raw.c: Likewise.
39749         * sunrpc/svc_run.c: Likewise.
39750         * sunrpc/svc_tcp.c: Likewise.
39751         * sunrpc/svc_udp.c: Likewise.
39752         * sunrpc/svc_unix.c: Likewise.
39753         * sunrpc/svcauth_des.c: Likewise.
39754         * sunrpc/xcrypt.c: Likewise.
39755         * sunrpc/xdr.c: Likewise.
39756         * sunrpc/xdr_array.c: Likewise.
39757         * sunrpc/xdr_float.c: Likewise.
39758         * sunrpc/xdr_intXX_t.c: Likewise.
39759         * sunrpc/xdr_mem.c: Likewise.
39760         * sunrpc/xdr_rec.c: Likewise.
39761         * sunrpc/xdr_ref.c: Likewise.
39762         * sunrpc/xdr_sizeof.c: Likewise.
39763         * sunrpc/xdr_stdio.c: Likewise.
39765 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39768         change.  Update copyright years.
39770 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39772         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39774 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39775             Joseph Myers  <joseph@codesourcery.com>
39776             Paul Pluzhnikov  <ppluzhnikov@google.com>
39778         [BZ #14012]
39779         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39780         requiring rpcgen.
39781         [cross-compiling] (extra-libs): Likewise.
39782         [cross-compiling] (extra-libs-others): Likewise.
39783         [cross-compiling] (librpcsvc-routines): Likewise.
39784         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39785         [cross-compiling] (omit-deps): Likewise.
39786         (sunrpc-CPPFLAGS): New variable.
39787         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39788         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39789         (cross-rpcgen-objs): New variable.
39790         (extra-objs): Append $(cross-rpcgen-objs).
39791         ($(cross-rpcgen-objs)): New rule.
39792         ($(objpfx)cross-rpcgen): Likewise.
39793         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39794         comment.
39795         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39796         ($(objpfx)x%.stmp): Likewise.
39797         * sunrpc/proto.h [IS_IN_build] (_): Define.
39798         [IS_IN_build] (_libc_intl_domainname): Likewise.
39800 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39803         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39804         and R_X86_64_TPOFF64.
39806 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39808         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39809         sysdeps/unix/sysv/syscalls.list.
39810         (stime): Likewise.
39811         (utime): Likewise.
39812         * sysdeps/unix/sysv/syscalls.list: Remove file.
39814 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39816         [BZ #3440]
39817         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39818         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39819         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39820         (__LC_IDENTIFICATION): Make these macros useful in #if
39821         expressions, as required by C99.
39823 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39825         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39826         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39827         after this.
39829 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39831         * stdlib/longlong.h: Updated from GCC.
39833 2012-05-09  Andreas Jaeger  <aj@suse.de>
39835         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39836         default is first entry.
39837         (run_mode): Set type.
39838         (main): Remove informal message about syslog.
39839         (options): Fix typo.
39841         [BZ #14053]
39842         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39843         to asm.
39844         (lrint): Likewise.
39845         (llrintf): Likewise.
39846         (llrint): Likewise.
39847         (rint): Likewise.
39848         (rintf): Likewise.
39849         (nearbyint): Likewise.
39850         (nearbyintf): Likewise.
39852 2012-05-09  Andreas Jaeger  <aj@suse.de>
39853             Pedro Alves  <palves@redhat.com>
39855         * nscd/nscd.c (run_mode): Use enum.
39856         (main): Cleanup coding style issue.
39858 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39859             Andreas Jaeger  <aj@suse.de>
39861         * nscd/nscd.c (go_background): Replaced with...
39862         (run_mode): ... this.
39863         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39864         (options): Add -F --foreground.
39865         (main): Implement it.
39866         (parse_opt): Parse it.
39868 2012-05-09  Andreas Jaeger  <aj@suse.de>
39870         [BZ #14083]
39871         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39872         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39873         -Wconversion warning.
39874         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39875         Likewise.
39877 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39879         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39880         == 0.
39881         (LC_ALL): Use macro-int-constant.
39882         (LC_COLLATE): Likewise.
39883         (LC_CTYPE): Likewise.
39884         (LC_MESSAGES): Likewise.
39885         (LC_MONETARY): Likewise.
39886         (LC_NUMERIC): Likewise.
39887         (LC_TIME): Likewise.
39888         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39889         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39890         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39891         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39892         Specify type.
39893         [C99-based standards] (float_t): Expect type.
39894         [C99-based standards] (double_t): Expect type.
39895         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39896         type.
39897         [C99-based standards] (HUGE_VALL): Likewise.
39898         [C99-based standards] (INFINITY): Likewise.
39899         [C99-based standards] (NAN): Likewise.
39900         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39901         [C99-based standards] (FP_NAN): Likewise.
39902         [C99-based standards] (FP_NORMAL): Likewise.
39903         [C99-based standards] (FP_SUBNORMAL): Likewise.
39904         [C99-based standards] (FP_ZERO): Likewise.
39905         [C99-based standards] (FP_FAST_FMA): Use
39906         optional-macro-int-constant.  Specify type.  Require == 1.
39907         [C99-based standards] (FP_FAST_FMAF): Likewise.
39908         [C99-based standards] (FP_FAST_FMAL): Likewise.
39909         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39910         [C99-based standards] (FP_ILOGBNAN): Likewise.
39911         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39912         Specify type.
39913         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39914         [C99-based standards] (math_errhandling): Specify type.
39915         [ISO99 || ISO11] (signgam): Do not allow.
39916         [non-C99-based standards] (copysignf): Do not allow.
39917         [non-C99-based standards] (exp2f): Likewise.
39918         [non-C99-based standards] (log2f): Likewise.
39919         [non-C99-based standards] (modff): Allow.
39920         [non-C99-based standards] (erff): Do not allow.
39921         [non-C99-based standards] (erfcf): Likewise.
39922         [non-C99-based standards] (gammaf): Likewise.
39923         [non-C99-based standards] (hypotf): Likewise.
39924         [non-C99-based standards] (j0f): Likewise.
39925         [non-C99-based standards] (j1f): Likewise.
39926         [non-C99-based standards] (jnf): Likewise.
39927         [non-C99-based standards] (lgammaf): Likewise.
39928         [non-C99-based standards] (tgammaf): Likewise.
39929         [non-C99-based standards] (y0f): Likewise.
39930         [non-C99-based standards] (y1f): Likewise.
39931         [non-C99-based standards] (ynf): Likewise.
39932         [non-C99-based standards] (isnanf): Likewise.
39933         [non-C99-based standards] (acoshf): Likewise.
39934         [non-C99-based standards] (asinhf): Likewise.
39935         [non-C99-based standards] (atanhf): Likewise.
39936         [non-C99-based standards] (cbrtf): Likewise.
39937         [non-C99-based standards] (expm1f): Likewise.
39938         [non-C99-based standards] (ilogbf): Likewise.
39939         [non-C99-based standards] (log1pf): Likewise.
39940         [non-C99-based standards] (logbf): Likewise.
39941         [non-C99-based standards] (nextafterf): Likewise.
39942         [non-C99-based standards] (remainderf): Likewise.
39943         [non-C99-based standards] (rintf): Likewise.
39944         [non-C99-based standards] (scalbf): Likewise.
39945         [non-C99-based standards] (copysignl): Likewise.
39946         [non-C99-based standards] (exp2l): Likewise.
39947         [non-C99-based standards] (log2l): Likewise.
39948         [non-C99-based standards] (modfl): Allow.
39949         [non-C99-based standards] (erfl): Do not allow.
39950         [non-C99-based standards] (erfcl): Likewise.
39951         [non-C99-based standards] (gammal): Likewise.
39952         [non-C99-based standards] (hypotl): Likewise.
39953         [non-C99-based standards] (j0l): Likewise.
39954         [non-C99-based standards] (j1l): Likewise.
39955         [non-C99-based standards] (jnl): Likewise.
39956         [non-C99-based standards] (lgammal): Likewise.
39957         [non-C99-based standards] (tgammal): Likewise.
39958         [non-C99-based standards] (y0l): Likewise.
39959         [non-C99-based standards] (y1l): Likewise.
39960         [non-C99-based standards] (ynl): Likewise.
39961         [non-C99-based standards] (isnanl): Likewise.
39962         [non-C99-based standards] (acoshl): Likewise.
39963         [non-C99-based standards] (asinhl): Likewise.
39964         [non-C99-based standards] (atanhl): Likewise.
39965         [non-C99-based standards] (cbrtl): Likewise.
39966         [non-C99-based standards] (expm1l): Likewise.
39967         [non-C99-based standards] (ilogbl): Likewise.
39968         [non-C99-based standards] (log1pl): Likewise.
39969         [non-C99-based standards] (logbl): Likewise.
39970         [non-C99-based standards] (nextafterl): Likewise.
39971         [non-C99-based standards] (remainderl): Likewise.
39972         [non-C99-based standards] (rintl): Likewise.
39973         [non-C99-based standards] (scalbl): Likewise.
39974         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39975         [non-C99-based standards] (FP_*): Do not allow.
39976         [C99-based standards] (FP_*): Change to
39977         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39978         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39979         allow.
39980         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39981         (SIG_ERR): Likewise.
39982         [X/Open-based standards] (SIG_HOLD): Likewise.
39983         (SIG_IGN): Likewise.
39984         (SIGABRT): Use macro-int-constant.  Specify type.  Require
39985         positive value.
39986         (SIGFPE): Likewise.
39987         (SIGILL): Likewise.
39988         (SIGINT): Likewise.
39989         (SIGSEGV): Likewise.
39990         (SIGTER): Likewise.
39991         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39992         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39993         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39994         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39995         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39996         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39997         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39998         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39999         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40000         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40001         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40002         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40003         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40004         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40005         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40006         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40007         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40008         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40009         [X/Open-based standards] (SIGTRAP): Likewise.
40010         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40011         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40012         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40013         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40014         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40015         allow.
40017 2012-05-08  Ian Wienand  <ianw@vmware.com>
40019         [BZ #14080]
40020         * time/tzset.c (__tzset_parse_tz): Update default rules for
40021         daylight time changes in the Energy Policy Act of 2005.
40023 2012-05-09  Andreas Jaeger  <aj@suse.de>
40025         [BZ #13983]
40026         * elf/ldconfig.c (parse_conf): Change string to make clear that
40027         ldconfig only issued a warning if ld.so.conf does not exist.
40029 2012-05-08  David S. Miller  <davem@davemloft.net>
40031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40032         movxtod instead of popping the value on the stack.
40034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40036 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40038         * config.h.in: Add HAVE_ARM_PCS_VFP.
40040 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40042         [BZ #13979]
40043         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40044         checking but the checks are disabled for any reason.
40046 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40048         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40049         and ELF64_R_TYPE with ELFW(R_TYPE).
40051 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40053         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40054         (ulimit): Likewise.
40056         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40057         (settimeofday): Likewise.
40059 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40061         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40062         a struct th_u2 inside the union, and move tu_block/tu_code into
40063         a new th_u3 union of tu_block/tu_code inside of that.  Move
40064         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40065         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40066         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40067         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40068         (th_stuff): Change to th_u1.tu_stuff.
40069         (th_data): Define.
40070         (th_msg): Change to th_u1.th_u2.tu_data.
40072 2012-05-07  David S. Miller  <davem@davemloft.net>
40074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40076         [BZ #14074]
40077         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40078         (SETUP_PIC_REG): Use it.
40079         (SETUP_PIC_REG_LEAF): Use it.
40081 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40083         [BZ #13885]
40084         [BZ #13923]
40085         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40086         USE_AS_EXPM1L.
40087         (EXPL_FINITE): Likewise.
40088         (FLDLOG): Likewise.
40089         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40090         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40091         e_expl.S.
40092         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40093         USE_AS_EXPM1L.
40094         (EXPL_FINITE): Likewise.
40095         (FLDLOG): Likewise.
40096         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40097         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40098         e_expl.S.
40099         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40100         test of -max_value argument for long double.
40101         * sysdeps/i386/fpu/libm-test-ulps: Update.
40102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40104 2012-05-06  David S. Miller  <davem@davemloft.net>
40106         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40107         quad soft-float symbols whose references which are compiler
40108         generated.
40109         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40111 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40113         [BZ #13884]
40114         [BZ #13914]
40115         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40116         USE_AS_EXP10L.
40117         (EXPL_FINITE): Likewise.
40118         (FLDLOG): Likewise.
40119         (c0): Likewise.
40120         (c1): Likewise.
40121         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40122         Adjust comments for base varying.
40123         (__expl_finite): Change alias to EXPL_FINITE.
40124         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40125         e_expl.S.
40126         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40127         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40128         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40129         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40130         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40131         USE_AS_EXP10L.
40132         (EXPL_FINITE): Likewise.
40133         (FLDLOG): Likewise.
40134         (c0): Likewise.
40135         (c1): Likewise.
40136         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40137         Adjust comments for base varying.
40138         (__expl_finite): Change alias to EXPL_FINITE.
40139         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40140         tests for bugs.
40141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40143         [BZ #14064]
40144         * math/libm-test.inc (check_float_internal): Correct ulp
40145         calculation for subnormal expected results.
40147 2012-05-06  Andreas Jaeger  <aj@suse.de>
40149         * Makeconfig (+math-flags): New, set to -frounding-math.
40150         (+cflags): Add +math-flags so that all of glibc gets compiled with
40151         it.
40153         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40155 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40157         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40158         Disable one test.
40160         [BZ #13787]
40161         [BZ #13922]
40162         [BZ #14036]
40163         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40164         (__ieee754_expl): Allow for and saturate large arguments.
40165         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40166         (u_threshold): Likewise.
40167         (__exp): Call __ieee754_exp before checking for overflow and
40168         underflow.
40169         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40170         (u_threshold): Likewise.
40171         (__expf): Call __ieee754_expf before checking for overflow and
40172         underflow.
40173         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40174         (u_threshold): Likewise.
40175         (__expl): Call __ieee754_expl before checking for overflow and
40176         underflow.
40177         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40178         (__ieee754_expl): Allow for and saturate large arguments.
40179         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40180         missing overflow exception on overflow.
40181         (expm1_test): Do not allow missing overflow exception on overflow.
40183         * sysdeps/i386/fpu/e_expl.c: Move to ...
40184         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40185         rather than using inline asm.
40186         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40187         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40188         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40190         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40191         (nice): Likewise.
40192         (poll): Likewise.
40193         (signal): Likewise.
40194         (time): Likewise.
40195         (times): Likewise.
40197 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40199         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40200         sysdeps/unix/common/syscalls.list.
40201         (fchmod): Likewise.
40202         (fchown): Likewise.
40203         (ftruncate): Likewise.
40204         (getrusage): Likewise.
40205         (gettimeofday): Likewise.
40206         (setpgid): Likewise.
40207         (setregid): Likewise.
40208         (setreuid): Likewise.
40209         (sigaction): Likewise.
40210         (truncate): Likewise.
40211         (vhangup): Likewise.
40212         * sysdeps/unix/common/syscalls.list: Remove file.
40213         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40214         * sysdeps/unix/sysv/linux/Implies: Likewise.
40216 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40218         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40220         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40221         Moved to ...
40222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40223         Here.
40224         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40225         to ...
40226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40227         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40228         to ...
40229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40230         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40231         to ...
40232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40233         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40234         to ...
40235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40236         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40237         to ...
40238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40239         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40240         to ...
40241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40242         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40243         to ...
40244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40245         Here.
40246         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40247         to ...
40248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40249         Here.
40250         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40251         to ...
40252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40253         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40254         Moved to ...
40255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40256         Here.
40257         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40258         to ...
40259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40261 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40263         * sysdeps/unix/common/bits/dirent.h: Remove file.
40264         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40266         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40267         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40268         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40269         * sysdeps/unix/bsd/isatty.c: Likewise.
40270         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40271         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40272         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40274 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40276         [BZ #13563]
40277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40278         long double comparison inaccuracies.
40279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40282 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40284         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40285         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40287 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40289         [BZ #14049]
40290         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40291         nonzero digits before rounding a hex value.
40292         * stdlib/tst-strtod.c (tests): Add another test.
40294 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40296         * sysdeps/s390/fpu/libm-test-ulps: Update.
40298 2012-05-03  Andreas Jaeger  <aj@suse.de>
40300         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40301         does not get optimized out.
40302         (malloc_opt_barrier): New.
40304 2012-05-03  Andreas Jaeger  <aj@suse.de>
40305             Roland McGrath  <roland@hack.frob.com>
40307         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40308         intermediate file deletion.
40309         (generated): Add .symlist files.
40311 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40313         [BZ #13775]
40314         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40315         Redirect under this condition.
40316         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40317         [__USE_GNU] (__dprintf_chk): Not under this condition.
40318         [__USE_GNU] (__vdprintf_chk): Likewise.
40319         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40320         under this condition.
40321         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40322         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40323         [__USE_XOPEN2K8] (vdprintf): Likewise.
40324         [__USE_GNU] (__dprintf_chk): Not under this condition.
40325         [__USE_GNU] (__vdprintf_chk): Likewise.
40326         [__USE_GNU] (dprintf): Likewise.
40327         [__USE_GNU] (vdprintf): Likewise.
40329 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40331         * elf/Makefile (common-generated): Set this instead of generated for
40332         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40333         $(all-built-dso)-derived lists.
40335 2012-05-03  Andreas Jaeger  <aj@suse.de>
40337         * sysdeps/i386/fpu/libm-test-ulps: Update.
40339         * FAQ: Removed.
40340         * FAQ.in: Likewise.
40341         * scripts/gen-FAQ.pl: Likewise.
40342         * manual/install.texi (Installation): Point to online location of
40343         FAQ.
40344         * Makefile (files-for-dist): Remove FAQ.
40345         (FAQ): Remove.
40347 2012-05-02  Allan McRae  <allan@archlinux.org>
40349         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40350         (LDFLAGS-reldepmod5.so): Likewise.
40351         (LDFLAGS-reldep6mod1.so): Likewise.
40352         (LDFLAGS-reldep6mod4.so): Likewise.
40353         (LDFLAGS-reldep8mod3.so): Likewise.
40354         (LDFLAGS-unload4mod1.so): Likewise.
40355         (LDFLAGS-unload4mod2.so): Likewise.
40356         (LDFLAGS-tst-initorder): Likewise.
40357         (LDFLAGS-tst-initordera2.so): Likewise.
40358         (LDFLAGS-tst-initordera3.so): Likewise.
40359         (LDFLAGS-tst-initordera4.so): Likewise.
40360         (LDFLAGS-tst-initorderb2.so): Likewise.
40361         (LDFLAGS-noload): Likewise.
40362         (LDFLAGS-next): Likewise.
40363         (LDFLAGS-order2mod1.so): Likewise.
40364         (LDFLAGS-order2mod2.so): Likewise.
40365         (LDFLAGS-tst-initorder2): Likewise.
40366         (LDFLAGS-tst-initorder2a.so): Likewise.
40367         (LDFLAGS-tst-initorder2b.so): Likewise.
40368         (LDFLAGS-tst-initorder2c.so): Likewise.
40369         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40371 2012-05-02  David S. Miller  <davem@davemloft.net>
40373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40375 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40377         [BZ #14055]
40378         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40380 2012-05-02  Andreas Jaeger  <aj@suse.de>
40382         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40383         since we manipulate rounding mode.
40384         (CPPFLAGS-test-idouble.c): Likewise.
40385         (CPPFLAGS-test-ifloat.c): Likewise.
40386         (CFLAGS-test-ldouble.c): Likewise.
40387         (CFLAGS-test-double.c): Likewise.
40388         (CFLAGS-test-float.c): Likewise.
40389         (CFLAGS-test-misc.c): Likewise.
40390         (CFLAGS-test-test-fenv.c): Likewise.
40392 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40394         [BZ #2550]
40395         [BZ #2570]
40396         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40397         comparisons to determine direction to adjust input.
40399 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40401         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40402         output to the target.
40404         * scripts/localplt.awk: New file.
40405         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40406         (check-localplt-CFLAGS): Variable removed.
40407         ($(all-built-dso:=.jmprel)): New static pattern rule.
40408         (generated): Add those targets.
40409         (localplt-built-dso): New variable.
40410         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40412         * elf/check-localplt.c: File removed.
40414         * scripts/check-execstack.awk: New file.
40415         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40416         (check-execstack-CFLAGS): Variable removed.
40417         ($(objpfx)check-execstack.h): Target removed.
40418         ($(objpfx)execstack-default): New target.
40419         (generated): Add that instead of check-execstack.h.
40420         ($(all-built-dso:=.phdr)): New static pattern rule.
40421         (generated): Add those targets.
40422         * elf/check-execstack.c: File removed.
40424         * scripts/check-textrel.awk: New file.
40425         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40426         (check-textrel-CFLAGS): Variable removed.
40427         (all-built-dso): Use := to define.o
40428         ($(all-built-dso:=.dyn)): New static pattern rule.
40429         (generated): Add those targets.
40430         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40431         * config.make.in (READELF): New substituted variable.
40432         * elf/check-textrel.c: File removed.
40434 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40436         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40437         allow.
40438         * conform/data/ctype.h-data [C99-based standards] (isblank):
40439         Expect function.
40440         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40441         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40442         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40443         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40444         Specify type.  Require positive value.
40445         (EILSEQ): Likewise.
40446         (ERANGE): Likewise.
40447         [ISO || POSIX] (EILSEQ): Do not expect.
40448         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40449         Specify type.  Require positive value.
40450         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40451         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40452         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40453         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40454         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40455         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40456         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40457         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40458         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40459         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40460         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40461         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40462         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40463         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40464         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40465         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40466         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40467         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40468         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40469         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40470         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40471         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40472         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40473         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40474         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40475         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40476         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40477         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40478         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40479         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40480         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40481         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40482         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40483         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40484         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40485         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40486         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40487         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40488         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40489         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40490         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40491         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40492         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40493         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40494         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40495         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40496         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40497         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40498         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40499         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40500         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40501         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40502         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40503         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40504         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40505         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40506         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40507         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40508         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40509         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40510         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40511         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40512         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40513         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40514         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40515         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40516         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40517         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40518         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40519         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40520         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40521         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40522         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40523         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40524         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40525         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40526         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40527         Require >= 2.
40528         (FLT_ROUNDS): Expect as macro, not constant.
40529         (FLT_MANT_DIG): Use macro-int-constant.
40530         (DBL_MANT_DIG): Likewise.
40531         (LDBL_MANT_DIG): Likewise.
40532         (FLT_DIG): Likewise.
40533         (DBL_DIG): Likewise.
40534         (LDBL_DIG): Likewise.
40535         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
40536         (DBL_MIN_EXP): Likewise.
40537         (LDBL_MIN_EXP): Likewise.
40538         (FLT_MAX_EXP): Use macro-int-constant.
40539         (DBL_MAX_EXP): Likewise.
40540         (LDBL_MAX_EXP): Likewise.
40541         (FLT_MAX_10_EXP): Likewise.
40542         (DBL_MAX_10_EXP): Likewise.
40543         (LDBL_MAX_10_EXP): Likewise.
40544         (FLT_MAX): Use macro-constant.
40545         (DBL_MAX): Likewise.
40546         (LDBL_MAX): Likewise.
40547         (FLT_EPSILON): Use macro-constant.  Give upper bound.
40548         (DBL_EPSILON): Likewise.
40549         (LDBL_EPSILON): Likewise.
40550         (FLT_MIN): Likewise.
40551         (DBL_MIN): Likewise.
40552         (LDBL_MIN): Likewise.
40553         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40554         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40555         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40556         [ISO11] (FLT_HAS_SUBNORM): Likewise.
40557         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40558         [ISO11] (DBL_DECIMAL_DIG): Likewise.
40559         [ISO11] (FLT_DECIMAL_DIG): Likewise.
40560         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40561         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40562         [ISO11] (FLT_TRUE_MIN): Likewise.
40563         [ISO11] (LDBL_TRUE_MIN): Likewise.
40564         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40565         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40566         (SCHAR_MIN): Use macro-int-constant.  Specify type.
40567         (SCHAR_MAX): Likewise.
40568         (UCHAR_MAX): Likewise.
40569         (CHAR_MIN): Likewise.
40570         (CHAR_MAX): Likewise.
40571         (MB_LEN_MAX): Use macro-int-constant.
40572         (SHRT_MIN): Use macro-int-constant.  Specify type.
40573         (SHRT_MAX): Likewise.
40574         (USHRT_MAX): Likewise.
40575         (INT_MAX): Likewise.
40576         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
40577         bound negative.
40578         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40579         bound with "U".
40580         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40581         bound with "L".
40582         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
40583         bound negative.  Suffix upper bound with "L".
40584         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40585         bound with "UL".
40586         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40587         Specify type.
40588         [C99-based standards] (LLONG_MAX): Likewise.
40589         [C99-based standards] (ULLONG_MAX): Likewise.
40590         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
40591         == 0.
40592         [ISO11] (max_align_t): Require type.
40593         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40595         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40596         from $CFLAGS, without defining away __attribute__ calls.
40597         (checknamespace): Use $CFLAGS_namespace.
40599         * conform/conformtest.pl (@keywords): Only include C99 keywords
40600         for standards based on C99 or C11.
40602         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40603         Disable tests.
40604         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40605         UNIX98]: Likewise.
40607         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40608         usability of symbols in #if.
40610         * conform/conformtest.pl: If macro or constant types start
40611         "promoted:", expect the symbol to be of the following type
40612         promoted by the integer promotions.
40614         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40615         in one place.  Also handle "macro-constant".
40617         * conform/conformtest.pl: Only accept expected macro values with
40618         "==".  Parse all "macro" lines in one place.
40619         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40621         * conform/conformtest.pl: Handle braced types on "constant" lines
40622         instead of handling "typed-constant".
40623         * conform/data/signal.h-data: Use "constant" instead of
40624         "typed-constant".
40626         * conform/conformtest.pl: Handle "optional-" at start of lines in
40627         one place rather than duplicating several cases.  Handle each
40628         format of "macro" line with initial "optional-".
40630         * conform/conformtest.pl: Only accept expected constant or
40631         optional-constant values with "==".  Parse all "constant" lines in
40632         one place.  Parse all "optional-constant" lines in one place.
40633         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40634         * conform/data/fmtmsg.h-data: Likewise.
40635         * conform/data/netinet/in.h-data: Likewise.
40636         * conform/data/tar.h-data: Likewise.
40637         * conform/data/limits.h-data: Use "==" form on "constant" and
40638         "optional-constant" lines.
40640         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40641         Use -std=c99 for XOPEN2K.
40642         (@knownproblems): Remove.
40643         (newtoken): Don't check %isknown.
40645         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40646         Do not expect macro.
40647         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40648         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40649         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40650         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40651         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40652         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40653         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40654         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40655         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40656         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40657         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40658         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40659         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40660         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40661         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40662         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40663         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40664         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40665         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40666         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40667         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40668         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40669         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40670         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40671         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40672         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40673         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40674         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40675         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40676         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40677         [XPG3] (acosh): Likewise.
40678         [XPG3] (asinh): Likewise.
40679         [XPG3] (atanh): Likewise.
40680         [XPG3] (cbrt): Likewise.
40681         [XPG3] (expm1): Likewise.
40682         [XPG3] (ilogb): Likewise.
40683         [XPG3] (log1p): Likewise.
40684         [XPG3] (logb): Likewise.
40685         [XPG3] (nextafter): Likewise.
40686         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40687         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40688         [XPG3] (remainder): Likewise.
40689         [XPG3] (rint): Likewise.
40690         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40691         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40692         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40693         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40694         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40695         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40696         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40697         [UNIX98 || XOPEN2K] (scalb): Expect.
40698         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40699         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40700         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40701         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40702         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40703         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40704         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40705         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40706         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40707         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40708         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40709         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40710         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40711         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40712         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40713         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40714         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40715         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40716         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40717         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40718         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40719         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40720         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40721         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40722         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40723         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40724         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40725         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40726         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40727         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40728         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40729         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40730         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40731         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40732         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40733         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40734         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40735         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40736         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40737         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40738         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40739         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40740         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40741         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40742         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40743         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40744         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40745         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40746         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40747         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40748         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40749         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40750         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40751         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40752         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40753         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40754         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40755         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40756         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40757         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40758         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40759         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40760         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40761         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40762         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40763         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40764         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40765         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40766         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40768         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40769         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40770         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40771         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40772         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40773         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40774         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40775         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40776         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40777         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40778         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40779         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40780         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40781         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40782         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40783         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40784         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40785         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40786         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40787         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40788         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40789         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40790         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40791         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40792         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40793         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40794         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40795         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40796         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40797         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40798         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40799         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40800         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40801         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40802         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40803         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40804         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40805         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40806         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40807         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40808         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40809         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40810         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40811         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40812         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40813         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40814         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40815         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40816         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40817         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40818         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40819         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40820         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40822         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40823         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40824         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40825         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40826         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40827         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40828         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40829         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40830         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40831         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40832         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40833         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40834         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40836         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40837         _XOPEN_SOURCE_EXTENDED for XPG4.
40839         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40841         * Makeconfig (localtime): Remove variable.
40842         (inst_localtime-file): Likewise.
40844 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40847         Update.
40848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40849         Update.
40850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40851         Update.
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40853         Update.
40854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40855         Update.
40856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40857         Update.
40858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40859         Update.
40860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40861         Update.
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40863         Update.
40865 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40867         [BZ #2550]
40868         [BZ #2570]
40869         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40870         comparisons to determine direction to adjust input.
40871         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40872         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40873         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40874         Likewise.
40875         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40876         Likewise.
40877         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40878         Likewise.
40879         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40880         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40881         Likewise.
40882         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40883         Likewise.
40884         * math/libm-test.inc (nexttoward_test): Add more tests.
40886 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40888         [BZ #14040]
40889         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40890         in version GLIBC_2.1, not GLIBC_2.0.
40891         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40892         Likewise.
40894 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40896         [BZ #13942]
40897         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40898         (1 - x) * (1 + x).
40899         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40900         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40901         * math/libm-test.inc (acos_test): Add more tests.
40902         (asin_test): Likewise.
40903         * sysdeps/i386/fpu/libm-test-ulps: Update.
40904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40906         [BZ #14034]
40907         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40908         of square root.
40909         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40910         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40911         * math/libm-test.inc (acos_test_tonearest): New function.
40912         (acos_test_towardzero): Likewise.
40913         (acos_test_downward): Likewise.
40914         (acos_test_upward): Likewise.
40915         (asin_test_tonearest): Likewise.
40916         (asin_test_towardzero): Likewise.
40917         (asin_test_downward): Likewise.
40918         (asin_test_upward): Likewise.
40919         (main): Call the new functions.
40920         * sysdeps/i386/fpu/libm-test-ulps: Update.
40921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40923         [BZ #13884]
40924         [BZ #13924]
40925         * math/e_exp10.c: Include <float.h>.
40926         (__ieee754_exp10): Handle underflow here rather than multiplying
40927         large negative argument by M_LN10.
40928         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40929         of __ieee754_expf.
40930         * math/e_exp10l.c: Include <float.h>.
40931         (__ieee754_exp10l): Handle underflow here rather than multiplying
40932         large negative argument by M_LN10l.
40933         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40934         spurious overflow exception on underflow.
40936 2012-04-29  Marek Polacek  <polacek@redhat.com>
40938         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40939         (__fortify_function): New macro.
40940         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40941         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40942         __extern_always_inline.
40943         * libio/bits/stdio2.h: Likewise.
40944         * libio/bits/stdio.h: Likewise.
40945         * string/string.h: Likewise.
40946         * string/bits/string3.h: Likewise.
40947         * include/stdio.h: Likewise.
40948         * stdlib/bits/stdlib.h: Likewise.
40949         * stdlib/stdlib.h: Likewise.
40950         * rt/bits/mqueue2.h: Likewise.
40951         * rt/mqueue.h: Likewise.
40952         * posix/bits/unistd.h: Likewise.
40953         * posix/unistd.h: Likewise.
40954         * io/bits/poll2.h: Likewise.
40955         * io/bits/fcntl2.h: Likewise.
40956         * io/fcntl.h: Likewise.
40957         * io/sys/poll.h: Likewise.
40958         * misc/bits/syslog.h: Likewise.
40959         * misc/bits/syslog-ldbl.h: Likewise.
40960         * misc/sys/syslog.h: Likewise.
40961         * socket/bits/socket2.h: Likewise.
40962         * socket/sys/socket.h: Likewise.
40963         * debug/tst-chk1.c: Likewise.
40964         * wcsmbs/bits/wchar2.h: Likewise.
40965         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40966         * wcsmbs/wchar.h: Likewise.
40968 2012-04-29  Andreas Jaeger  <aj@suse.de>
40970         * Makerules (tests): Remove enable-check-abi protection.
40971         (check-abi-warn): Remove.
40972         (check-abi-%): Remove check-abi-warn usage.
40974         * configure.in: Remove check-abi configure option.
40975         * configure: Regenerated.
40976         * config.make.in (enable-check-abi): Remove.
40978 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
40980         [BZ #14033]
40981         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40982         double functions to double *_finite functions.
40984         [BZ #13941]
40985         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40986         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40987         LDBL_MIN_EXP.
40988         * stdio-common/Makefile (tests): Add tst-sprintf3.
40989         * stdio-common/tst-sprintf3.c: New file.
40991         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40992         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40994 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
40996         * conform/conformtest.pl: Remove duplicate typed-constant
40997         handling.
40999 2012-04-28  David S. Miller  <davem@davemloft.net>
41001         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41002         (check-abi-%): Remove AWK script prerequisite and explicit
41003         abilist directory.
41004         (check-abi): Rewrite to just diff the symlist with the abilist.
41005         (config-tls, config-abi-config): Delete, no longer used.
41006         (update-abi-%): Remove AWK script and explicit abilist directory.
41007         (update-abi): Rewrite to simply compare and conditionally copy the
41008         symlist and the sysdep abilist file.  Remove update-abi-config
41009         checks.
41010         * abilist/ld.abilist: Remove.
41011         * abilist/libBrokenLocale.abilist: Remove.
41012         * abilist/libanl.abilist: Remove.
41013         * abilist/libcrypt.abilist: Remove.
41014         * abilist/libdl.abilist: Remove.
41015         * abilist/librt.abilist: Remove.
41016         * abilist/libthread_db.abilist: Remove.
41017         * abilist/libutil.abilist: Remove.
41018         * scripts/extract-abilist.awk: Remove.
41019         * scripts/merge-abilist.awk: Remove.
41020         * sysdeps/generic/libcidn.abilist: New file.
41021         * sysdeps/generic/libnss_compat.abilist: New file.
41022         * sysdeps/generic/libnss_db.abilist: New file.
41023         * sysdeps/generic/libnss_dns.abilist: New file.
41024         * sysdeps/generic/libnss_files.abilist: New file.
41025         * sysdeps/generic/libnss_hesiod.abilist: New file.
41026         * sysdeps/generic/libnss_nis.abilist: New file.
41027         * sysdeps/generic/libnss_nisplus.abilist: New file.
41028         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41029         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41030         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41031         file.
41032         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41033         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41034         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41035         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41036         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41037         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41038         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41039         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41040         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41041         file.
41042         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41043         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41044         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41045         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41046         file.
41047         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41048         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41049         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41050         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41051         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41052         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41053         file.
41054         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41055         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41056         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41057         file.
41058         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41060         New file.
41061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41062         New file.
41063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41064         New file.
41065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41066         New file.
41067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41068         New file.
41069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41070         New file.
41071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41072         New file.
41073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41074         New file.
41075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41076         New file.
41077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41078         New file.
41079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41080         New file.
41081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41082         New file.
41083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41084         New file.
41085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41086         file.
41087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41088         New file.
41089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41090         New file.
41091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41092         file.
41093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41094         New file.
41095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41096         New file.
41097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41098         file.
41099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41100         New file.
41101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41102         New file.
41103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41104         New file.
41105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41106         New file.
41107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41108         New file.
41109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41110         New file.
41111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41113         file.
41114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41115         New file.
41116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41117         file.
41118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41119         file.
41120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41121         file.
41122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41123         file.
41124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41125         file.
41126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41127         New file.
41128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41129         file.
41130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41131         file.
41132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41133         New file.
41134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41135         file.
41136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41138         file.
41139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41140         New file.
41141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41142         file.
41143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41144         file.
41145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41146         file.
41147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41148         file.
41149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41150         file.
41151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41152         New file.
41153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41154         file.
41155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41156         file.
41157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41158         New file.
41159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41160         file.
41161         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41162         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41163         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41164         file.
41165         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41166         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41167         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41168         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41169         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41170         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41171         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41172         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41173         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41174         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41177         file.
41178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41179         New file.
41180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41181         file.
41182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41183         file.
41184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41185         file.
41186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41187         file.
41188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41189         file.
41190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41191         New file.
41192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41193         New file.
41194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41195         file.
41196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41197         New file.
41198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41199         file.
41200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41202         file.
41203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41204         New file.
41205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41206         file.
41207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41208         file.
41209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41210         file.
41211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41212         file.
41213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41214         file.
41215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41216         New file.
41217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41218         New file.
41219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41220         file.
41221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41222         New file.
41223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41224         file.
41226 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41228         * conform/conformtest.pl: Fix typo in handling typed-constant from
41229         allow-header.
41231 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41233         * README: Cut down references to pre-2.6 Linux kernels and
41234         Linuxthreads.  Update lists of configurations in libc and ports
41235         and sort alphabetically.  Say "or newer" with Linux kernel version
41236         requirements.
41238         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41240 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41242         [BZ #887]
41243         * math/libm-test.inc (logb_test_downward): New test to expose
41244         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41245         rounding mode.
41247 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41249         [BZ #14027]
41250         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41251         to be done.
41252         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41253         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41255 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41257         * sysdeps/unix/i386/brk.S: Remove file.
41258         * sysdeps/unix/i386/dl-brk.S: Likewise.
41259         * sysdeps/unix/i386/pipe.S: Likewise.
41260         * sysdeps/unix/i386/sigreturn.S: Likewise.
41261         * sysdeps/unix/i386/syscall.S: Likewise.
41262         * sysdeps/unix/i386/vfork.S: Likewise.
41263         * sysdeps/unix/i386/wait.S: Likewise.
41265         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41266         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41268         * configure.in (arm*-none*): Do not allow without
41269         --enable-hacker-mode.
41270         (netbsd*): Remove case setting base_os.
41271         (386bsd*): Likewise.
41272         (freebsd*): Likewise.
41273         (bsdi*): Likewise.
41274         (osf*): Likewise.
41275         (sunos*): Likewise.
41276         (ultrix*): Likewise.
41277         (newsos*): Likewise.
41278         (dynix*): Likewise.
41279         (*bsd*): Likewise.
41280         (sysv*): Likewise.
41281         (isc*): Likewise.
41282         (esix*): Likewise.
41283         (sco*): Likewise.
41284         (minix*): Likewise.
41285         (irix4*): Likewise.
41286         (irix6*): Likewise.
41287         (solaris[2-9]*): Likewise.
41288         (none): Likewise.
41289         * configure: Regenerated.
41291 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41293         [BZ #11521]
41294         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41295         overflow or cancellation in calculating denominator.
41296         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41297         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41298         down expression to avoid unexpected rounding in newer GCCs.
41299         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41301 2012-04-26  David S. Miller  <davem@davemloft.net>
41303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41304         long-double compat symbols.
41305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41319 2012-04-25  David S. Miller  <davem@davemloft.net>
41321         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41322         HWCAP_* values only after the memory barriers have been defined.
41323         (atomic_full_barrier): Define.
41324         (atomic_read_barrier): Define.
41325         (atomic_write_barrier): Define.
41327 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41329         * shlib-versions: Add libgcc_s version information.
41330         * sysdeps/generic/libgcc_s.h: Remove.
41331         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41332         libgcc_s.h.
41333         * sysdeps/gnu/unwind-resume.c: Likewise.
41334         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41336 2012-04-25  David S. Miller  <davem@davemloft.net>
41338         * sysdeps/unix/sparc/brk.S: Delete.
41339         * sysdeps/unix/sparc/dl-brk.S: Delete.
41340         * sysdeps/unix/sparc/pipe.S: Delete.
41341         * sysdeps/unix/sparc/sysdep.S: Delete.
41342         * sysdeps/unix/sparc/sysdep.h: Delete.
41343         * sysdeps/unix/sparc/vfork.S: Delete.
41344         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41345         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41346         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41347         (ret_ERRVAL, r0, r1, MOVE): Define.
41348         (JUMPTARGET): Remove.
41349         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41350         sysdeps/unix/sparc/sysdep.h
41351         (ENTRY, END): Remove.
41352         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41354 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41356         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41357         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41358         -DIS_IN_build.
41360         * timezone/README: Update upstream location and email address for
41361         tzcode and tzdata.
41362         * timezone/zdump.c: Update from tzcode 2012b.
41363         * timezone/zic.c: Likewise.
41365         * configure.in (libc_cv_as_needed): Remove test.
41366         * configure: Regenerated.
41367         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41368         conditional definition.
41369         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41370         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41371         * config.make.in (have-as-needed): Remove variable.
41373 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41374             Paul Pluzhnikov  <ppluzhnikov@google.com>
41376         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41377         strings correctly.
41379 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41381         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41382         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41383         * sysdeps/sh/strlen.S: Likewise.
41385 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41387         * sysdeps/unix/fork.S: Remove file.
41388         * sysdeps/unix/i386/fork.S: Likewise.
41389         * sysdeps/unix/sparc/fork.S: Likewise.
41391         * sysdeps/unix/system.c: Remove file.
41392         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41394         * sysdeps/unix/getegid.S: Remove file.
41395         * sysdeps/unix/geteuid.S: Likewise.
41397 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41399         * scripts/check-localplt.awk: New file.
41400         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41401         of diff.
41402         * scripts/data/localplt-generic.data: Add a comment.
41404         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41405         NODE when __dir_mkfile failed.
41406         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41407         Reported by Ludovic Courtès <ludo@gnu.org>.
41409 2012-04-24  Andreas Jaeger  <aj@suse.de>
41411         * Makerules (common-clean): Also remove gen-as-const-headers
41412         files.
41414 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41416         * Makerules (native-compile): Do not change working directory for
41417         build.  Use $(OUTPUT_OPTION) in command.
41418         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41420 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41422         [BZ #13886]
41423         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41424         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41425         * math/libm-test.inc (floor_test): Add more tests.
41426         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41428 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41430         * sysdeps/unix/getdents.c: Remove file.
41431         * sysdeps/unix/sysv/getdents.c: Likewise.
41432         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41434         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41435         sysdeps/unix/mman/syscalls.list.
41436         (mmap): Likewise.
41437         (mprotect): Likewise.
41438         (msync): Likewise.
41439         (munmap): Likewise.
41440         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41441         * sysdeps/unix/mman/syscalls.list: Remove.
41442         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41444         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41445         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41446         * configure: Regenerated.
41447         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41448         $(libgcc_s_suffix).
41449         * config.make.in (libgcc_s_suffix): Remove variable.
41451 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41453         * sysdeps/unix/sysv/gethostname.c: Move to ...
41454         * sysdeps/posix/gethostname.c: ... here.
41456         * sysdeps/unix/execve.S: Remove file.
41458         * sysdeps/unix/_exit.S: Remove file.
41460 2012-04-23  Andreas Jaeger  <aj@suse.de>
41462         [BZ #13739]
41463         * manual/Makefile: Remove make dist support, there's no
41464         need for a stand-alone documentation tar ball.
41465         (TEXI2DVI): Define always, it's not in Makeconfig.
41466         (dist): Removed.
41467         (tar-it): Removed.
41468         (edition): Removed.
41469         (glibc-doc-$(edition).tar): Removed
41470         (%.Z): Removed.
41471         (%.gz): Removed.
41472         (%.uu): Removed.
41473         (ETAGS): Remove, it's in Makeconfig.
41474         (move-if-change): Remove, it's in Makeconfig.
41476 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41478         [BZ #13970]
41479         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41480         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41481         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41482         (strtod_l, strtof_l, strtold_l): Remove __wur.
41483         It is not necessarily an error to ignore strtol's return value.
41484         One can reliably look at the stored endptr to decide whether
41485         the number had valid syntax.
41487 2012-04-21  Andreas Jaeger  <aj@suse.de>
41489         [BZ #13739]
41490         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41492 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41494         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41495         * sysdeps/unix/sysv/Versions: Remove file.
41497 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41499         [BZ #13927]
41500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41502 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41504         [BZ #7064]
41505         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41506         version from __vm86.
41508 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41510         * sysdeps/unix/common/lxstat.c: Remove file.
41511         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41513         * sysdeps/unix/sysv/Makefile: Remove file.
41515         * sysdeps/unix/sysv/direct.h: Remove file.
41517         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41518         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41519         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41520         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41521         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41522         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41523         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41525         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41527         * sysdeps/unix/xmknod.c: Remove file.
41528         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41530         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41532         * sysdeps/unix/sysv/i386/time.S: Remove file.
41534         * sysdeps/unix/fxstat.c: Remove file.
41535         * sysdeps/unix/xstat.c: Likewise.
41536         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41538         * sysdeps/unix/sysv/sigaction.c: Remove file.
41540         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41541         (sysdep_headers): Remove variable.
41542         [termio.h not in sysdep_headers] (generated): Likewise.
41543         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41544         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41545         * sysdeps/unix/sysv/tcdrain.c: Likewise.
41546         * sysdeps/unix/sysv/tcflow.c: Likewise.
41547         * sysdeps/unix/sysv/tcflush.c: Likewise.
41548         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41549         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41550         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41551         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41552         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41554         * sysdeps/unix/siglist.c: Remove file.
41556         * sysdeps/unix/getppid.S: Remove file.
41558         * sysdeps/unix/mkdir.c: Remove file.
41559         * sysdeps/unix/rmdir.c: Likewise.
41561 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
41563         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41564         ERR_MAX value.
41565         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41566         errlist-compat value.
41568 2012-04-18  David S. Miller  <davem@davemloft.net>
41570         * sysdeps/generic/memcopy.h (reg_char): Delete.
41571         * debug/strcat_chk.c: Use char, not reg_char.
41572         * debug/strcpy_chk.c: Likewise.
41573         * debug/strncat_chk.c: Likewise.
41574         * debug/strncpy_chk.c: Likewise.
41575         * string/memchr.c: Likewise.
41576         * string/memrchr.c: Likewise.
41577         * string/rawmemchr.c: Likewise.
41578         * string/strcat.c: Likewise.
41579         * string/strchr.c: Likewise.
41580         * string/strchrnul.c: Likewise.
41581         * string/strcmp.c: Likewise.
41582         * string/strcpy.c: Likewise.
41583         * string/strncat.c: Likewise.
41584         * string/strncmp.c: Likewise.
41585         * string/strncpy.c: Likewise.
41587 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41589         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41590         __builtin_memcopy is called when src and dest ranges are known to not
41591         overlap.
41593 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41595         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41596         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41597         fwd_align_merge macro call.
41598         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41599         bwd_align_merge macro call.
41600         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41602 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41604         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41605         bwd_align_merge macros.
41606         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41607         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41608         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41610 2012-04-18  David S. Miller  <davem@davemloft.net>
41612         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41614 2012-04-18  Andreas Jaeger  <aj@suse.de>
41616         [BZ# 6794]
41617         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41618         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41619         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41621         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41622         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41623         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41625         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41626         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41627         Adjust for changed ldbl-128 files.
41629         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41630         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41631         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41633 2012-04-17  David S. Miller  <davem@davemloft.net>
41635         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41637 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41639         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41640         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41641         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41642         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41643         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41644         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41646 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41648         [BZ #6794]
41649         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41650         * math/libm-test.inc: Add ilogb errno and exception tests.
41651         * math/w_ilogb.c: New file: ilogb wrapper.
41652         * math/w_ilogbf.c: New file: ilogbf wrapper.
41653         * math/w_ilogbl.c: New file: ilogbl wrapper.
41654         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41655         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41656         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41657         exception being thrown with 0.0 as argument.
41658         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41659         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41660         exception being thrown with 0.0 as argument.
41661         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41662         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41663         exception being thrown with 0.0 as argument.
41664         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41665         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41666         exception being thrown with 0.0 as argument.
41667         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41668         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41669         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41670         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41671         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41672         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41673         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41674         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41675         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41677 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41679         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41680         with altivec.
41682 2012-04-16  Marek Polacek  <polacek@redhat.com>
41684         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41686 2012-04-16  Marek Polacek  <polacek@redhat.com>
41688         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41689         operands of fdivp instruction.
41691 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41693         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41694         * elf/tst-auditmod3b.c: Likewise.
41695         * elf/tst-auditmod4b.c: Likewise.
41696         * elf/tst-auditmod5b.c: Likewise.
41697         * elf/tst-auditmod6b.c: Likewise.
41698         * elf/tst-auditmod6c.c: Likewise.
41699         * elf/tst-auditmod7b.c: Likewise.
41700         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41701         * sysdeps/x86_64/preconfigure.in: Likewise.
41702         * sysdeps/x86_64/preconfigure: Regenerated.
41704 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41706         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41707         __ILP32__.
41709 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41711         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41712         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41714 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41716         [BZ #13973]
41717         * locale/iso-639.def: Fix gl language name. Spotted by
41718         Yaron Shahrabani.
41720 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41722         [BZ #2074]
41723         * libio/libio.h (__io_write_fn): Update comment.
41725 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41727         [BZ #2074]
41728         * stdio.texi (Hook Functions): The user provided writer function
41729         is not allowed to return -1.
41731 2012-04-11  David S. Miller  <davem@davemloft.net>
41733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41735 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41737         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41738         Add a leading slash to rtkaio.
41740 2012-04-11  Jim Meyering  <meyering@redhat.com>
41742         [BZ #11959]
41743         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41744         It is not necessarily an error to ignore fwrite's return
41745         value.  One can reliably use ferror to test for errors after
41746         the fact.
41748 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41750         * bits/types.h (__snseconds_t): New type.
41751         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41753         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41755         (__SNSECONDS_T_TYPE): Likewise.
41756         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41757         (__SNSECONDS_T_TYPE): Likewise.
41758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41759         (__SNSECONDS_T_TYPE): Likewise.
41761 2012-04-10  Andreas Jaeger  <aj@suse.de>
41763         [BZ #2636]
41764         * manual/time.texi (Processor Time): Return type of times is
41765         elapsed real time since an arbitrary point in the past.
41766         (CPU Time): Move CLK_TCK from here...
41767         (Processor Time): ...to here.  Correct description.
41768         * manual/conf.texi (Constants for Sysconf): Correct description of
41769         _SC_CLK_TCK.
41771 2012-04-10  David S. Miller  <davem@davemloft.net>
41773         [BZ #13967]
41774         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41775         where the is a gap between DT_REL(A) and DT_JMPREL.
41777 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41779         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41780         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41781         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41783 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41785         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41786         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41787         (dl_main): Handle --inhibit-cache.
41788         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41789         _dl_inhibit_cache.
41790         * elf/dl-load.c (_dl_map_object): Use it.
41791         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41793 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41795         [BZ #13872]
41796         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41797         (__ieee754_powl): Saturate large exponents rather than testing for
41798         overflow of y*log2(x).
41799         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41800         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41801         exceptions.
41803         [BZ #11521]
41804         * math/s_ctan.c: Include <float.h>.
41805         (__ctan): Avoid internal overflow or cancellation in calculating
41806         denominator.
41807         * math/s_ctanf.c: Likewise.
41808         * math/s_ctanl.c: Likewise.
41809         * math/s_ctanh.c: Likewise.
41810         * math/s_ctanhf.c: Likewise.
41811         * math/s_ctanhl.c: Likewise.
41812         * math/libm-test.inc (ctan_test): Add more tests.
41813         (ctanh_test): Likewise.
41814         * sysdeps/i386/fpu/libm-test-ulps: Update.
41815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41817 2012-04-09  Andreas Jaeger  <aj@suse.de>
41819         [BZ #6894]
41820         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41821         is an optional BSD extension.
41823         [BZ #10254]
41824         * manual/stdio.texi (Opening Streams): Document additional fopen
41825         parameters.
41827 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41829         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41830         %eax without telling the compiler.
41832 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41834         [BZ # 13963]
41835         * manual/install.texi: Use sourceware.org.
41837 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41839         [BZ #13873]
41840         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41841         (__ieee754_pow): Generate overflow and underflow using huge*huge
41842         and tiny*tiny rather than just returning constant infinity or zero
41843         for large exponents.
41844         * math/libm-test.inc (pow_test): Require overflow exceptions for
41845         applicable cases of large exponents.
41847         [BZ #706]
41848         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41849         (__ieee754_pow): Use iterative multiplication algorithm only for
41850         integer exponents with absolute value below 1024.  Check for odd
41851         integer exponents when using algorithm for real exponents.
41852         * math/libm-test.inc (pow_test): Add more tests.
41853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41855 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41857         [BZ #13705]
41858         * math/libm-test.inc (exp_test): Do not allow overflow exception
41859         on underflow test.
41861 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41863         [BZ #13705]
41864         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41865         instead of __kernel_standard_f.
41867 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41869         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41870         * sysdeps/x86_64/memset_chk.S: Likewise.
41872 2012-04-08  Andreas Jaeger  <aj@suse.de>
41874         [BZ #10153]
41875         * manual/startup.texi (Environment Access): Describe return value
41876         for putenv and setenv.
41878         [BZ #6895]
41879         * manual/filesys.texi (Directory Entries): Add description for
41880         DT_LNK.
41882         [BZ #6890]
41883         * manual/filesys.texi (Directory Entries): Clarify that it's file
41884         system not operating system in the description of DT_UNKNOWN.
41886         [BZ #6578]
41887         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41889 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41891         [BZ #6649]
41892         * manual/llio.texi (Opening and Closing Files): Add cross
41893         reference to explain mode argument.
41895 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41897         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41898         * sysdeps/x86_64/memset_chk.S: Likewise.
41900 2012-04-07  David S. Miller  <davem@davemloft.net>
41902         * elf/elf.h (R_SPARC_WDISP10): Define.
41903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41904         R_SPARC_SIZE32.
41905         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41906         R_SPARC_SIZE64 and R_SPARC_H34.
41908 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41910         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41911         conditions and remove no longer applicable assertion.
41913 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41915         * bits/byteswap.h: Include <features.h>.
41916         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41917         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41919 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41921         * bits/byteswap.h (__bswap_16): Removed.
41922         Include <bits/byteswap-16.h> to get __bswap_16.
41923         * sysdeps/i386/bits/byteswap.h: Likewise.
41924         * sysdeps/s390/bits/byteswap.h: Likewise.
41925         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41926         * bits/byteswap-16.h: New file.
41927         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41928         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41929         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41930         * string/Makefile (headers): Add bits/byteswap-16.h.
41932 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41934         [BZ #13895]
41935         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41936         extra indirection.
41937         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41938         * nss/tst-nss-static.c: New.
41940 2012-04-06  Robert Millan  <rmh@gnu.org>
41942         [BZ #6486]
41943         * manual/llio.texi (File Position Primitive): lseek
41944         refers to WHENCE when it really means OFFSET.
41946 2012-04-06  Andreas Jaeger  <aj@suse.de>
41948         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41949         strncmp declarations.
41951         * abilist/libc.abilist: Add __poll and __ppoll.
41953 2012-04-05  David S. Miller  <davem@davemloft.net>
41955         * scripts/check-local-headers.sh: Accept a host triplet in the
41956         path matched by the exclude regexp.
41958         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41959         definition.
41960         * sysdeps/powerpc/powerpc32/dl-machine.h
41961         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41962         * sysdeps/s390/s390-32/dl-machine.h
41963         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41964         * sysdeps/sparc/sparc32/dl-machine.h
41965         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41966         * sysdeps/sparc/sparc64/dl-machine.h
41967         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41969         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41970         lazy binding.
41971         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41972         undefined symbol errors.
41974         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41975         DT_NEEDED entries.
41977 2012-04-05  Michael Matz  <matz@suse.de>
41979         [BZ #13592]
41980         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41982 2012-04-05  Andreas Jaeger  <aj@suse.de>
41984         [BZ #13908]
41985         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41986         comment.
41988 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41990         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41991         which ROUND is no valid rounding mode.
41993 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41995         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41996         read again.
41997         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41999 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42001         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42002         an exception using FPU order intentionally.
42004 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42006         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42007         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42008         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42009         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42011 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42013         [BZ #12340]
42014         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42015         EINVAL when BUFLEN is too smal.
42017 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42019         [BZ #13553]
42020         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42021         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42023 2012-04-03  Andreas Jaeger  <aj@suse.de>
42025         [BZ #13938]
42026         * manual/setjmp.texi (System V contexts): Fix sentence.
42028         [BZ #13926]
42029         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42030         New macro for this case.
42031         [!__GNUC__] (__bswap_64): New inline function for this case.
42032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42033         * bits/byteswap.h: Likewise.
42034         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42035         ull, guard with __GLIBC_HAVE_LONG_LONG.
42037         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42038         __GLIBC_HAVE_LONG_LONG.
42040         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42041         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42043 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42045         [BZ #13691]
42046         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42047         inptr and inend, rather than using last_ch.
42049 2012-04-02  David S. Miller  <davem@davemloft.net>
42051         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42052         * stdio-common/printf-parse.h (read_int): Change return type to
42053         'int', return -1 on INT_MAX overflow.
42054         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42055         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42056         overflows INT_MAX.  Check for overflow of in-format-string precision
42057         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42058         SIZE_MAX not INT_MAX for integer overflow test.
42059         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42060         skip the construct in the format string but do not record anything.
42061         * stdio-common/bug22.c: Adjust to test both width/prevision
42062         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42063         explicitly for proper errno values.
42065 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42067         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42068         CHAR_MAX.
42069         * string/test-strcmp.c [! WIDE]: Likewise.
42070         * time/tst-mktime2.c: Likewise for INT_MAX.
42071         * string/test-string.h: #include <sys/param.h> for MIN.
42073         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42074         * sysdeps/i386/init-first.c (init): Likewise.
42075         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42076         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42077         * sysdeps/sh/init-first.c (init): Likewise.
42079 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42081         * po/ru.po: Update from translation team.
42082         * po/vi.po: Likewise.
42084 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42086         * resolv/nss_dns/dns-host.c: Merge copyright years.
42088 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42091         Optimize memcpy with prefetch if
42092         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42093         src, dst pointers have unequal 16 byte alignments.
42095 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42097         [BZ #13928]
42098         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42099         from a CNAME entry and return the minimum ttl for the query.
42100         (gaih_getanswer_slice): Likewise.
42102 2012-03-30  Jeff Law  <law@redhat.com>
42104         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42105         due to long keys.
42106         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42107         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42109         * resolv/nss_dns/dns-host.c: Update copyright year.
42111 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42113         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42114         requests to save a system call.  Fix check that all bytes are sent.
42116         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42117         comments for sendmmsg.
42119 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42121         [BZ #13691]
42122         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42123         with only 1 character between 0x0041 and 0x01b0.
42124         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42125         * wcsmbs/tst-mbsnrtowcs.c: New file.
42127 2012-03-29  David S. Miller  <davem@davemloft.net>
42129         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42130         small copies by hand.
42132 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42134         [BZ #13761]
42135         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42136         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42137         group memberships.
42139 2012-03-28  David S. Miller  <davem@davemloft.net>
42141         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42142         that branches into memcpy.
42143         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42146         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42148         bits.
42149         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42150         implementation too.
42151         * sysdeps/sparc/mempcpy.S: New file.
42153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42154         the IFUNC routine in the libc case.
42155         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42157         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42158         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42159         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42160         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42161         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42162         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42163         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42164         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42166         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42167         loop to 256 bytes instead of 64 bytes and fix test signedness.
42169         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42170         * sysdeps/sparc/sparc32/Makefile: rather than here...
42171         * sysdeps/sparc/sparc64/Makefile: and here.
42173 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42175         * malloc/mallocbug.c: Avoid warnings about unused variables.
42177 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42179         [BZ #13760]
42180         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42181         in the right place. Discard and retry query if response is
42182         larger than input buffer size.
42184 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42186         [BZ #369]
42187         [BZ #2678]
42188         [BZ #3866]
42189         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42190         x for large integer exponent.
42191         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42192         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42193         sign of result as needed afterwards.
42194         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42195         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42196         result for underflowing pow the same as for overflow.
42197         (__kernel_standard_l): Handle powl overflow and underflow here
42198         rather than calling __kernel_standard.
42199         * math/libm-test.inc (pow_test): Add more tests.
42201         [BZ #3868]
42202         [BZ #13879]
42203         [BZ #13910]
42204         [BZ #13911]
42205         [BZ #13912]
42206         [BZ #13913]
42207         [BZ #13915]
42208         [BZ #13916]
42209         [BZ #13917]
42210         [BZ #13918]
42211         [BZ #13919]
42212         [BZ #13920]
42213         [BZ #13921]
42214         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42215         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42216         (__kernel_standard_l): New function.
42217         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42218         __kernel_standard.
42219         * math/w_acosl.c (__acosl): Likewise.
42220         * math/w_asinl.c (__asinl): Likewise.
42221         * math/w_atan2l.c (__atan2l): Likewise.
42222         * math/w_atanhl.c (__atanhl): Likewise.
42223         * math/w_coshl.c (__coshl): Likewise.
42224         * math/w_exp10l.c (__exp10l): Likewise.
42225         * math/w_exp2l.c (__exp2l): Likewise.
42226         * math/w_fmodl.c (__fmodl): Likewise.
42227         * math/w_hypotl.c (__hypotl): Likewise.
42228         * math/w_j0l.c (__j0l, __y0l): Likewise.
42229         * math/w_j1l.c (__j1l, __y1l): Likewise.
42230         * math/w_jnl.c (__jnl, __ynl): Likewise.
42231         * math/w_lgammal.c (__lgammal): Likewise.
42232         * math/w_log10l.c (__log10l): Likewise.
42233         * math/w_log2l.c (__log2l): Likewise.
42234         * math/w_logl.c (__logl): Likewise.
42235         * math/w_powl.c (__powl): Likewise.
42236         * math/w_remainderl.c (__remainderl): Likewise.
42237         * math/w_scalbl.c (sysv_scalbl): Likewise.
42238         * math/w_sinhl.c (__sinhl): Likewise.
42239         * math/w_sqrtl.c (__sqrtl): Likewise.
42240         * math/w_tgammal.c (__tgammal): Likewise.
42241         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42242         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42243         * math/libm-test.inc (acos_test): Add more tests.
42244         (acosh_test): Likewise.
42245         (asin_test): Likewise.
42246         (atanh_test): Likewise.
42247         (exp_test): Likewise.
42248         (exp10_test): Likewise.
42249         (exp2_test): Likewise.
42250         (expm1_test): Likewise.
42251         (lgamma_test): Likewise.
42252         (log_test): Likewise.
42253         (log10_test): Likewise.
42254         (log1p_test): Likewise.
42255         (log2_test): Likewise.
42256         (pow_test): Do not allow some spurious overflow exceptions.
42257         (sqrt_test): Add more tests.
42258         (tgamma_test): Likewise.
42259         (y0_test): Likewise.
42260         (y1_test): Likewise.
42261         (yn_test): Likewise.
42263 2012-03-27  Anton Blanchard  <anton@samba.org>
42265         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42266         MAP_HUGETLB.
42267         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42268         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42269         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42271 2012-03-27  David S. Miller  <davem@davemloft.net>
42273         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42275         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42276         have-as-vis3 check.
42278 2012-03-27  Andreas Jaeger  <aj@suse.de>
42280         * sysdeps/x86_64/elf/configure.in: Moved to ...
42281         * sysdeps/x86_64/configure.in: ... here.
42282         * sysdeps/x86_64/elf/start.S: Moved to ...
42283         * sysdeps/x86_64/start.S: ... here.
42284         * sysdeps/x86_64/elf/configure: Delete.
42286         * sysdeps/x86_64/configure.in: Merge contents from
42287         sysdeps/i386/configure.in (without i686 check).
42289         * sysdeps/i386/elf/Versions: Merge into ...
42290         * sysdeps/i386/Versions: ... this.
42291         * sysdeps/i386/elf/Versions: Delete file.
42292         * sysdeps/i386/elf/start.S: Moved to ...
42293         * sysdeps/i386/start.S: ...here.
42294         * sysdeps/i386/elf/configure.in: Merge into...
42295         * sysdeps/i386/configure.in: ...here.
42296         * sysdeps/i386/elf/configure.in: Delete file.
42297         * sysdeps/i386/elf/configure: Delete file.
42299         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42300         * debug/backtracesyms.c: ... here.
42301         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42302         * debug/backtracesymsfd.c: ... here.
42303         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42304         * sysdeps/generic/ifunc-sel.h: ... here.
42306         * sysdeps/unix/i386/start.c: Delete file.
42307         * sysdeps/unix/sparc/start.c: Delete file.
42308         * sysdeps/unix/start.c: Delete file.
42310         * sysdeps/sh/elf/configure.in: Moved to ...
42311         * sysdeps/sh/configure.in: ... here.
42312         * sysdeps/sh/elf/start.S: Moved to ...
42313         * sysdeps/sh/start.S: ... here.
42314         * sysdeps/sh/elf/configure: Delete file.
42316         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42317         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42318         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42319         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42320         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42321         * sysdeps/powerpc/powerpc64/start.S: here.
42322         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42323         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42324         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42325         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42326         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42328         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42329         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42330         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42331         * sysdeps/powerpc/powerpc32/start.S: ... here.
42332         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42333         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42334         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42336         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42337         * sysdeps/powerpc/ifunc-sel.h: ... here.
42338         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42339         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42341         * sysdeps/sparc/elf/configure.in: Moved to ...
42342         * sysdeps/sparc/configure.in: ... here.
42343         * sysdeps/sparc/elf/configure: Delete file.
42344         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42345         * sysdeps/sparc/sparc32/start.S: ... here.
42346         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42347         * sysdeps/sparc/sparc64/start.S: ... here.
42348         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42349         * sysdeps/sparc/sparc32/Makefile: ... this.
42350         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42351         * sysdeps/sparc/sparc64/Makefile: ... this.
42353         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42354         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42355         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42356         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42357         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42358         * sysdeps/s390/s390-32/setjmp.S: ... here.
42359         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42360         * sysdeps/s390/s390-32/configure.in: ... here.
42361         * sysdeps/s390/s390-32/elf/configure: Delete file.
42362         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42363         * sysdeps/s390/s390-32/start.S: ... here.
42365         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42366         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42367         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42368         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42369         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42370         * sysdeps/s390/s390-64/setjmp.S: ... here.
42371         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42372         * sysdeps/s390/s390-64/configure.in: ... here
42373         * sysdeps/s390/s390-64/elf/configure: Delete file.
42374         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42375         * sysdeps/s390/s390-64/start.S: ... here.
42376         * sysdeps/s390/s390-64/elf/configure: Delete.
42378         * configure.in: Remove support for elf directories in sysdeps.
42380         * configure: Regenerated.
42381         * sysdeps/i386/configure: Regenerated.
42382         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42383         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42384         * sysdeps/s390/s390-32/configure: Regenerated.
42385         * sysdeps/s390/s390-64/configure: Regenerated.
42386         * sysdeps/sh/configure: Regenerated.
42387         * sysdeps/sparc/configure: Regenerated.
42388         * sysdeps/x86_64/configure: Regenerated.
42390 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42395         denormal result into account.
42397 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42399         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42400         Reported by Allan McRae <allan@archlinux.org>.
42402 2012-03-23  Jeff Law  <law@redhat.com>
42404         * nss/getnssent.c (__nss_getent): Fix typo.
42406 2012-03-23  David S. Miller  <davem@davemloft.net>
42408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42410 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42412         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42413         to pad to uint64_t for each field.
42414         (dl_tls_index): Replace unsigned long with uint64_t.
42416 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42417         Paul Pluzhnikov  <ppluzhnikov@google.com>
42419         [BZ #6528]
42420         * grp/Makefile (otherlibs): Don't set it.
42421         * inet/Makefile (otherlibs): Likewise.
42422         * login/Makefile (otherlibs): Likewise.
42423         * nscd/Makefile (otherlibs): Likewise.
42424         * posix/Makefile (otherlibs): Likewise.
42425         * pwd/Makefile (otherlibs): Likewise.
42426         * rt/Makefile (otherlibs): Likewise.
42427         * sunrpc/Makefile (otherlibs): Likewise.
42428         * nss/Makefile (otherlibs): Likewise.
42429         Add libnss_files to routines and static-only-routines.
42430         ($(objpfx)getent): Remove rule.
42431         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42432         static-only-routines.
42434 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42436         [BZ #13892]
42437         * math/s_cexp.c: Include <float.h>.
42438         (__cexp): Handle exp result overflowing not necessarily
42439         overflowing both real and imaginary parts of result.
42440         * math/s_cexpf.c: Likewise.
42441         * math/s_cexpl.c: Likewise.
42442         * math/libm-test.inc (cexp_test): Add more tests.
42443         * sysdeps/i386/fpu/libm-test-ulps: Update.
42444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42446 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42448         * include/link.h (ELFW): New macro.
42449         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42450         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42452 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42454         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42455         with uint64_t.
42457 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42459         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42460         declaration.
42461         (struct La_x32_retval): Likewise.
42463 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42465         * sysdeps/x86_64/preconfigure.in: New file.
42466         * sysdeps/x86_64/preconfigure: New generated file.
42468 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42470         [BZ #13824]
42471         * math/e_exp2l.c: Include <float.h>.
42472         (__ieee754_exp2l): Handle overflow and underflow cases
42473         separately.  Only pass fractional part of argument to
42474         __ieee754_expl.
42475         * math/libm-test.inc (exp2_test): Add more tests.
42477         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42478         negating x to take absolute value.
42479         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42480         Likewise.
42481         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42482         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42483         Likewise.
42484         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42485         computing low part if x was negated.
42486         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42488 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42490         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42491         la_x32_gnu_pltexit.
42492         (pltexit): Cast int_retval to ptrdiff_t.
42493         * elf/tst-auditmod3b.c: Likewise.
42494         * elf/tst-auditmod4b.c: Likewise.
42495         * elf/tst-auditmod5b.c: Likewise.
42496         * elf/tst-auditmod6b.c: Likewise.
42497         * elf/tst-auditmod6c.c: Likewise.
42498         * elf/tst-auditmod7b.c: Likewise.
42500         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42501         and x32_gnu_pltexit.
42503         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42504         __ELF_NATIVE_CLASS.
42505         (La_x32_regs): New macro.
42506         (La_x32_retval): Likewise.
42507         (la_x32_gnu_pltenter): New function prototype.
42508         (la_x32_gnu_pltexit): Likewise.
42510 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42513         exponent.
42515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42517         * configure.in (libc_cv_cc_nofma): Check for option to disable
42518         generation of FMA instructions.
42519         * configure: Regenerate.
42520         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42521         * sysdeps/ieee754/dbl-64/Makefile: New file.
42522         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42523         Remove brandred-fma4.
42524         (CFLAGS-brandred-fma4.c): Remove.
42525         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42526         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42527         define.
42528         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42529         define.
42531 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42533         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42534         LLONG_MAX != LONG_MAX.
42535         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42536         (_fitoa_word): Likewise.
42537         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42538         LLONG_MAX != LONG_MAX.
42539         * stdio-common/_itowa.h: Include <_itoa.h>.
42540         (_itowa_word): Use _ITOA_WORD_TYPE on value.
42541         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
42542         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
42543         only if not defined.
42544         (_ITOA_WORD_TYPE): Likewise.
42545         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42546         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42548 2012-03-21  David S. Miller  <davem@davemloft.net>
42550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42552 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42554         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42555         of x86_64 when setting libc_cv_slibdir, libdir and
42556         libc_cv_localedir.
42557         * sysdeps/unix/sysv/linux/configure: Regenerated.
42559 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42561         * manual/lang.texi (Old Varargs): Remove section.
42562         (How Variadic): Update menu.
42563         (va_start): Do not mention varargs.h.
42565 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42566             Joseph Myers  <joseph@codesourcery.com>
42568         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42569         link test.
42570         * configure: Regenerated.
42572 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42574         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42575         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42576         conformtest.pl
42578 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42580         * NOTES: Remove.
42581         * Makefile (files-for-dist): Remove NOTES.
42582         (NOTES): Remove rule.
42583         * README: Don't refer to NOTES.
42584         * manual/creature.texi: Don't include macros.texi.
42585         * manual/intro.texi (creature.texi): Remove comment referring to
42586         NOTES.
42588         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42589         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42590         * configure: Regenerated.
42591         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42592         LIBC_TRY_CC_OPTION.
42593         (libc_cv_as_i686): Likewise.
42594         (libc_cv_cc_avx): Likewise.
42595         (libc_cv_cc_sse2avx): Likewise.
42596         (libc_cv_cc_fma4): Likewise.
42597         (libc_cv_cc_novzeroupper): Likewise.
42598         * sysdeps/i386/configure: Regenerated.
42600         [BZ #13883]
42601         * sysdeps/i386/fpu/s_cexp.S: Remove.
42602         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42603         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42604         * math/libm-test.inc (cexp_test): Add more tests.
42605         * sysdeps/i386/fpu/libm-test-ulps: Update.
42606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42608 2012-03-21  Allan McRae  <allan@archlinux.org>
42610         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42612 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42614         [BZ #13871]
42615         * math/w_exp2.c: Do not include <float.h>.
42616         (o_threshold, u_threshold): Remove.
42617         (__exp2): Calculate result before checking finiteness and calling
42618         __kernel_standard.
42619         * math/w_exp2f.c: Likewise.
42620         * math/w_exp2l.c: Likewise.
42621         * math/libm-test.inc (exp2_test): Require overflow exception for
42622         1e6 input.
42624         [BZ #3866]
42625         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42626         range of signed 64-bit integers before using fistpll.  Remove
42627         checks for whether integers fit in mantissa bits.
42628         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42629         the range of signed 32-bit integers before using fistpl.  Remove
42630         checks for whether integers fit in mantissa bits.
42631         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42632         (__ieee754_powl): Test for y outside the range of signed 64-bit
42633         integers before using fistpll.  Reduce 64-bit values to 63-bit
42634         ones as needed.
42635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42636         divide-by-zero is raised for zero to large negative powers.
42637         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42638         (__ieee754_powl): Test for y outside the range of signed 64-bit
42639         integers before using fistpll.  Reduce 64-bit values to 63-bit
42640         ones as needed.
42641         * math/libm-test.inc (pow_test): Add more tests.
42643 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42645         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42646         <stdio-common/_itoa.h>.
42647         * debug/segfault.c: Likewise.
42648         * elf/dl-cache.c: Likewise.
42649         * elf/dl-minimal.c: Likewise.
42650         * elf/dl-misc.c: Likewise.
42651         * elf/dl-sysdep.c: Likewise.
42652         * elf/dl-version.c: Likewise.
42653         * elf/rtld.c: Likewise.
42654         * hurd/hurdsock.c: Likewise.
42655         * hurd/lookup-retry.c: Likewise.
42656         * malloc/malloc.c: Likewise.
42657         * malloc/mtrace.c: Likewise.
42658         * nscd/nscd_getgr_r.c: Likewise.
42659         * nscd/nscd_getpw_r.c: Likewise.
42660         * nscd/nscd_getserv_r.c: Likewise.
42661         * posix/getopt_init.c: Likewise.
42662         * posix/wordexp.c: Likewise.
42663         * stdio-common/_itoa.c: Likewise.
42664         * stdio-common/printf_fphex.c: Likewise.
42665         * stdio-common/vfprintf.c: Likewise.
42666         * string/_strerror.c: Likewise.
42667         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42668         * sysdeps/i386/i686/hp-timing.h: Likewise.
42669         * sysdeps/mach/_strerror.c: Likewise.
42670         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42671         * sysdeps/mach/hurd/sethostid.c: Likewise.
42672         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42673         * sysdeps/mach/xpg-strerror.c: Likewise.
42674         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42676         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42677         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42678         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42679         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42680         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42681         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42682         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42683         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42684         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42685         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42686         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42687         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42688         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42689         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42690         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42691         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42692         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42693         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42694         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42696         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42698         * stdio-common/_itoa.h: Moved to ...
42699         * sysdeps/generic/_itoa.h: Here.
42701         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42703         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42704         instead of "_itoa.h" and "_itowa.h".
42705         * stdio-common/vfprintf.: Likewise.
42707 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42709         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42710         <bits/wordsize.h>.
42711         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42712         (__signbit): Likwise.
42713         (llrintf): Likwise.
42714         (llrint): Likwise.
42716 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42718         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42719         __WORDSIZE != 64.
42721 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42723         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42724         OVERFLOW_EXCEPTION_OK.
42725         * math/libm-test.inc ("Philosophy"): Update comment about
42726         exception testing.
42727         (OVERFLOW_EXCEPTION): Define.
42728         (OVERFLOW_EXCEPTION_OK): Likewise.
42729         (INVALID_EXCEPTION_OK): Renumber.
42730         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42731         (IGNORE_ZERO_INF_SIGN): Likewise.
42732         (test_exceptions): Handle FE_OVERFLOW.
42733         (exp10_test): Expect overflow exceptions.
42734         (exp2_test): Likewise.
42735         (expm1_test): Likewise.
42736         (nextafter_test): Likewise.
42737         (pow_test): Likewise.
42738         (scalbn_test): Likewise.
42739         (scalbln_test): Likewise.
42741 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42743         * sysdeps/x86_64/bits/atomic.h
42744         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42745         64bit integer.
42746         (atomic_exchange_acq): Likewise.
42747         (__arch_exchange_and_add_body): Likewise.
42748         (__arch_add_body): Likewise.
42749         (atomic_add_negative): Likewise.
42750         (atomic_add_zero): Likewise.
42752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42754         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42755         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42757 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42759         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42760         Check __x86_64__ instead of __WORDSIZE.
42762 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42764         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42766 2012-03-19  David S. Miller  <davem@davemloft.net>
42768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42770         * sysdeps/sparc/fpu/fenv_private.h: New file.
42771         * sysdeps/sparc/fpu/math_private.h: Use it.
42772         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42773         Remove.
42774         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42775         (libc_feholdexcept_setroundl): Remove.
42776         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42777         Remove.
42778         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42779         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42781 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42783         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42784         int64_t instead of long int.
42785         (INSERT_WORDS64): Likwise.
42787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42789         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42790         _Unwind_GetCFA return to _Unwind_Ptr first.
42792 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42794         [BZ #13629]
42795         * math/s_clog.c: Include <float.h>.
42796         (__clog): Scale large or subnormal inputs.
42797         * math/s_clogf.c: Likewise.
42798         * math/s_clogl.c: Likewise.
42799         * math/s_clog10.c: Include <float.h>.
42800         (M_LOG10_2): Define.
42801         (__clog10): Scale large or subnormal inputs.
42802         * math/s_clog10f.c: Likewise.
42803         * math/s_clog10l.c: Likewise.
42804         * math/libm-test.inc (clog_test): Add more tests.
42805         (clog10_test): Likewise.
42806         * sysdeps/i386/fpu/libm-test-ulps: Update.
42807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42809         [BZ #11451]
42810         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42811         x and y.
42812         * math/libm-test.inc (atan2_test): Add another test.
42814         * Makerules (common-objdir-compile): Remove.
42815         * sysdeps/unix/Makefile (config-generated): Do not add
42816         $(unix-generated) to variable.
42817         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42818         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42819         Remove rule.
42820         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42821         Likewise.
42822         [generic bits/local_lim.h] (before-compile): Do not append to
42823         variable.
42824         [generic bits/local_lim.h] (common-generated): Likewise.
42825         [generic sys/param.h] (before-compile): Do not append to variable.
42826         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42827         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42828         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42829         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42830         include.
42831         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42832         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42833         [generic sys/param.h] ($(addprefix
42834         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42835         [generic sys/param.h] (common-generated): Do not append to
42836         variable.
42837         [generic sys/param.h] (sysdep_headers): Likewise.
42838         [generic bits/errno.h] (before-compile): Do not append to
42839         variable.
42840         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42841         rule.
42842         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42843         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42844         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42845         [generic bits/errno.h] (common-generated): Do not append to
42846         variable.
42847         [generic bits/ioctls.h] (before-compile): Do not append to
42848         variable.
42849         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42850         rule.
42851         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42852         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42853         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42854         rule.
42855         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42856         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42857         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42858         [generic bits/ioctls.h] (common-generated): Do not append to
42859         variable.
42860         [generic sys/syscall.h] (syscall.h): Remove variable.
42861         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42862         rule.
42863         [generic sys/syscall.h] (before-compile): Do not append to
42864         variable.
42865         [generic sys/syscall.h] (common-generated): Likewise.
42866         * sysdeps/unix/errnos-tmpl.c: Remove file.
42867         * sysdeps/unix/errnos.awk: Likewise.
42868         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42869         * sysdeps/unix/ioctls.awk: Likewise.
42870         * sysdeps/unix/mk-local_lim.c: Likewise.
42871         * sysdeps/unix/snarf-ioctls: Likewise.
42873 2012-03-19  Richard Henderson  <rth@twiddle.net>
42875         * sysdeps/i386/fpu/fenv_private.h: New file.
42876         * sysdeps/i386/fpu/math_private.h: Use it.
42877         (math_opt_barrier, math_force_eval): Remove.
42878         (libc_feholdexcept_setround_53bit): Remove.
42879         (libc_feupdateenv_53bit): Remove.
42880         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42881         (math_opt_barrier, math_force_eval): Remove.
42882         (libc_feholdexcept): Remove.
42883         (libc_feholdexcept_setround): Remove.
42884         (libc_fetestexcept, libc_fesetenv): Remove.
42885         (libc_feupdateenv_test): Remove.
42886         (libc_feupdateenv, libc_feholdsetround): Remove.
42887         (libc_feresetround): Remove.
42889         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42890         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42892         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42893         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42894         (libc_feupdateenv_testl): New.
42895         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42896         (libc_feupdateenv_testf): New.
42897         (libc_feupdateenv): Use libc_feupdateenv_test.
42898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42899         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42901         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42902         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42903         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42904         (libc_feresetround_noex): New.
42905         (libc_feresetround_noexf): New.
42906         (libc_feresetround_noexl): New.
42907         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42908         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42909         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42910         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42911         SET_RESTORE_ROUND.
42912         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42913         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42914         (__cos): Likewise.
42915         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42916         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42917         SET_RESTORE_ROUND_NOEX.
42918         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42919         SET_RESTORE_ROUND_NOEXF.
42920         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42921         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42922         (libc_feholdsetroundf): New.
42923         (libc_feresetround, libc_feresetroundf): New.
42925         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42926         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42927         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42929         * sysdeps/generic/math_private.h: Include <fenv.h>.
42930         (default_libc_feholdexcept): New.
42931         (default_libc_feholdexcept_setround): New.
42932         (default_libc_fesetenv, default_libc_feupdateenv): New.
42933         (libc_feholdexcept): Only define if undefined.
42934         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42935         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42936         (libc_feholdexcept_setroundl): Likewise.
42937         (libc_feholdexcept_setround_53bit): Likewise.
42938         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42939         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42940         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42941         (libc_feupdateenv_53bit): Likewise.
42942         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42943         (libc_feholdexcept): Convert from macro to inline function.
42944         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42945         (libc_fesetenv, libc_feupdateenv): Likewise.
42947         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42948         not previously defined.
42949         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42950         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42951         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42952         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42953         * sysdeps/ieee754/flt-32/math_private.h: New file.
42954         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42955         math_private.h below SET_FLOAT_WORD.
42956         (__isnan, __isinf_ns, __finite): Remove.
42957         (__isnanf, __isinf_nsf, __finitef): Remove.
42959 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42963 2012-03-17  David S. Miller  <davem@davemloft.net>
42965         [BZ #6471]
42966         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42967         for 2.16.
42969 2012-03-16  David S. Miller  <davem@davemloft.net>
42971         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42972         warnings.
42974         [BZ #6471]
42975         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42976         properly.
42977         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42978         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42979         sysdep_routines when subdir is sysvipc.
42980         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42981         __getshmlba helper.
42983         * sysdeps/sparc/fpu/libm-test/ulps: Update.
42985 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42987         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42988         [__LP64__].
42990 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
42992         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42993         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42994         (__lround): Renamed to ...
42995         (__llround): This.  Replace long int with long long int.
42996         Define lround functions as aliases of llround functions.
42997         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42999 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43001         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43002         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43003         adresses to uintptr_t.  Replace "long int" and "unsigned long
43004         int" with "greg_t" on va_arg.
43006 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43008         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43009         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43011         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43012         Move e_machine check before EI_CLASS check.  Handle x32
43013         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43014         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43015         SKIP_EM_IA_64 and include
43016         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43018         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43019         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43020         (add_system_dir): New macro.
43022         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43023         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43025 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43027         [BZ #2551]
43028         [BZ #2552]
43029         [BZ #2553]
43030         [BZ #2554]
43031         [BZ #2562]
43032         [BZ #2563]
43033         [BZ #2565]
43034         [BZ #2566]
43035         [BZ #2576]
43036         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43037         (y0): Likewise.
43038         * math/w_j0f.c (j0f): Likewise.
43039         (y0f): Likewise.
43040         * math/w_j0l.c (__j0l): Likewise.
43041         (__y0l): Likewise.
43042         * math/w_j1.c (j1): Likewise.
43043         (y1): Likewise.
43044         * math/w_j1f.c (j1f): Likewise.
43045         (y1f): Likewise.
43046         * math/w_j1l.c (__j1l): Likewise.
43047         (__y1l): Likewise.
43048         * math/w_jn.c (jn): Likewise.
43049         (yn): Likewise.
43050         * math/w_jnf.c (jnf): Likewise.
43051         (ynf): Likewise.
43052         * math/w_jnl.c (__jnl): Likewise.
43053         (__ynl): Likewise.
43054         * math/libm-test.inc (j0_test): Add more tests.
43055         (j1_test): Likewise.
43056         (jn_test): Likewise.  Add trailing semicolon to existing test.
43057         (y0_test): Likewise.
43058         (y1_test): Likewise.
43059         * sysdeps/i386/fpu/libm-test-ulps: Update.
43060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43062         [BZ #13851]
43063         [BZ #13854]
43064         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43065         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43066         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43067         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43068         (__tanl): Set errno for infinite argument.
43069         * sysdeps/i386/fpu/mptan.c: Remove.
43070         * sysdeps/i386/fpu/s_tan.S: Likewise.
43071         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43072         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43073         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43074         * math/libm-test.inc (tan_test): Add more tests and enable more
43075         tests for double and long double.
43076         * sysdeps/i386/fpu/libm-test-ulps: Update.
43077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43079 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43081         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43082         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43084 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43086         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43087         * configure.in: Use it for both main tree and add-ons.
43088         * configure: Regenerated.
43090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43092         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43094 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43096         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43097         in comment.
43099         [BZ #13851]
43100         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43101         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43102         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43103         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43104         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43105         infinite argument.
43106         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43107         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43108         != 0 for prec == 2.
43109         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43110         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43111         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43112         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43113         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43114         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43115         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43116         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43117         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43118         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43119         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43120         * math/libm-test.inc (cos_test): Add more tests and enable more
43121         tests for long double.
43122         (sin_test): Likewise.
43123         (sincos_test): Likewise.
43124         * sysdeps/i386/fpu/libm-test-ulps: Update.
43125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43127 2012-03-16  David S. Miller  <davem@davemloft.net>
43129         * sysdeps/sparc/fpu/math_private.h: New file.
43131 2012-03-15  David S. Miller  <davem@davemloft.net>
43133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43134         file.
43135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43137         file.
43138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43143         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43144         sysdep routines.
43145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43147         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43148         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43150         * sysdeps/sparc/sparc-ifunc.h: New file.
43151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43152         sparc-ifunc.h
43153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43155         Likewise.
43156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43157         Likewise.
43158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43162         Likewise.
43163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43168         Likewise.
43169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43170         Likewise.
43171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43177         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43189         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43190         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43191         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43192         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43193         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43194         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43196 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43198         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43199         scaling.
43200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43202 2012-03-15  Andreas Jaeger  <aj@suse.de>
43204         [BZ #13852]
43205         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43206         ieee754/flt-32 implementation for sin, cos and sincos.
43207         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43208         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43209         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43210         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43211         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43212         ieee754/flt-32 implementation for tan.
43214         * math/libm-test.inc (cos_test): Enable some large input tests for
43215         float as well
43216         (sin_test): Likewise.
43217         (sincos_test): Likewise.
43218         (tan_test): Add tests for large input.
43220         * sysdeps/i386/fpu/libm-test-ulps: Update.
43222 2012-03-15  Andreas Jaeger  <aj@suse.de>
43224         [BZ #13658]
43225         * math/libm-test.inc (cos_test): Add more test cases.
43226         (sin_test): Likewise.
43227         (sincos_test): Likewise.
43229 2012-03-15  Andreas Jaeger  <aj@suse.de>
43231         [BZ #13837]
43232         * math/libm-test.inc (cos_test): Add a test case for large input
43233         value.
43234         (sin_test): Likewise.
43235         (sincos_test): Likewise.
43237 2012-03-15  Andreas Jaeger  <aj@suse.de>
43238             Joseph Myers  <joseph@codesourcery.com>
43240         [BZ #13658]
43241         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43242         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43243         * sysdeps/i386/fpu/branred.c: Likewise.
43244         * sysdeps/i386/fpu/dosincos.c: Likewise.
43245         * sysdeps/i386/fpu/mpa.c: Likewise.
43246         * sysdeps/i386/fpu/s_cos.S: Likewise.
43247         * sysdeps/i386/fpu/s_sin.S: Likewise.
43248         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43249         * sysdeps/i386/fpu/sincos32.c: Likewise.
43251         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43252         Define.
43253         (libc_feupdateenv_53bit): Define.
43254         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43255         Define.
43256         (libc_feupdateenv_53bit): Define.
43258         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43259         53 bit (without extend i386 double precision).
43261         * math/libm-test.inc (sincos_test): Add tests for large input.
43262         (sin): Likewise.
43263         (cos): Likewise.
43265         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43267 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43271 2012-03-15  David S. Miller  <davem@davemloft.net>
43273         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43274         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43275         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43276         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43289         file.
43290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43292         file.
43293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43295         file.
43296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43298         file.
43299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43301         fmin/fmax sysdep routines.
43302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43304 2012-03-14  David S. Miller  <davem@davemloft.net>
43306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43326         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43327         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43328         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43329         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43330         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43331         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43332         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43333         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43334         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43335         routines.
43336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43337         file.
43338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43340         file.
43341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43343         file.
43344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43346         file.
43347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43349         file.
43350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43352         file.
43353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43354         file.
43355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43356         file.
43357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43358         file.
43359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43360         New file.
43361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43362         file.
43363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43364         file.
43365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43367         file.
43368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43370         file.
43371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43373         file.
43374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43376         VIS3 routines.
43378         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43379         New file.
43381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43383         * sysdeps/sparc/configure.in: New file.
43384         * sysdeps/sparc/configure: Generate.
43385         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43386         * configure: Regenerate.
43387         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43388         * config.make.in (have-as-vis3): New.
43389         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43390         available use -Av9d instead of -Av9a.
43391         * sysdeps/sparc/sparc64/Makefile: Likewise.
43392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43394         New file.
43395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43396         file.
43397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43398         New file.
43399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43400         file.
43401         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43402         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43403         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43404         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43405         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43407         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43408         fzeros/fnegs to load 0x80000000 into a float register instead of
43409         using the stack.
43410         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43412 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43415         bits/syscall.h.
43416         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43417         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43418         ($(inst_includedir)/bits/syscall.h): Remove rule.
43419         ($(objpfx)bits/syscall.d): Include instead of
43420         $(objpfx)syscall-list.d.
43421         (generated): Change syscall-list.h and syscall-list.d to
43422         bits/syscall.h and bits/syscall.d.
43424 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43426         [BZ #13846]
43427         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43429 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43431         [BZ #13841]
43432         * math/s_csqrt.c: Include <float.h>.
43433         (__csqrt): Scale large or subnormal inputs.
43434         * math/s_csqrtf.c: Likewise.
43435         * math/s_csqrtl.c: Likewise.
43436         * math/libm-test.inc (csqrt_test): Add more tests.
43437         * sysdeps/i386/fpu/libm-test-ulps: Update.
43438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43440         [BZ #13840]
43441         * math/libm-test.inc (hypot_test): Add more tests.
43443 2012-03-13  David S. Miller  <davem@davemloft.net>
43445         [BZ #13840]
43446         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43447         double-precision for the calculation instead of scaling.
43449 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43451         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43452         manipulate bits before adding and subtracting TWO52[sx].
43453         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43454         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43455         Likewise.
43456         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43458 2012-03-13  David S. Miller  <davem@davemloft.net>
43460         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43461         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43462         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43463         rtld-global-offsets.h
43464         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43466         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43467         large parameters.
43469         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43471         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43472         'err' in the ifdef scope in which it is actually used.
43474         * nss/nss_db/db-init.c: Include string.h
43476 2012-03-12  David S. Miller  <davem@davemloft.net>
43478         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43479         masking out of the most significant byte of random value used.
43480         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43481         Fix coding style in previous change.
43483         * sysdeps/unix/sysv/linux/kernel-features.h
43484         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43485         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43486         expression.
43487         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43488         later.
43490 2012-03-11  David S. Miller  <davem@davemloft.net>
43492         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43493         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43494         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43495         for 'resultvar' otherwise things get truncated on 64-bit.
43497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43498         Fix masking out of the most significant byte of random value used.
43500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43502 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43506 2012-03-09  David S. Miller  <davem@davemloft.net>
43508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43509         variables with appropriate CPP guards.
43510         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43511         from the frame pointer, not the stack pointer.  Correct layout
43512         comments.  Fix test on resulting framesize and the management of
43513         the outregs buffer for pltexit.  Preserve floating point return
43514         values across _dl_call_pltexit call.
43515         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43516         framesize and the management of the outregs buffer for pltexit.
43517         Preserve floating point return values across _dl_call_pltexit
43518         call.
43519         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43520         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43521         (la_sparc64_gnu_pltexit): New functions.
43522         (print_exit): Fix format string for return register value.
43524 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43526         * sunrpc/Makefile (others): Add rpcgen.
43527         ($(objpfx)rpcgen): Remove special build rule and dependency on
43528         libc.
43529         * sunrpc/rpcgen.c: New file.
43531 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43533         [BZ #13673]
43534         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43535         * stdio-common/bug-vfprintf-nargs.c: Likewise.
43536         * sysdeps/i386/crti.S: Likewise.
43537         * sysdeps/i386/crtn.S: Likewise.
43538         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43539         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43540         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43541         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43542         * sysdeps/sh/crti.S: Likewise.
43543         * sysdeps/sh/crtn.S: Likewise.
43544         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43546         [BZ #13673]
43547         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43548         with URL.
43549         * locale/programs/locfile-kw.gperf: Likewise.
43550         * locale/programs/charmap-kw.h: Regenerated.
43551         * locale/programs/locfile-kw.h: Likewise.
43553         [BZ #13673]
43554         * intl/plural.y: Replace FSF snail mail address with URL.
43555         * intl/plural.c: Regenerated.
43557 2012-03-09  Richard Henderson  <rth@twiddle.net>
43559         * include/math_private.h: Remove file.
43560         * math/math_private.h: Move file ...
43561         * sysdeps/generic/math_private.h: ... here.
43563         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43564         * sysdeps/powerpc/fpu/math_private.h: Likewise.
43565         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43567         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43568         and <math_private.h>.
43569         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43570         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43571         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43572         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43573         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43574         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43575         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43577         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43578         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43579         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43580         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43581         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43583         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43584         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43585         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43586         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43587         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43588         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43590         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43591         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43592         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43593         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43594         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43595         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43596         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43598         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43599         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43601         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43602         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43603         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43604         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43605         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43606         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43607         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43609         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43610         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43611         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43612         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43613         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43614         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43615         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43616         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43617         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43618         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43619         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43620         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43621         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43622         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43623         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43624         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43625         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43626         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43645         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43648         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43649         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43654         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43656         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43657         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43658         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43659         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43660         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43661         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43662         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43663         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43664         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43665         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43666         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43667         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43668         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43669         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43670         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43671         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43672         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43673         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43674         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43675         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43676         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43677         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43678         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43679         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43680         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43681         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43682         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43683         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43684         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43685         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43686         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43687         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43688         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43689         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43690         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43691         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43692         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43693         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43694         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43695         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43696         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43697         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43698         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43699         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43700         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43701         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43702         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43703         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43704         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43705         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43706         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43707         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43708         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43709         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43710         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43711         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43712         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43713         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43714         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43715         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43716         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43717         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43718         * sysdeps/ieee754/k_standard.c: Likewise.
43719         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43720         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43721         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43722         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43723         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43724         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43725         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43726         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43727         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43728         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43729         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43731         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43732         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43733         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43734         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43735         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43736         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43737         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43738         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43739         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43740         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43741         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43742         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43743         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43744         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43745         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43746         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43747         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43749         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43750         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43751         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43752         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43753         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43754         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43756         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43757         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43758         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43759         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43760         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43761         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43762         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43763         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43764         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43765         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43767         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43770         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43771         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43772         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43773         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43774         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43775         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43776         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43777         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43778         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43779         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43780         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43781         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43782         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43783         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43784         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43785         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43786         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43787         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43788         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43789         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43791         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43795         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43796         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43797         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43799         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43800         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43801         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43802         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43804         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43805         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43806         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43807         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43808         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43809         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43810         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43811         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43812         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43818         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43820         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43823         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43826         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43827         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43828         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43834         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43836         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43841         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43846         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43851         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43854         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43855         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43856         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43859         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43860         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43861         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43862         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43863         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43864         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43865         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43866         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43867         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43868         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43869         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43870         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43871         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43872         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43873         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43874         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43875         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43876         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43877         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43878         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43879         * sysdeps/ieee754/s_lib_version.c: Likewise.
43880         * sysdeps/ieee754/s_matherr.c: Likewise.
43881         * sysdeps/ieee754/s_signgam.c: Likewise.
43882         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43883         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43884         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43885         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43886         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43887         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43888         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43889         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43890         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43891         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43892         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43893         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43894         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43895         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43896         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43897         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43898         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43899         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43901         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43902         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43904 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43906         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43907         * sunrpc/rpc_main.c: Likewise.
43908         * sunrpc/rpc_svcout.c: Likewise.
43910 2012-03-09  David S. Miller  <davem@davemloft.net>
43912         * include/math_private.h: New file.
43914 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43916         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43917         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43918         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43919         from <bits/socket_type.h>.
43920         (enum __socket_type): Don't define here.
43921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43923         bits/socket_type.h.
43925         [BZ #13566]
43926         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43927         checking __USE_GNU.
43929         * Makerules ($(inst_includedir)/%.h): New rule.
43930         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43931         (install-others): Remove variable setting.
43932         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43934 2012-03-08  Richard Henderson  <rth@twiddle.net>
43936         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43937         from macro to inline function; merge with the
43938         !__LIBC_INTERNAL_MATH_INLINES version.
43939         (__ieee754_sqrtf): Likewise.
43941         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43942         to inline function.
43943         (__rintf, __floor, __floorf): Likewise.
43945         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43946         macro to inline function.
43947         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43950         not <math/math_private.h>.
43952 2012-03-08  David S. Miller  <davem@davemloft.net>
43954         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43955         copyright year.
43956         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43958 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43960         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43961         normalization.
43962         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43963         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43965 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43967         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
43968         be defined individually, they must be defined as a block.  Define
43969         S for printing a string instead of hidint the different by using a
43970         macro for adding the 'l'.
43971         * stdio-common/tst-fphex-wide.c: Adjust.
43973 2012-03-07  Marek Polacek  <polacek@redhat.com>
43975         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43977 2012-03-08  Marek Polacek  <polacek@redhat.com>
43979         [BZ #13806]
43980         * stdio-common/Makefile (tests): Add tst-fphex-wide.
43981         * stdio-common/tst-fphex.c: Define a few macros to make the
43982         test reusable.  Use them.
43983         * stdio-common/tst-fphex-wide.c: New file.
43985 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
43987         [BZ #6911]
43988         * manual/macros.texi (gnusystems): New macro.
43989         (nongnusystems): Likewise.
43990         (gnulinuxhurdsystems): Likewise.
43991         (gnuhurdsystems): Likewise..
43992         (gnulinuxsystems): Likewise.
43993         * manual/charset.texi: Use new macros or @theglibc{} to refer to
43994         variants of the GNU system, not "GNU system".
43995         * manual/conf.texi: Likewise.
43996         * manual/errno.texi: Likewise.  Update example of errno macro
43997         expansion.
43998         * manual/filesys.texi: Likewise.
43999         (getumask): Document as specific to GNU/Hurd.
44000         * manual/install.texi: Likewise.  Reword some references to
44001         GNU/Linux.
44002         * manual/intro.texi: Likewise.
44003         * manual/io.texi: Likewise.
44004         (File Name Portability): Detail which constraints are inapplicable
44005         to all GNU systems and which are only inapplicable to GNU/Hurd.
44006         * manual/job.texi: Likewise.
44007         * manual/llio.texi: Likewise.
44008         (O_NOCTTY): Document as present on GNU/Linux.
44009         * manual/maint.texi: Likewise.
44010         * manual/memory.texi: Likewise.
44011         * manual/pattern.texi: Likewise.
44012         * manual/pipe.texi: Likewise.
44013         * manual/process.texi: Likewise.
44014         * manual/resource.texi: Likewise.
44015         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44016         child on GNU/Hurd.
44017         * manual/setjmp.texi: Likewise.
44018         * manual/signal.texi: Likewise.
44019         * manual/startup.texi: Likewise.
44020         * manual/stdio.texi: Likewise.
44021         * manual/terminal.texi: Likewise.
44022         (ONLCR): Document as POSIX.
44023         (OXTABS): Document availability on GNU/Linux as XTABS.
44024         (ONOEOT): Document availability separately from other bits.
44025         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44026         * manual/time.texi: Likewise.
44027         * manual/users.texi: Likewise.
44028         * INSTALL: Regenerated.
44029         * sysdeps/gnu/errlist.c: Regenerated.
44031         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44032         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44033         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44034         puts.
44035         * configure: Regenerated.
44037 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44039         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44040         default includes instead of AC_HEADER_CHECK.
44041         * sysdeps/i386/configure: Regenerated.
44043         [BZ #10716]
44044         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44045         * math/s_cacoshf.c (__cacoshf): Likewise.
44046         * math/s_cacoshl.c (__cacoshl): Likewise.
44047         * math/s_casinh.c (__casinh): Set signs of result from argument.
44048         * math/s_casinhf.c (__casinhf): Likewise.
44049         * math/s_casinhl.c (__casinhl): Likewise.
44050         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44051         (casinh_test): Add more tests.
44052         * sysdeps/i386/fpu/libm-test-ulps: Update.
44053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44055 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44057         * po/zh_TW.po: Update from translation team.
44059         * login/Makefile (distribute): Remove variable.
44060         * catgets/Makefile: Likewise.
44061         * mach/Makefile: Likewise.
44062         * malloc/Makefile: Likewise.
44063         * misc/Makefile: Likewise.
44064         * iconv/Makefile: Likewise.
44065         * nscd/Makefile: Likewise.
44066         * hurd/Makefile: Likewise.
44067         * manual/Makefile: Likewise.
44068         * locale/Makefile: Likewise.
44069         * intl/Makefile: Likewise.
44070         * conform/Makefile: Likewise.
44071         * nss/Makefile: Likewise.
44072         * time/Makefile: Likewise.
44073         * soft-fp/Makefile: Likewise.
44074         * dirent/Makefile: Likewise.
44075         * gmon/Makefile: Likewise.
44076         * po/Makefile: Likewise.
44077         * rt/Makefile: Likewise.
44078         * socket/Makefile: Likewise.
44079         * math/Makefile: Likewise.
44080         * signal/Makefile: Likewise.
44081         * debug/Makefile: Likewise.
44082         * elf/Makefile: Likewise.
44083         * timezone/Makefile: Likewise.
44084         * stdlib/Makefile: Likewise.
44085         * iconvdata/Makefile: Likewise.
44086         * sunrpc/Makefile: Likewise.
44087         * io/Makefile: Likewise.
44088         * argp/Makefile: Likewise.
44089         * inet/Makefile: Likewise.
44090         * hesiod/Makefile: Likewise.
44091         * grp/Makefile: Likewise.
44092         * csu/Makefile: Likewise.
44093         * wctype/Makefile: Likewise.
44094         * crypt/Makefile: Likewise.
44095         * libio/Makefile: Likewise.
44096         * string/Makefile: Likewise.
44097         * nis/Makefile: Likewise.
44098         * resolv/Makefile: Likewise.
44099         * stdio-common/Makefile: Likewise.
44100         * wcsmbs/Makefile: Likewise.
44101         * dlfcn/Makefile: Likewise.
44102         * posix/Makefile: Likewise.
44104         [BZ #6959]
44105         * timezone/Makefile: Don't install timezone files, just the programs
44106         and scripts.
44108 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44110         * nss/databases.def: Add missing gshadow entry.
44112         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44114 2012-03-06  Marek Polacek  <polacek@redhat.com>
44116         [BZ #13726]
44117         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44118         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44119         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44120         * stdio-common/tst-long-dbl-fphex.c: New file.
44122 2012-03-06  David S. Miller  <davem@davemloft.net>
44124         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44125         (set_obp_int): New function.
44126         (get_obp_int): New function.
44127         (__get_clockfreq_via_dev_openprom): Likewise.
44128         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44129         Avoid unused variable warnings on 'val' and use builtin_expect.
44130         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44131         __builtin_expect.
44132         (INLINE_CLONE_SYSCALL): Likewise.
44134 2012-03-05  David S. Miller  <davem@davemloft.net>
44136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44138 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44142         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44143         only for |x| >= 40.
44144         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44146 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44149         Replace gettimeofday with __vdso_gettimeofday.
44151         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44152         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44153         __vdso_clock_gettime and __vdso_getcpu.
44155         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44156         time with __vdso_time.
44158 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44160         * manual/lang.texi (size_t): Note types to which size_t may be
44161         equivalent with the GNU C Library, but do not describe when
44162         differences between them are significant.
44164 2012-03-05  Andreas Jaeger  <aj@suse.de>
44166         * sysdeps/i386/fpu/libm-test-ulps: Update.
44168 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44170         [BZ #3976]
44171         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44172         (__ieee754_pow): Save and restore rounding mode and use
44173         round-to-nearest for main computations.
44174         * math/libm-test.inc (pow_test_tonearest): New function.
44175         (pow_test_towardzero): Likewise.
44176         (pow_test_downward): Likewise.
44177         (pow_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         [BZ #3976]
44183         * math/libm-test.inc (cosh_test_tonearest): New function.
44184         (cosh_test_towardzero): Likewise.
44185         (cosh_test_downward): Likewise.
44186         (cosh_test_upward): Likewise.
44187         (sinh_test_tonearest): Likewise.
44188         (sinh_test_towardzero): Likewise.
44189         (sinh_test_downward): Likewise.
44190         (sinh_test_upward): Likewise.
44191         (main): Call the new functions.
44192         * sysdeps/i386/fpu/libm-test-ulps: Update.
44193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44195 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44197         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44198         default stack guard is set in last bytes.
44199         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44201 2012-03-05  Kees Cook  <keescook@chromium.org>
44203         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44205         [BZ #13656]
44206         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44207         possibly allocate from heap instead of stack.
44208         * stdio-common/bug-vfprintf-nargs.c: New file.
44209         * stdio-common/Makefile (tests): Add nargs overflow test.
44211 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44215 2012-03-03  Marek Polacek  <polacek@redhat.com>
44217         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44218         * math/math_private.h: Likewise.
44219         * stdlib/tst-strtod.c: Likewise.
44220         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44221         * sysdeps/x86_64/bits/atomic.h: Likewise.
44223 2012-03-02  David S. Miller  <davem@davemloft.net>
44225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44229         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44230         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44231         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44232         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44234 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44236         [BZ #13792]
44237         * manual/examples/README: New file, says the example source files
44238         can be used under GPL>=2.
44239         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44240         line containing just "*/".
44241         * manual/examples/add.c: Add copyright header (GPL>=2).
44242         * manual/examples/argp-ex1.c: Likewise.
44243         * manual/examples/argp-ex2.c: Likewise.
44244         * manual/examples/argp-ex3.c: Likewise.
44245         * manual/examples/argp-ex4.c: Likewise.
44246         * manual/examples/atexit.c: Likewise.
44247         * manual/examples/db.c: Likewise.
44248         * manual/examples/dir.c: Likewise.
44249         * manual/examples/dir2.c: Likewise.
44250         * manual/examples/execinfo.c: Likewise.
44251         * manual/examples/filecli.c: Likewise.
44252         * manual/examples/filesrv.c: Likewise.
44253         * manual/examples/fmtmsgexpl.c: Likewise.
44254         * manual/examples/genpass.c: Likewise.
44255         * manual/examples/inetcli.c: Likewise.
44256         * manual/examples/inetsrv.c: Likewise.
44257         * manual/examples/isockad.c: Likewise.
44258         * manual/examples/longopt.c: Likewise.
44259         * manual/examples/memopen.c: Likewise.
44260         * manual/examples/memstrm.c: Likewise.
44261         * manual/examples/mkfsock.c: Likewise.
44262         * manual/examples/mkisock.c: Likewise.
44263         * manual/examples/mygetpass.c: Likewise.
44264         * manual/examples/pipe.c: Likewise.
44265         * manual/examples/popen.c: Likewise.
44266         * manual/examples/rprintf.c: Likewise.
44267         * manual/examples/search.c: Likewise.
44268         * manual/examples/select.c: Likewise.
44269         * manual/examples/setjmp.c: Likewise.
44270         * manual/examples/sigh1.c: Likewise.
44271         * manual/examples/sigusr.c: Likewise.
44272         * manual/examples/stpcpy.c: Likewise.
44273         * manual/examples/strdupa.c: Likewise.
44274         * manual/examples/strftim.c: Likewise.
44275         * manual/examples/strncat.c: Likewise.
44276         * manual/examples/subopt.c: Likewise.
44277         * manual/examples/swapcontext.c: Likewise.
44278         * manual/examples/termios.c: Likewise.
44279         * manual/examples/testopt.c: Likewise.
44280         * manual/examples/testpass.c: Likewise.
44281         * manual/examples/timeval_subtract.c: Likewise.
44283         [BZ #13792]
44284         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44285         function to ...
44286         * manual/timeval_subtract.c.texi: ... here, new file.
44288 2012-03-02  David S. Miller  <davem@davemloft.net>
44290         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44292 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44294         [BZ #3976]
44295         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44296         (__sin): Save and restore rounding mode and use round-to-nearest
44297         for all computations.
44298         (__cos): Save and restore rounding mode and use round-to-nearest
44299         for all computations.
44300         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44301         <fenv.h>.
44302         (tan): Save and restore rounding mode and use round-to-nearest for
44303         all computations.
44304         * math/libm-test.inc (cos_test_tonearest): New function.
44305         (cos_test_towardzero): Likewise.
44306         (cos_test_downward): Likewise.
44307         (cos_test_upward): Likewise.
44308         (sin_test_tonearest): Likewise.
44309         (sin_test_towardzero): Likewise.
44310         (sin_test_downward): Likewise.
44311         (sin_test_upward): Likewise.
44312         (tan_test_tonearest): Likewise.
44313         (tan_test_towardzero): Likewise.
44314         (tan_test_downward): Likewise.
44315         (tan_test_upward): Likewise.
44316         (main): Call the new functions.
44317         * sysdeps/i386/fpu/libm-test-ulps: Update.
44318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44320         [BZ #10135]
44321         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44322         small n, then large n, before computing and testing k+n.
44323         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44324         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44325         Likewise.
44326         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44327         Likewise.
44328         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44329         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44332         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44333         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44334         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44335         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44336         * math/libm-test.inc (scalbn_test): Add more tests.
44337         (scalbln_test): Likewise.
44339         * manual/filesys.texi (mode_t): Describe constraints on size and
44340         signedness, not exact equivalence to a particular type.
44341         (ino_t): Likewise.
44342         (ino64_t): Likewise.
44343         (dev_t): Likewise.
44344         (nlink_t): Likewise.
44345         (blkcnt_t): Likewise.
44346         (blkcnt64_t): Likewise.
44347         * manual/llio.texi (off_t): Likewise.
44349         [BZ #3976]
44350         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44351         (__ieee754_exp): Save and restore rounding mode and use
44352         round-to-nearest for all computations.
44353         * math/libm-test.inc (exp_test_tonearest): New function.
44354         (exp_test_towardzero): Likewise.
44355         (exp_test_downward): Likewise.
44356         (exp_test_upward): Likewise.
44357         (main): Call the new functions.
44358         * sysdeps/i386/fpu/libm-test-ulps: Update.
44359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44361 2012-03-01  Chris Demetriou  <cgd@google.com>
44363         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44364         have predictable order.
44366 2012-03-01  David S. Miller  <davem@davemloft.net>
44368         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44370         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44371         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44372         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44373         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44375         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44376         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44377         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44379         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44380         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44381         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44382         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44383         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44387         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44388         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44389         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44391         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44392         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44393         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44394         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44395         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44396         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44397         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44398         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44399         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44400         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44401         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44402         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44404         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44405         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44407         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44408         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44409         * sysdeps/sparc/elf/configure: Regenerated.
44411 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44413         * configure.in (AS, LD): Require binutils 2.20 or later.
44414         * configure: Regenerated.
44415         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44416         as required minimum version.
44417         * INSTALL: Regenerated.
44419         [BZ #2541]
44420         [BZ #4108]
44421         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44422         before squaring exponent.
44423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44424         bottom long double and 27 bits of top long double before squaring
44425         exponent.
44426         * math/libm-test.inc (erfc_test): Add more tests.
44427         * sysdeps/i386/fpu/libm-test-ulps: Update.
44428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44431 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44433         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44434         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44435         containing bit-fields.
44436         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44437         * soft-fp/single.h (_FP_UNION_S): Likewise.
44438         * soft-fp/double.h (_FP_UNION_D): Likewise.
44440 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44442         [BZ #13786]
44443         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44444         not include ../strcmp.S.
44445         [USE_AS_STRNCASECMP_L]: Likewise.
44446         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44447         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44448         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44449         (__strncasecmp_l_ia32): Define as alias to
44450         __strncasecmp_l_nonascii.
44452         [BZ #5794]
44453         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44454         * sysdeps/i386/fpu/libm-test-ulps: Update.
44455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44457         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44460 2012-02-29  Jeff Law  <law@redhat.com>
44462         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44463         out of bounds read.
44465 2012-02-29  Marek Polacek  <polacek@redhat.com>
44467         [BZ #13706]
44468         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44469         * elf/Makefile: Add rules to run tst-unused-dep.out.
44471 2012-02-28  David S. Miller  <davem@davemloft.net>
44473         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44474         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44475         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44477         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44478         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44480 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44482         * math/libm-test.inc (llround_test): Move one test from
44483         lround_test.  Use TEST_f_L in moved test.
44484         (lround_test): Move misplaced test to llround_test.  Add testcase
44485         from bug 2561.
44487 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44489         * sysdeps/x86_64/fpu/e_expf.S: New file.
44490         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44492 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44494         [BZ #13637]
44495         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44496         of remain_len that may cause incomplete multi-byte character and
44497         false match.
44498         * posix/bug-regex33.c: New file.
44499         * posix/Makefile (tests): Add bug-regex33.
44501 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44503         * manual/macros.texi: New file.
44504         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44505         * manual/libc.texinfo: Include macros.texi.
44506         * manual/creatute.texi: Likewise.
44507         * manual/install.texi: Likewise.
44508         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44509         @glibcadj{} in references to the GNU C Library.
44510         * manual/charset.texi: Likewise.
44511         * manual/conf.texi: Likewise.
44512         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44513         when not using those macros.
44514         * manual/creature.texi: Likewise.
44515         * manual/crypt.texi: Likewise.
44516         * manual/errno.texi: Likewise.
44517         * manual/filesys.texi: Likewise.
44518         * manual/header.texi: Likewise.
44519         * manual/install.texi: Likewise.
44520         * manual/intro.texi: Likewise.
44521         * manual/io.texi: Likewise.
44522         * manual/job.texi: Likewise.
44523         * manual/lang.texi: Likewise.
44524         * manual/libc.texiinfo: Likewise.
44525         * manual/llio.texi: Likewise.
44526         * manual/locale.texi: Likewise.
44527         * manual/maint.texi: Likewise.
44528         * manual/math.texi: Likewise.
44529         * manual/memory.texi: Likewise.
44530         * manual/message.texi: Likewise.
44531         * manual/nss.texi: Likewise.
44532         * manual/pattern.texi: Likewise.
44533         * manual/process.texi: Likewise.
44534         * manual/resource.texi: Likewise.
44535         * manual/search.texi: Likewise.
44536         * manual/setjmp.texi: Likewise.
44537         * manual/signal.texi: Likewise.
44538         * manual/socket.texi: Likewise.
44539         * manual/startup.texi: Likewise.
44540         * manual/stdio.texi: Likewise.
44541         * manual/string.texi: Likewise.
44542         * manual/sysinfo.texi: Likewise.
44543         * manual/syslog.texi: Likewise.
44544         * manual/terminal.texi: Likewise.
44545         * manual/time.texi: Likewise.
44546         * manual/users.texi: Likewise.
44547         * INSTALL: Regenerated.
44548         * NOTES: Regenerated.
44549         * sysdeps/gnu/errlist.c: Regenerated.
44551 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
44553         * include/dirent.h: Include <dirstream.h> before
44554         <dirent/dirent.h>.
44556 2012-02-28  David S. Miller  <davem@davemloft.net>
44558         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44559         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44560         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44561         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44563 2012-02-27  David S. Miller  <davem@davemloft.net>
44565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44567         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44568         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44571         frame pointer instead of stack pointer relative arg slot.
44572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44573         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44574         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44576 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
44578         [BZ #3992]
44579         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44581 2012-02-27  David S. Miller  <davem@davemloft.net>
44583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44587         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44588         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44589         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44590         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44592 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44594         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44595         later.  Allow versions 5-9.
44596         * configure: Regenerated.
44597         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44598         required minimum version and 4.6 as recommended version.  Do not
44599         mention bugs in GCC 2.7 and 2.8.
44600         * INSTALL: Regenerated.
44602 2012-02-27  David S. Miller  <davem@davemloft.net>
44604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44608         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44609         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44610         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44611         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44613         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44614         manipulate bits before adding and subtracting TWO112[sx].
44615         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44617 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44619         [BZ #13775]
44620         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44621         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44622         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44623         being in POSIX, because they are in 1003.1-2008.
44625         * rt/tst-aio.c: Include <fcntl.h>.
44626         * rt/tst-aio7.c: Likewise.
44627         * rt/tst-aio64.c: Likewise.
44629         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44631 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44633         * manual/install.texi (--with-headers): Describe headers as
44634         interface headers, not private headers.
44635         (Specific advice for GNU/Linux systems): Describe use of headers
44636         from "make headers_install", not private headers from older
44637         kernels.
44638         * INSTALL: Regenerated.
44639         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44640         Change to 2.6.19.
44641         * sysdeps/unix/sysv/linux/configure: Regenerated.
44643         * manual/llio.texi (fclean): Remove documentation.
44645         * manual/Makefile (libc-texi-generated): New variable.  Include
44646         version.texi.
44647         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44648         $(libc-texi-generated), not duplicated list of files.
44649         (version.texi, stamp-version): New rules.
44650         (realclean): Remove $(libc-texi-generated), not individual files
44651         from that list.  Do not remove dir-add.texinfo.
44652         * manual/libc.texinfo: Comment out uses of edition numbers and
44653         references to printed manual.  Remove last-updated dates.
44654         (EDITION): Comment out.
44655         (ISBN): Likewise.
44656         (VERSION, UPDATED): Remove.
44657         (version.texi): Include.
44659 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44661         * sysdeps/posix/spawni.c: Include <signal.h>.
44662         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44663         * sysdeps/pthread/aio_fsync.c: Likewise.
44665 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44667         * conform/Makefile (tests): Run only when not cross-compiling and
44668         when fast-check is not defined.
44670         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44671         * conform/data/limits.h-data: Fixes for POSIX2008.
44672         * conform/run-conformtest.sh: Run all tests.
44673         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44674         headers.
44675         * include/bits/dlfcn.h: Likewise.
44676         * include/langinfo.h: Likewise.
44677         * include/monetary.h: Likewise.
44678         * include/sys/poll.h: Likewise.
44680         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44681         for __USE_GNU.
44682         * posix/spawn.h: Define __need_sigset_t.
44683         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44684         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44685         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44686         to get sigevent_t only.
44687         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44688         only for __USE_GNU.
44689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44690         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44691         process_vm_writev only for __USE_GNU.
44692         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44694         * conform/Makefile: For now ignore errors from run-conformtest.
44695         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44696         POSIX to avoid namespace pollution.  Don't prepend headers.
44697         * conform/data/aio.h-data: Fixes for POSIX testing.
44698         * conform/data/fcntl.h-data: Likewise.
44699         * conform/data/glob.h-data: Likewise.
44700         * conform/data/grp.h-data: Likewise.
44701         * conform/data/pthread.h-data: Likewise.
44702         * conform/data/pwd.h-data: Likewise.
44703         * conform/data/signal.h-data: Likewise.
44704         * conform/data/spawn.h-data: Likewise.
44705         * conform/data/stdio.h-data: Likewise.
44706         * conform/data/stdlib.h-data: Likewise.
44707         * conform/data/stropts.h-data: Likewise.
44708         * conform/data/sys/mman.h-data: Likewise.
44709         * conform/data/sys/stat.h-data: Likewise.
44710         * conform/data/sys/types.h-data: Likewise.
44711         * conform/data/sys/wait.h-data: Likewise.
44712         * conform/data/time.h-data: Likewise.
44713         * conform/data/unistd.h-data: Likewise.
44714         * conform/data/utime.h-data: Likewise.
44716         * io/sys/stat.h: fchmod was always in POSIX.
44717         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44718         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44719         * rt/aio.h: Define __need_timespec before including <time.h>.
44720         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44721         struct.  Add forward declaration of pthread_attr_t and use it in
44722         sigevent.
44723         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44724         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44725         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44726         always remove CLK_TCK definition.
44728 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44730         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44732 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44734         * conform/run-conformtest.sh: New file.
44735         * conform/Makefile: Run run-conformtest for tests.
44736         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44737         support.
44739         * conform/data/uchar.h-data: New file.
44740         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44741         * conform/data/arpa/inet.h-data: Likewise.
44742         * conform/data/assert.h-data: Likewise.
44743         * conform/data/complex.h-data: Likewise.
44744         * conform/data/cpio.h-data: Likewise.
44745         * conform/data/ctype.h-data: Likewise.
44746         * conform/data/dirent.h-data: Likewise.
44747         * conform/data/dlfcn.h-data: Likewise.
44748         * conform/data/errno.h-data: Likewise.
44749         * conform/data/fcntl.h-data: Likewise.
44750         * conform/data/float.h-data: Likewise.
44751         * conform/data/fmtmsg.h-data: Likewise.
44752         * conform/data/fnmatch.h-data: Likewise.
44753         * conform/data/ftw.h-data: Likewise.
44754         * conform/data/glob.h-data: Likewise.
44755         * conform/data/grp.h-data: Likewise.
44756         * conform/data/iconv.h-data: Likewise.
44757         * conform/data/inttypes.h-data: Likewise.
44758         * conform/data/langinfo.h-data: Likewise.
44759         * conform/data/libgen.h-data: Likewise.
44760         * conform/data/limits.h-data: Likewise.
44761         * conform/data/locale.h-data: Likewise.
44762         * conform/data/math.h-data: Likewise.
44763         * conform/data/monetary.h-data: Likewise.
44764         * conform/data/mqueue.h-data: Likewise.
44765         * conform/data/ndbm.h-data: Likewise.
44766         * conform/data/net/if.h-data: Likewise.
44767         * conform/data/netdb.h-data: Likewise.
44768         * conform/data/netinet/in.h-data: Likewise.
44769         * conform/data/nl_types.h-data: Likewise.
44770         * conform/data/poll.h-data: Likewise.
44771         * conform/data/pthread.h-data: Likewise.
44772         * conform/data/pwd.h-data: Likewise.
44773         * conform/data/regex.h-data: Likewise.
44774         * conform/data/sched.h-data: Likewise.
44775         * conform/data/search.h-data: Likewise.
44776         * conform/data/semaphore.h-data: Likewise.
44777         * conform/data/setjmp.h-data: Likewise.
44778         * conform/data/signal.h-data: Likewise.
44779         * conform/data/spawn.h-data: Likewise.
44780         * conform/data/stdarg.h-data: Likewise.
44781         * conform/data/stdio.h-data: Likewise.
44782         * conform/data/stdlib.h-data: Likewise.
44783         * conform/data/string.h-data: Likewise.
44784         * conform/data/strings.h-data: Likewise.
44785         * conform/data/stropts.h-data: Likewise.
44786         * conform/data/sys/ipc.h-data: Likewise.
44787         * conform/data/sys/mman.h-data: Likewise.
44788         * conform/data/sys/msg.h-data: Likewise.
44789         * conform/data/sys/resource.h-data: Likewise.
44790         * conform/data/sys/select.h-data: Likewise.
44791         * conform/data/sys/sem.h-data: Likewise.
44792         * conform/data/sys/shm.h-data: Likewise.
44793         * conform/data/sys/socket.h-data: Likewise.
44794         * conform/data/sys/stat.h-data: Likewise.
44795         * conform/data/sys/statvfs.h-data: Likewise.
44796         * conform/data/sys/time.h-data: Likewise.
44797         * conform/data/sys/timeb.h-data: Likewise.
44798         * conform/data/sys/times.h-data: Likewise.
44799         * conform/data/sys/types.h-data: Likewise.
44800         * conform/data/sys/uio.h-data: Likewise.
44801         * conform/data/sys/un.h-data: Likewise.
44802         * conform/data/sys/utsname.h-data: Likewise.
44803         * conform/data/sys/wait.h-data: Likewise.
44804         * conform/data/syslog.h-data: Likewise.
44805         * conform/data/tar.h-data: Likewise.
44806         * conform/data/termios.h-data: Likewise.
44807         * conform/data/utime.h-data: Likewise.
44808         * conform/data/utmpx.h-data: Likewise.
44809         * conform/data/varargs.h-data: Likewise.
44810         * conform/data/wchar.h-data: Likewise.
44811         * conform/data/wctype.h-data: Likewise.
44812         * conform/data/wordexp.h-data: Likewise.
44814         * include/stropts.h: New file.
44815         * include/uchar.h: New file.
44816         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44817         * include/assert.h: Likewise.
44818         * include/ctype.h: Likewise.
44819         * include/dirent.h: Likewise.
44820         * include/dlfcn.h: Likewise.
44821         * include/fcntl.h: Likewise.
44822         * include/fnmatch.h: Likewise.
44823         * include/glob.h: Likewise.
44824         * include/grp.h: Likewise.
44825         * include/libio.h: Likewise.
44826         * include/locale.h: Likewise.
44827         * include/math.h: Likewise.
44828         * include/net/if.h: Likewise.
44829         * include/netdb.h: Likewise.
44830         * include/netinet/in.h: Likewise.
44831         * include/pthread.h: Likewise.
44832         * include/pwd.h: Likewise.
44833         * include/regex.h: Likewise.
44834         * include/sched.h: Likewise.
44835         * include/search.h: Likewise.
44836         * include/setjmp.h: Likewise.
44837         * include/signal.h: Likewise.
44838         * include/stdio.h: Likewise.
44839         * include/stdlib.h: Likewise.
44840         * include/string.h: Likewise.
44841         * include/sys/cdefs.h: Likewise.
44842         * include/sys/mman.h: Likewise.
44843         * include/sys/msg.h: Likewise.
44844         * include/sys/resource.h: Likewise.
44845         * include/sys/select.h: Likewise.
44846         * include/sys/socket.h: Likewise.
44847         * include/sys/stat.h: Likewise.
44848         * include/sys/statvfs.h: Likewise.
44849         * include/sys/time.h: Likewise.
44850         * include/sys/times.h: Likewise.
44851         * include/sys/uio.h: Likewise.
44852         * include/sys/utsname.h: Likewise.
44853         * include/sys/wait.h: Likewise.
44854         * include/termios.h: Likewise.
44855         * include/time.h: Likewise.
44856         * include/ulimit.h: Likewise.
44857         * include/unistd.h: Likewise.
44858         * include/utime.h: Likewise.
44859         * include/wchar.h: Likewise.
44860         * include/wctype.h: Likewise.
44861         * include/wordexp.h: Likewise.
44863         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44865         * time/time.h: TIME_UTC must be a macro.
44866         Make timespec_get available for ISO C11 only as well.
44868 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44870         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44871         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44873 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44875         * configure.in: Use -o not -a in test for unsupported multi-arch.
44877 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44879         * manual/texinfo.tex: Update to version 2012-01-19.16.
44881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44883         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44885 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44887         [BZ #13738]
44888         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44889         * manual/fdl-1.3.texi: New file.
44890         * manual/fdl-1.1.texi: File removed.
44892         [BZ #13738]
44893         * manual/libc.texinfo (FDL_VERSION): New @set.
44894         Use it for mention of FDL in cover text.
44895         (Documentation License): Use it in @include file name.
44897 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44898             Roland McGrath  <roland@hack.frob.com>
44900         [BZ #5461]
44901         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44902         (not LONG_LONG_MAX and LONG_LONG_MIN.
44903         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44904         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44905         name.
44906         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44908 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44910         [BZ #2547]
44911         [BZ #11365]
44912         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44913         manipulate bits before adding and subtracting TWO23[sx].
44914         * math/libm-test.inc (nearbyint_test): Add more tests.
44916 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44918         [BZ #2548]
44919         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44920         bits before adding and subtracting TWO23[sx].
44921         * math/libm-test.inc (rint_test): Add more tests.
44922         (rint_test_tonearest): Likewise.
44923         (rint_test_towardzero): Likewise.
44924         (rint_test_downward): Likewise.
44925         (rint_test_upward: Likewise.
44927 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44929         [BZ #10110]
44930         * include/stdc-predef.h: New file.  Extracted from features.h.
44931         * include/features.h: Include stdc-predef.h.
44932         * Makefile (headers): Add stdc-predef.h.
44933         * CONFORMANCE (Compiler limitations): Update.
44935 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44937         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44939 2012-02-21  David S. Miller  <davem@davemloft.net>
44941         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44942         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44944 2012-02-20  David S. Miller  <davem@davemloft.net>
44946         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44947         using a normal save/restore sequence, rather than allocating a
44948         dummy stack frame just to store a frame pointer and restore.
44949         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44951 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44953         * manual/install.texi: Fix stray word in line-wrapped comment.
44955 2012-02-20  David S. Miller  <davem@davemloft.net>
44957         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44958         both binutils and gcc support GOTDATA.
44960         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44961         "rd %pc" in the PIC register setup sequences.
44963         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44964         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44965         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44966         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44967         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44969         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44970         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44972         (SYSCALL_ERROR_HANDLER): Likewise.
44973         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44974         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44975         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44976         (SYSCALL_ERROR_HANDLER): Likewise.
44978         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44979         (HAVE_GCC_GOTDATA): New.
44980         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44981         relocation support in both binutils and gcc.
44982         * sysdeps/sparc/elf/configure: Regenerate.
44984         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44985         * sysdeps/sparc/sparc32/elf/configure: Delete.
44986         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44987         * sysdeps/sparc/sparc64/elf/configure: Delete.
44988         * sysdeps/sparc/elf/configure.in: New file.
44989         * sysdeps/sparc/elf/configure: Generate.
44991         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44992         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44993         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44994         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44995         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44997 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44999         * manual/install.texi: Do not mention specific glibc version
45000         numbers.
45001         * manual/libc.texinfo (VERSION, UPDATED): Update.
45002         (@copying): Use @copyright{} and range of years.
45004 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45006         [BZ #13695]
45007         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45008         [crti.S not in sysdirs] (generated): Do not append.
45009         [crti.S not in sysdirs] (omit-deps): Likewise.
45010         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45011         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45012         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45013         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45014         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45015         Likewise.
45016         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45017         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45018         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45019         * csu/defs.awk: Remove file.
45020         * sysdeps/generic/initfini.c: Likewise.
45021         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45022         variable.
45023         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45024         Likewise.
45026 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45028         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45029         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45030         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45031         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45032         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45033         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45034         <bits/epoll.h>.
45035         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45036         (__EPOLL_PACKED): Define to empty if not defined by
45037         <bits/epoll.h>.
45038         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45040         bits/epoll.h.
45042 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45044         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45045         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45046         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45047         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45048         <bits/timerfd.h>.
45049         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45051         bits/timerfd.h.
45053 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45055         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45056         in C locale.
45057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45058         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45059         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45062 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45064         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45065         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45067 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45069         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45070         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45071         defined.
45072         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45073         Likewise.
45074         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45075         entry for 2.16.
45077 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45079         * math/w_acos.c: Use non-signaling floating-point comparisons.
45080         * math/w_acosf.c: Likewise.
45081         * math/w_acosh.c: Likewise.
45082         * math/w_acoshf.c: Likewise.
45083         * math/w_acoshl.c: Likewise.
45084         * math/w_acosl.c: Likewise.
45085         * math/w_asin.c: Likewise.
45086         * math/w_asinf.c: Likewise.
45087         * math/w_asinl.c: Likewise.
45088         * math/w_atanh.c: Likewise.
45089         * math/w_atanhf.c: Likewise.
45090         * math/w_atanhl.c: Likewise.
45091         * math/w_exp2.c: Likewise.
45092         * math/w_exp2f.c: Likewise.
45093         * math/w_exp2l.c: Likewise.
45094         * math/w_j0.c: Likewise.
45095         * math/w_j0f.c: Likewise.
45096         * math/w_j0l.c: Likewise.
45097         * math/w_j1.c: Likewise.
45098         * math/w_j1f.c: Likewise.
45099         * math/w_j1l.c: Likewise.
45100         * math/w_jn.c: Likewise.
45101         * math/w_jnf.c: Likewise.
45102         * math/w_log.c: Likewise.
45103         * math/w_log10.c: Likewise.
45104         * math/w_log10f.c: Likewise.
45105         * math/w_log10l.c: Likewise.
45106         * math/w_log2.c: Likewise.
45107         * math/w_log2f.c: Likewise.
45108         * math/w_log2l.c: Likewise.
45109         * math/w_logf.c: Likewise.
45110         * math/w_logl.c: Likewise.
45111         * math/w_sqrt.c: Likewise.
45112         * math/w_sqrtf.c: Likewise.
45113         * math/w_sqrtl.c: Likewise.
45114         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45115         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45116         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45117         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45118         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45120 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45122         [BZ #9739]
45123         * manual/string.texi (strnlen): Use correct parameter name in
45124         equivalent expression.
45126 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45128         [BZ #11174]
45129         * manual/users.texi (seteuid): Consistently use neweuid for
45130         argument name.
45132 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45134         [BZ #13704]
45135         * manual/nss.texi (Services in the NSS configuration): Correct
45136         list of services in example configuration file.
45138 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45140         [BZ #11322]
45141         * manual/arith.texi: Remove statements about negative zero
45142         behaving identically to zero.
45144 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45146         [BZ #5993]
45147         * manual/install.texi: Do not document upgrading from libc5.
45149 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45151         [BZ #4596]
45152         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45154 2012-02-18  David S. Miller  <davem@davemloft.net>
45156         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45157         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45158         %o7 across the call.
45159         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45160         instead.
45161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45162         SETUP_PIC_REG_LEAF.
45163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45164         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45165         * sysdeps/sparc/crtn.S: Likewise.
45167 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45169         * aout/Makefile: Remove.
45171 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45173         [BZ #13058]
45174         * manual/examples/argp-ex1.c (main): Format definition in GNU
45175         style.
45176         * manual/examples/argp-ex2.c (main): Likewise.
45177         * manual/examples/argp-ex3.c (main): Likewise.
45178         * manual/examples/argp-ex4.c (main): Likewise.
45179         * manual/examples/longopt.c (main): Use new-style prototype
45180         definition.
45181         * manual/examples/strncat.c (main): Specify return type and use
45182         (void) for arguments.
45183         * manual/examples/subopt.c (main): Use char **argv argument.
45185 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45187         [BZ #5077]
45188         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45189         rounding modes.
45191 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45193         [BZ #6907]
45194         * manual/string.texi (strchr): Change when strchrnul is
45195         recommended.
45197 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45199         [BZ #174]
45200         * manual/locale.texi (setlocale): Document LOCPATH.
45202 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45204         [BZ #10210]
45205         * manual/process.texi (execle): Move @dots{} before last argument.
45207 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45209         [BZ #12047]
45210         * manual/charset.texi (Generic Charset Conversion): Fix typo
45211         (LC_TYPE -> LC_CTYPE).
45213 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45215         [BZ #5805]
45216         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45217         (scalbnf): Likewise.
45218         (scalbnl): Likewise.
45219         (scalbln): Likewise.
45220         (scalblnf): Likewise.
45221         (scalblnl): Likewise.
45222         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45223         (vwarnx): Likewise.
45224         (verr): Likewise.
45225         (verrx): Likewise.
45226         * manual/filesys.texi (telldir): Use braces around return type.
45227         * manual/llio.texi (mmap): Add space after comma.
45228         (mmap64): Likewise.
45229         * manual/math.texi (jn): Use @var{} on parameter names.
45230         (jnf): Likewise.
45231         (jnl): Likewise.
45232         (yn): Likewise.
45233         (ynf): Likewise.
45234         (ynl): Likewise.
45235         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45236         line.
45237         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45238         "...".
45239         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45240         (sched_get_priority_max): Likewise.
45241         * manual/signal.texi (sigvec): Add space after comma.
45242         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45243         names.
45244         (if_indextoname): Likewise.
45245         (if_freenameindex): Likewise.
45246         (sendto): Use ',' instead of '.' in prototype.
45247         * manual/startup.texi (syscall): Use @dots{} instead of literal
45248         "...".
45249         * manual/stdio.texi (__fpending): Separate initial words of
45250         paragraph from @deftypefun line.
45251         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45252         "...".
45253         (vsyslog): Use @var{} on parameter names.
45254         * manual/terminal.texi (stty): Use @var{} on parameter names.
45255         * manual/users.texi (getutmp): Use @var{} on parameter names.
45256         (getutmpx): Likewise.
45258 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45260         [BZ #6884]
45261         * manual/stdio.texi (fopen): Fix typos in description of
45262         ",ccs=STRING".
45264 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45266         [BZ #4026]
45267         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45268         get clock_id definition.
45270 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45272         [BZ #4822]
45273         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45274         (madvise): Cast every argument to void on its own.
45276 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45278         [BZ #9902]
45279         * manual/startup.texi (Exit Status): Fix typo.
45281 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45283         [BZ #10140]
45284         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45285         * manual/examples/argp-ex2.c: Likewise.
45286         * manual/examples/argp-ex3.c: Likewise.
45288 2012-02-16  Richard Henderson  <rth@redhat.com>
45290         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45291         * sysdeps/s390/s390-32/initfini.c: Remove.
45292         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45293         * sysdeps/s390/s390-64/initfini.c: Remove.
45295 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45297         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45298         compiler output for sysdeps/generic/initfini.c.
45299         * sysdeps/sh/elf/initfini.c: Remove file.
45301 2012-02-16  David S. Miller  <davem@davemloft.net>
45303         [BZ #11494]
45304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45306         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45307         * sysdeps/sparc/crti.S: New file.
45308         * sysdeps/sparc/crtn.S: New file.
45309         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45310         * sysdeps/sparc/sparc64/Makefile: Likewise.
45312 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45314         [BZ #3335]
45315         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45317 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45319         [BZ #4822]
45320         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45322         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45323         (write, read, close): Likewise.
45324         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45326 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45328         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45329         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45330         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45331         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45332         <bits/signalfd.h>.
45333         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45335         bits/signalfd.h.
45337 2012-02-14  Marek Polacek  <polacek@redhat.com>
45339         * sysdeps/x86_64/crti.S: New file.
45340         * sysdeps/x86_64/crtn.S: New file.
45341         * sysdeps/x86_64/elf/initfini.c: Remove file.
45343 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45345         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45346         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45347         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45348         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45349         <bits/inotify.h>.
45350         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45352         bits/inotify.h.
45354 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45356         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45357         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45358         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45359         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45360         <bits/eventfd.h>.
45361         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45363         bits/eventfd.h.
45365 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45367         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45368         __feraiseexcept instead of feraiseexcept.
45370         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45371         nanosleep invocations.
45372         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45373         strings, and add error checking for a nanosleep invocations.
45375 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45377         Replace FSF snail mail address with URLs, as per GNU coding standards.
45378         Most of the snail mail addresses were wrong anyway, and omitting
45379         them makes the source code easier to maintain.  Almost all of the
45380         changes are to license notices and to locale LC_IDENTIFICATION
45381         addresses, except for this one:
45382         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45383         not its snail mail address.
45385 2012-02-09  Richard Henderson  <rth@twiddle.net>
45387         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45388         of kernel-features.h.
45390         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45392 2012-02-08  Marek Polacek  <polacek@redhat.com>
45394         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45395         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45396         * sysdeps/gnu/_G_config.h: Likewise.
45397         * sysdeps/generic/_G_config.h: Likewise.
45399 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45401         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45402         tests.
45403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45405         * sysdeps/powerpc/powerpc32/crti.S: New file.
45406         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45407         * sysdeps/powerpc/powerpc64/crti.S: New file.
45408         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45410         * Makeconfig (have-initfini): Don't set.
45411         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45412         * configure.in (nopic_initfini): Don't substitute.
45413         * config.h.in (HAVE_INITFINI): Don't #undef.
45414         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45415         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45417 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45419         Support crti.S and crtn.S provided directly by architectures.
45420         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45421         [crti.S in sysdirs] (omit-deps): Likewise.
45422         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45423         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45424         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45425         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45426         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45427         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45428         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45429         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45430         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45431         compiler output for sysdeps/generic/initfini.c.
45432         * sysdeps/i386/elf/Makefile: Remove file.
45433         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45435 2012-02-07  Marek Polacek  <polacek@redhat.com>
45437         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45438         * sysdeps/gnu/_G_config.h: Likewise.
45439         * sysdeps/mach/hurd/_G_config.h: Likewise.
45441 2012-02-07  Marek Polacek  <polacek@redhat.com>
45443         * math/Makefile (tests): Add tst-CMPLX2.
45444         * math/tst-CMPLX2.c: New file.
45446 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45448         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45450         * math/libm-test.inc (jn_test): Add missing L suffix.
45452 2012-02-06  Marek Polacek  <polacek@redhat.com>
45454         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45455         * sysdeps/i386/fpu/e_powf.S: Likewise.
45456         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45457         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45458         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45459         * sysdeps/i386/fpu/e_pow.S: Likewise.
45460         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45461         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45462         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45463         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45464         * sysdeps/i386/fpu/e_log2.S: Likewise.
45465         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45466         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45467         * sysdeps/i386/fpu/e_powl.S: Likewise.
45468         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45469         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45470         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45471         * sysdeps/i386/fpu/e_logl.S: Likewise.
45472         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45473         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45474         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45475         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45476         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45477         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45478         * sysdeps/i386/fpu/e_log.S: Likewise.
45479         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45480         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45481         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45482         * sysdeps/i386/fpu/e_logf.S: Likewise.
45483         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45484         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45485         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45486         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45487         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45488         * sysdeps/i386/fpu/e_log10.S: Likewise.
45489         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45490         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45491         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45492         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45493         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45494         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45495         * sysdeps/i386/asm-syntax.h: Likewise.
45496         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45497         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45498         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45499         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45500         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45501         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45502         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45503         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45504         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45505         * sysdeps/powerpc/sysdep.h: Likewise.
45506         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45507         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45509 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45511         [BZ #411]
45512         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45514 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45516         * sysdeps/i386/sysdep.h: Include <features.h>.
45517         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45518         version.
45520 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45522         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45523         Define.
45524         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45525         LOAD_PIC_REG_STR.
45527 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45529         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45530         (SETUP_PIC_REG): Use GET_PC_THUNK.
45531         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45532         macro.
45534 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45536         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45537         for non-PIC compilation.
45538         (SETUP_PIC_REG): Add .p2align directive.
45539         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45540         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45541         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45542         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45543         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45544         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45545         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45546         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45547         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45548         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45549         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45550         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45551         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45552         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45553         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45554         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45555         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45556         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45557         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45558         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45559         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45560         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45561         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45562         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45563         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45564         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45565         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45566         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45567         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45568         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45569         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45570         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45571         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45572         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45573         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45574         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45575         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45576         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45577         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45578         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45579         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45581 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45583         * math/tst-CMPLX.c: Include <stdio.h>.
45585 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
45587         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45588         float.
45589         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45590         * sysdeps/sparc/bits/mathdef.h: Likewise.
45592 2012-01-31  Marek Polacek  <polacek@redhat.com>
45594         * libio/libio.h: Don't define _PARAMS.
45595         * locale/programs/config.h: Don't define PARAMS.
45596         * stdlib/strtol_l.c: Likewise.
45597         (__strtol_l): Remove PARAMS from the prototype.
45599 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
45601         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
45602         names.  Just use the correct names.  Remove unnecessary wrapper
45603         functions.
45604         * malloc/arena.c: Likewise.
45605         * malloc/hooks.c: Likewise.
45607         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45608         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45609         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45611 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45613         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45614         into tail calls.
45615         (update_get_addr): New function.
45616         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45617         GET_ADDR_MODULE parameter.
45619 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45621         * crypt/cert.c: Remove __STDC__ conditionals.
45622         * crypt/crypt-entry.c: Likewise.
45623         * crypt/crypt_util.c: Likewise.
45624         * libio/filedoalloc.c: Likewise.
45625         * libio/fileops.c: Likewise.
45626         * libio/genops.c: Likewise.
45627         * libio/iofclose.c: Likewise.
45628         * libio/iofdopen.c: Likewise.
45629         * libio/iofopen.c: Likewise.
45630         * libio/iofopen64.c: Likewise.
45631         * libio/iogetdelim.c: Likewise.
45632         * libio/iopopen.c: Likewise.
45633         * libio/obprintf.c: Likewise.
45634         * libio/oldfileops.c: Likewise.
45635         * libio/oldiofclose.c: Likewise.
45636         * libio/oldiofdopen.c: Likewise.
45637         * libio/oldiofopen.c: Likewise.
45638         * libio/oldiopopen.c: Likewise.
45639         * libio/wfiledoalloc.c: Likewise.
45640         * libio/wgenops.c: Likewise.
45641         * locale/programs/xmalloc.c: Likewise.
45642         * misc/syslog.c: Likewise.
45643         * stdio-common/xbug.c: Likewise.
45644         * string/memchr.c: Likewise.
45645         * string/memcmp.c: Likewise.
45646         * string/memrchr.c: Likewise.
45647         * string/rawmemchr.c: Likewise.
45648         * sysdeps/posix/getcwd.c: Likewise.
45649         * time/strftime_l.c: Likewise.
45651 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45653         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45654         * config.make.in (config-cflags-sse2avx): Define.
45655         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45656         Fix typo.
45658 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45660         * scripts/config.guess: Update from upstream config git repository.
45661         * scripts/config.sub: Likewise.
45663 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45665         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45666         (EM_NUM): Update.
45667         (R_TILEPRO_*, R_TILEGX_*): New macros.
45669         * scripts/firstversions.awk: Fix bug in version range handling.
45671         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45673         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45675         * include/sys/epoll.h: New file.
45676         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45677         libc_hidden_def.
45679 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45681         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45682         Avoid unnecessary __WORDSIZE == 64 test.
45683         (fmaxf): Use VEX format if possible.
45684         (fmax): Likewise.
45685         (fminf): Likewise.
45686         (fmin): Likewise.
45688         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45689         * math/math_private.h: Remove libc_fegetround* and
45690         libc_fesetround*.
45691         * sysdeps/i386/configure.in: Check for -msse2avx.
45692         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45693         also if SSE2AVX is defined.
45694         Remove libc_fegetround* and libc_fesetround*.
45695         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45696         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45697         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45698         of HAS_YMM_USABLE.
45699         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45700         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45701         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45702         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45703         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45705         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45707 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45709         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45710         size is not set.
45711         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45713 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45715         [BZ #13618]
45716         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45717         relocation.
45718         * Makeconfig (libm): Define.
45719         * elf/Makefile: Add rules to build and run tst-relsort1.
45720         * elf/tst-relsort1.c: New file.
45721         * elf/tst-relsort1mod1.c: New file.
45722         * elf/tst-relsort1mod2.c: New file.
45724 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45726         * math/s_ldexp.c: Remove __STDC__ conditionals.
45727         * math/s_ldexpf.c: Likewise.
45728         * math/s_ldexpl.c: Likewise.
45729         * math/s_nextafter.c: Likewise.
45730         * math/s_nexttowardf.c: Likewise.
45731         * math/s_significand.c: Likewise.
45732         * math/s_significandf.c: Likewise.
45733         * math/s_significandl.c: Likewise.
45734         * math/w_jnl.c: Likewise.
45735         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45736         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45737         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45738         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45739         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45740         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45741         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45742         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45743         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45744         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45745         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45746         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45747         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45748         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45749         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45750         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45751         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45752         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45753         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45754         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45755         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45756         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45757         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45759         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45760         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45761         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45762         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45763         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45764         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45765         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45766         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45767         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45768         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45769         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45770         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45771         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45772         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45773         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45774         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45775         * sysdeps/ieee754/k_standard.c: Likewise.
45776         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45777         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45778         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45779         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45780         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45781         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45782         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45783         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45784         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45785         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45786         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45787         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45788         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45789         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45790         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45791         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45792         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45793         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45794         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45795         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45796         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45797         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45798         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45799         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45800         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45801         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45802         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45803         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45804         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45805         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45806         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45807         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45808         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45809         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45810         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45811         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45812         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45813         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45814         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45815         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45816         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45818         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45819         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45820         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45821         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45822         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45823         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45824         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45825         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45826         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45827         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45830         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45833         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45834         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45835         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45836         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45837         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45838         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45839         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45840         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45841         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45842         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45843         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45844         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45845         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45846         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45847         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45848         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45849         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45850         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45851         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45852         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45853         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45854         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45855         * sysdeps/ieee754/s_matherr.c: Likewise.
45856         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45857         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45858         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45861 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45863         * crypt/md5.h: Remove __STDC__ conditionals.
45864         * libio/libioP.h: Likewise.
45865         * locale/programs/config.h: Likewise.
45866         * sysdeps/generic/sysdep.h: Likewise.
45867         * sysdeps/i386/asm-syntax.h: Likewise.
45868         * sysdeps/s390/asm-syntax.h: Likewise.
45869         * sysdeps/unix/sysdep.h: Likewise.
45870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45873 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45875         * libio/libio.h: Remove __STDC__ conditionals.
45876         * malloc/obstack.h: Likewise.
45877         * math/complex.h: Likewise.
45878         * math/math.h: Likewise.
45879         * sysdeps/generic/_G_config.h: Likewise.
45880         * sysdeps/gnu/_G_config.h: Likewise.
45881         * sysdeps/mach/hurd/_G_config.h: Likewise.
45882         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45883         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45884         * sysdeps/sparc/bits/mathdef.h: Likewise.
45886 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45888         [BZ #13583]
45889         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45890         Clean up HAS_* macros.
45891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45892         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45893         possible.
45894         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45895         HAS_AVX.
45896         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45897         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45898         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45899         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45900         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45902 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45904         * elf/tst-unique3.cc (gets): Remove declaration.
45905         * elf/tst-unique3lib.cc (gets): Likewise.
45906         * elf/tst-unique3lib2.cc (gets): Likewise.
45907         * elf/tst-unique4.cc (gets): Likewise.
45909 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45911         * include/stdio.h: Add C++ protection.  Add gets declarations and
45912         definitions.
45913         * debug/tst-chk1.c: Don't declare gets here.
45914         * stdio-common/tst-gets.c: Likewise.
45916 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45918         * posix/glob: Remove directory.
45920 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45922         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45924 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45926         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45927         of the non-standard EPFNOSUPPORT.
45929 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45931         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45932         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45933         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45935 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45937         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45939 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45941         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45942         transient errors.
45943         * nscd/grpcache.c (cache_addgr): Likewise.
45944         * nscd/hstcache.c (cache_addhst): Likewise.
45945         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45946         * nscd/pwdcache.c (cache_addpw): Likewise.
45947         * nscd/servicescache.c (cache_addserv): Likewise.
45949 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45951         * malloc/malloc.c: Various cleanups.
45952         * malloc/hooks.c: Likewise.
45954         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45955         * stdlib/bug-fmtmsg1.c: New file.
45957         * stdlib/fmtmsg.c (init): Add missing unlock.
45958         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45960 2012-01-12  Marek Polacek  <polacek@redhat.com>
45962         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45963         and _GNU_SOURCE.
45965 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45967         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45968         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45969         macro to ensure uniqueness of label name.
45970         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45971         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45973 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
45975         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45977         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45978         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45979         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45980         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45982 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
45984         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45986         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45987         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45988         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45990         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45992         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45993         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45994         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45995         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45997         * math/bits/math-finite.h: Add ldexp support.
45999 2012-01-10  Marek Polacek  <polacek@redhat.com>
46001         * locale/programs/localedef.h (show_archive_content): Add noreturn
46002         attribute.
46004 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46006         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46008 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46010         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46012         * io/Makefile (headers): Add bits/poll2.h.
46014 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46017         typo #include statement.
46019 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46021         * include/sys/cdefs.h: Define __attribute_alloc_size.
46022         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46023         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46024         * elf/pldd.c: Likewise.
46025         * iconv/iconv_charmap.c: Likewise.
46026         * iconv/iconvconfig.c: Likewise.
46027         * iconv/strtab.c: Likewise.
46028         * locale/programs/locale.c: Likewise.
46029         * locale/programs/localedef.h: Likewise.
46030         * locale/programs/simple-hash.c: Likewise.
46031         * nscd/nscd.h: Likewise.
46032         * nss/makedb.c: Likewise.
46033         * sysdeps/generic/ldconfig.h: Likewise.
46034         * locale/programs/localedef.c: Remove xmalloc prototype.
46035         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46037 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46039         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46040         appropriate.
46042 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46044         * math/Makefile (tests): Add tst-CMPLX.
46045         * math/tst-CMPLX.c: New file.
46047         * math/complex.h (CMPLXL): Fix typo.
46049         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46050         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46051         GLIBC_2.16.
46052         * debug/tst-chk1.c: Add poll and ppoll tests.
46053         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46054         * include/sys/poll.h: Add hidden proto for ppoll.
46055         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46056         * sysdeps/mach/hurd/ppoll.c: Likewise.
46057         * io/ppoll.c: Likewise.
46058         * debug/poll_chk.c: New file.
46059         * debug/ppoll_chk.c: New file.
46060         * include/bits/poll2.h: New file.
46061         * io/bits/poll2.h: New file.
46063         [BZ #1350]
46064         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46066         * configure.in: static is always set to yes.  Remove.
46067         * config.make.in: Don't set build-static.
46068         * Makeconfig: Remove use of build-static.
46069         * dlfcn/Makefile: Likewise.
46070         * elf/Makefile: Likewise.
46071         * math/Makefile: Likewise.
46072         * misc/Makefile: Likewise.
46073         * nptl/Makefile: Likewise.
46074         * sysdeps/mach/hurd/Makefile: Likewise.
46076         * configure.in: PWD_P is not used anymore.
46077         * config.make.in: Remove PWD_P entry.
46079         * configure.in: Remove last remnants of RANLIB.
46080         No need to check for signed size_t anymore.
46081         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46082         and IA-64.
46083         Remove __builtin_expect test because we require at least gcc 3.4.
46084         * aclocal.m4: Likewise.
46086         * wcsmbs/mbrtoc16.c: Implement using towc function.
46087         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46088         * wcsmbs/wcsmbsload.c: Likewise.
46089         * iconv/gconv_simple.c: Likewise.
46090         * iconv/gconv_int.h: Likewise.
46091         * iconv/gconv_builtin.h: Likewise.
46092         * iconv/iconv_prog.c: Remove CHAR16 handling.
46094         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46096         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46098         * configure.in: Remove --with-elf and --enable-bounded options.
46099         Dont set base_machine for ia64.  More non-ELF conditions removed.
46100         Remove testing and setting of leading underscore information.
46101         * config.make.in (build-bounded): Set to no.
46102         * config.h.in: Remove NO_UNDERSCORES entry.
46103         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46104         them.
46105         * csu/start.c: Remove !NO_UNDERSCORE code.
46106         * locale/localeinfo.h: Likewise.
46107         * sysdeps/generic/machine-gmon.h: Likewise.
46108         * sysdeps/generic/sysdep.h: Likewise.
46109         * sysdeps/i386/sysdep.h: Likewise.
46110         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46111         * sysdeps/mach/sysdep.h: Likewise.
46112         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46113         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46114         * sysdeps/sh/sysdep.h: Likewise.
46115         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46116         * sysdeps/unix/i386/sysdep.S: Likewise.
46117         * sysdeps/unix/sparc/start.c: Likewise.
46118         * sysdeps/unix/sparc/sysdep.S: Likewise.
46119         * sysdeps/unix/sparc/sysdep.h: Likewise.
46120         * sysdeps/unix/start.c: Likewise.
46121         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46122         * sysdeps/x86_64/sysdep.h: Likewise.
46124 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46126         [BZ #13553]
46127         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46128         for non-gcc.
46129         * argp/argp-fmtstream.h: Use const instead __const.
46130         * argp/argp.h: Likewise.
46131         * assert/assert.h: Likewise.
46132         * bits/fenv.h: Likewise.
46133         * bits/sched.h: Likewise.
46134         * bits/sigset.h: Likewise.
46135         * bits/sigthread.h: Likewise.
46136         * catgets/nl_types.h: Likewise.
46137         * conform/data/pthread.h-data: Likewise.
46138         * crypt/crypt-private.h: Likewise.
46139         * crypt/crypt.h: Likewise.
46140         * crypt/crypt_util.c: Likewise.
46141         * ctype/ctype.h: Likewise.
46142         * debug/execinfo.h: Likewise.
46143         * debug/mbsnrtowcs_chk.c: Likewise.
46144         * debug/mbsrtowcs_chk.c: Likewise.
46145         * debug/wcsnrtombs_chk.c: Likewise.
46146         * debug/wcsrtombs_chk.c: Likewise.
46147         * debug/wcstombs_chk.c: Likewise.
46148         * dirent/dirent.h: Likewise.
46149         * dlfcn/dlfcn.h: Likewise.
46150         * elf/neededtest4.c: Likewise.
46151         * grp/grp.h: Likewise.
46152         * gshadow/gshadow.h: Likewise.
46153         * iconv/gconv.h: Likewise.
46154         * iconv/gconv_int.h: Likewise.
46155         * iconv/gconv_simple.c: Likewise.
46156         * iconv/iconv.h: Likewise.
46157         * iconv/loop.c: Likewise.
46158         * iconv/skeleton.c: Likewise.
46159         * include/aio.h: Likewise.
46160         * include/aliases.h: Likewise.
46161         * include/argz.h: Likewise.
46162         * include/arpa/inet.h: Likewise.
46163         * include/assert.h: Likewise.
46164         * include/dirent.h: Likewise.
46165         * include/dlfcn.h: Likewise.
46166         * include/execinfo.h: Likewise.
46167         * include/fcntl.h: Likewise.
46168         * include/fenv.h: Likewise.
46169         * include/glob.h: Likewise.
46170         * include/grp.h: Likewise.
46171         * include/libintl.h: Likewise.
46172         * include/mntent.h: Likewise.
46173         * include/netdb.h: Likewise.
46174         * include/pwd.h: Likewise.
46175         * include/rpc/netdb.h: Likewise.
46176         * include/sched.h: Likewise.
46177         * include/search.h: Likewise.
46178         * include/shadow.h: Likewise.
46179         * include/signal.h: Likewise.
46180         * include/stdio.h: Likewise.
46181         * include/stdlib.h: Likewise.
46182         * include/string.h: Likewise.
46183         * include/sys/socket.h: Likewise.
46184         * include/sys/stat.h: Likewise.
46185         * include/sys/statfs.h: Likewise.
46186         * include/sys/statvfs.h: Likewise.
46187         * include/sys/syslog.h: Likewise.
46188         * include/sys/time.h: Likewise.
46189         * include/sys/uio.h: Likewise.
46190         * include/time.h: Likewise.
46191         * include/unistd.h: Likewise.
46192         * include/utmp.h: Likewise.
46193         * include/wchar.h: Likewise.
46194         * include/wctype.h: Likewise.
46195         * inet/aliases.h: Likewise.
46196         * inet/arpa/inet.h: Likewise.
46197         * inet/netinet/ether.h: Likewise.
46198         * inet/netinet/in.h: Likewise.
46199         * intl/libintl.h: Likewise.
46200         * io/bits/fcntl2.h: Likewise.
46201         * io/fcntl.h: Likewise.
46202         * io/ftw.h: Likewise.
46203         * io/sys/poll.h: Likewise.
46204         * io/sys/stat.h: Likewise.
46205         * io/sys/statfs.h: Likewise.
46206         * io/sys/statvfs.h: Likewise.
46207         * io/utime.h: Likewise.
46208         * libio/bits/stdio.h: Likewise.
46209         * libio/bits/stdio2.h: Likewise.
46210         * libio/libio.h: Likewise.
46211         * libio/libioP.h: Likewise.
46212         * libio/stdio.h: Likewise.
46213         * locale/lc-ctype.c: Likewise.
46214         * locale/locale.h: Likewise.
46215         * login/utmp.h: Likewise.
46216         * malloc/arena.c: Likewise.
46217         * malloc/malloc.c: Likewise.
46218         * malloc/malloc.h: Likewise.
46219         * malloc/mcheck.c: Likewise.
46220         * malloc/mtrace.c: Likewise.
46221         * math/bits/mathcalls.h: Likewise.
46222         * math/fenv.h: Likewise.
46223         * math/math_private.h: Likewise.
46224         * misc/bits/error.h: Likewise.
46225         * misc/bits/syslog.h: Likewise.
46226         * misc/err.h: Likewise.
46227         * misc/error.h: Likewise.
46228         * misc/fstab.h: Likewise.
46229         * misc/mntent.h: Likewise.
46230         * misc/regexp.h: Likewise.
46231         * misc/search.h: Likewise.
46232         * misc/sgtty.h: Likewise.
46233         * misc/sys/mman.h: Likewise.
46234         * misc/sys/syslog.h: Likewise.
46235         * misc/sys/uio.h: Likewise.
46236         * misc/sys/xattr.h: Likewise.
46237         * misc/ttyent.h: Likewise.
46238         * nis/rpcsvc/ypclnt.h: Likewise.
46239         * nss/nss.h: Likewise.
46240         * posix/bits/unistd.h: Likewise.
46241         * posix/fnmatch.h: Likewise.
46242         * posix/glob.h: Likewise.
46243         * posix/sched.h: Likewise.
46244         * posix/spawn.h: Likewise.
46245         * posix/sys/wait.h: Likewise.
46246         * posix/unistd.h: Likewise.
46247         * posix/wordexp.h: Likewise.
46248         * pwd/pwd.h: Likewise.
46249         * resolv/netdb.h: Likewise.
46250         * resource/sys/resource.h: Likewise.
46251         * rt/aio.h: Likewise.
46252         * rt/bits/mqueue2.h: Likewise.
46253         * rt/mqueue.h: Likewise.
46254         * shadow/shadow.h: Likewise.
46255         * signal/signal.h: Likewise.
46256         * socket/send.c: Likewise.
46257         * socket/sendto.c: Likewise.
46258         * socket/sys/socket.h: Likewise.
46259         * stdio-common/printf.h: Likewise.
46260         * stdlib/bits/stdlib.h: Likewise.
46261         * stdlib/fmtmsg.h: Likewise.
46262         * stdlib/monetary.h: Likewise.
46263         * stdlib/stdlib.h: Likewise.
46264         * stdlib/ucontext.h: Likewise.
46265         * streams/stropts.h: Likewise.
46266         * string/argz.h: Likewise.
46267         * string/bits/string2.h: Likewise.
46268         * string/string.h: Likewise.
46269         * string/strings.h: Likewise.
46270         * sunrpc/rpc/auth.h: Likewise.
46271         * sunrpc/rpc/auth_des.h: Likewise.
46272         * sunrpc/rpc/clnt.h: Likewise.
46273         * sunrpc/rpc/netdb.h: Likewise.
46274         * sunrpc/rpc/pmap_clnt.h: Likewise.
46275         * sunrpc/rpc/xdr.h: Likewise.
46276         * sysdeps/generic/inttypes.h: Likewise.
46277         * sysdeps/generic/net/if.h: Likewise.
46278         * sysdeps/generic/sys/swap.h: Likewise.
46279         * sysdeps/gnu/net/if.h: Likewise.
46280         * sysdeps/gnu/utmpx.h: Likewise.
46281         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46282         * sysdeps/i386/i486/bits/string.h: Likewise.
46283         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46284         * sysdeps/s390/bits/string.h: Likewise.
46285         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46286         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46287         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46288         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46289         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46290         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46291         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46292         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46293         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46294         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46295         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46296         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46297         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46298         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46299         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46300         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46301         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46302         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46303         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46304         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46305         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46306         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46307         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46308         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46309         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46310         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46311         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46312         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46313         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46314         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46315         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46316         * sysvipc/sys/ipc.h: Likewise.
46317         * sysvipc/sys/msg.h: Likewise.
46318         * sysvipc/sys/sem.h: Likewise.
46319         * sysvipc/sys/shm.h: Likewise.
46320         * termios/termios.h: Likewise.
46321         * time/sys/time.h: Likewise.
46322         * time/time.h: Likewise.
46323         * wcsmbs/bits/wchar2.h: Likewise.
46324         * wcsmbs/uchar.h: Likewise.
46325         * wcsmbs/wchar.h: Likewise.
46326         * wctype/wctype.h: Likewise.
46328         [BZ #13551]
46329         * Makeconfig: Remove all but ELF support including AIX support.
46330         * Makerules: Likewise.
46331         * config.h.in: Likewise.
46332         * config.make.in: Likewise.
46333         * configure: Likewise.
46334         * configure.in: Likewise.
46335         * csu/Makefile: Likewise.
46336         * csu/version.c: Likewise.
46337         * debug/Makefile: Likewise.
46338         * dlfcn/Makefile: Likewise.
46339         * elf/Makefile: Likewise.
46340         * extra-lib.mk: Likewise.
46341         * iconv/Makefile: Likewise.
46342         * include/libc-symbols.h: Likewise.
46343         * include/shlib-compat.h: Likewise.
46344         * resolv/Makefile: Likewise.
46345         * resolv/res_libc.c: Likewise.
46346         * rt/Makefile: Likewise.
46347         * sysdeps/i386/asm-syntax.h: Likewise.
46348         * sysdeps/i386/sysdep.h: Likewise.
46349         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46350         * sysdeps/mach/sysdep.h: Likewise.
46351         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46352         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46353         * sysdeps/s390/asm-syntax.h: Likewise.
46354         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46355         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46356         * sysdeps/sh/sysdep.h: Likewise.
46357         * sysdeps/unix/sparc/sysdep.h: Likewise.
46358         * sysdeps/wordsize-32/divdi3.c: Likewise.
46359         * sysdeps/x86_64/sysdep.h: Likewise.
46361         * argp/Versions: Remove _argp_unlock_xxx.
46363         [BZ #13559]
46364         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46365         * abilist/libBrokenLocale.abilist: Likewise.
46366         * abilist/libanl.abilist: Likewise.
46367         * abilist/libc.abilist: Likewise.
46368         * abilist/libcrypt.abilist: Likewise.
46369         * abilist/libdl.abilist: Likewise.
46370         * abilist/libm.abilist: Likewise.
46371         * abilist/libnsl.abilist: Likewise.
46372         * abilist/libpthread.abilist: Likewise.
46373         * abilist/libresolv.abilist: Likewise.
46374         * abilist/librt.abilist: Likewise.
46375         * abilist/libthread_db.abilist: Likewise.
46376         * abilist/libutil.abilist: Likewise.
46377         * abilist/libnss_db.abilist: New file.
46379         * scripts/abilist.awk: Add support for indirect functions.
46381         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46383         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46385         * shlib-versions: Remove entries for ports architectures.
46387         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46388         files in ports.
46389         * elf/stackguard-macros.h: Remove support for IA-64.
46390         * elf/tst-auditmod1.c: Likewise.
46391         * sysdeps/generic/ldsodefs.h: Likewise.
46393         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46394         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46395         configure files.
46397         [BZ #13552]
46398         * configure.in: Remove --enable-omitfp support.
46399         * FAQ.in: Adjust.
46400         * config.make.in: Likewise.
46401         * Makeconfig: Likewise.
46402         * manual/install.texi: Likewise.
46404         In case anyone cares, the IA-64 architecture could move to ports.
46405         * sysdeps/ia64/*: Removed.
46406         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46407         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46409         [BZ #13555]
46410         * configure.in: Remove entries for unsupported architectures.
46412         [BZ #13533]
46413         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46414         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46415         routines.
46416         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46417         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46418         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46419         fall back to using wcrtomb.
46420         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46421         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46422         renaming.
46423         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46424         * wcsmbs/tst-c16c32-1.c: New file.
46426         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46427         local variable.
46429         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46431         * elf/tst-unique3.cc: Add explicit declaration of gets.
46432         * elf/tst-unique3lib.cc: Likewise.
46433         * elf/tst-unique3lib2.cc: Likewise.
46434         * elf/tst-unique4.cc: Likewise.
46436         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46438 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46440         [BZ #13566]
46441         * assert/assert.h (static_assert): Don't define for C++.
46442         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46443         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46445 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46447         * iconv/loop.c (single loop): Fix assertion in storing of
46448         remaining bytes.
46450         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46452 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46454         * posix/getconf.c: Update copyright year.
46455         * nss/getent.c: Likewise.
46456         * nss/makedb.c: Likewise.
46457         * iconv/iconvconfig.c: Likewise.
46458         * iconv/iconv_prog.c: Likewise.
46459         * elf/ldconfig.c: Likewise.
46460         * elf/pldd.c: Likewise.
46461         * elf/sotruss.ksh: Likewise.
46462         * catgets/gencat.c: Likewise.
46463         * csu/version.c: Likewise.
46464         * elf/ldd.bash.in: Likewise.
46465         * elf/sprof.c (print_version): Likewise.
46466         * locale/programs/locale.c: Likewise.
46467         * locale/programs/localedef.c: Likewise.
46468         * login/programs/pt_chown.c: Likewise.
46469         * nscd/nscd.c (print_version): Likewise.
46470         * debug/xtrace.sh: Likewise.
46471         * malloc/memusage.sh: Likewise.
46472         * malloc/mtrace.pl: Likewise.
46473         * debug/catchsegv.sh: Likewise.
46475 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46477         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46478         pure attribute.
46480 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46482         [BZ #13533]
46483         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46484         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46485         transformations.
46486         * iconv/gconv_int.h: Likewise.
46487         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46488         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46489         from libc for GLIBC_2.16.
46490         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46491         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46492         * wcsmbs/uchar.h: Really define mbstate_t.
46493         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46494         * wcsmbs/c16rtomb.c: New file.
46495         * wcsmbs/mbrtoc16.c: New file.
46496         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46497         for C/POSIX locale.
46498         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46499         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46501         * wcsmbs/wchar.h: Add missing __restrict.
46503 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46505         [BZ #13532]
46506         * time/Makefile (routines): Add timespec_get.
46507         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46508         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46509         timespec for ISO C11.
46510         * time/timespec_get.c: New file.
46511         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46512         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46514         [BZ #13531]
46515         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46516         * stdlib/stdlib.h: Declare aligned_alloc.
46517         * Versions.def: Add GLIBC_2.16 for libc.
46518         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46520         [BZ 13527]
46521         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46522         ISO C11.
46524         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46525         code.
46527         [BZ #13528]
46528         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46530         [BZ #13529]
46531         * assert/assert.h (static_assert): Define.
46533         * version.h: Update for 2.16 development version.
46535         [BZ #13526]
46536         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46537         _ISOC11_SOURCE.
46539         * version.h (RELEASE): Bump for 2.15 release.
46540         * include/features.h (__GLIBC_MINOR__): Bump to 15.
46542         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46543         Patch by Marek Polacek <mpolacek@redhat.com>.
46545         * bits/byteswap.h: Protect long long constants with __extension__.
46546         * sysdeps/i386/bits/byteswap.h: Likewise.
46547         * sysdeps/ia64/bits/byteswap.h: Likewise.
46548         * sysdeps/s390/bits/byteswap.h: Likewise.
46549         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46551 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46553         [BZ #13540]
46554         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46555         destination buffer.
46556         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46558 2011-12-23  Marek Polacek  <polacek@redhat.com>
46560         * elf/dl-addr.c (determine_info): Add inline keyword.
46561         * elf/tst-auditmod4b.c (check_avx): Likewise.
46562         * elf/tst-auditmod6b.c (check_avx): Likewise.
46563         * elf/tst-auditmod6c.c (check_avx): Likewise.
46564         * elf/tst-auditmod7b.c (check_avx): Likewise.
46566 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46568         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46569         !__SSE_MATH__.
46571 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46573         [BZ #13540]
46574         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46575         processing for last bytes.
46577 2011-08-06  Bruno Haible  <bruno@clisp.org>
46579         [BZ #13061]
46580         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46581         U+0385, not to U+1FEE.
46583         [BZ #13062]
46584         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46585         entry for U+00A5 U+0301.
46587 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46589         [BZ #13166]
46590         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46591         buffer for the output is too small.
46593         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46594         optimization.
46596         [BZ #13185]
46597         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46598         SSE flags if possible.
46600 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46602         [BZ #13540]
46603         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46604         processing for last bytes.
46606 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46608         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46609         (syscall-list-default-options, syscall-list-default-condition)
46610         (syscall-list-includes): Define.
46611         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46612         list of ABIs and options and #if conditions for each ABI.  Do not
46613         handle common syscalls between ABIs specially.
46614         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46615         Remove.
46616         (syscall-list-variants, syscall-list-32bit-options)
46617         (syscall-list-32bit-condition, syscall-list-64bit-options)
46618         (syscall-list-64bit-condition): Define.
46619         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46620         (syscall-list-variants, syscall-list-32bit-options)
46621         (syscall-list-32bit-condition, syscall-list-64bit-options)
46622         (syscall-list-64bit-condition): Define.
46623         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46624         Remove.
46625         (syscall-list-variants, syscall-list-32bit-options)
46626         (syscall-list-32bit-condition, syscall-list-64bit-options)
46627         (syscall-list-64bit-condition): Define.
46628         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46629         Remove.
46630         (syscall-list-variants, syscall-list-32bit-options)
46631         (syscall-list-32bit-condition, syscall-list-64bit-options)
46632         (syscall-list-64bit-condition): Define.
46634 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46636         * locale/iso-639.def: Add brx entry.
46638         [BZ #13328]
46639         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46640         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46642         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46643         __feraiseexcept_renamed.
46645 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46647         [BZ #13538]
46648         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46649         EPOLLET with unsigned values.
46650         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46651         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46653         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46654         to large cancellation.
46655         * math/s_cacoshf.c: Likewise.
46656         * math/s_cacoshl.c: Likewise.
46658 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46660         [BZ #13305]
46661         [BZ #12786]
46662         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46663         * math/s_cacoshf.c: Likewise.
46664         * math/s_cacoshl.c: Likewise.
46666 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46668         [BZ #13439]
46669         * iconv/gconv.h: Define __GCONV_SWAP.
46670         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46671         * iconvdata/utf-16.c: Likewise.
46672         * iconvdata/utf-32.c: Likewise.
46674 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46676         [BZ #13524]
46677         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46678         numerator after shifting it by one limb.
46680 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46682         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46683         under [__USE_EXTERN_INLINES].
46685 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46687         [BZ #13446]
46688         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46690 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46692         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46693         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46694         optimized code.
46695         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46696         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46697         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46698         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46699         for strncasecmp/strncasecmp_l compilation.
46700         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46701         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46703 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46705         [BZ #13484]
46706         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46707         of __asm__.
46709 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46711         [BZ #13506]
46712         * time/tzfile.c (__tzfile_read): Check values from file header.
46714 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46716         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46717         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46718         * powerpc/powerpc32/dl-start.S: Likewise.
46719         * powerpc/powerpc32/elf/start.S: Likewise.
46720         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46721         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46722         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46723         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46724         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46725         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46726         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46727         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46728         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46729         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46730         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46731         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46732         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46733         * powerpc/powerpc32/memset.S: Likewise.
46734         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46735         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46736         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46737         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46738         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46739         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46740         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46741         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46742         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46743         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46744         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46745         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46746         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46748 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46750         * math/libm-test.inc: Added more nearbyint tests.
46751         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46752         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46754         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46756 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46758         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46759         FD_CLOEXEC.
46761 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46763         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46764         Add wcscpy-ssse3 wcscpy-c.
46765         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46766         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46767         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46768         * sysdeps/x86_64/wcschr.S: New file.
46769         * sysdeps/x86_64/wcsrchr.S: New file.
46770         * string/test-strcmp.c: Remove checking of wcscmp function for
46771         wrong alignments.
46772         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46773         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46774         wcsrchr-sse2 wcsrchr-c.
46775         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46776         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46777         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46778         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46779         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46780         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46781         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46782         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46783         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46784         * wcsmbc/wcschr.c (WCSCHR): New macro.
46786 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46788         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46789         * wcsmbs/test-wcsrchr.c: New file.
46790         * string/test-strrchr.c: Add wcsrchr support.
46791         (WIDE): New macro.
46792         * wcsmbs/test-wcscpy.c: New file.
46793         * string/test-strcpy.c: Add wcscpy support.
46794         (WIDE): New macro.
46796 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46798         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46799         the inner loop.
46801 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46803         [BZ #13472]
46804         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46806 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46808         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46809         Minor optimizations.
46811         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46812         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46813         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46815 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46817         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46818         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46819         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46820         for gcc to avoid warnings.
46821         * inet/Makefile (tests): Add tst-checks.
46822         * inet/tst-checks.c: New file.
46824         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46825         warning.
46827         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46828         __wmemcmp_sse2.
46830         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46831         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46833         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46835 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46837         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46838         problem.
46840         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46842 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46844         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46845         conditional on GCC version.
46846         (__arch_compare_and_exchange_val_8_acq)
46847         (__arch_compare_and_exchange_val_16_acq)
46848         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46849         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46850         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46852 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46854         * sysdeps/sh/backtrace.c: New file.
46856 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46858         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46859         parenthesis.
46861 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46863         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46864         falling back to utime.
46866 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46868         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46869         expectations for float.
46871 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46873         * locale/weight.h (findidx): Add parameter len.
46874         * locale/weightwc.h (findidx): Likewise.
46875         * posix/fnmatch_loop.c (FCT): Adjust caller.
46876         * posix/regcomp.c (build_equiv_class): Likewise.
46877         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46878         * posix/regexec.c (check_node_accept_bytes): Likewise.
46879         * string/strcoll_l.c (STRCOLL): Likewise.
46880         * string/strxfrm_l.c (STRXFRM): Likewise.
46882 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46884         * Makefile.in: Remove CVSOPT handling.
46885         * configure.in: Remove use of AC_REVISION.
46886         * iconvdata/Makefile (distribute): No need to filter out CVS.
46887         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46888         handling.
46890 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46893         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46894         [USE_AS_STRNCASECMP_L]: Likewise.
46895         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46896         NO_TLS_DIRECT_SEG_REFS.
46897         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46898         Fix argument offsets for non-PIC.
46899         [USE_AS_STRNCASECMP_L]: Likewise.
46900         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46901         NO_TLS_DIRECT_SEG_REFS.
46903 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46905         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46906         O_CLOEXEC.
46907         * locale/loadlocale.c (_nl_load_locale): Likewise.
46909 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46911         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46912         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46913         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46914         (SYSCALL_GETTIME): Set errno on error.
46916         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46917         count references to noai6ai_cached.
46919 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46921         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46923         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46924         FD_CLOEXEC for /proc/self/maps.
46926         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46927         FD_CLOEXEC for /proc/meminfo.
46929         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46930         gai.conf.
46932         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46933         FD_CLOEXEC for given file.
46935         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46937         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46938         FD_CLOEXEC for /etc/hosts.
46939         (_gethtent): Likewise.
46941         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46943         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46944         cancellation and set FD_CLOEXEC for /etc/netgroup.
46946         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46947         reading /etc/publickey.
46949         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46950         allow cancellation when reading /etc/group.
46952         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46953         cancellation.
46954         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46956         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46957         when using data file.
46959         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46961         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46962         (write_nis_obj): Use "c" and "e" in fopen.
46964         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46966         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46968         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46970         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46972         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46973         locale.alias.
46975         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46977         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46979         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46981         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46982         file parsing and set FD_CLOEXEC.
46984 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46986         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46988 2011-11-14  Andreas Schwab  <schwab@redhat.com>
46990         * malloc/arena.c (arena_get2): Don't call reused_arena when
46991         _int_new_arena failed.
46993 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
46995         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46996         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46997         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46998         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46999         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47000         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47001         to compile strcasecmp and strncasecmp.
47002         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47003         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47005         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47007 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47009         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47010         locale-defines.sym to gen-as-const-headers.
47011         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47012         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47014         to compile strcasecmp and strncasecmp.
47015         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47016         strcasecmp_l and strncasecmp_l.
47017         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47018         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47019         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47020         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47021         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47022         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47023         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47024         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47025         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47026         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47027         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47029 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47031         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47032         result of SYSDEP_GETTIME_CPU to retval.
47033         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47034         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47036         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47037         variable.
47039         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47040         mantissa words.
47041         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47043         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47044         from unused variable.
47046         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47047         DWARF definitions.
47048         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47049         for assembling.
47051         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47052         over namespaces.
47054         * sunrpc/rpc_prot.c (rejected): Fix case value.
47056         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47057         unsigned long long int to avoid warnings in shift.
47059         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47060         of use of trans.
47061         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47062         variable tmp.
47064         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47065         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47066         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47068         * nis/nis_table.c (nis_list): Use variable of correct type for
47069         result of __follow_path call.
47071 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47073         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47074         of math functions ceil, trunc, floor, round, and sqrt, when
47075         avaliable on the platform.
47076         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47077         name clash.
47078         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47079         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47080         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47082 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47084         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47085         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47087 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47089         * include/unistd.h: Fix __readlink return type.
47090         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47092 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47094         * stdlib/ucontext.h: Undo last change for makecontext.
47096 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47098         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47100         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47101         * setjmp/setjmp.h: Mark functions as non-leaf.
47102         * setjmp/bits/setjmp2.h: Likewise.
47103         * stdlib/ucontext.h: Likewise.
47105 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47107         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47108         (reused_arena): Don't check arena limit.
47109         (arena_get2): Atomically check arena limit.
47111 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47113         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47114         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47117         instructions.
47119 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47121         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47122         handler when locking.
47124         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47125         Fix size of allocated buffer.
47127 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47129         [BZ #10103]
47130         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47131         declarations for long double functions.
47132         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47134         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47136 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47138         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47139         installed.
47141         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47142         is disabled.
47144 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47146         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47148 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47150         * include/alloca.h (stackinfo_alloca_round): Define.
47151         (extend_alloca): Use it.
47152         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47153         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47154         here.
47156         * scripts/check-local-headers.sh: Ignore libaudit.h.
47158         * nscd/Makefile (extra-objs): Make recursively expanded.
47160 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47162         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47165         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47166         * posix/tst-rfc3484-2.c: Likewise.
47167         * posix/tst-rfc3484-3.c: Likewise.
47169         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47170         process_vm_writev.
47171         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47172         process_vm_writev.
47173         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47174         process_vm_writev from libc using GLIBC_2.15 version.
47176         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47178 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47180         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47181         stack usage.
47183 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47185         [BZ #13367]
47186         * nss/getent.c (initgroups_keys): Show error message in case no group
47187         names are given.
47189         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47190         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47191         __bump_nl_timestamp.
47192         * nscd/connections (nscd_init): When host database is served open
47193         netlink socket and request notification about configuration changes.
47194         (main_loop_poll): Track netlink file descriptor and bump timestamp
47195         in case data becomes available.
47196         (main_loop_epoll): Likewise.
47197         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47198         (database_pers_head): Add extra_data fileds.
47199         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47200         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47201         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47202         Adjust caller.
47203         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47204         in6ai data, call __free_in6ai.
47205         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47206         Add -DHAVE_NETLINK.
47207         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47208         interface information.  Reuse previous data if netlink timestamp
47209         is not changed.
47210         (__bump_nl_timestamp): New function.
47211         (__free_in6ai): New function.
47213 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47215         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47216         close_not_cancel_no_status here.
47217         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47219 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47221         [BZ #13276]
47222         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47223         return value.
47225         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47226         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47227         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47229 2011-07-03  Andreas Jaeger  <aj@suse.de>
47231         [BZ #10709]
47232         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47233         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47234         * math/libm-test.inc (sin_test): Add test case.
47236 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47238         [BZ #13337]
47239         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47240         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47242         * elf/chroot_canon.c (chroot_canon): Cleanups.
47244         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47246         [BZ #13335]
47247         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47248         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47250         * string/test-strchr.c: Make usable for strchrnul testing.
47251         * string/test-strchrnul.c: New file.
47252         * string/Makefile (strop-tests): Add strchrnul.
47254         * po/it.po: Update from translation team.
47255         * po/es.po: Likewise.
47257 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47259         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47260         the three constants needed as parameters.  Drop the others.
47261         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47262         __m128i_strloadu_tolower.
47263         Create and initialize variable zero and use it in all the places
47264         where _mm_setzero_si128 was used.
47266         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47267         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47268         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47269         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47270         anymore.
47271         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47272         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47273         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47274         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47275         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47276         __mpranred, __mptan.
47277         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47278         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47279         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47280         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47281         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47282         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47283         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47284         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47285         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47287 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47289         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47290         redefine if SHARED.
47291         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47293         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47294         wide char related routines to wcsmbs subdir.
47296 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47298         [BZ #13344]
47299         * misc/sys/cdefs.h (__THROWNL): Define.
47300         * posix/unistd.h: Use __THREADNL instead of __THREAD
47301         for memory synchronization functions.
47303 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47305         [BZ #13349]
47306         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47307         doesn't exist.
47308         * manual/stdio.texi (Obstack Streams): Node removed.
47310 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47312         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47313         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47314         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47316         * math/math_private.h (math_force_eval): Allow non-addressable
47317         arguments.
47318         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47320 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47322         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47323         file is not needed.
47325         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47326         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47327         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47328         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47329         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47330         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47331         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47332         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47333         Add AVX variants.
47334         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47335         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47336         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47337         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47338         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47339         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47340         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47341         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47342         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47343         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47344         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47345         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47346         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47347         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47348         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47349         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47350         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47351         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47352         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47354         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47355         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47357         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47358         place.  Use VEX encoding when compiling for AVX.
47360 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47362         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47363         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47365         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47367 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47369         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47370         useless if() expression.
47371         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47372         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47373         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47374         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47375         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47376         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47377         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47378         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47379         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47380         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47381         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47382         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47383         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47384         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47385         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47386         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47387         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47388         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47389         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47391         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47393 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47395         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47396         condition.
47397         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47399 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47401         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47402         .text section.  Avoid duplicate constants.
47403         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47404         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47405         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47407         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47408         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47409         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47411         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47412         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47413         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47414         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47415         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47416         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47417         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47418         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47419         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47420         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47421         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47422         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47423         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47424         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47425         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47426         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47427         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47428         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47429         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47430         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47431         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47432         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47433         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47434         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47435         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47436         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47437         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47438         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47439         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47440         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47441         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47442         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47443         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47444         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47445         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47446         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47447         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47449 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47451         * sysdeps/x86_64/dla.h: Move to ...
47452         * sysdeps/x86_64/fpu/dla.h: ...here.
47453         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47454         situations.  Use __builtin_fma only for gcc 4.6 and up.
47456         * config.make.in: Add have-mfma4 entry.
47457         * configure.in: Substitute libc_cv_cc_fma4.
47458         * math/Makefile (dbl-only-routines): Add sincostab.
47459         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47460         Use __sincostab not sincos.
47461         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47462         name is a macro.
47463         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47464         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47467         using __copysign.
47468         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47469         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47470         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47471         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47472         and __inv.
47473         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47474         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47475         __copysign.
47476         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47477         define aliases when function name is a macro.
47478         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47479         sysdeps/ieee754/dbl-64/sincos.tbl.
47480         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47481         fma4-enabled routines.
47482         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47483         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47484         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47485         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47486         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47487         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47489         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47490         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47491         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47492         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47493         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47494         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47495         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47496         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47497         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47498         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47499         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47500         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47501         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47502         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47503         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47504         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47505         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47506         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47507         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47508         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47509         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47510         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47511         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47513         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47514         rename.
47515         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47521         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47522         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47524 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47526         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47528 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47530         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47532         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47533         prediction.
47534         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47536         * string/strnlen.c: Don't define STRNLEN, reverse logic.
47537         Remove unused variable magic_bits.
47538         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47540         * string/strnlen.c: Define and use STRNLEN macro.
47541         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47542         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47543         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47544         * wcsmbs/wcslen.c: Define and use WCSLEN.
47545         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47546         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47547         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47548         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47549         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47550         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47551         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47553 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47556         strnlen-sse2-no-bsf.
47557         Rename strlen-no-bsf to strlen-sse2-no-bsf.
47558         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47559         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47560         Add strnlen support.
47561         (USE_AS_STRNLEN): New macro.
47562         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47563         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47564         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47565         * sysdeps/x86_64/wcslen.S: New file.
47567 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
47569         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47570         XMM-moves are used for copying on small sizes.
47572 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47574         * wcsmbs/Makefile (strop-tests): Add wcschr.
47575         * wcsmbs/test-wcschr.c: New file.
47576         * string/test-strchr.c: Update.
47577         Add wcschr support.
47578         (WIDE): New macro.
47580 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47582         * wcsmbs/Makefile (strop-tests): Add wcslen.
47583         * wcsmbs/test-wcslen.c: New file.
47584         * string/test-strlen.c: Update.
47585         Add wcslen support.
47586         (WIDE): New macro.
47588 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47590         * po/it.po: Update from translation team.
47592 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47594         * sysdeps/x86_64/wcscmp.S: Update.
47595         Fix wrong comparison semantics.
47596         wcscmp shall use signed comparison not unsigned.
47597         Don't use substraction to avoid overflow bug.
47598         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47599         * wcsmbc/wcscmp.c: Likewise.
47600         * string/test-strcmp.c: Likewise.
47601         Add new tests to check cases with negative values.
47603 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47605         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47606         * sysdeps/x86_64/dla.h: ...here.  New file.
47607         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47610         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47611         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47612         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47614         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47615         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47617 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47620         __ynl_finite aliases.
47622 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47626         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47627         define DLA_FMA.
47628         [DLA_FMA] (EMULV): Use DLA_FMA.
47629         [DLA_FMA] (MUL12): Use EMULV.
47630         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47631         that are not needed.
47632         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47633         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47634         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47636         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47637         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47640 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47642         * math/s_nan.c: Undef __nan.
47643         * math/s_nanf.c: Undef __nanf.
47644         * math/s_nanl.c: Undef __nanl.
47645         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47646         "math_private.h".
47648 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47650         * math/s_catan.c: Add branch predictions.
47651         * math/s_catanf.c: Likewise.
47652         * math/s_catanh.c: Likewise.
47653         * math/s_catanhf.c: Likewise.
47654         * math/s_catanhl.c: Likewise.
47655         * math/s_catanl.c: Likewise.
47656         * math/s_cexp.c: Likewise.
47657         * math/s_cexpf.c: Likewise.
47658         * math/s_cexpl.c: Likewise.
47659         * math/s_clog.c: Likewise.
47660         * math/s_clog10.c: Likewise.
47661         * math/s_clog10f.c: Likewise.
47662         * math/s_clog10l.c: Likewise.
47663         * math/s_clogf.c: Likewise.
47664         * math/s_clogl.c: Likewise.
47665         * math/s_csqrt.c: Likewise.
47666         * math/s_csqrtf.c: Likewise.
47667         * math/s_csqrtl.c: Likewise.
47668         * math/s_ctanf.c: Likewise.
47669         * math/s_ctanh.c: Likewise.
47670         * math/s_ctanhf.c: Likewise.
47671         * math/s_ctanhl.c: Likewise.
47672         * math/s_ctanl.c: Likewise.
47674         * math/math_private.h: Define __nan, __nanf, __nanl.
47675         * math/s_cacosh.c: Include <math_private.h>.
47676         * math/s_cacoshl.c: Likewise.
47677         * math/s_casinh.c: Likewise.
47678         * math/s_casinhf.c: Likewise.
47679         * math/s_casinhl.c: Likewise.
47680         * math/s_ccos.c: Rely entire on ccosh.
47681         * math/s_ccosf.c: Rely entire on ccoshf.
47682         * math/s_ccosl.c: Rely entirely on ccoshl.
47683         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47684         Remove tests for FE_INVALID.
47685         * math/s_ccoshf.c: Likewise.
47686         * math/s_ccoshl.c: Likewise.
47687         * math/s_csin.c: Likewise.
47688         * math/s_csinf.c: Likewise.
47689         * math/s_csinh.c Likewise.
47690         * math/s_csinhf.c: Likewise.
47691         * math/s_csinhl.c: Likewise.
47692         * math/s_csinl.c: Likewise.
47693         * math/s_ctan.c: Likewise.
47694         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47695         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47696         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47698 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47701         compilation problems.
47703         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47704         __builtin_expect.
47706 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47708         * sysdeps/i386/configure.in: Test for -mfma4 option.
47709         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47710         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47711         COMMON_CPUID_INDEX_80000001.
47712         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47713         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47714         use it if FMA3 is not supported.
47715         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47717         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47718         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47720 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47722         [BZ #12892]
47723         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47724         it would create a cycle with a link time dependency.
47726 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47728         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47729         instruction.
47730         * string/Makefile (strop-tests): Add rawmemchr.
47731         * string/test-rawmemchr.c: New file.
47733         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47734         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47735         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47736         when compiling str{,n}casecmp and when AVX is available.  Hook up
47737         new optimized code in initializers.
47739 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47741         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47742         __feraiseexcept instead of feraiseexcept.
47744 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47746         * math/math_private.h: Define defaults for libc_fetestexcept and
47747         libc_feupdateenv.
47748         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47749         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47750         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47751         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47752         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47753         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47754         libc_fetestexcept and libc_feupdateenv.
47756         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47757         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47758         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47759         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47760         libc_feholdexcept_setround.
47762         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47763         Add s_nearbyint-c and s_nearbyintf-c.
47764         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47765         nearbyintf inlines.
47766         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47767         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47768         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47769         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47771         * math/math_private.h: Define defaults for libc_fegetround,
47772         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47773         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47774         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47775         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47776         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47777         standard functions.
47778         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47779         Remove comments and hacks for old compiler versions.
47780         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47781         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47782         libc_feholdexceptl.
47784 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47786         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47787         (__feraiseexcept_renamed): Add __NTH.
47788         (feraiseexcept): Add __NTH.  Rename local variables to fix
47789         namespace violations.
47791 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47793         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47795         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47797         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47798         recently added interfaces.
47799         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47801         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47802         about macro parameter expansion.
47804         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47805         __NO_MATH_INLINES is defined.  Cleanups.
47807         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47808         and __floorf is target has SSE4.1.
47809         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47810         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47811         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47812         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47814         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47815         name.
47816         (floorf): Likewise.
47818         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47820 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47822         * misc/sys/cdefs.h: Fix last change.
47824         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47825         database lookup.
47827 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47829         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47831         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47832         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47833         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47834         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47836         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47837         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47838         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47839         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47840         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47841         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47842         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47843         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47844         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47845         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47846         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47847         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47848         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47849         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47850         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47851         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47852         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47854         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47855         ceil, ceilf, floor, floorf.
47857         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47858         Perform IRELATIVE relocations last.
47860         * elf/do-rel.h: Add another parameter nrelative, replacing the
47861         local variable with the same name.  Change name of the function
47862         to end in Rel or Rela (uppercase).
47863         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47864         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47865         elf_dynamic_do_##reloc function.
47867 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47869         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47870         is sufficient, at least on modern CPUs.
47872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47874         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47875         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47877         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47878         __expl_finite.
47879         * math/bits/math-finite.h: Add entries for exp.
47880         * math/e_expl.c: Add __*_finite alias.
47881         * sysdeps/i386/fpu/e_exp.S: Likewise.
47882         * sysdeps/i386/fpu/e_expf.S: Likewise.
47883         * sysdeps/i386/fpu/e_expl.c: Likewise.
47884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47885         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47886         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47887         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47888         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47889         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47890         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47892         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47893         is sufficient, at least on modern CPUs.
47895         * ctype/ctype-info.c (__ctype_init): Define.
47896         * include/ctype.h (__ctype_init): Declare.
47897         (__ctype_b_loc): The variable is always initialized.
47898         (__ctype_toupper_loc): Likewise.
47899         (__ctype_tolower_loc): Likewise.
47900         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47901         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47903 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47905         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47907         * configure.in: Also look in $cxxmachine/include for C++ system
47908         headers.
47910 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47912         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47913         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47914         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47915         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47916         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47917         (USE_AS_WMEMCMP): New macro.
47918         Fixing indents.
47919         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47920         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47921         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47922         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47923         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47924         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47925         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47926         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47927         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47928         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47929         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47930         (USE_AS_WMEMCMP): New macro.
47931         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47932         * sysdeps/string/test-memcmp.c: Update.
47933         Fix simple_wmemcmp.
47934         Add new tests.
47935         * wcsmbs/wmemcmp.c: Update.
47936         (WMEMCMP): New macro.
47937         Fix overflow bug.
47939 2011-10-12  Andreas Jaeger  <aj@suse.de>
47941         [BZ #13268]
47942         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47944 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47946         * libio/iofwide.c (do_length): Avoid warning.
47948         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47950 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47952         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47954         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47955         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47956         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47957         * sysdeps/i386/i686/fpu/e_log.S: New file.
47958         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47959         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47961         * ctype/ctype.h: Add support for inlined isXXX functions when
47962         compiling C++ code.
47964 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47966         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47968         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47970 2011-10-13  Roland McGrath  <roland@hack.frob.com>
47972         [BZ #13291]
47973         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47975 2011-10-13  Andreas Schwab  <schwab@redhat.com>
47977         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47978         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47979         feraiseexcept.
47981         * sysdeps/x86_64/memrchr.S: Check for zero size.
47983         * string/stratcliff.c: Add memrchr tests.
47985 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47987         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47988         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47989         rawmemchr-sse2 rawmemchr-sse2-bsf.
47990         * sysdeps/i386/i686/multiarch/memchr.S: New file.
47991         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47992         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47993         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47994         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47995         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47996         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47997         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47998         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47999         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48000         * string/memrchr.c (MEMRCHR): New macro.
48002 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48004         Add integration with gcc's -ffinite-math-only and optimize wrapper
48005         functions in libm.
48006         * Versions.def: Define GLIBC_2.15 version for libm.
48007         * math/Makefile (headers): Add bits/math-finite.h.
48008         * math/bits/math-finite.h: New file.
48009         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48010         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48011         * math/e_acoshl.c: Add __*_finite alias.
48012         * math/e_acosl.c: Likewise.
48013         * math/e_asinl.c: Likewise.
48014         * math/e_atan2l.c: Likewise.
48015         * math/e_atanhl.c: Likewise.
48016         * math/e_coshl.c: Likewise.
48017         * math/e_exp10.c: Likewise.
48018         * math/e_exp10f.c: Likewise.
48019         * math/e_exp10l.c: Likewise.
48020         * math/e_exp2l.c: Likewise.
48021         * math/e_fmodl.c: Likewise.
48022         * math/e_gammal_r.c: Likewise.
48023         * math/e_hypotl.c: Likewise.
48024         * math/e_j0l.c: Likewise.
48025         * math/e_j1l.c: Likewise.
48026         * math/e_jnl.c: Likewise.
48027         * math/e_lgammal_r.c: Likewise.
48028         * math/e_log10l.c: Likewise.
48029         * math/e_log2l.c: Likewise.
48030         * math/e_logl.c: Likewise.
48031         * math/e_powl.c: Likewise.
48032         * math/e_sinhl.c: Likewise.
48033         * math/e_sqrtl.c: Likewise.
48034         * math/e_scalb.c: Completely rewritten and optimized.
48035         * math/e_scalbf.c: Likewise.
48036         * math/e_scalbl.c: Likewise.
48037         * math/w_acos.c: Likewise.
48038         * math/w_acosf.c: Likewise.
48039         * math/w_acosl.c: Likewise.
48040         * math/w_acosh.c: Likewise.
48041         * math/w_acoshf.c: Likewise.
48042         * math/w_acoshl.c: Likewise.
48043         * math/w_asin.c: Likewise.
48044         * math/w_asinf.c: Likewise.
48045         * math/w_asinl.c: Likewise.
48046         * math/w_atan2.c: Likewise.
48047         * math/w_atan2f.c: Likewise.
48048         * math/w_atan2l.c: Likewise.
48049         * math/w_atanh.c: Likewise.
48050         * math/w_atanhf.c: Likewise.
48051         * math/w_atanhl.c: Likewise.
48052         * math/w_exp10.c: Likewise.
48053         * math/w_exp10f.c: Likewise.
48054         * math/w_exp10l.c: Likewise.
48055         * math/w_fmod.c: Likewise.
48056         * math/w_fmodf.c: Likewise.
48057         * math/w_fmodl.c: Likewise.
48058         * math/w_j0.c: Likewise.
48059         * math/w_j0f.c: Likewise.
48060         * math/w_j0l.c: Likewise.
48061         * math/w_j1.c: Likewise.
48062         * math/w_j1f.c: Likewise.
48063         * math/w_j1l.c: Likewise.
48064         * math/w_jn.c: Likewise.
48065         * math/w_jnf.c: Likewise.
48066         * math/w_log.c: Likewise.
48067         * math/w_logf.c: Likewise.
48068         * math/w_logl.c: Likewise.
48069         * math/w_log10.c: Likewise.
48070         * math/w_log10f.c: Likewise.
48071         * math/w_log10l.c: Likewise.
48072         * math/w_log2.c: Likewise.
48073         * math/w_log2f.c: Likewise.
48074         * math/w_log2l.c: Likewise.
48075         * math/w_pow.c: Likewise.
48076         * math/w_powf.c: Likewise.
48077         * math/w_powl.c: Likewise.
48078         * math/w_remainder.c: Likewise.
48079         * math/w_remainderf.c: Likewise.
48080         * math/w_remainderl.c: Likewise.
48081         * math/w_scalb.c: Likewise.
48082         * math/w_scalbf.c: Likewise.
48083         * math/w_scalbl.c: Likewise.
48084         * math/w_sqrt.c: Likewise.
48085         * math/w_sqrtf.c: Likewise.
48086         * math/w_sqrtl.c: Likewise.
48087         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48088         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48089         used.
48090         * math/math_private.h: Declare __kernel_standard_f.
48091         * math/w_cosh.c: Remove cruft and optimize a bit.
48092         * math/w_coshf.c: Likewise.
48093         * math/w_coshl.c: Likewise.
48094         * math/w_exp2.c: Likewise.
48095         * math/w_exp2f.c: Likewise.
48096         * math/w_exp2l.c: Likewise.
48097         * math/w_hypot.c: Likewise.
48098         * math/w_hypotf.c: Likewise.
48099         * math/w_hypotl.c: Likewise.
48100         * math/w_lgamma.c: Likewise.
48101         * math/w_lgamma_r.c: Likewise.
48102         * math/w_lgammaf.c: Likewise.
48103         * math/w_lgammaf_r.c: Likewise.
48104         * math/w_lgammal.c: Likewise.
48105         * math/w_lgammal_r.c: Likewise.
48106         * math/w_sinh.c: Likewise.
48107         * math/w_sinhf.c: Likewise.
48108         * math/w_sinhl.c: Likewise.
48109         * math/w_tgamma.c: Likewise.
48110         * math/w_tgammaf.c: Likewise.
48111         * math/w_tgammal.c: Likewise.
48112         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48113         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48114         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48115         Minor optimizations.  Pretty printing.  Remove cruft.
48116         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48117         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48118         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48119         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48120         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48121         * sysdeps/i386/fpu/e_asin.S: Likewise.
48122         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48123         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48124         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48125         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48126         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48127         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48128         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48129         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48130         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48131         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48132         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48133         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48134         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48135         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48136         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48137         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48138         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48139         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48140         * sysdeps/i386/fpu/e_log.S: Likewise.
48141         * sysdeps/i386/fpu/e_log10.S: Likewise.
48142         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48143         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48144         * sysdeps/i386/fpu/e_log2.S: Likewise.
48145         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48146         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48147         * sysdeps/i386/fpu/e_logf.S: Likewise.
48148         * sysdeps/i386/fpu/e_logl.S: Likewise.
48149         * sysdeps/i386/fpu/e_pow.S: Likewise.
48150         * sysdeps/i386/fpu/e_powf.S: Likewise.
48151         * sysdeps/i386/fpu/e_powl.S: Likewise.
48152         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48153         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48154         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48155         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48156         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48157         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48158         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48159         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48160         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48161         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48162         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48164         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48165         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48166         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48167         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48168         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48169         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48170         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48171         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48172         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48174         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48175         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48177         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48178         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48179         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48181         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48182         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48183         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48184         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48185         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48186         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48187         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48188         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48189         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48190         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48191         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48192         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48193         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48194         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48195         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48196         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48197         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48198         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48199         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48200         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48201         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48202         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48203         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48204         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48205         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48206         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48207         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48208         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48209         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48210         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48211         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48212         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48213         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48214         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48215         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48216         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48217         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48218         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48219         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48220         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48221         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48222         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48224         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48225         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48226         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48227         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48228         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48229         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48230         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48231         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48232         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48233         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48234         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48235         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48236         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48237         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48238         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48239         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48240         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48241         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48242         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48243         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48244         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48245         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48246         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48247         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48248         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48249         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48250         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48251         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48252         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48253         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48254         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48255         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48256         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48257         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48258         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48259         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48260         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48261         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48262         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48263         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48264         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48265         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48266         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48267         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48268         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48269         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48270         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48271         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48272         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48273         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48274         (__isnanf): Likewise.
48275         (__isinf_ns): Likewise.
48276         (__isinf_nsf): Likewise.
48277         (__finite): Likewise.
48278         (__finitef): Likewise.
48279         (__ieee754_sqrt): Define as macro.
48280         (__ieee754_sqrtf): Define as macro.
48281         (__ieee754_sqrtl): Define as macro.
48282         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48283         inlined copy.
48284         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48285         __FINITE_MATH_ONLY__ consistent.
48286         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48288 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48290         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48291         of rawmemchr.
48293         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48295 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48297         * po/ja.po: Update from translation team.
48299 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48301         * locale/programs/locarchive.c (prepare_address_space): New function.
48302         (create_archive, enlarge_archive, open_archive): Use it.
48304         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48305         inside [SHARED], where it is used.
48307         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48309         * nss/getent.c (netgroup_keys): Remove unused variable.
48310         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48312 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48314         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48315         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48316         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48317         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48318         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48319         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48320         * math/Makefile (libm-calls): Add s_isinf_ns.
48321         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48322         * math/multc3.c: Likewise.
48323         * math/s_casin.c: Likewise.
48324         * math/s_casinf.c: Likewise.
48325         * math/s_casinl.c: Likewise.
48326         * math/s_ccos.c: Likewise.
48327         * math/s_ccosf.c: Likewise.
48328         * math/s_ccosl.c: Likewise.
48329         * math/s_ctan.c: Likewise.
48330         * math/s_ctanf.c: Likewise.
48331         * math/s_ctanh.c: Likewise.
48332         * math/s_ctanhf.c: Likewise.
48333         * math/s_ctanhl.c: Likewise.
48334         * math/s_ctanl.c: Likewise.
48335         * math/w_fmod.c: Likewise.
48336         * math/w_fmodf.c: Likewise.
48337         * math/w_fmodl.c: Likewise.
48338         * math/w_remainder.c: Likewise.
48339         * math/w_remainderf.c: Likewise.
48340         * math/w_remainderl.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48342         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48343         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48344         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48345         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48346         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48347         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48348         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48350         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48351         of the number.
48352         * stdio-common/printf_fphex.c: Likewise.
48353         * stdio-common/printf_size.c: Likewise.
48355         * math/e_exp10.c: Include math_private.h using <...> not "...".
48356         * math/e_exp10f.c: Likewise.
48357         * math/e_exp10l.c: Likewise.
48358         * math/e_exp2l.c: Likewise.
48359         * math/e_j0l.c: Likewise.
48360         * math/e_j1l.c: Likewise.
48361         * math/e_jnl.c: Likewise.
48362         * math/e_lgammal_r.c: Likewise.
48363         * math/e_rem_pio2l.c: Likewise.
48364         * math/e_scalb.c: Likewise.
48365         * math/e_scalbf.c: Likewise.
48366         * math/e_scalbl.c: Likewise.
48367         * math/k_cosl.c: Likewise.
48368         * math/k_sinl.c: Likewise.
48369         * math/k_tanl.c: Likewise.
48370         * math/s_cacoshf.c: Likewise.
48371         * math/s_catan.c: Likewise.
48372         * math/s_catanf.c: Likewise.
48373         * math/s_catanh.c: Likewise.
48374         * math/s_catanhf.c: Likewise.
48375         * math/s_catanhl.c: Likewise.
48376         * math/s_catanl.c: Likewise.
48377         * math/s_ccosh.c: Likewise.
48378         * math/s_ccoshf.c: Likewise.
48379         * math/s_ccoshl.c: Likewise.
48380         * math/s_cexp.c: Likewise.
48381         * math/s_cexpf.c: Likewise.
48382         * math/s_cexpl.c: Likewise.
48383         * math/s_clog.c: Likewise.
48384         * math/s_clog10.c: Likewise.
48385         * math/s_clog10f.c: Likewise.
48386         * math/s_clog10l.c: Likewise.
48387         * math/s_clogf.c: Likewise.
48388         * math/s_clogl.c: Likewise.
48389         * math/s_csin.c: Likewise.
48390         * math/s_csinf.c: Likewise.
48391         * math/s_csinh.c: Likewise.
48392         * math/s_csinhf.c: Likewise.
48393         * math/s_csinhl.c: Likewise.
48394         * math/s_csinl.c: Likewise.
48395         * math/s_csqrt.c: Likewise.
48396         * math/s_csqrtf.c: Likewise.
48397         * math/s_csqrtl.c: Likewise.
48398         * math/s_ctan.c: Likewise.
48399         * math/s_ctanf.c: Likewise.
48400         * math/s_ctanh.c: Likewise.
48401         * math/s_ctanhf.c: Likewise.
48402         * math/s_ctanhl.c: Likewise.
48403         * math/s_ctanl.c: Likewise.
48404         * math/s_ldexp.c: Likewise.
48405         * math/s_ldexpf.c: Likewise.
48406         * math/s_ldexpl.c: Likewise.
48407         * math/s_significand.c: Likewise.
48408         * math/s_significandf.c: Likewise.
48409         * math/s_significandl.c: Likewise.
48410         * math/w_acos.c: Likewise.
48411         * math/w_acosf.c: Likewise.
48412         * math/w_acosh.c: Likewise.
48413         * math/w_acoshf.c: Likewise.
48414         * math/w_acoshl.c: Likewise.
48415         * math/w_acosl.c: Likewise.
48416         * math/w_asin.c: Likewise.
48417         * math/w_asinf.c: Likewise.
48418         * math/w_asinl.c: Likewise.
48419         * math/w_atan2.c: Likewise.
48420         * math/w_atan2f.c: Likewise.
48421         * math/w_atan2l.c: Likewise.
48422         * math/w_atanh.c: Likewise.
48423         * math/w_atanhf.c: Likewise.
48424         * math/w_atanhl.c: Likewise.
48425         * math/w_cosh.c: Likewise.
48426         * math/w_coshf.c: Likewise.
48427         * math/w_coshl.c: Likewise.
48428         * math/w_dremf.c: Likewise.
48429         * math/w_exp10.c: Likewise.
48430         * math/w_exp10f.c: Likewise.
48431         * math/w_exp10l.c: Likewise.
48432         * math/w_exp2.c: Likewise.
48433         * math/w_exp2f.c: Likewise.
48434         * math/w_fmod.c: Likewise.
48435         * math/w_fmodf.c: Likewise.
48436         * math/w_fmodl.c: Likewise.
48437         * math/w_hypot.c: Likewise.
48438         * math/w_hypotf.c: Likewise.
48439         * math/w_hypotl.c: Likewise.
48440         * math/w_j0.c: Likewise.
48441         * math/w_j0f.c: Likewise.
48442         * math/w_j0l.c: Likewise.
48443         * math/w_j1.c: Likewise.
48444         * math/w_j1f.c: Likewise.
48445         * math/w_j1l.c: Likewise.
48446         * math/w_jn.c: Likewise.
48447         * math/w_jnf.c: Likewise.
48448         * math/w_jnl.c: Likewise.
48449         * math/w_lgamma.c: Likewise.
48450         * math/w_lgamma_r.c: Likewise.
48451         * math/w_lgammaf.c: Likewise.
48452         * math/w_lgammaf_r.c: Likewise.
48453         * math/w_lgammal.c: Likewise.
48454         * math/w_lgammal_r.c: Likewise.
48455         * math/w_log.c: Likewise.
48456         * math/w_log10.c: Likewise.
48457         * math/w_log10f.c: Likewise.
48458         * math/w_log10l.c: Likewise.
48459         * math/w_log2.c: Likewise.
48460         * math/w_log2f.c: Likewise.
48461         * math/w_log2l.c: Likewise.
48462         * math/w_logf.c: Likewise.
48463         * math/w_logl.c: Likewise.
48464         * math/w_pow.c: Likewise.
48465         * math/w_powf.c: Likewise.
48466         * math/w_powl.c: Likewise.
48467         * math/w_remainder.c: Likewise.
48468         * math/w_remainderf.c: Likewise.
48469         * math/w_remainderl.c: Likewise.
48470         * math/w_scalb.c: Likewise.
48471         * math/w_scalbf.c: Likewise.
48472         * math/w_scalbl.c: Likewise.
48473         * math/w_sinh.c: Likewise.
48474         * math/w_sinhf.c: Likewise.
48475         * math/w_sinhl.c: Likewise.
48476         * math/w_sqrt.c: Likewise.
48477         * math/w_sqrtf.c: Likewise.
48478         * math/w_sqrtl.c: Likewise.
48479         * math/w_tgamma.c: Likewise.
48480         * math/w_tgammaf.c: Likewise.
48481         * math/w_tgammal.c: Likewise.
48483         * po/ja.po: Update from translation team.
48485 2011-09-29  Andreas Jaeger  <aj@suse.de>
48487         [BZ #13179]
48488         * sunrpc/netname.c (netname2host): Fix logic.
48490         [BZ #6779]
48491         [BZ #6783]
48492         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48493         correctly.
48494         * math/w_remainder.c (__remainder): Likewise.
48495         * math/w_remainderf.c (__remainderf): Likewise.
48496         * math/libm-test.inc (remainder_test): Add test cases.
48498 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48500         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48501         sdiv_qrnnd.
48503 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48505         * string/test-memcmp.c: Avoid unncessary #defines.
48506         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48508 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48510         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48511         Use new sse2 version for core i3 - i7 as it's faster
48512         than sse42 version.
48513         (bit_Prefer_PMINUB_for_stringop): New.
48514         * sysdeps/x86_64/rawmemchr.S: Update.
48515         Replace with faster SSE2 version.
48516         * sysdeps/x86_64/memrchr.S: New file.
48517         * sysdeps/x86_64/memchr.S: Update.
48518         Replace with faster SSE2 version.
48520 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48522         * elf/dl-load.c (lose): Add cast to avoid warning.
48524 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48526         * po/ca.po: Update from translation team.
48528         * inet/getnetgrent_r.c: Hook up nscd.
48529         * nscd/Makefile (routines): Add nscd_netgroup.
48530         (nscd-modules): Add netgroupcache.
48531         (CFLAGS-netgroupcache.c): Define.
48532         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48533         (cache_search): Add const to second parameter.
48534         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48535         INNETGR.
48536         (dbs): Add netgrdb entry.
48537         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48538         (verify_persistent_db): Handle netgrdb.
48539         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48540         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48541         GETFDNETGR.
48542         (netgroup_response_header): Define.
48543         (innetgroup_response_header): Define.
48544         (datahead): Add netgroup_response_header and innetgroup_response_header
48545         elements.
48546         * nscd/nscd.conf: Add entries for netgroup cache.
48547         * nscd/nscd.h (dbtype): Add netgrdb.
48548         (_PATH_NSCD_NETGROUP_DB): Define.
48549         (netgroup_iov_disabled): Declare.
48550         (xmalloc, xcalloc, xrealloc): Move declarations here.
48551         (cache_search): Adjust prototype.
48552         Add netgroup-related prototypes.
48553         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48554         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48555         (__nscd_innetgr): Declare.
48556         * nscd/selinux.c (perms): Use access_vector_t as element type and
48557         add netgroup-related initializers.
48558         * nscd/netgroupcache.c: New file.
48559         * nscd/nscd_netgroup.c: New file.
48560         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48561         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48562         For four parameters use innetgr.
48563         * nss/nss_files/files-init.c: Add definition and callback for netgr.
48564         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48565         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48566         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48568         * nscd/connections.c (register_traced_file): Don't register file
48569         for disabled databases.
48571 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
48573         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48575         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48576         from tree and freeing node.
48578 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
48580         * nss/nsswitch.c (__nss_database_lookup): Handle
48581         nss_parse_service_list out of memory case.
48583 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
48585         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48586         out of memory case.
48588 2011-10-04  Andreas Schwab  <schwab@redhat.com>
48590         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48591         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48592         pass it down.
48593         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48594         elf_machine_rela, elf_machine_lazy_rel.
48595         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48596         (ELF_DYNAMIC_DO_REL): Likewise.
48597         (ELF_DYNAMIC_DO_RELA): Likewise.
48598         (ELF_DYNAMIC_RELOCATE): Likewise.
48599         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48600         to ELF_DYNAMIC_DO_REL.
48601         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48602         (dl_main): In trace mode always set __RTLD_NOIFUNC.
48603         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48604         elf_machine_rela.
48605         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48606         skip_ifunc, don't call ifunc function if non-zero.
48607         (elf_machine_rela): Likewise.
48608         (elf_machine_lazy_rel): Likewise.
48609         (elf_machine_lazy_rela): Likewise.
48610         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48611         (elf_machine_lazy_rel): Likewise.
48612         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48613         Likewise.
48614         (elf_machine_lazy_rel): Likewise.
48615         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48616         Likewise.
48617         (elf_machine_lazy_rel): Likewise.
48618         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48619         (elf_machine_lazy_rel): Likewise.
48620         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48621         (elf_machine_lazy_rel): Likewise.
48622         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48623         (elf_machine_lazy_rel): Likewise.
48624         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48625         (elf_machine_lazy_rel): Likewise.
48626         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48627         (elf_machine_lazy_rel): Likewise.
48628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48629         (elf_machine_lazy_rel): Likewise.
48631 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48633         * nss/nss_files/files-init.c (_nss_files_init): Use static
48634         initialization for all the *_traced_file variables.
48636 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48638         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48640 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48642         [BZ #13226]
48643         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48645 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48647         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48648         Reread the line before reparsing it.
48650 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48652         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48654 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48655             Maxim Kuvyrkov  <maxim@codesourcery.com>
48656             Joseph Myers  <joseph@codesourcery.com>
48658         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48659         if needed for __stack_chk_guard.
48661 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48663         * sysdeps/posix/spawni.c (script_execute): Always define it.
48664         It will be optimized away if unused.
48665         (maybe_script_execute): New function.
48666         (__spawni): Call it.
48668         * Makerules: Don't include tls.make.
48669         (config-tls): Always set to thread.
48670         * tls.make.c: File removed.
48672 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48674         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48675         * config.make.in (CPPFLAGS-config): New substituted variable.
48677 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48679         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48681         [BZ #13192]
48682         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48683         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48685 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48687         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48688         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48689         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48690         (CALL_FAIL): Likewise.
48691         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48692         (CALL_FAIL): Macro removed.
48693         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48695 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48697         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48698         for __FINITE_MATH_ONLY__ == 1.
48700 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48702         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48703         __ieee754_sqrt instead of sqrt.
48704         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48705         __ieee754_sqrtf instead of sqrtf.
48706         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48707         __floorf instead of floorf.
48708         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48709         __floorf, __truncf instead of floorf, truncf.
48711 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48713         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48715         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48716         __extern_always_inline.
48717         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48718         32-bit.
48720 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48722         * elf/rtld.c (dl_main): Also relocate in dependency order when
48723         doing symbol dependency testing.
48725 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48727         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48728         Always define `refsym'.
48730 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48732         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48733         (__FD_ELT): Renamed from __FDELT.
48734         * misc/bits/select2.h (__FD_ELT): Likewise.
48735         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48736         __FD_MASK instead of __FDELT, __FDMASK.
48737         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48738         Likewise.
48739         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48740         Likewise.
48742         * elf/Makefile (gen-ldd): Fix pattern.
48744         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48745         (init_tls): Likewise.
48747 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48749         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48751 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48753         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48754         `struct cmsghdr *' instead of `void *'.
48755         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48756         Likewise.
48758 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48760         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48761         if non-absolute.
48762         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48763         ldd_rewrite_script.
48765 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48767         * configure.in: Remove --with-tls option.
48768         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48769         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48770         out in case it is missing.
48771         * sysdeps/ia64/elf/configure.in: Likewise.
48772         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48773         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48774         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48775         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48776         * sysdeps/sh/elf/configure.in: Likewise.
48777         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48778         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48779         * sysdeps/x86_64/elf/configure.in: Likewise.
48780         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48781         * sysdeps/mach/hurd/tls.h: Likewise.
48783         [BZ #13067]
48784         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48786         [BZ #13090]
48787         * configure.in: Fix use of AC_INIT.
48789         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48791 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48793         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48794         __set_errno.
48795         * malloc/hooks.c: Likewise.
48797         [BZ #11929]
48798         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48799         variables statically.
48800         (narenas): Initialize.
48801         (list_lock): Initialize.
48802         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48803         initializtion of main_arena and list_lock.  Small cleanups.
48804         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48805         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48806         Add initializers to main_arena and mp_.
48807         (malloc_state): Remove pagesize member.  Change all users to use
48808         GLRO(dl_pagesize).
48810         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48811         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48812         is always initialized.
48814         * malloc/malloc.c: Removed unused configurations and dead code.
48815         * malloc/arena.c: Likewise.
48816         * malloc/hooks.c: Likewise.
48817         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48819         * include/tls.h: Removed.  USE___THREAD must always be defined.
48820         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48821         * elf/dl-libc.c: Likewise.
48822         * elf/dl-tsd.c: Likewise.
48823         * include/errno.h: Likewise.
48824         * include/netdb.h: Likewise.
48825         * include/resolv.h: Likewise.
48826         * inet/herrno-loc.c: Likewise.
48827         * inet/herrno.c: Likewise.
48828         * malloc/arena.c: Likewise.
48829         * malloc/hooks.c: Likewise.
48830         * malloc/malloc.c: Likewise.
48831         * resolv/res-state.c: Likewise.
48832         * resolv/res_libc.c: Likewise.
48833         * sysdeps/i386/dl-machine.h: Likewise.
48834         * sysdeps/ia64/dl-machine.h: Likewise.
48835         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48836         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48837         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48838         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48839         * sysdeps/sh/dl-machine.h: Likewise.
48840         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48841         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48842         * sysdeps/unix/i386/sysdep.S: Likewise.
48843         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48844         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48849         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48850         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48851         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48853         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48854         * sysdeps/x86_64/dl-machine.h: Likewise.
48855         * tls.make.c: Likewise.
48857         * configure.in: Remove --with-__thread option.  Make tests for
48858         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48859         tls_model attribute fail if no support is available.  Remove
48860         USE_IN_LIBIO.
48861         * Makeconfig: Adjust for dropped configure option.  All features are
48862         now mandatory.
48863         * Makerules: Likewise.
48864         * Versions.def: Likewise.
48865         * argp/argp-fmtstream.c: Likewise.
48866         * argp/argp-fmtstream.h: Likewise.
48867         * argp/argp-help.c: Likewise.
48868         * assert/assert.c: Likewise.
48869         * config.h.in: Likewise.
48870         * config.make.in: Likewise.
48871         * configure: Likewise.
48872         * configure.in: Likewise.
48873         * csu/Versions: Likewise.
48874         * csu/init.c: Likewise.
48875         * elf/tst-audit2.c: Likewise.
48876         * elf/tst-tls10.c: Likewise.
48877         * elf/tst-tls10.h: Likewise.
48878         * elf/tst-tls11.c: Likewise.
48879         * elf/tst-tls12.c: Likewise.
48880         * elf/tst-tls14.c: Likewise.
48881         * elf/tst-tlsmod11.c: Likewise.
48882         * elf/tst-tlsmod12.c: Likewise.
48883         * elf/tst-tlsmod13.c: Likewise.
48884         * elf/tst-tlsmod13a.c: Likewise.
48885         * elf/tst-tlsmod14a.c: Likewise.
48886         * elf/tst-tlsmod15b.c: Likewise.
48887         * elf/tst-tlsmod16a.c: Likewise.
48888         * elf/tst-tlsmod16b.c: Likewise.
48889         * elf/tst-tlsmod7.c: Likewise.
48890         * elf/tst-tlsmod8.c: Likewise.
48891         * elf/tst-tlsmod9.c: Likewise.
48892         * gmon/gmon.c: Likewise.
48893         * grp/fgetgrent_r.c: Likewise.
48894         * grp/putgrent.c: Likewise.
48895         * hurd/fopenport.c: Likewise.
48896         * include/libc-symbols.h: Likewise.
48897         * include/tls.h: Likewise.
48898         * intl/gettextP.h: Likewise.
48899         * intl/loadinfo.h: Likewise.
48900         * locale/global-locale.c: Likewise.
48901         * locale/localeinfo.h: Likewise.
48902         * mach/devstream.c: Likewise.
48903         * malloc/arena.c: Likewise.
48904         * malloc/set-freeres.c: Likewise.
48905         * misc/err.c: Likewise.
48906         * misc/getttyent.c: Likewise.
48907         * misc/mntent_r.c: Likewise.
48908         * posix/getopt.c: Likewise.
48909         * posix/wordexp.c: Likewise.
48910         * pwd/fgetpwent_r.c: Likewise.
48911         * resolv/Versions: Likewise.
48912         * resolv/res_hconf.c: Likewise.
48913         * shadow/fgetspent_r.c: Likewise.
48914         * shadow/putspent.c: Likewise.
48915         * stdio-common/printf_fphex.c: Likewise.
48916         * stdio-common/tmpfile.c: Likewise.
48917         * stdlib/abort.c: Likewise.
48918         * stdlib/fmtmsg.c: Likewise.
48919         * sunrpc/auth_unix.c: Likewise.
48920         * sunrpc/clnt_perr.c: Likewise.
48921         * sunrpc/clnt_tcp.c: Likewise.
48922         * sunrpc/clnt_udp.c: Likewise.
48923         * sunrpc/clnt_unix.c: Likewise.
48924         * sunrpc/openchild.c: Likewise.
48925         * sunrpc/svc_simple.c: Likewise.
48926         * sunrpc/svc_tcp.c: Likewise.
48927         * sunrpc/svc_udp.c: Likewise.
48928         * sunrpc/svc_unix.c: Likewise.
48929         * sunrpc/xdr.c: Likewise.
48930         * sunrpc/xdr_array.c: Likewise.
48931         * sunrpc/xdr_rec.c: Likewise.
48932         * sunrpc/xdr_ref.c: Likewise.
48933         * sunrpc/xdr_stdio.c: Likewise.
48935 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48937         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48939 2011-07-03  Andreas Jaeger  <aj@suse.de>
48941         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48942         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48943         regenerate with gen-libm-tests.pl.
48945 2010-05-12  Petr Baudis  <pasky@suse.cz>
48947         [BZ #11589]
48948         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48949         around j0() zero points by switching to j1().
48950         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48951         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48953         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48955 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48957         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48958         instead of 0.
48959         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48960         instead of 0.
48961         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48962         Patch in part by Pavel Roskin <proski@gnu.org>.
48964         [BZ #13138]
48965         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48966         realloc.
48967         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
48968         Free memory block if necessary.
48970         [BZ #12847]
48971         * libio/genops.c (INTDEF): For string streams the _lock pointer can
48972         be NULL.  Don't lock in this case.
48974 2011-09-09  Roland McGrath  <roland@hack.frob.com>
48976         * elf/elf.h (ELFOSABI_GNU): New macro.
48977         (ELFOSABI_LINUX): Define to that.
48979 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
48981         * string/strncat.c (strncat): Undef the symbol in case it has been
48982         defined in bits/string.h.
48984 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48986         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48988         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48989         link map.
48991 2011-08-17  Andreas Jaeger  <aj@suse.de>
48993         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48995 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48996             Ian Lance Taylor  <iant@google.com>
48998         * math/libm-test.inc (lround_test): New testcase.
48999         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49001 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49003         * Makefile: Remove support for automatic cvs check-ins.
49004         * Makerules: Likewise.
49005         * config.make.in: Likewise.
49006         * configure.in: Likewise.
49007         * intl/Makefile: Likewise.
49008         * locale/Makefile: Likewise.
49009         * po/Makefile: Likewise.
49010         * posix/Makefile: Likewise.
49011         * sysdeps/gnu/Makefile: Likewise.
49012         * sysdeps/mach/hurd/Makefile: Likewise.
49013         * sysdeps/sparc/sparc32/Makefile: Likewise.
49015         [BZ #13118]
49016         * posix/Makefile (bug-regex32-ENV): Define.
49017         Patch by John Stanley <jpsinthemix@verizon.net>.
49019         * misc/Makefile (headers): Add bits/select2.h.
49020         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49021         * misc/bits/select2.h: New file.
49022         * include/bits/select2.h: New file.
49023         * debug/Makefile (routines): Add fdelt_chk.
49024         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49025         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49026         FD_ISSET.
49027         * debug/fdelt_chk.c: New file.
49029         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49030         * wcsmbs/test-wmemcmp.c: Likewise.
49031         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49032         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49034 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49036         * string/Makefile (strop-tests): Add memcmp.
49037         * string/test-wmemcmp.c: New file.
49038         * string/test-memcmp.c: Add wmemcmp support.
49040 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49042         [BZ #13153]
49043         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49044         2011-07-19 change.
49046         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49047         garbage value in a __mach_port_mod_refs call in the cases of the
49048         task-self and thread-self ports.
49050 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49052         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49054 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49056         * elf/dl-load.c (lose): Check for non-null L.
49058 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49060         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49062         * elf/dl-libc.c (dlerror_run): Pass back error code from
49063         dl_catch_error.
49065         [BZ #13123]
49066         * elf/dl-load.c (lose): Free l_origin if it is valid.
49068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49069         names.
49070         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49071         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49072         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49073         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49074         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49075         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49077 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49079         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49080         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49081         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49082         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49083         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49084         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49085         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49086         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49087         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49088         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49090 2011-08-15  Alan Modra  <amodra@gmail.com>
49092         [BZ #13092]
49093         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49094         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49095         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49096         ppc_mcount to static-only-routines.
49097         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49098         __mcount_internal.
49099         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49100         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49102 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49104         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49105         for finite and infinity parameters.
49107 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49109         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49110         and add nop instructions for throughput optimization.
49111         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49113 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49115         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49116         aligned copy for power7 with vector-scalar instructions.
49117         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49119 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49121         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49122         AVX check.
49124 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49126         [BZ #13144]
49127         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49128         last change.
49130 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49132         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49133         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49134         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49135         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49136         clock_gettime.
49138 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49140         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49141         Forgot to demangle the pointer.
49143         * sysdeps/i386/sysdep.h: Define atom_text_section.
49144         * sysdeps/x86_64/sysdep.h: Likewise.
49145         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49146         section with atom_text_section.
49147         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49148         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49149         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49150         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49151         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49153         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49154         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49155         already be defined.  Change to take two parameters and don't assign
49156         result to variable.  Adjust all users.
49157         Define INTERNAL_GETTIME if not already defined.
49158         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49159         call.
49160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49161         HAVE_CLOCK_GETTIME_VSYSCALL.
49162         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49165         gettimeofday vsyscall, just use time.
49167 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49170         <errno.h>.
49172 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49174         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49175         syscall on x86-64.
49176         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49177         syscall.
49178         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49179         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49180         syscall if possible.
49182 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49184         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49185         e_ident.  Don't pass to find_mapsXX.
49186         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49188 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49191         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49192         * sysdeps/x86_64/multiarch/strchr.S: Update.
49193         Check bit_slow_BSF bit.
49194         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49195         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49196         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49198 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49200         [BZ #13134]
49201         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49202         before glibc 2.15.
49203         (tryshell): Define.
49204         (__spawni): Change last parameter to be flag.  Test
49205         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49206         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49207         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49208         * posix/spawni.c: Likewise.
49209         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49210         * posix/spawnp.c: Likewise.  Change normal version to use
49211         SPAWN_XFLAGS_USE_PATH.
49212         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49213         SPAWN_XFLAGS_TRY_SHELL.
49215         [BZ #13150]
49216         * posix/glob.h: Remove gcc 1.x support.
49218         [BZ #13068]
49219         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49221 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49224         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49225         strrchr-sse2-bsf
49226         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49227         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49228         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49229         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49230         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49231         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49233 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49235         * sysdeps/x86_64/wcscmp.S: New file.
49237         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49238         wcscmp-c wcscmp-sse2
49239         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49240         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49241         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49242         * wcsmbs/wcscmp.c: Allow renaming.
49244 2011-09-05  David S. Miller  <davem@davemloft.net>
49246         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49247         stack slot, rather than the struct return pointer slot.
49248         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49249         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49251         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49253 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49255         * po/ja.po: Update from translation team.
49257         [BZ #13144]
49258         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49259         kernel in 64-bit binaries.
49261 2011-09-01  David S. Miller  <davem@davemloft.net>
49263         * elf/elf.h (HWCAP_SPARC_*): Move to..
49264         * sysdeps/sparc/sysdep.h: this new file and add new values.
49265         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49266         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49267         _DL_HWCAP_COUNT to 24.
49268         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49269         entries.
49270         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49271         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49272         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49274         instead of magic constants.
49275         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49277 2011-08-31  David S. Miller  <davem@davemloft.net>
49279         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49281         Reimplement to do errno handling inline.
49282         (SYSCALL_ERROR_HANDLER): New macro.
49283         (__SYSCALL_STRING): Do not do errno handling in asm.
49284         (__CLONE_SYSCALL_STRING): Delete.
49285         (__INTERNAL_SYSCALL_STRING): Delete.
49286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49287         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49288         (PSEUDO): Reimplement to do errno handling inline.
49289         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49290         (SYSCALL_ERROR_HANDLER): New macro.
49291         (__SYSCALL_STRING): Do not do errno handling in asm.
49292         (__CLONE_SYSCALL_STRING): Delete.
49293         (__INTERNAL_SYSCALL_STRING): Delete.
49294         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49295         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49296         i386.
49297         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49298         (inline_syscall*): Add 'err' argument.
49299         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49300         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49301         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49302         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49304         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49305         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49307 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49309         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49311 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49313         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49314         directive.
49316 2011-08-24  David S. Miller  <davem@davemloft.net>
49318         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49320 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49322         * elf/Makefile: Add rules to build and run unload8 test.
49323         * elf/unload8.c: New file.
49324         * elf/unload8mod1.c: New file.
49325         * elf/unload8mod1x.c: New file.
49326         * elf/unload8mod2.c: New file.
49327         * elf/unload8mod3.c: New file.
49329         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49330         it wasn't used.
49332 2011-08-23  David S. Miller  <davem@davemloft.net>
49334         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49335         subtract stack bias.
49336         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49337         %sp not %fp in calculations.
49338         (_JMPBUF_UNWINDS_ADJ): Likewise.
49340         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49341         (aio_suspend): Call it to force an exception region around the
49342         AIO_MISC_WAIT() invocation.
49344 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49346         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49347         backslash.
49349 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49351         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49352         protection macro.
49353         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49354         and <dl-machine.h>.
49355         (Elf64_FuncDesc): Remove.
49357 2011-08-22  David S. Miller  <davem@davemloft.net>
49359         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49360         sigaltstack check, add missing cfi directives.
49361         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49362         missing cfi directives, and sigaltstack handling.
49364 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49366         [BZ #11724]
49367         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49368         object is seen twice.
49369         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49371         * elf/Makefile (distribute): Add tst-initorder2.c.
49372         (tests): Add tst-initorder2.
49373         (modules-names): Add tst-initorder2a tst-initorder2b
49374         tst-initorder2c tst-initorder2d.  Add rules to build them.
49375         ($(objpfx)tst-initorder2.out): New rule.
49376         * elf/tst-initorder2.c: New file.
49377         * elf/tst-initorder2.exp: New file.
49379 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49381         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49383         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49384         dependencies back to end of function.
49386         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49387         $(elfobjdir)/ld.so.
49389 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49391         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49392         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49393         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49394         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49395         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49396         of __vdso_gettimeofday.
49397         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49398         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49399         attribute_hidden.
49400         (_libc_vdso_platform_setup): Remove initialization of
49401         __vdso_gettimeofday and __vdso_time.
49403 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49405         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49406         and fgetc_unlocked.
49407         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49408         getc_unlocked.
49410         * elf/dl-open.c (add_to_global): Report additions to the global scope
49411         for LD_DEBUG=scopes.
49412         (dl_open_worker): Also print scope of newly loaded dependencies.
49413         (_dl_show_scope): Indicate if there is no scope.
49415         [BZ #13114]
49416         * stdio-common/Makefile (tests): Add bug24.
49417         * stdio-common/bug24.c: New file.
49419 2011-08-19  Andreas Jaeger  <aj@suse.de>
49421         [BZ #13114]
49422         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49423         non-existant file when using close-on-exec mode.
49425 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49427         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49428         the very first instruction.
49430         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49431         the CFI state in the end.
49432         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49433         inclusion of dl-trampoline.h.
49434         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49436 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49438         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49439         expectations for long double.
49441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49442         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49444 2011-08-14  David S. Miller  <davem@davemloft.net>
49446         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49447         artificual limit depends upon the system page size.
49449 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49451         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49452         * resolv/Makefile: Define CFLAGS-libresolv.
49454 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49456         * nss/makedb.c (compute_tables): Make variables used in nested
49457         function static.
49459 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49461         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49462         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49463         if buffer was too small.
49465         * elf/pldd.c (main): Attach to all threads in the process.
49466         Rewrite /proc handling to use *at functions.
49468 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49470         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49471         specifies first scope to show.
49472         (dl_open_worker): Update callers.  Move printing scope of new
49473         object to before the relocation.
49474         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49475         * sysdeps/generic/ldsodefs.h: Update declaration.
49477         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49478         string for the scope number.
49480 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49482         * nscd/servicescache.c (cache_addserv): Make sure written is always
49483         initialized.
49485 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49487         * sysdeps/i386/i486/bits/atomic.h
49488         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49489         statement expression, so as to suppress "set but not used" warning.
49490         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49492         * string/strncat.c (STRNCAT): Use prototype definition.
49494         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49495         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49496         -Iprograms here.
49497         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49498         (localedef-modules): Add localedef.
49499         (locale-modules): Add locale.
49501         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49502         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49503         to avoid a warning.
49505 2011-08-14  David S. Miller  <davem@davemloft.net>
49507         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49508         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49510 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49512         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49513         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49514         * elf/rtld.c (dl_main): Set l_name of vDSO.
49515         Call _dl_show_scope when DL_DEBUG_SCOPES.
49516         (process_dl_debug): Recognize scopes flag and also set it for all.
49517         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49518         Declare _dl_show_scope.
49520         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49521         (do_dlopen): Pass caller_dlopen to dl_open.
49522         (__libc_dlopen_mode): Initialize caller_dlopen.
49524         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49525         of libc.  Make tolower call locale-independent.  Optimize a bit by
49526         using isdigit instead of isalnum.
49527         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49529 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49531         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49532         was a dependency or dynamically loaded.
49534 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
49536         * intl/l10nflist.c: Allow architecture-specific pop function.
49537         * sysdeps/x86_64/l10nflist.c: New file.
49539         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49540         classification.
49542 2011-08-10  Andreas Schwab  <schwab@redhat.com>
49544         * include/dirent.h: Add libc_hidden_proto for scandirat and
49545         scandirat64.  Don't declare __scandirat64.
49546         * dirent/scandirat.c: Add libc_hidden_def.
49547         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49548         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49550 2011-08-10  David S. Miller  <davem@davemloft.net>
49552         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49553         enum.
49554         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49555         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49556         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49558 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
49560         * Versions.def [libc]: Add GLIBC_2.15.
49561         * dirent/Makefile (routines): Add scandirat and scandirat64.
49562         * dirent/Versions [libc]: Export scandirat and scandirat64 for
49563         GLIBC_2.15.
49564         * dirent/dirent.h: Declare scandirat and scandirat64.
49565         * dirent/scandirat.c: New file.
49566         * dirent/scandirat64.c: New file.
49567         * sysdeps/wordsize-64/scandirat.c: New file.
49568         * sysdeps/wordsize-64/scandirat64.c: New file.
49569         * dirent/opendir.c: Define opendirat.
49570         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
49571         using scandirat.
49572         * dirent/scandir64.c: Adjust for scandir.c change.
49573         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
49574         __scandirat64, and __scandir_cancel_handler.
49575         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
49576         additional parameter and use openat instead of open (outside of ld.so).
49577         Add new __opendir as wrapper around __opendirat.
49578         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49579         here without requiring old scandirat implementation.
49581 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
49583         * dirent/scandir.c (cancel_handler): Renamed to
49584         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
49585         defined.  Adjust users.
49586         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49587         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49589 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
49591         * string/test-string.h (IMPL): Use __STRING to expand name and then
49592         stringify it.
49594         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
49595         of cleanups.
49597 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49599         * string/Makefile: Update.
49600         (strop-tests): Append strncat.
49601         * string/test-wcscmp.c: New file.
49602         New comprehensive test for wcscmp.
49603         * string/test-strcmp.c: Update.
49604         (WIDE): New define.
49606 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49608         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49609         line.
49611 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49614         encoding to ACE if AI_IDN.
49616 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49618         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49619         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49621 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49624         Fix overflow bug in strncat.
49625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49627         * string/test-strncat.c: Update.
49628         Add new tests for checking overflow bugs.
49630 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49632         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49633         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49634         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49635         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49636         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49637         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49638         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49639         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49640         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49642         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49643         (USE_AS_STRCAT): Define.
49644         Add strcat and strncat support.
49645         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49647 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49649         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49650         __n bigger than INT_MAX+1.
49651         (__strncmp_g): Likewise.
49653 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49655         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49656         * libio/stido.h: Likewise.
49658         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49659         (AF_NFC): Define.
49660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49661         (AF_NFC): Define.
49663         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49664         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49665         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49666         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49667         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49669         [BZ #13021]
49670         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49671         installed.
49673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49674         typo.
49675         (_dl_x86_64_save_sse): Likewise.
49677 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49680         OSXSAVE.
49681         (_dl_x86_64_save_sse): Likewise.
49683         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49685         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49687 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49689         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49690         change.
49691         (_dl_x86_64_save_sse): Use correct AVX check.
49693 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49695         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49696         bug in strncpy/strncat.
49697         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49699 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49701         * string/tester.c (test_strcat): Add tests for different alignments
49702         of source and destination.
49703         (test_strncat): Likewise.
49705 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49707         [BZ #12852]
49708         * posix/glob.c (glob): Check passed in values before using them in
49709         expressions to avoid some overflows.
49710         (glob_in_dir): Likewise.
49712         [BZ #13007]
49713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49714         check for AVX enablement so that we don't crash with old kernels and
49715         new hardware.
49716         * elf/tst-audit4.c: Add same checks here.
49717         * elf/tst-audit6.c: Likewise.
49719         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49721 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49723         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49725 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49727         * po/cs.po: Update from translation team.
49728         * po/bg.po: Likewise.
49730 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49732         * misc/sys/cdefs.h: Add support for const attribute.
49733         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49734         to gnu_dev_{major,minor,makedev} functions.
49736 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49738         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49740 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49742         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49743         strlen results.
49745 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49748         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49749         register in order to avoid conflicts with the soft frame pointer
49750         being held in r11 when necessary.
49751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49752         (INTERNAL_VSYSCALL_NCS): Likewise.
49754 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49756         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49757         * elf/dl-fini.c (_dl_fini): Adjust caller.
49758         * elf/dl-close.c (_dl_close_worker): Likewise.
49759         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49761 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49763         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49764         "aux_cache->nlibs < 0".
49766         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49767         in the reload-count case.
49769 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49772         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49773         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49774         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49775         * sysdeps/x86_64/multiarch/strcat.S: New file.
49776         * sysdeps/x86_64/multiarch/strncat.S: New file.
49777         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49778         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49779         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49780         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49781         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49782         (USE_AS_STRCAT): Define.
49783         Add strcat and strncat support.
49784         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49785         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49786         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49787         * string/strncat.c: Update.
49788         (USE_AS_STRNCAT): Define.
49789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49790         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49791         and i7.
49792         * sysdeps/x86_64/multiarch/init-arch.h
49793         (bit_Prefer_PMINUB_for_stringop): New.
49794         (index_Prefer_PMINUB_for_stringop): Likewise.
49795         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49796         bit_Prefer_PMINUB_for_stringop.
49798 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49800         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49801         buffer64.
49802         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49803         of casting of buffer.
49804         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49805         buffer32 and buffer64.
49806         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49807         writes instead of casting of buffer.
49808         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49809         buffer32.
49810         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49811         casting of buffer.
49813 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49815         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49817 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49819         * nscd/nscd.c (termination_handler): Don't do anything for a database
49820         if it has not yet been initialized.
49822 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49824         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49826 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49828         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49830 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49832         * po/nl.po: Update from translation team.
49833         * po/sv.po: Likewise.
49835 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49837         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49838         now disallowed by GCC.
49840         * configure.in (use-default-link): Default to yes if a test -shared
49841         link meets our qualifications.
49842         * configure: Regenerated.
49844         * config.make.in (output-format): New variable.
49845         * configure.in: Check for ld --print-output-format support.
49846         * configure: Regenerated.
49847         * Makerules ($(common-objpfx)format.lds)
49848         [$(output-format) != unknown]: Just use $(output-format),
49849         instead of the linker-script munging.
49851 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49853         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49854         of $(common-objpfx)shlib.lds.
49855         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49857         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49858         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49860         * configure.in (-z relro check): Adjust test code to add a large
49861         writable data section after it.
49862         * configure: Regenerated.
49864 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49866         * configure.in (-z relro check): Fix test code to make the variable
49867         truly const.
49868         * configure: Regenerated.
49870 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49872         * nscd/nscd.h (struct traced_file): Define.
49873         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49874         elements.  Add traced_files.
49875         (inotify_fd): Declare.
49876         (register_traced_file): Declare.
49877         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49878         (inotify_fd): Export.
49879         (resolv_conf_descr): Remove.
49880         (nscd_init): Move inotify descriptor creation to main.
49881         Don't register files for notification here.
49882         (register_traced_file): New function.
49883         (invalidate_cache): Don't use reset_res to determine whether to call
49884         res_init, go through the list of registered files.
49885         (main_loop_poll): The inotify descriptors are now stored in the
49886         structures for the traced files.
49887         (main_loop_epoll): Likewise
49888         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49889         to __nss_disable_nscd.
49890         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49891         for a database anymore.  Check the records for all the registered
49892         files instead.
49893         * nss/Makefile (libnss_files-routines): Add files-init.
49894         (libnss_db-routines): Add db-init.
49895         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49896         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49897         * nss/nss_db/db-init.c: New file.
49898         * nss/nss_files/files-init.c: New file.
49899         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49900         __nss_lookup_function.
49901         (__nss_lookup_function): Call nss_load_library.
49902         (nss_load_all_libraries): New function.
49903         (__nss_disable_nscd): Take parameter with callback function for files
49904         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49905         used for the cached services.
49906         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49907         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49908         options for features to all the files in nscd.
49910         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49912 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49914         * csu/elf-init.c (__libc_csu_init): Comment typo.
49916 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49918         * po/pl.po: Update from translation team.
49919         * po/ja.po: Likewise.
49920         * po/ru.po: Likewise.
49921         * po/ko.po: Likewise.
49922         * po/fr.po: Likewise.
49924 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49926         * configure.in (.ctors/.dtors header and trailer check):
49927         Use an empirical test on a built program.
49928         * configure: Regenerated.
49930         * configure.in (-z relro check): Use an empirical test on a built DSO.
49931         Detect, but do not require, on ia64.
49932         * configure: Regenerated.
49934         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49935         Update tests that use readelf to use $READELF instead.
49936         * configure: Regenerated.
49938 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49940         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49941         if the result is not used.
49943 2011-07-05  Andreas Jaeger  <aj@suse.de>
49945         [BZ#9696]
49946         * stdlib/tst-strtod.c: Add testcase.
49948 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49950         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49951         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49952         The latter has a higher limit.  Take additional parameter to pass to
49953         the new function.
49954         (__pathconf): Pass file to __statfs_link_max.
49955         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49956         __statfs_link_max.
49957         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49958         __statfs_link_max.
49960         [BZ #12868]
49961         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49962         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49963         Handle Lustre.
49964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49965         (__statfs_filesize_max): Likewise.
49966         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49968 2011-07-05  Andreas Jaeger  <aj@suse.de>
49970         * resolv/res_comp.c (dn_skipname): Remove unused variable.
49972 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
49974         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49975         `status' variable.
49976         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49977         Likewise.
49979 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
49981         * Makefile (strop-tests): Add strncat.
49982         * string/test-strncat.c: New file.
49984 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
49986         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49988 2011-06-21  Andreas Jaeger  <aj@suse.de>
49990         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49991         Copy rule from iconvdata/Makefile.
49993 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
49995         [BZ #12922]
49996         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49997         but no long options are defined, just return 'W'.
49999 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50001         [BZ #9696]
50002         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50004 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50006         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50007         netgroups to read.
50008         (innetgr): Likewise.
50010 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50012         * config.make.in (install_root): Default to $(DESTDIR).
50014 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50016         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50018 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50020         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50022         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50023         containing directory rather than embedding absolute directory names.
50025         * scripts/check-local-headers.sh: Rewritten using awk.
50026         Match by word, not by line.  Print error messages for matches.
50027         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50029         * Makerules [shlib-lds-flags empty]:
50030         ($(common-objpfx)libc_pic.opts): New target.
50031         ($(common-objpfx)libc_pic.os.clean): New target.
50032         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50034         * config.make.in (OBJCOPY): New variable.
50035         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50036         * configure: Regenerated.
50038         * config.make.in (use-default-link): New variable.
50039         * configure.in (use_default_link): Grok --with-default-link to set it.
50040         * configure: Regenerated.
50041         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50042         (shlib-lds, shlib-lds-flags): Define to empty.
50044         * Makerules (shlib-lds): New variable.
50045         (shlib-lds-flags): New variable.
50046         (build-shlib, build-moduile, build-module-asneeded): Use it.
50047         ($(common-objpfx)libc.so): Use $(shlib-lds).
50048         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50049         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50051         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50052         DT_FLAGS/DT_FLAGS_1 with zero flags.
50054         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50055         linker script munging.
50057 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50059         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50060         as 128-bit value.
50061         * crypt/sha512.c (sha512_process_block): Perform total addition using
50062         128-bit if possible.
50063         (__sha512_finish_ctx): Likewise.
50064         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50065         as 64-bit value.
50066         * crypt/sha256.c (SWAP64): Define.
50067         (sha256_process_block): Perform total addition using 64-bit if
50068         possible.
50069         (__sha256_finish_ctx): Likewise.
50071 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50073         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50074         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50075         * nscd/hstcache.c (cache_addhst): Likewise.
50076         * nscd/grpcache.c (cache_addgr): Likewise.
50077         * nscd/aicache.c (addhstaiX): Likewise
50078         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50080 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50082         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50083         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50084         * nscd/hstcache.c (cache_addhst): Likewise.
50085         * nscd/grpcache.c (cache_addgr): Likewise.
50086         * nscd/aicache.c (addhstaiX): Likewise
50088 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50090         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50091         domain only when needed.
50093 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50096         is always restored.
50098 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50100         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50101         are re-adding the entry.
50102         * nscd/servicescache.c (cache_addserv): Likewise.
50104 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50106         * sysdeps/generic/dl-irel.h: fix protection against multiple
50107         inclusions.
50108         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50110 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50112         [BZ #12935]
50113         * malloc/memusage.sh: Fix quoting in message.
50114         * debug/xtrace.sh: Likewise.
50116         * configure.in: Remove support for --experimental-malloc option, make
50117         it the default.
50118         * config.make.in: Likewise.
50119         * malloc/Makefile: Likewise.
50121 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50123         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50124         two-byte characters.
50126 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50128         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50129         AC_CACHE_CHECK invocation.
50130         * configure: Regenerated.
50132         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50134 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50136         [BZ #12350]
50137         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50138         bit from old_res_options.
50140         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50142         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50143         value type for setfct.
50145 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50147         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50148         __gettimeofday instead of gettimeofday.
50150 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50152         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50154 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50156         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50158         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50159         info.
50161 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50164         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50165         strcpy-sse2-unaligned strncpy-sse2-unaligned
50166         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50167         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50168         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50169         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50170         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50171         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50172         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50173         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50174         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50175         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50176         (STRCPY): Support SSE2 and SSSE3 versions.
50178 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50180         [BZ #12874]
50181         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50182         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50183         kernels which artificially limit size of requests.
50185 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50188         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50189         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50190         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50191         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50192         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50193         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50194         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50195         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50196         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50197         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50198         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50199         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50200         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50201         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50203         Enable unaligned load optimization for Intel Core i3, i5 and i7
50204         processors.
50205         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50206         Define.
50207         (index_Fast_Unaligned_Load): Define.
50208         (HAS_FAST_UNALIGNED_LOAD): Define.
50210 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50212         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50214 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50216         [BZ #12907]
50217         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50218         until it is clear that the information is realy needed.
50219         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50221 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50225 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50228         /sys/devices/system/cpu/online if it is usable.
50230         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50231         reading the information from the /proc filesystem to once a second.
50233 2011-06-21  Andreas Jaeger  <aj@suse.de>
50235         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50236         NULL after inclusion of kernel headers.
50238 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50240         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50241         calls to internal_setent.
50243         [BZ #12885]
50244         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50245         addresses using gethostbyname4_r ignore IPv4 addresses.
50247         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50248         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50250         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50252 2011-06-20  David S. Miller  <davem@davemloft.net>
50254         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50255         inclusions.
50256         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50258         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50259         (elf_irel): Use it.
50260         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50261         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50262         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50263         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50264         * sysdeps/x86_64/dl-irel.h: Likewise.
50266         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50267         * elf/dl-sym.c: Likewise.
50269 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50271         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50272         need to dereference resplen2.
50274 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50276         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50278 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50280         * Makeconfig: Define vardbdir and inst_vardbdir.
50281         * nss/Makefile: Add rules to install db-Makefile.
50283         * nss/nss_db/db-XXX.c: Cleanup.
50285         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50286         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50287         GLIBC_PRIVATE.
50288         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50289         * nss/makedb.c: Implement -g option to specify that value strings
50290         are generated and should not be added to table iterated over for
50291         get*ent calls.
50292         * nss/nss_db/db-initgroups.c: New file.
50294         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50295         interface.
50297         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50298         (internal_getgrouplist): Adjust to name change.
50299         Update use_initgroups_entry if this is not the first call.
50300         * nss/databases.def: Add initgroups entry.
50302         * nss/makedb.c (compute_tables): Check result of multiple hash table
50303         sizes to minimize maximum chain length.
50305 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50307         * Versions.def: Add entry for libnss_db.
50308         * shlib-versions: Likewise.
50309         * nss/Makefile: Add rules to build libnss_db.
50310         * nss/Versions: Add libnss_db information.  Organize libnss_files
50311         entries better.
50312         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50313         makedb progra.  Some minor improvements to generate smaller files.
50314         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50315         here from...
50316         * nss/makedb.c: ...here.
50317         Improve database format to be smaller and require less memory at
50318         runtime.
50319         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50320         db anymore.
50321         * nss/nss_db/db-netgrp.c: Likewise.
50322         * nss/nss_db/db-open.c: Likewise.
50323         * nss/nss_files/flies-XXX.x: Adjust comments.
50324         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50325         * nss/nss_files/files-grp.c: Likewise.
50326         * nss/nss_files/files-hosts.c: Likewise.
50327         * nss/nss_files/files-network.c: Likewise.
50328         * nss/nss_files/files-proto.c: Likewise.
50329         * nss/nss_files/files-pwd.c: Likewise.
50330         * nss/nss_files/files-rpc.c: Likewise.
50331         * nss/nss_files/files-service.c: Likewise.
50332         * nss/nss_files/files-sgrp.c: Likewise.
50333         * nss/nss_files/files-spwd.c: Likewise.
50334         * nss/nss_db/db-alias.c: Removed.
50335         * nss/nss_db/dummy-db.h: Removed.
50337 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50339         * nss/makedb.c: Rewritten to not use database library.
50340         * nss/Makefile: Update to build new makedb program.
50342 2011-06-14  Andreas Jaeger  <aj@suse.de>
50344         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50345         memset declaration.
50347 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50350         tmpbuf.
50352 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50354         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50355         * elf/Makefile ($(objpfx)ld.so): Likewise.
50357         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50358         Don't list ld.so twice in dependencies.
50360         * posix/bug-regex31.c: Include <stdlib.h>.
50362         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50364         * nis/nss_compat/compat-spwd.c
50365         (getspent_next_nss_netgr): Remove unused variable.
50366         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50368         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50369         nonmembers" output to use the right array.
50371         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50373         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50375         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50376         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50377         * catgets/gencat.c (read_input_file): Likewise.
50378         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50380         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50381         variable definition inside #if's controlling its use.
50383         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50385         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50387         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50389         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50390         unreachable code.
50392         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50394         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50395         * configure: Regenerated.
50397         * Makerules: Revert last change.
50398         * elf/Makefile: Likewise.
50400 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50402         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50403         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50404         (reloc-link): Likewise.
50406 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50408         * elf/Makefile: Add rules to build pldd.
50409         * elf/pldd.c: New file.
50410         * elf/pldd-xx.c: New file.
50412 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50414         * version.h: Update for 2.15 development version.
50416 2011-06-07  David S. Miller  <davem@davemloft.net>
50418         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50419         ifuncs.
50420         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50421         elf_machine_lazy_rel): Likewise.
50422         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50424         elf_machine_lazy_rel): Likewise.
50425         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50426         dl_hwcap via passed in argument.
50427         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50428         Likewise.
50430 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50432         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50434 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50436         [BZ #12849]
50437         * manual/fdl-1.1.texi: New file, verbatim from:
50438         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50439         * manual/lgpl-2.1.texi: New file, verbatim from:
50440         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50441         * manual/Makefile (licenses): New variable, list those new file names.
50442         (texis): Use it.
50443         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50445         * manual/fdl.texi: File removed.
50446         * manual/lesser.texi: File removed.
50447         * manual/libc.texinfo (Copying, Documentation License):
50448         Use new @include file names, put @appendix directive before @include.
50450 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50452         [BZ #12841]
50453         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50454         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50455         (mq_open): Add __NTH.
50457 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50460         Assume Intel Core i3/i5/i7 processor if AVX is available.
50462 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50465         typo.
50467 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50469         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50470         memory.  Use alloca_account.  Fix memory leak when retrying.
50472 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50474         * version.h (RELEASE): Bump for 2.14 release.
50475         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50477         * config.make.in (RANLIB): Remove entry.
50479 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50481         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50482         (libc.pot): Work around missing support for .ksh extension in xgettext.
50484         [BZ #12684]
50485         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50486         if both request failed.
50487         (send_dg): In case of server errors clear resplen or *resplen2.
50489         [BZ #12454]
50490         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50491         when there are multiple maps.
50492         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50493         (_dl_fini): Remove test here.
50495         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50497 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50499         [BZ #12350]
50500         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50501         bit from old_res_options.
50502         (gaih_inet): Likewise.
50504         [BZ #11099]
50505         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50506         as signed.
50508         * resolv/res_init.c (res_setoptions): Make the code more compact.
50510         [BZ #11558]
50511         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50512         set RES_USEVC.
50514         [BZ #11634]
50515         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50517         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50519         [BZ #11781]
50520         * malloc/malloc.h: Declare malloc hook variables as volatile.
50522         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50523         in last patch.
50525         [BZ #11799]
50526         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50527         raise in the comment.
50528         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50529         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50530         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50532 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50534         [BZ #12811]
50535         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50536         grow the buffers more if it already has to be sufficient.
50537         (build_wcs_upper_buffer): Likewise.
50538         * posix/regexec.c (check_matching): Likewise.
50539         (clean_state_log_if_needed): Likewise.
50540         (extend_buffers): Don't enlarge buffers beyond size of the input
50541         buffer.
50542         Patches mostly by Emil Wojak <emil@wojak.eu>.
50543         * posix/bug-regex32.c: New file.
50544         * posix/Makefile (tests): Add bug-regex32.
50546         * locale/findlocale.c (_nl_find_locale): Return right away if
50547         _nl_explode_name failed.
50548         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50550         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50552         * debug/xtrace.sh: Unify messages.
50553         * malloc/memusage.sh: Likewise.
50555         [BZ #12813]
50556         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50557         time symbol from vDSO.  Substitute with vsyscall if not available.
50558         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50559         __vdso_time.
50561         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50562         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50563         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50564         Add sendmmsg and internal_sendmmsg.
50565         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50566         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50567         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50569         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50570         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50571         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50573 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
50575         [BZ #12813]
50576         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50577         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
50578         available.
50579         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50580         __vdso_getcpu.
50582         [BZ #12814]
50583         * iconvdata/Makefile (tests): Add bug-iconv9.
50584         * iconvdata/bug-iconv9.c: New file.
50586 2011-05-27  Andreas Schwab  <schwab@redhat.com>
50588         [BZ #12814]
50589         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50591 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
50593         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50594         (struct user_regs_struct): Change intcs field back to cs.
50596 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
50598         * po/ja.po: Update from translation team.
50600 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
50602         [BZ #12795]
50603         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50604         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50606 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50608         * stdlib/longlong.h: Update from GCC.
50610 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50612         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50613         parameter name.
50614         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50615         Add parameter name.
50616         (__sysconf): Pass it down.
50618 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50620         [BZ #12671]
50621         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50622         some situations.
50623         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50624         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50625         add in in __libc_use_alloca calls.  Adjust callers.
50626         (glob): Use malloc in some situations.
50628         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50629         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50630         pltexit.
50632 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50634         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50635         and CLOCK_BOOTTIME_ALARM.
50637         [BZ #12782]
50638         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50639         is returned.
50641         * string/_strerror.c (__strerror_r): Print negative errors as signed
50642         numbers.
50644         [BZ #12777]
50645         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50646         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50647         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50649         * configure.in: Fix typo in redirection and correct removal of test
50650         files in two cases.
50652         [BZ #12788]
50653         * locale/setlocale.c (new_composite_name): Fix test to check for
50654         identical name of all categories.
50656         [BZ #12792]
50657         * libio/filedoalloc.c (local_isatty): New function.
50658         (_IO_file_doallocate): Use local_isatty.
50659         * stdio-common/perror.c (perror): In case a new stream is used
50660         forward the stream error.
50661         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50662         error flag.
50664 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50666         [BZ #11869]
50667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50668         alloca.
50669         * include/alloca.h (extend_alloca_account): Define.
50671         [BZ #11857]
50672         * posix/regex.h: Fix comments with documentation of user-accessible
50673         fields after compilation and describe correct free'ing of pattern
50674         after re_compile_pattern.
50675         Patch by Reuben Thomas <rrt@sc3d.org>.
50677 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50679         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50680         and -mno-altivec to prevent the compiler from using Altivec and/or
50681         VSX instructions when the corresponding registers are not available.
50683 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50685         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50687 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50689         * libio/freopen.c (freopen): Use __dup2, not dup2.
50690         * libio/freopen64.c (freopen64): Likewise.
50692 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50694         [BZ #12775]
50695         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50696         * math/Makefile (tests): Add test-powl.
50697         (CFLAGS-test-powl.c): Define.
50698         * math/test-powl.c: New file.
50700 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50702         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50704 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50706         [BZ #11837]
50707         * iconvdata/gb18030.c: Update to GB18020-2005.
50709 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50711         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50712         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50713         Patch by Aharon Robbins <arnold@skeeve.com>.
50715         [BZ #11892]
50716         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50717         on the stack.
50719         [BZ #11895]
50720         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50721         through underflows.
50723         [BZ #12766]
50724         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50725         point to strings before performing equality test for error_one_per_line
50726         mode.
50728         [BZ #11697]
50729         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50731         [BZ #11820]
50732         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50733         (struct user_fpregs_struct): Avoid __uint*_t types.
50735         [BZ #6420]
50736         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50737         symbol info.  Use it instead of calling _dl_addr locally.
50738         (lock_and_info): New function.
50739         (tr_freehook): Call lock_and_info and pass symbol info as additional
50740         parameter to tr_where.
50741         (tr_mallochook): Likewise.
50742         (tr_reallochook): Likewise.
50743         (tr_memalignhook): Likewise.
50745         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50746         used and couldn't be at all thread-safe.
50748 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50750         * libio/freopen.c (freopen): Don't close old file descriptor
50751         before the new one is opened.  Instead dup the new file descriptor
50752         to the old one after the new stream is created.
50753         * libio/freopen64.c (freopen64): Likewise.
50754         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50755         * libio/fileops.c (_IO_new_file_close_it): Handle new
50756         _IO_FLAGS2_NOCLOSE flag.
50757         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50758         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50759         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50760         _IO_FLAGS2_NOCLOSE flag.
50761         * include/unistd.h: Add hidden_proto for dup3.
50762         Define __have_dup3.
50763         * io/dup3.c: Define hidden symbol.
50764         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50766         [BZ #7101]
50767         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50768         when an incomplete long option is used.
50769         * posix/tst-getopt_long1.c: New file.
50770         * posix/Makefile (tests): Add tst-getopt_long1.
50772         [BZ #10138]
50773         * scripts/config.guess: Update from autoconf-2.68.
50774         * scripts/config.sub: Likewise.
50776         [BZ #10157]
50777         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50778         tests into ...
50779         (has_cpuclock): ...this.  New function.
50780         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50781         macro here based on has_cpuclock code.
50783         [BZ #10149]
50784         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50785         First byte (not low byte) is now always NUL.
50786         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50789         Use non-cancelable interfaces.
50791         [BZ #9809]
50792         * locale/iso-639.def: Add entry for Sorani.
50794         [BZ #11901]
50795         * include/stdlib.h: Move include protection to the right place.
50796         Define abort_msg_s.  Declare __abort_msg with it.
50797         * stdlib/abort.c (__abort_msg): Adjust type.
50798         * assert/assert.c (__assert_fail_base): New function.  Majority
50799         of code from __assert_fail.  Allocate memory for __abort_msg with
50800         mmap.
50801         (__assert_fail): Now call __assert_fail_base.
50802         * assert/assert-perr.c: Remove bulk of implementation.  Use
50803         __assert_fail_base.
50804         * include/assert.hL Declare __assert_fail_base.
50805         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50806         mmap.
50807         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50809 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50811         [BZ #11952]
50812         [BZ #12453]
50813         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50814         until all modules are registered in the DTV.
50815         * elf/Makefile: Add rules to build and run tst-tls19.
50816         * elf/tst-tls19.c: New file.
50817         * elf/tst-tls19mod1.c: New file.
50818         * elf/tst-tls19mod2.c: New file.
50819         * elf/tst-tls19mod3.c: New file.
50820         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50822         [BZ #12083]
50823         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50824         correctly.
50826         [BZ #12601]
50827         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50828         two-byte sequence errors.
50829         * iconvdata/Makefile (tests): Add bug-iconv8.
50830         * iconvdata/bug-iconv8.c: New file.
50832         [BZ #12626]
50833         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50834         buf2 definition.
50836         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50838         [BZ #12432]
50839         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50840         (dummy_getcfa): New function.
50841         (init): Get _Unwind_GetCFA address, use dummy if not found.
50842         (backtrace_helper): In recursion check, also check whether CFA changes.
50843         (__backtrace): Completely initialize arg.
50845         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50846         storing incomplete byte sequence in state object.  Avoid testing for
50847         guaranteed too small input if we know there is enough data available.
50849 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50851         * Makeconfig (+link-pie): Indent.
50852         * Rules (binaries-pie): Define if $(have-fpie) and
50853         $(build-shared).
50854         (binaries-shared): Also filter out $(binaries-pie).
50855         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50856         * nscd/Makefile (others-pie): Add nscd.
50857         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50858         ($(objpfx)nscd): Remove command override.
50859         * login/Makefile (others-pie): Add pt_chown.
50860         ($(objpfx)pt_chown): Remove command override.
50861         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50862         remove command overrides.
50864 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50866         * libio/tst_putwc.c: Fix error messages.
50868         [BZ #12724]
50869         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50870         currently writing and seek to current position when not.
50871         * libio/Makefile (tests): Add bug-fclose1.
50872         * libio/bug-fclose1.c: New file.
50874 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50876         [BZ #12511]
50877         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50878         don't set DF_1_NODELETE here.
50879         (do_lookup_x): When entering new entry test for copy relocation
50880         and if necessary set DF_1_NODELETE flag.
50881         * elf/tst-unique4.cc: New file.
50882         * elf/tst-unique4.h: New file.
50883         * elf/tst-unique4lib.cc: New file.
50884         * elf/Makefile: Add rules to build and run tst-unique4.
50885         Patch by Piotr Bury <pbury@goahead.com>.
50887 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50889         [BZ #12052]
50890         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50892         [BZ #12625]
50893         * misc/mntent_r.c (addmntent): Flush the stream after the output
50895         [BZ #12393]
50896         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50897         (is_trusted_path_normalize): Skip initial colon.  Append slash
50898         to empty buffer.  Duplicate is_trusted_path code but allow
50899         constructed patch to be prefix.
50900         (is_dst): Allow $ORIGIN followed by /.
50901         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50902         Correct testing of result of is_trusted_path_normalize
50903         (decompose_rpath): Fix warning.
50905 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50907         [BZ #11257]
50908         * grp/initgroups.c (internal_getgrouplist): When we found the service
50909         list through the initgroups entry in nsswitch.conf do not always
50910         continue on a successful lookup.  Don't always use the
50911         __nss_group_database value if it is set.
50912         * nss/nsswitch.conf (initgroups): Change action for successful db
50913         lookup to continue for compatibility.
50915 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50917         [BZ #11532]
50918         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50919         and CP774 modules.
50920         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50921         and CP774 modules.
50922         * iconvdata/tst-tables.sh: Likewise.
50923         * iconvdata/cp770.c: New file.
50924         * iconvdata/cp771.c: New file.
50925         * iconvdata/cp772.c: New file.
50926         * iconvdata/cp773.c: New file.
50927         * iconvdata/cp774.c: New file.
50928         * iconvdata/testdata/CP770: New file.
50929         * iconvdata/testdata/CP770..UTF8: New file.
50930         * iconvdata/testdata/CP771: New file.
50931         * iconvdata/testdata/CP771..UTF8: New file.
50932         * iconvdata/testdata/CP772: New file.
50933         * iconvdata/testdata/CP772..UTF8: New file.
50934         * iconvdata/testdata/CP773: New file.
50935         * iconvdata/testdata/CP773..UTF8: New file.
50936         * iconvdata/testdata/CP774: New file.
50937         * iconvdata/testdata/CP774..UTF8: New file.
50939         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50940         END CHARMAP line.
50941         * iconvdata/gen-8bit-gap.sh: Likewise.
50942         * iconvdata/gen-8bit.sh: Likewise.
50944         * locale/iso-639.def: Add ary entry.
50946         [BZ #11258]
50947         * locale/C-translit.h.in: Add U20A1 transliteration.
50949         [BZ #12178]
50950         * locale/iso-639.def: Add wae entry.
50951         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50953         [BZ #12545]
50954         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50955         for n.
50957         [BZ #12711]
50958         * locale/C-translit.h.in: Add entry for U20B9.
50959         Patch by pravin.d.s@gmail.com.
50961 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50963         [BZ #12713]
50964         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50965         ENAMETOOLONG use generic getcwd.
50966         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50967         in rtld.  Use *stat64.
50968         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50969         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50970         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50971         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50972         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50973         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50974         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50975         __fstatat64 macros.
50976         * include/dirent.h: Add libc_hidden_proto for rewinddir.
50977         * dirent/rewinddir.c: Add libc_hidden_def.
50978         * sysdeps/mach/hurd/rewinddir.c: Likewise.
50979         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
50981         * include/dirent.h (__alloc_dir): Add flags parameter.
50982         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50983         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50984         __alloc_dir.
50985         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
50986         from fdopendir if O_CLOEXEC is already set.
50988 2011-03-15  Alan Modra  <amodra@gmail.com>
50990         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50991         l_tls_firstbyte_offset non-zero.  Save padding offset in
50992         l_tls_firstbyte_offset for later use.
50993         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50994         freeing static tls block.
50996 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
50998         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50999         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51000         being defined by the kernel headers.
51002 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51004         [BZ #12734]
51005         * resolv/resolv.h: Define RES_NOTLDQUERY.
51006         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51007         no-tld-query and set RES_NOTLDQUERY.
51008         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51009         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51010         modern BIND to search name as TLD unless forbidden.
51012 2011-05-07  Petr Baudis  <pasky@suse.cz>
51013             Ulrich Drepper  <drepper@gmail.com>
51015         [BZ #12393]
51016         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51017         (is_trusted_path): ...to here.
51018         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51019         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51020         using is_trusted_path_normalize() in setuid scripts.
51022 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51024         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51025         __BEGIN/__END_DECLS.
51027 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51029         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51030         NSS_STATUS_NOTFOUND if no record was found.
51032 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51034         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51035         (headers-not-in-tirpc): Remove rpc/netdb.h
51036         * resolv/netdb.h: Revert last change.
51038 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51040         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51041         circular dependency between libgcc.a and libc.a.
51043 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51045         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51046         * nis/Makefile: Don't install rpcsvc/*.
51047         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51048         instead of <rpc/types.h>.
51049         (MAXHOSTNAMELEN): Define.
51051 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51053         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51055 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51057         [BZ #12714]
51058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51059         gethostbyname4_r when IPv6 results are possible.
51061 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51063         [BZ #12723]
51064         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51065         _PC_PIPE_BUF handling.
51067 2011-04-30  Bruno Haible  <bruno@clisp.org>
51069         [BZ #12717]
51070         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51071         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51072         to 'int'.
51073         * inet/getnameinfo.c (getnameinfo): Likewise.
51075 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51077         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51078         to groups setting in database lookup.
51079         * nss/nsswitch.conf: Add initgroups entry.
51081 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51083         [BZ #12685]
51084         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51085         mode string.
51086         Patch by Eric Blake <eblake@redhat.com>.
51088 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51090         * sunrpc/Makefile (need-export-routines): Add svc_run.
51091         (routines): Remove svc_run.
51092         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51093         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51094         * sunrpc/svc_run.c (svc_run): Likewise.
51095         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51097 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51099         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51100         problem in reallocation in last patch.
51102 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51104         * sunrpc/Makefile: Move inclusion of Rules.
51106 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51108         * nss/nss_files/files-initgroups.c: New file.
51109         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51110         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51111         _nss_files_initgroups_dyn.
51113 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51115         * elf/elf.h (R_ARM_IRELATIVE): Define.
51117 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51119         * po/ru.po: Update from translation team.
51121 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51123         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51124         dependencies.
51126 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51128         [BZ #12653]
51129         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51130         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51131         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51132         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51133         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51135 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51137         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51138         differing bytes.
51139         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51140         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51141         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51143 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51145         [BZ #12420]
51146         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51147         storing it.
51148         * stdlib/bug-getcontext.c: New file.
51149         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51151 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51153         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51154         instructions into .machine "z9-109".
51155         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51156         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51158 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51160         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51161         between environment variables and auxiliary vector.
51163 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51165         * Makefile: Add rules to build linkobj/libc.so.
51166         * include/libc-symbols.h: Define libc_hidden_nolink.
51167         * include/rpc/auth.h: Mark functions which are to be hidden.
51168         * include/rpc/auth_des.h: Likewise.
51169         * include/rpc/auth_unix.h: Likewise.
51170         * include/rpc/clnt.h: Likewise.
51171         * include/rpc/des_crypt.h: Likewise.
51172         * include/rpc/key_prot.h: Likewise.
51173         * include/rpc/pmap_clnt.h: Likewise.
51174         * include/rpc/pmap_prot.h: Likewise.
51175         * include/rpc/pmap_rmt.h: Likewise.
51176         * include/rpc/rpc_msg.h: Likewise.
51177         * include/rpc/svc.h: Likewise.
51178         * include/rpc/svc_auth.h: Likewise.
51179         * include/rpc/xdr.h: Likewise.
51180         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51181         * nss/Makefile: Likewise.
51182         * sunrpc/Makefile: Don't install headers.  Build library with normal
51183         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51184         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51185         for the compat linking library.  Remove use of INTDEF/INTUSE.
51186         * sunrpc/auth_none.c: Likewise.
51187         * sunrpc/auth_unix.c: Likewise.
51188         * sunrpc/authdes_prot.c: Likewise.
51189         * sunrpc/authuxprot.c: Likewise.
51190         * sunrpc/clnt_gen.c: Likewise.
51191         * sunrpc/clnt_perr.c: Likewise.
51192         * sunrpc/clnt_raw.c: Likewise.
51193         * sunrpc/clnt_simp.c: Likewise.
51194         * sunrpc/clnt_tcp.c: Likewise.
51195         * sunrpc/clnt_udp.c: Likewise.
51196         * sunrpc/clnt_unix.c: Likewise.
51197         * sunrpc/des_crypt.c: Likewise.
51198         * sunrpc/des_soft.c: Likewise.
51199         * sunrpc/get_myaddr.c: Likewise.
51200         * sunrpc/key_call.c: Likewise.
51201         * sunrpc/key_prot.c: Likewise.
51202         * sunrpc/netname.c: Likewise.
51203         * sunrpc/pm_getmaps.c: Likewise.
51204         * sunrpc/pm_getport.c: Likewise.
51205         * sunrpc/pmap_clnt.c: Likewise.
51206         * sunrpc/pmap_prot.c: Likewise.
51207         * sunrpc/pmap_prot2.c: Likewise.
51208         * sunrpc/pmap_rmt.c: Likewise.
51209         * sunrpc/publickey.c: Likewise.
51210         * sunrpc/rpc_cmsg.c: Likewise.
51211         * sunrpc/rpc_common.c: Likewise.
51212         * sunrpc/rpc_dtable.c: Likewise.
51213         * sunrpc/rpc_prot.c: Likewise.
51214         * sunrpc/rpc_thread.c: Likewise.
51215         * sunrpc/rtime.c: Likewise.
51216         * sunrpc/svc.c: Likewise.
51217         * sunrpc/svc_auth.c: Likewise.
51218         * sunrpc/svc_authux.c: Likewise.
51219         * sunrpc/svc_raw.c: Likewise.
51220         * sunrpc/svc_run.c: Likewise.
51221         * sunrpc/svc_simple.c: Likewise.
51222         * sunrpc/svc_tcp.c: Likewise.
51223         * sunrpc/svc_udp.c: Likewise.
51224         * sunrpc/svc_unix.c: Likewise.
51225         * sunrpc/svcauth_des.c: Likewise.
51226         * sunrpc/xcrypt.c: Likewise.
51227         * sunrpc/xdr.c: Likewise.
51228         * sunrpc/xdr_array.c: Likewise.
51229         * sunrpc/xdr_float.c: Likewise.
51230         * sunrpc/xdr_intXX_t.c: Likewise.
51231         * sunrpc/xdr_mem.c: Likewise.
51232         * sunrpc/xdr_rec.c: Likewise.
51233         * sunrpc/xdr_ref.c: Likewise.
51234         * sunrpc/xdr_sizeof.c: Likewise.
51235         * sunrpc/xdr_stdio.c: Likewise.
51237 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51239         [BZ #12650]
51240         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51241         * sysdeps/ia64/dl-tls.h: Likewise.
51242         * sysdeps/powerpc/dl-tls.h: Likewise.
51243         * sysdeps/s390/dl-tls.h: Likewise.
51244         * sysdeps/sh/dl-tls.h: Likewise.
51245         * sysdeps/sparc/dl-tls.h: Likewise.
51246         * sysdeps/x86_64/dl-tls.h: Likewise.
51247         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51249 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51251         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51252         rpath element also skip the following colon.
51253         (expand_dynamic_string_token): Add is_path parameter and pass
51254         down to DL_DST_REQUIRED and _dl_dst_substitute.
51255         (decompose_rpath): Call expand_dynamic_string_token with
51256         non-zero is_path.  Ignore empty rpaths.
51257         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51258         with zero is_path.
51260 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51263         Make cancelable.
51265 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51267         [BZ #12655]
51268         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51269         Patch by Filipe David Manana <fdmanana@apache.org>.
51271 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51274         Maintain aligned stack.
51275         (CHECK_RSP): Remove unused macro.
51277 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51279         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51280         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51282 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51284         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51286         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51288 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51290         [BZ #12518]
51291         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51292         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51293         * sysdeps/x86_64/memmove.c: New file.
51294         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51295         (memcpy): Renamed to ...
51296         (__new_memcpy): This.
51297         (memcpy): Provide GLIBC_2_14 memcpy.
51298         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51299         (memcpy): Provide GLIBC_2_2_5 memcpy.
51301 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51303         [BZ #12631]
51304         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51306 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51308         * misc/syncfs.c: New file.
51309         * misc/Makefile (routines): Add syncfs.
51310         * posix/unistd.h: Declare syncfs.
51311         * sysdeps/unix/syscalls.list: Add syncfs.
51313 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51315         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51316         open_by_handle_at.
51317         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51318         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51319         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51320         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51322         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51323         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51325 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51327         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51328         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51329         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51330         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51331         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51332         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51333         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51335         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51336         sync_file_range.c with -fexceptions.
51337         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51338         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51339         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51340         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51341         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51342         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51343         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51344         sync_file_range as cancellation point
51345         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51346         now a wrapper around __call_sync_file_range with cancellation handling.
51347         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51348         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51349         function name to __call_sync_file_range.
51350         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51351         Add call_sync_file_range.
51353 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51356         bits/timex.h.
51358 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51360         * iconv/iconv.h: Fix typo in comment.
51361         * io/fcntl.h: Likewise.
51362         * libio/stdio.h: Likewise.
51363         * posix/spawn.h: Likewise.
51364         * posix/unistd.h: Likewise.
51365         * stdlib/stdlib.h: Likewise.
51366         * time/time.h: Likewise.
51367         * wcsmbs/wchar.h: Likewise.
51369         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51370         open_by_handle): Add.
51371         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51372         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51373         Augment a few comments.
51374         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51375         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51376         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51378         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51379         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51380         open_by_handle.
51382         * io/fcntl.h (AT_EMPTY_PATH): Define.
51384 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51386         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51387         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51388         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51389         to...
51390         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51391         * Versions.def: Add GLIBC_2.14.
51392         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51393         Export.
51395 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51397         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51398         round counter.
51399         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51401 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51403         [BZ #12597]
51404         * string/test-strncmp.c (do_page_test): New function.
51405         (check2): Likewise.
51406         (test_main): Call check2.
51407         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51409 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51411         [BZ #12587]
51412         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51413         Handle cache information in CPU leaf 4.
51414         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51416 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51418         [BZ #12583]
51419         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51420         character representation.
51421         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51423 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51425         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51426         END(__isnan) to END(__isnanf) to match function entry point/label
51427         EALIGN(__isnanf,...).
51429 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51431         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51433 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51435         [BZ #12510]
51436         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51437         copy from the symbol referenced in the relocation to initialize the
51438         used variable.
51439         Patch by Piotr Bury <pbury@goahead.com>.
51440         * elf/Makefile: Add rules to build and tst-unique3.
51441         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51442         * elf/tst-unique3.cc: New file.
51443         * elf/tst-unique3.h: New file.
51444         * elf/tst-unique3lib.cc: New file.
51445         * elf/tst-unique3lib2.cc: New file.
51447         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51449 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51451         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51452         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51453         to _start.
51455 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51457         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51458         to-be-loaded object along a path to loader is ld.so.
51460 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51461             Ulrich Drepper  <drepper@gmail.com>
51463         * sysdeps/x86_64/memset.S: After aligning destination, code
51464         branches to different locations depending on the value of
51465         misalignment, when multiarch is enabled. Fix this.
51467 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51469         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51470         Set _x86_64_preferred_memory_instruction for AMD processsors.
51471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51472         Set bit_Prefer_SSE_for_memop for AMD processors.
51474 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51476         * libio/fmemopen.c (fmemopen): Optimize a bit.
51478 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51480         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51482 2011-03-03  Roland McGrath  <roland@redhat.com>
51484         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51486 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51488         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51489         __bzero_ultra1 instead of __memset_ultra1.
51491 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51492             Ulrich Drepper  <drepper@gmail.com>
51494         [BZ #12509]
51495         * include/link.h (struct link_map): Add l_orig_initfini.
51496         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51497         returning unsuccessfully.
51498         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51499         close of a file loaded at startup, restore the original l_initfini
51500         list.
51501         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51502         list, store the pointer.
51503         * elf/Makefile ($(objpfx)noload-mem): New rule.
51504         (noload-ENV): Define.
51505         (tests): Add $(objpfx)noload-mem.
51506         * elf/noload.c: Include <memcheck.h>.
51507         (main): Call mtrace.  Close all opened handles.
51509 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51511         [BZ #12454]
51512         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51513         dependencies are missing.
51515 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51517         Fix __if_freereq crash: Unlike the generic version which uses free,
51518         Hurd needs munmap.
51519         * sysdeps/mach/hurd/ifreq.h: New file.
51521 2011-01-27  Petr Baudis  <pasky@suse.cz>
51522             Ulrich Drepper  <drepper@gmail.com>
51524         [BZ 12445]#
51525         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51526         to extend_alloca().
51527         * stdio-common/bug23.c: New file.
51528         * stdio-common/Makefile (tests): Add bug23.
51530 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51531             Ulrich Drepper  <drepper@gmail.com>
51533         [BZ #12489]
51534         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51535         before performing relro protection.  At old place add assertion
51536         to make sure nothing changed.
51538 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
51539             Glauber de Oliveira Costa  <glommer@gmail.com>
51541         * elf/elf.h: Add new ARM TLS relocs.
51543 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
51545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51546         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51547         cast from r3.
51548         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
51549         'tests' variable.
51550         * sysdeps/wordsize-64/tst-writev.c: New file.
51552 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
51554         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51555         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51556         insns in _dl_start to prevent a TOC reference before relocs are
51557         resolved.
51559 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
51561         [BZ #12469]
51562         * Makeconfig: Remove RANLIB definition.
51563         * Makerules: Don't use RANLIB.
51564         * aclocal.m4: Remove ranlib test.
51565         * configure.in: No need to check for ranlib.
51566         * elf/rtld-Rules: Don't use RANLIB.
51568 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51570         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51571         protection macro.
51572         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51573         inclusion protection macro.
51575         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51576         SIGRTMIN and SIGRTMAX and print information in that case only when
51577         SIGRTMIN is defined.
51579 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
51581         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51582         arginfo fn returning -1.
51584         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51585         and thousands string is zero terminated.
51587 2011-02-03  Andreas Schwab  <schwab@redhat.com>
51589         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51590         sysdeps/unix/sysv/linux/bits/socket.h.
51592 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51594         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51595         (__CPU_COUNT): Remove old macros.
51596         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51597         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51598         (__CPU_ALLOC, __CPU_FREE): Add macros.
51599         (__sched_cpualloc, __sched_cpufree): Add declarations.
51601 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
51603         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51604         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51605         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51606         (readdhstai): Return value of addhstaiX call.
51607         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51608         (addgrbyX): Return value returned by cache_addgr.
51609         (readdgrbyname): Return value returned by addgrbyX.
51610         (readdgrbygid): Likewise.
51611         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51612         (addpwbyX): Return value returned by cache_addpw.
51613         (readdpwbyname): Return value returned by addhstbyX.
51614         (readdpwbyuid): Likewise.
51615         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51616         (addservbyX): Return value returned by cache_addserv.
51617         (readdservbyname): Return value returned by addservbyX:
51618         (readdservbyport): Likewise.
51619         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51620         (addhstbyX): Return value returned by cache_addhst.
51621         (readdhstbyname): Return value returned by addhstbyX.
51622         (readdhstbyaddr): Likewise.
51623         (readdhstbynamev6): Likewise.
51624         (readdhstbyaddrv6): Likewise.
51625         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51626         (readdinitgroups): Return value returned by addinitgroupsX.
51627         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51628         (prune_cache): Keep track of timeout value of re-added entries.
51629         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51630         * nscd/nscd.h: Adjust prototypes of readd* functions.
51632 2011-02-04  Roland McGrath  <roland@redhat.com>
51634         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51635         (nis_stats): Likewise.
51636         * nis/nis_modify.c (nis_modify): Likewise.
51637         * nis/nis_remove.c (nis_remove): Likewise.
51638         * nis/nis_add.c (nis_add): Likewise.
51640         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51642         * posix/fnmatch_loop.c: Add some consts.
51644         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51646 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51648         [BZ #12460]
51649         * config.make.in (config-cflags-novzeroupper): Define.
51650         * configure.in: Substitute libc_cv_cc_novzeroupper.
51651         * elf/Makefile (AVX-CFLAGS): Define.
51652         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51653         (CFLAGS-tst-auditmod4a.c): Likewise.
51654         (CFLAGS-tst-auditmod4b.c): Likewise.
51655         (CFLAGS-tst-auditmod6b.c): Likewise.
51656         (CFLAGS-tst-auditmod6c.c): Likewise.
51657         (CFLAGS-tst-auditmod7b.c): Likewise.
51658         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51660 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51662         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51663         function to the callback.
51664         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51666 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51668         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51669         of errno.
51671 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51673         [BZ #11724]
51674         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51675         of constructors.
51676         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51677         of destructors.
51678         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51680         [BZ #11724]
51681         * elf/Makefile: Add rules to build and run new test.
51682         * elf/tst-initorder.c: New file.
51683         * elf/tst-initorder.exp: New file.
51684         * elf/tst-initordera1.c: New file.
51685         * elf/tst-initordera2.c: New file.
51686         * elf/tst-initordera3.c: New file.
51687         * elf/tst-initordera4.c: New file.
51688         * elf/tst-initorderb1.c: New file.
51689         * elf/tst-initorderb2.c: New file.
51690         * elf/tst-order-a1.c: New file.
51691         * elf/tst-order-a2.c: New file.
51692         * elf/tst-order-a3.c: New file.
51693         * elf/tst-order-a4.c: New file.
51694         * elf/tst-order-b1.c: New file.
51695         * elf/tst-order-b2.c: New file.
51696         * elf/tst-order-main.c: New file.
51697         New test case by George Gensure <werkt0@gmail.com>.
51699 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51702         decoding ACE if AI_CANONIDN.
51704 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51706         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51708 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51710         * version.h (RELEASE): Bump for 2.13 release.
51711         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51713         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51716         MADV_NOHUGEPAGE.
51717         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51718         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51719         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51720         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51721         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51722         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51724         * posix/getconf.c: Update copyright year.
51725         * catgets/gencat.c: Likewise.
51726         * csu/version.c: Likewise.
51727         * debug/catchsegv.sh: Likewise.
51728         * debug/xtrace.sh: Likewise.
51729         * elf/ldconfig.c: Likewise.
51730         * elf/ldd.bash.in: Likewise.
51731         * elf/sprof.c (print_version): Likewise.
51732         * iconv/iconv_prog.c: Likewise.
51733         * iconv/iconvconfig.c: Likewise.
51734         * locale/programs/locale.c: Likewise.
51735         * locale/programs/localedef.c: Likewise.
51736         * malloc/memusage.sh: Likewise.
51737         * malloc/mtrace.pl: Likewise.
51738         * nscd/nscd.c (print_version): Likewise.
51739         * nss/getent.c: Likewise.
51741         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51742         PF_CAIF, and PF_ALG.
51743         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51745 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51747         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51748         (modules-names): Use them.
51749         (ifunc-test-modules, ifunc-pie-tests): Define.
51750         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51751         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51752         (test-extras): Likewise.
51753         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51754         $(compile-command.c).
51755         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51756         (all-built-dso): Define.
51757         (check-textrel.out, check-execstack.out): Depend on it.
51759         * configure.in: Don't override --enable-multi-arch.
51761 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51763         [BZ #6812]
51764         * nscd/hstcache.c (tryagain): Define.
51765         (cache_addhst): Return tryagain not notfound for temporary errors.
51766         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51767         failed.
51769 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51771         [BZ #10563]
51772         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51773         to make the syscall.
51774         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51776         [BZ #12378]
51777         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51778         and fall back to matching as normal character if the string ends before
51779         the matching ']' is found.  This is what POSIX requires.
51780         * posix/testfnm.c: Adjust test result.
51781         * posix/globtest.sh: Adjust test result.  Add new test.
51782         * posix/tst-fnmatch.input: Likewise.
51783         * posix/tst-fnmatch2.c: Add new test.
51785 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51787         * elf/Makefile (check-execstack): Revert last change.  Depend on
51788         check-execstack.h.
51789         (check-execstack.h): New target.
51790         (generated): Add check-execstack.h.
51791         * elf/check-execstack.c: Include "check-execstack.h".
51792         (main): Revert last change.
51793         (handle_file): Return zero if GNU_STACK is absent and
51794         DEFAULT_STACK_PERMS doesn't include PF_X.
51796 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51798         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51799         in child fails because the descriptor is already closed.
51800         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51801         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51802         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51804         [BZ #12397]
51805         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51806         syscall.
51808         [BZ #10484]
51809         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51810         temporary buffer used to handle multi lookups locally.
51811         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51813 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51815         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51816         loader is ld.so.
51818 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51820         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51821         alignment for SSE2.
51823 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51825         [BZ #12394]
51826         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51827         characters.  When rounding increased number of integer digits recompute
51828         number of groups.
51829         * stdio-common/tst-grouping.c: New file.
51830         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51832 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51834         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51835         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51837         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51838         void.
51839         * bits/select.h: Likewise.
51841 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51843         * po/ja.po: Update from translation team.
51845 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51847         [BZ #11155]
51848         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51849         implementation just like for lxstat, fxstatat, et al.
51851 2010-12-27  Jim Meyering  <meyering@redhat.com>
51853         [BZ #12348]
51854         * posix/regexec.c (build_trtable): Return failure indication upon
51855         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51857 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51859         [BZ #12201]
51860         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51861         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51862         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51863         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51865         [BZ #12207]
51866         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51868         [BZ #12204]
51869         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51870         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51872 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51874         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51875         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51876         script has SORT_BY_INIT_PRIORITY.
51877         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51878         NO_CTORS_DTORS_SECTIONS is defined.
51879         * elf/soinit.c: Likewise.
51880         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51881         NO_CTORS_DTORS_SECTIONS is defined.
51882         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51883         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51884         * sysdeps/sh/init-first.c: Likewise.
51885         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51887 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51889         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51890         always use the slow path.
51892 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51894         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51895         similar rule which adds the sysdep directories to the header search in
51896         order to pick up the correct platform stackinfo.h.
51897         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51898         perform test if it is, otherwise return successfully without testing.
51899         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51900         DEFAULT_STACK_PERMS define in stackinfo.h.
51901         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51902         defined in stackinfo.h.
51903         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51904         DEFAULT_STACK_PERMS defined in stackinfo.h.
51905         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51906         * sysdeps/ia64/stackinfo.h: Likewise.
51907         * sysdeps/s390/stackinfo.h: Likewise.
51908         * sysdeps/sh/stackinfo.h: Likewise.
51909         * sysdeps/sparc/stackinfo.h: Likewise.
51910         * sysdeps/x86_64/stackinfo.h: Likewise.
51911         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51912         PF_X for powerpc64.  Retain PF_X for powerpc32.
51914 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51916         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51917         accurately.
51918         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51919         GETDENTS_64BIT_ALIGNED.
51921 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51923         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51925 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51927         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51928         _GNU_SOURCE.
51930         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51931         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51932         Remove __restrict.
51933         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51934         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51936 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51938         [BZ #11655]
51939         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51940         are initialized.
51942 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51944         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51946 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51948         * po/it.po: Update from translation team.
51950 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51952         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51953         unused codes.
51955 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51957         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51959 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51961         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51962         specially.
51963         (gaih_getanswer_slice): Likewise.
51965 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51969 2010-05-31  Petr Baudis  <pasky@suse.cz>
51971         [BZ #11149]
51972         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51973         silently even in the chroot mode.
51975 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
51977         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51978         last patch a bit.  Pretty printing
51980 2010-05-31  Petr Baudis <pasky@suse.cz>
51982         [BZ #10085]
51983         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51984         initialization of skip_initgroups_dyn.
51986 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
51988         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51989         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51991 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
51993         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51995 2010-11-11  Andreas Schwab  <schwab@redhat.com>
51997         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51998         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51999         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52000         ($(objpfx)tst-fnmatch-mem): New rule.
52001         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52002         * posix/tst-fnmatch.c (main): Call mtrace.
52004 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52007         Support Intel processor model 6 and model 0x2c.
52009 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52011         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52012           signed comparison.
52014 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52016         [BZ #12205]
52017         * string/test-strncasecmp.c (check_result): New function.
52018         (do_one_test): Use it.
52019         (check1): New function.
52020         (test_main): Use it.
52021         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52022         Support strcasecmp and strncasecmp.
52024 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52026         [BZ #12194]
52027         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52028         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52030 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52032         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52033         IFUNC support.
52034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52035         memset-x86-64.
52036         * sysdeps/x86_64/multiarch/bzero.S: New file.
52037         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52038         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52039         * sysdeps/x86_64/multiarch/memset.S: New file.
52040         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52042         Set bit_Prefer_SSE_for_memop for Intel processors.
52043         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52044         Define.
52045         (index_Prefer_SSE_for_memop): Define.
52046         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52048 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52050         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52051         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52053 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52055         [BZ #12191]
52056         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52057         (__x86_64_raw_data_cache_size_half): Likewise.
52058         (__x86_64_raw_shared_cache_size): Likewise.
52059         (__x86_64_raw_shared_cache_size_half): Likewise.
52061         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52062         (__x86_64_raw_data_cache_size_half): Likewise.
52063         (__x86_64_raw_shared_cache_size): Likewise.
52064         (__x86_64_raw_shared_cache_size_half): Likewise.
52065         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52066         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52067         and __x86_64_raw_shared_cache_size_half.  Round
52068         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52069         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52070         to multiple of 256 bytes.
52072 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52074         [BZ #12167]
52075         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52076         of inacessible symlinks.  Verify result of symlink before returning it.
52077         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52078         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52080 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52082         * math/math.h (isinf): Fix typo in comment.
52084 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52086         * po/da.po: Update from translation team.
52088 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52090         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52091         is added to the list.
52093 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52094             Ulrich Drepper  <drepper@gmail.com>
52096         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52097         the global list here.  Move code to...
52098         (_dl_add_to_namespace_list): ...here.  New function.
52099         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52100         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52101         * elf/dl-load.c (lose): Don't remove the element from the list.
52102         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52103         (_dl_map_object): Likewise.
52105 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52107         [BZ #12159]
52108         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52109         into all bytes of SSE register.
52110         Patch by Richard Li <richardpku@gmail.com>.
52112 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52114         [BZ #12140]
52115         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52116         perturbing.
52118 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52120         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52121         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52122         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52123         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52125         submachine.
52126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52128 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52130         * include/dlfcn.h (__RTLD_SECURE): Define.
52131         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52132         mode & __RTLD_SECURE instead.
52133         (open_path): Rename preloaded parameter to secure.
52134         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52135         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52136         * elf/dl-deps.c (openaux): Likewise.
52137         * elf/rtld.c (struct map_args): Remove is_preloaded.
52138         (map_doit): Don't use it.
52139         (dl_main): Likewise.
52140         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52141         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52143 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52145         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52146         (sysd-rules-targets): Remove duplicates.
52147         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52148         rtld-%.$o dependency.
52150 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52152         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52153         _dl_map_object do it.
52155 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52157         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52158         fast fma builtins, define the macros in the C99 standard.
52159         (FP_FAST_FMAF): Likewise.
52160         (FP_FAST_FMAL): Likewise.
52161         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52163         * bits/mathdef.h: Update copyright year.
52164         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52166 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52168         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52169         builtins, define the macros in the C99 standard.
52170         (FP_FAST_FMAF): Likewise.
52171         (FP_FAST_FMAL): Likewise.
52172         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52173         multiply/add.
52174         (FP_FAST_FMAF): Likewise.
52176 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52178         [BZ #3268]
52179         * math/libm-test.inc (fma_test): Some new testcases.
52180         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52181         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52182         y and infinite z.  Do multiplication by C already in long double.
52183         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52185         y and infinite z.  Do bitwise or of inexact bit into u.d.
52186         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52187         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52188         * sysdeps/i386/fpu/s_fma.S: Removed.
52189         * sysdeps/i386/fpu/s_fmal.S: Removed.
52191 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52193         [BZ #3268]
52194         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52196         computation is not scheduled after fetestexcept.  Fix value
52197         of minimum denormal long double.
52199 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52201         [BZ #3268]
52202         * math/libm-test.inc (fma_test): Add some more tests.
52203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52204         correctly.
52206 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52208         * scripts/data/localplt-s390-linux-gnu.data: New file.
52209         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52211 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52213         [BZ #3268]
52214         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52215         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52216         instead of dbl-64.
52217         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52218         inlines.
52219         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52220         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52221         if one of x and y is very large and the other is subnormal.
52222         * sysdeps/s390/fpu/s_fmaf.c: New file.
52223         * sysdeps/s390/fpu/s_fma.c: New file.
52224         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52225         * sysdeps/powerpc/fpu/s_fma.S: New file.
52226         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52227         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52228         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52230 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52232         [BZ #3268]
52233         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52234         fma tests.
52235         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52236         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52237         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52238         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52239         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52240         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52243 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52245         [BZ #12078]
52246         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52247         * posix/bug-regex31.input: Add test case.
52249 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52251         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52252         * posix/bug-regex31.input: New file.
52254         [BZ #12078]
52255         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52256         (parse_sub_exp): Fix last change, use postorder.
52258         * posix/bug-regex31.c: New file.
52259         * posix/Makefile: Add rules to build and run bug-regex31.
52261         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52263         [BZ #12078]
52264         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52266         [BZ #12108]
52267         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52268         to have entries in sys_siglist.
52270         [BZ #12093]
52271         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52272         be NULL.
52274 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52276         [BZ #3268]
52277         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52278         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52279         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52280         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52281         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52282         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52283         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52284         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52285         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52286         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52287         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52288         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52289         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52290         * math/ftestexcept.c (fetestexcept): Likewise.
52291         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52292         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52293         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52294         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52295         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52296         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52297         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52299 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52301         [BZ #12107]
52302         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52303         newline.
52305 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52307         * string/bug-strstr1.c: New file.
52308         * string/Makefile: Add rules to build and run bug-strstr1.
52310 2010-10-05  Eric Blake  <eblake@redhat.com>
52312         [BZ #12092]
52313         * string/str-two-way.h (two_way_long_needle): Always clear memory
52314         when skipping input due to the shift table.
52316 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52318         [BZ #12005]
52319         * malloc/mcheck.c: Handle large requests.
52321         [BZ #12077]
52322         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52323         for strncmp and strncasecmp.
52324         * string/stratcliff.c: Add tests for strcmp and strncmp.
52325         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52327 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52329         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52330         __set_fpscr.
52332 2010-09-30  Andreas Jaeger  <aj@suse.de>
52334         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52335         (CGROUP_SUPER_MAGIC): Define.
52336         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52337         Handle btrfs and cgroup file systems.
52338         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52339         Likewise.
52341 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52343         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52344         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52346 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52348         [BZ #12067]
52349         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52350         trying to locate the ELF header.
52352 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52354         [BZ #11611]
52355         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52356         Mask out sign-bit copies when constructing f_fsid.
52358 2010-09-24  Petr Baudis <pasky@suse.cz>
52360         * debug/stack_chk_fail_local.c: Add missing licence exception.
52361         * debug/warning-nop.c: Likewise.
52363 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52365         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52366         implementing getdents64 using getdents syscall, set d_type if
52367         __ASSUME_GETDENTS32_D_TYPE.
52369 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52371         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52372         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52374 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52376         [BZ #12037]
52377         * posix/unistd.h: Undo change of feature selection for ftruncate from
52378         2010-01-11.
52380 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52382         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52383         detection.
52385 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52387         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52388         fanotify_mark.
52389         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52391 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52393         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52394         variables after CHECK_SP call.
52395         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52397 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52398             Ulrich Drepper  <drepper@redhat.com>
52400         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52401         re-relocationg ld.so.
52402         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52403         _dl_init_paths call.
52404         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52405         here anymore.
52407 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52409         * resolv/res_init.c (__res_vinit): Count the default server we added.
52411 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52412             Ulrich Drepper  <drepper@redhat.com>
52414         [BZ #11968]
52415         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52416         (____longjmp_chk): Use %ebx for saving value across system call.
52417         Add unwind info.
52419 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52421         * manual/Makefile: Don't mix pattern rules with normal rules.
52423 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52425         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52426         operation.
52427         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52428         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52429         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52430         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52431         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52432         Likewise.
52434 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52436         [BZ #11979]
52437         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52438         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52440 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52442         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52443         * sysdeps/x86_64/addmul_1.S: Likewise.
52444         * sysdeps/x86_64/lshift.S: Likewise.
52445         * sysdeps/x86_64/mul_1.S: Likewise.
52446         * sysdeps/x86_64/rshift.S: Likewise.
52447         * sysdeps/x86_64/sub_n.S: Likewise.
52448         * sysdeps/x86_64/submul_1.S: Likewise.
52450 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52452         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52453         Define __sched_param instead of SCHED_* and sched_param when
52454         <bits/sched.h> is included with __need_schedparam defined.
52455         * bits/sched.h [__need_schedparam]
52456         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52457         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52458         (__defined_schedparam): Define to 1.
52459         (__sched_param): New structure, identical to sched_param.
52460         (__need_schedparam): Undefine.
52462 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52464         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52465         (epoll_create1): Declare.
52467         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52469 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52471         [BZ #7066]
52472         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52473         shifting retval into place.
52475 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52477         * nis/rpcsvc/nis.h: Update copyright notice.
52478         * nis/rpcsvc/nis.x: Likewise.
52479         * nis/rpcsvc/nis_callback.h: Likewise.
52480         * nis/rpcsvc/nis_callback.x: Likewise.
52481         * nis/rpcsvc/nis_object.x: Likewise.
52482         * nis/rpcsvc/nis_tags.h: Likewise.
52483         * nis/rpcsvc/yp.h: Likewise.
52484         * nis/rpcsvc/yp.x: Likewise.
52485         * nis/rpcsvc/ypupd.h: Likewise.
52486         * nis/yp_xdr.c: Likewise.
52487         * nis/ypupdate_xdr.c: Likewise.
52489         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52490         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52491         (pmap_getport): Use __libc_rpc_getport.
52492         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52493         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52494         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52496 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52499         fanotify_mark.
52501 2010-08-27  Roland McGrath  <roland@redhat.com>
52503         * sysdeps/i386/i686/multiarch/Makefile
52504         (CFLAGS-varshift.c): New variable.
52506 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52508         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52509         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52513         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52515 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52517         * sysdeps/x86_64/strlen.S: Unroll the loop.
52518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52519         strlen-sse2 strlen-sse2-bsf.
52520         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52521         __strlen_no_bsf if bit_Slow_BSF is set.
52522         (__strlen_sse42): Removed.
52523         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52524         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52526 2010-08-25  Roland McGrath  <roland@redhat.com>
52528         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52529         * sysdeps/x86_64/multiarch/varshift.c: New file.
52530         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52531         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52532         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52533         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52535 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
52537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52538         strlen-sse2 strlen-sse2-bsf.
52539         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52540         __strlen_sse2_bsf if bit_Slow_BSF is unset.
52541         (__strlen_sse2): Removed.
52542         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52543         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52545         bit_Slow_BSF for Atom.
52546         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52547         (index_Slow_BSF): Define.
52548         (HAS_SLOW_BSF): Define.
52550 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
52552         [BZ #10851]
52553         * resolv/res_init.c (__res_vinit): When no server address at all
52554         is given default to loopback.
52556 2010-08-24  Roland McGrath  <roland@redhat.com>
52558         * configure.in: Remove config-name.h generation.
52559         * configure: Regenerated.
52560         * config-name.in: File removed.
52561         * scripts/config-uname.sh: New file.
52562         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52563         ($(objdir)config-name.h): New target.
52565         * sunrpc/rpc_parse.h: Avoid nested comment.
52567 2010-08-24  Richard Henderson  <rth@redhat.com>
52568             Ulrich Drepper  <drepper@redhat.com>
52569             H.J. Lu  <hongjiu.lu@intel.com>
52571         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52573         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52574         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
52575         _mm_alignr_epi8 with _mm_loadu_si128.
52576         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52577         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52578         (__m128i_shift_right): Removed.
52579         * sysdeps/i386/i686/multiarch/varshift.h: New file.
52580         * sysdeps/i386/i686/multiarch/varshift.S: New file.
52581         * sysdeps/x86_64/multiarch/varshift.h: New file.
52582         * sysdeps/x86_64/multiarch/varshift.S: New file.
52584 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
52586         * configure.in: Move assembler checks to before sysdep dir checking.
52588 2010-08-20  Petr Baudis  <pasky@suse.cz>
52590         * LICENSES: Sync the sunrpc license.
52592 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
52594         * sunrpc/auth_des.c: Update copyright notice once again.
52595         * sunrpc/auth_none.c: Likewise.
52596         * sunrpc/auth_unix.c: Likewise.
52597         * sunrpc/authdes_prot.c: Likewise.
52598         * sunrpc/authuxprot.c: Likewise.
52599         * sunrpc/bindrsvprt.c: Likewise.
52600         * sunrpc/clnt_gen.c: Likewise.
52601         * sunrpc/clnt_perr.c: Likewise.
52602         * sunrpc/clnt_raw.c: Likewise.
52603         * sunrpc/clnt_simp.c: Likewise.
52604         * sunrpc/clnt_tcp.c: Likewise.
52605         * sunrpc/clnt_udp.c: Likewise.
52606         * sunrpc/clnt_unix.c: Likewise.
52607         * sunrpc/des_crypt.c: Likewise.
52608         * sunrpc/des_soft.c: Likewise.
52609         * sunrpc/get_myaddr.c: Likewise.
52610         * sunrpc/getrpcport.c: Likewise.
52611         * sunrpc/key_call.c: Likewise.
52612         * sunrpc/key_prot.c: Likewise.
52613         * sunrpc/openchild.c: Likewise.
52614         * sunrpc/pm_getmaps.c: Likewise.
52615         * sunrpc/pm_getport.c: Likewise.
52616         * sunrpc/pmap_clnt.c: Likewise.
52617         * sunrpc/pmap_prot.c: Likewise.
52618         * sunrpc/pmap_prot2.c: Likewise.
52619         * sunrpc/pmap_rmt.c: Likewise.
52620         * sunrpc/rpc/auth.h: Likewise.
52621         * sunrpc/rpc/auth_unix.h: Likewise.
52622         * sunrpc/rpc/clnt.h: Likewise.
52623         * sunrpc/rpc/des_crypt.h: Likewise.
52624         * sunrpc/rpc/key_prot.h: Likewise.
52625         * sunrpc/rpc/netdb.h: Likewise.
52626         * sunrpc/rpc/pmap_clnt.h: Likewise.
52627         * sunrpc/rpc/pmap_prot.h: Likewise.
52628         * sunrpc/rpc/pmap_rmt.h: Likewise.
52629         * sunrpc/rpc/rpc.h: Likewise.
52630         * sunrpc/rpc/rpc_des.h: Likewise.
52631         * sunrpc/rpc/rpc_msg.h: Likewise.
52632         * sunrpc/rpc/svc.h: Likewise.
52633         * sunrpc/rpc/svc_auth.h: Likewise.
52634         * sunrpc/rpc/types.h: Likewise.
52635         * sunrpc/rpc/xdr.h: Likewise.
52636         * sunrpc/rpc_clntout.c: Likewise.
52637         * sunrpc/rpc_cmsg.c: Likewise.
52638         * sunrpc/rpc_common.c: Likewise.
52639         * sunrpc/rpc_cout.c: Likewise.
52640         * sunrpc/rpc_dtable.c: Likewise.
52641         * sunrpc/rpc_hout.c: Likewise.
52642         * sunrpc/rpc_main.c: Likewise.
52643         * sunrpc/rpc_parse.c: Likewise.
52644         * sunrpc/rpc_parse.h: Likewise.
52645         * sunrpc/rpc_prot.c: Likewise.
52646         * sunrpc/rpc_sample.c: Likewise.
52647         * sunrpc/rpc_scan.c: Likewise.
52648         * sunrpc/rpc_scan.h: Likewise.
52649         * sunrpc/rpc_svcout.c: Likewise.
52650         * sunrpc/rpc_tblout.c: Likewise.
52651         * sunrpc/rpc_util.c: Likewise.
52652         * sunrpc/rpc_util.h: Likewise.
52653         * sunrpc/rpcinfo.c: Likewise.
52654         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52655         * sunrpc/rpcsvc/key_prot.x: Likewise.
52656         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52657         * sunrpc/rpcsvc/mount.x: Likewise.
52658         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52659         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52660         * sunrpc/rpcsvc/rex.x: Likewise.
52661         * sunrpc/rpcsvc/rstat.x: Likewise.
52662         * sunrpc/rpcsvc/rusers.x: Likewise.
52663         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52664         * sunrpc/rpcsvc/spray.x: Likewise.
52665         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52666         * sunrpc/rtime.c: Likewise.
52667         * sunrpc/svc.c: Likewise.
52668         * sunrpc/svc_auth.c: Likewise.
52669         * sunrpc/svc_authux.c: Likewise.
52670         * sunrpc/svc_raw.c: Likewise.
52671         * sunrpc/svc_run.c: Likewise.
52672         * sunrpc/svc_simple.c: Likewise.
52673         * sunrpc/svc_tcp.c: Likewise.
52674         * sunrpc/svc_udp.c: Likewise.
52675         * sunrpc/svc_unix.c: Likewise.
52676         * sunrpc/svcauth_des.c: Likewise.
52677         * sunrpc/xcrypt.c: Likewise.
52678         * sunrpc/xdr.c: Likewise.
52679         * sunrpc/xdr_array.c: Likewise.
52680         * sunrpc/xdr_float.c: Likewise.
52681         * sunrpc/xdr_mem.c: Likewise.
52682         * sunrpc/xdr_rec.c: Likewise.
52683         * sunrpc/xdr_ref.c: Likewise.
52684         * sunrpc/xdr_sizeof.c: Likewise.
52685         * sunrpc/xdr_stdio.c: Likewise.
52687         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52688         handling.
52690 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52692         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52694 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52696         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52697         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52698         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52699         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52700         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52701         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52702         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52703         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52704         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52705         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52706         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52707         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52708         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52709         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52711 2010-07-26  Anton Blanchard  <anton@samba.org>
52713         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52714         * malloc/arena.c (heap_trim): Likewise.
52716 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52718         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52719         here.  Not...
52720         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52721         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52723 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52725         * sysdeps/i386/elf/Makefile: New file.
52727 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52729         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52730         from fanotify_init.
52731         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52734 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52736         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52737         of strncasecmp_l.
52738         * sysdeps/multiarch/strcmp.S: Likewise.
52740 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52742         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52743         strncase_l-nonascii.
52744         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52745         Add strncase_l-ssse3.
52746         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52747         * sysdeps/x86_64/strcmp.S: Likewise.
52748         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52749         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52750         * sysdeps/x86_64/strncase.S: New file.
52751         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52752         * sysdeps/x86_64/strncase_l.S: New file.
52753         * string/Makefile (strop-tests): Add strncasecmp.
52754         * string/test-strncasecmp.c: New file.
52756         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52757         warning.
52759         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52760         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52762 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52764         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52766 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52768         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52769         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52770         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52772 2010-05-01  Alan Modra  <amodra@gmail.com>
52774         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52775         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52776         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52777         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52778         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52779         tidying.  Don't tail-call __sigjmp_save for static lib.
52780         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52781         save location.
52782         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52783         (CALL_MCOUNT): Add eh info, and nop after bl.
52784         (TAIL_CALL_SYSCALL_ERROR): New macro.
52785         (PSEUDO_RET): Use it.
52786         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52787         Correct save location of integer regs and cr.
52788         (_dl_profile_resolve): Correct cr save location.  Delete nops
52789         after bl when SHARED.  Reduce cfi size a little by better
52790         placement of cfi directives.
52791         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52792         make a stack frame.  Instead use parm save area as a temp.
52793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52794         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52796         Don't make a stack frame for parent, use parm save area.
52797         Increase child stack frame to 112 bytes.  Don't save unused reg,
52798         and adjust reg usage.  Set up cfi on error recovery and
52799         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52801         (__makecontext): Add dummy nop after jump to exit.
52802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52803         Use correct parm save area and cr save, reduce stack frame.
52804         Correct cfi for possible PSEUDO_RET frame setup.
52805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52806         Branch to local label emitted by PSEUDO_RET rather than
52807         __syscall_error.
52809 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52811         [BZ #11904]
52812         * locale/programs/locale.c (print_assignment): New function.
52813         (show_locale_vars): Use it.
52815 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52817         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52818         field.
52819         (struct statfs64): Likewise.
52820         (_STATFS_F_FLAGS): Define.
52821         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52822         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52823         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52824         (ST_VALID): Define locally.
52825         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52826         __statvfs_getflags, use the provided value.
52827         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52828         __ASSUME_STATFS_F_FLAGS.
52830         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52832         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52833         Add sys/fanotify.h.
52834         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52835         fanotify_mask for GLIBC_2.13.
52836         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52837         fanotify_init and fanotify_mark.
52838         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52839         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52841         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52842         Add prlimit.
52843         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52844         prlimit64 for GLIBC_2.13.
52845         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52846         prlimit64.
52847         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52848         syscall.
52849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52850         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52851         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52852         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52853         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52854         add prlimit alias.
52855         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52857         [BZ #11903]
52858         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52859         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52861         * nss/Makefile: Add rules to build and run tst-nss-test1.
52862         * shlib-versions: Add entry for libnss_test1.
52863         * nss/nss_test1.c: New file.
52864         * nss/tst-nss-test1.c: New file.
52866         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52867         (__nss_configure_lookup): Set appropriate entry in
52868         __nss_configure_lookup to true.
52869         * nss/nsswitch.h: Define enum with indeces of databases in
52870         databases and __nss_database_custom arrays.  Declare
52871         __nss_database_custom.
52872         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52873         to avoid using nscd when custom rules are installed.
52874         * nss/getXXbyYY_r.c: Likewise.
52875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52877         * nss/nss_files/files-parse.c: Whitespace fixes.
52879 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52881         [BZ #11883]
52882         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52883         * posix/fnmatch_loop.c: Likewise.
52885 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52887         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52888         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52889         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52890         * Versions.def [GLIBC_2.13]: Add.
52892 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52894         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52895         Also fail if tpwd after pwuid call is NULL.
52897 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52899         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52900         when converting to ms.
52902 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52904         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52905         EOPNOTSUPP errors with ENOTTY.
52906         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52907         EOPNOTSUPP errors with ENOTTY.
52909 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52911         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52912         Add strcasecmp_l-ssse3.
52913         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52914         strcasecmp.
52915         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52916         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52917         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52919 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52921         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52923         * string/Makefile (strop-tests): Add strcasecmp.
52924         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52925         strcasecmp_l-nonascii.
52926         (gen-as-const-headers): Add locale-defines.sym.
52927         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52928         * sysdeps/x86_64/strcasecmp.S: New file.
52929         * sysdeps/x86_64/strcasecmp_l.S: New file.
52930         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52931         * sysdeps/x86_64/locale-defines.sym: New file.
52932         * string/test-strcasecmp.c: New file.
52934         * string/test-strcasestr.c: Test both ends of the range of characters.
52935         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52937 2010-07-29  Roland McGrath  <roland@redhat.com>
52939         [BZ #11856]
52940         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52942 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52944         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52945         for ld.so.
52947 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52949         * manual/memory.texi (Malloc Tunable Parameters): Document
52950         M_PERTURB.
52952 2010-07-26  Roland McGrath  <roland@redhat.com>
52954         [BZ #11840]
52955         * configure.in (-fgnu89-inline check): Set and substitute
52956         gnu89_inline, not libc_cv_gnu89_inline.
52957         * configure: Regenerated.
52958         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52960 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52962         * string/test-strnlen.c: New file.
52963         * string/Makefile (strop-tests): Add strnlen.
52964         * string/tester.c (test_strnlen): Add a few more test cases.
52965         * string/tst-strlen.c: Better error reporting.
52967         * sysdeps/x86_64/strnlen.S: New file.
52969 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
52971         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52972         lower-latency instructions.
52974 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
52976         * string/test-strcasestr.c: New file.
52977         * string/test-strstr.c: New file.
52978         * string/Makefile (strop-tests): Add strstr and strcasestr.
52979         * string/str-two-way.h: Don't undefine MAX.
52980         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52982 2010-07-21  Andreas Schwab  <schwab@redhat.com>
52984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52985         strcasestr-nonascii.
52986         (CFLAGS-strcasestr-nonascii.c): Define.
52987         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52988         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52989         Remove unused attribute.
52991 2010-07-20  Roland McGrath  <roland@redhat.com>
52993         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52994         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
52995         ld.so.cache was broken.  With it, there is no way to disable dsocaps
52996         like LD_HWCAP_MASK can disable hwcaps.
52998 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53000         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53002 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53004         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53005         call in strcasestr.
53006         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53007         __strcasestr_sse42_nonascii.
53008         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53009         strcasestr-nonascii.c.
53010         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53012 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53014         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53015         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53016         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53017         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53019 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53021         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53022         fcntl.
53024 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53026         [BZ #11577]
53027         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53028         dl_signal_cerror.
53030 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53032         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53033         _PC_PIPE_BUF using F_GETPIPE_SZ.
53035 2010-07-05  Roland McGrath  <roland@redhat.com>
53037         * manual/arith.texi (Rounding Functions): Fix rint description
53038         implicit in round description.
53040 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53042         * elf/Makefile: Fix linking for a few tests to make recent linker
53043         happy.
53045 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53047         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53048         $(common-objpfx)libc_nonshared.a.
53050 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53052         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53053         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53054         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53055         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53056         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53057         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53058         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53059         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53074         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53075         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53076         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53077         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53078         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53079         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53080         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53081         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53082         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53083         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53084         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53085         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53101 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53103         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53104         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53105         * string/memmove.c (memmove): Renamed to ...
53106         (MEMMOVE): ...this.  Default to memmove.
53107         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53108         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53109         (END_CHK): Define.
53110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53111         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53112         mempcpy-ssse3-back memmove-ssse3-back.
53113         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53114         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53116         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53117         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53118         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53119         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53120         * sysdeps/x86_64/multiarch/memmove.c: New file.
53121         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53122         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53123         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53124         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53125         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53126         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53127         Define.
53128         (index_Fast_Copy_Backward): Define.
53129         (HAS_ARCH_FEATURE): Define.
53130         (HAS_FAST_REP_STRING): Define.
53131         (HAS_FAST_COPY_BACKWARD): Define.
53133 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53135         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53136         Restore proper fallback handling.
53138 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53140         [BZ #11701]
53141         * posix/group_member.c (__group_member): Correct checking loop.
53143         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53144         OOM in getpwuid_r correctly.  Return error number when the caller
53145         should return, otherwise -1.
53146         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53147         call returning > 0 value.
53148         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53150 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53152         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53153         libc_nonshared.a from targets in modules-names.
53155 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53157         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53158         requires it.
53160 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53162         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53163         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53164         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53165         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53167 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53169         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53171 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53173         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53174         and F_GETPIPE_SZ.
53175         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53176         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53179         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53180         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53182 2010-06-14  Roland McGrath  <roland@redhat.com>
53184         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53186 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53188         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53189         __REDIRECT followed by __THROW.
53190         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53191         * posix/getopt.h (getopt): Likewise.
53193 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53195         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53196         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53197         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53198         in AT_FLAGS.
53199         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53200         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53202 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53204         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53206 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53208         [BZ #11640]
53209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53210         Properly check family and model.
53212 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53214         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53216 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53218         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53220 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53222         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53223         symbol reference.
53225 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53227         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53228         symbol reference.
53230 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53232         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53233         and internal_recvmmsg.
53234         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53235         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53236         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53237         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53239         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53240         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53241         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53243 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53245         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53247 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53249         POWER7 optimizations.
53250         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53251         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53253 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53255         * version.h: Update for 2.13 development version.
53257 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53259         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53260         exceptions.  Return 0.
53262 2010-05-07  Roland McGrath  <roland@redhat.com>
53264         * elf/ldconfig.c (main): Add a const.
53266 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53268         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53269         (args_options): Add no-idn option.
53270         (ahosts_keys_int): Add idn_flags to ai_flags.
53271         (parse_option): Handle 'i' option to clear idn_flags.
53273         * malloc/malloc.c (_int_free): Possible race in the most recently
53274         added check.  Only act on the data if no current modification
53275         happened.
53277 See ChangeLog.17 for earlier changes.