Fix warning in stdio-common/tst-printf-round.c.
[glibc.git] / ChangeLog
blob23fba3607d531d619939218aafeaa55baa88633d
1 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4         third argument const.
6 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8         fnmatch: work around GCC compiler warning bug with uninit var
9         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10         This works around a bug with x86-64 GCC 4.9.2 and earlier
11         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13         used uninitialized in this function [-Wmaybe-uninitialized]".
15 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17         * posix/bug-regex31.c (main): Return RES not 0.
19 2014-11-25  Anton Blanchard <anton@samba.org>
21         * sysdeps/powerpc/bits/atomic.h
22         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24 2014-11-24  Sterling Augustine  <saugustine@google.com>
26         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30         [BZ #17608]
31         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35         [BZ #17633]
36         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38         variable.
39         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
44         * string/strncpy.c (strncpy): Improve performance by using memset.
46 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
48         * string/strcpy.c (strcpy):
49         Improve performance by using strlen and memcpy.
51 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
53         * string/strcoll_l.c (get_next_seq): __always_inline.
54         * string/strcoll_l.c (do_compare): __always_inline.
56 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
59         defined.
60         * include/mqueue.h: Likewise.
61         * include/stdlib.h: Likewise.
63         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
64         (get_null_defines): Adjust.
65         * sunrpc/Makefile: Adjust comment.
66         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
67         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
68         (CFLAGS-interp.c): Likewise.
69         (CFLAGS-ldconfig.c): Likewise.
70         (CPPFLAGS-.os): Likewise.
71         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
73         * extra-modules.mk (extra-modules.mk): Likewise.
74         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
75         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
76         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
77         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
78         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
79         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
80         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
81         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
82         * iconvdata/Makefile (CPPFLAGS): Likewise.
83         (cpp-srcs-left): Add libof for all iconvdata routines.
84         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
85         * include/assert.h: Likewise.
86         * include/ctype.h: Likewise.
87         * include/errno.h: Likewise.
88         * include/libc-symbols.h: Likewise.
89         * include/math.h: Likewise.
90         * include/netdb.h: Likewise.
91         * include/resolv.h: Likewise.
92         * include/stdio.h: Likewise.
93         * include/stdlib.h: Likewise.
94         * include/string.h: Likewise.
95         * include/sys/stat.h: Likewise.
96         * include/wctype.h: Likewise.
97         * intl/l10nflist.c: Likewise.
98         * libidn/idn-stub.c: Likewise.
99         * libio/libioP.h: Likewise.
100         * nptl/libc_multiple_threads.c: Likewise.
101         * nptl/pthreadP.h: Likewise.
102         * posix/regex_internal.h: Likewise.
103         * resolv/res_hconf.c: Likewise.
104         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
105         * sysdeps/arm/memmove.S: Likewise.
106         * sysdeps/arm/sysdep.h: Likewise.
107         * sysdeps/generic/_itoa.h: Likewise.
108         * sysdeps/generic/symbol-hacks.h: Likewise.
109         * sysdeps/gnu/errlist.awk: Likewise.
110         * sysdeps/gnu/errlist.c: Likewise.
111         * sysdeps/i386/i586/memcpy.S: Likewise.
112         * sysdeps/i386/i586/memset.S: Likewise.
113         * sysdeps/i386/i686/memcpy.S: Likewise.
114         * sysdeps/i386/i686/memmove.S: Likewise.
115         * sysdeps/i386/i686/mempcpy.S: Likewise.
116         * sysdeps/i386/i686/memset.S: Likewise.
117         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
118         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
119         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
120         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
121         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
122         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
123         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
124         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
125         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
126         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
127         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
128         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
129         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
130         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
131         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
132         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
133         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
134         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
135         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
136         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
137         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
138         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
139         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
140         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
141         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
142         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
143         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
144         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
145         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
146         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
147         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
148         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
149         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
150         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
151         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
152         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
153         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
154         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
156         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
157         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
158         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
159         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
160         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
163         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
164         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
165         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
166         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
167         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
168         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
169         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
170         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
171         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
172         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
173         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
174         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
175         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
176         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
177         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
178         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
179         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
180         * sysdeps/nptl/bits/libc-lock.h: Likewise.
181         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
182         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
183         * sysdeps/posix/closedir.c: Likewise.
184         * sysdeps/posix/opendir.c: Likewise.
185         * sysdeps/posix/readdir.c: Likewise.
186         * sysdeps/posix/rewinddir.c: Likewise.
187         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
188         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
189         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
190         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
191         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
192         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
193         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
197         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
198         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
199         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
200         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
201         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
202         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
203         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
204         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
206         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
207         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
208         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
209         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
210         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
211         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
213         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
215         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
222         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
223         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
224         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
225         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
226         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
227         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
228         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
229         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
230         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
231         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
232         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
233         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
234         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
235         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
236         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
237         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
238         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
240         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
241         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
243         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
244         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
245         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
246         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
247         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
248         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
249         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
250         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
251         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
252         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
253         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
254         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
255         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
256         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
257         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
258         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
259         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
260         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
261         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
262         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
263         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
264         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
265         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
266         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
267         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
268         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
269         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
270         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
271         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
272         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
273         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
274         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
275         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
276         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
277         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
278         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
279         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
281         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
282         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
283         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
284         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
285         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
286         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
287         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
288         * sysdeps/unix/alpha/sysdep.S: Likewise.
289         * sysdeps/unix/alpha/sysdep.h: Likewise.
290         * sysdeps/unix/make-syscalls.sh: Likewise.
291         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
293         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
294         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
295         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
296         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
297         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
298         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
299         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
300         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
301         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
302         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
303         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
304         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
305         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
306         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
307         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
308         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
309         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
310         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
311         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
312         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
313         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
314         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
315         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
316         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
317         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
320         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
321         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
322         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
323         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
324         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
325         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
327         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
329         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
330         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
331         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
332         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
333         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
334         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
335         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
338         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
341         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
342         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
343         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
344         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
345         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
347         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
349         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
350         * sysdeps/x86_64/memcpy.S: Likewise.
351         * sysdeps/x86_64/memmove.c: Likewise.
352         * sysdeps/x86_64/memset.S: Likewise.
353         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
354         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
355         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
356         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
357         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
359         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
360         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
361         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
362         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
363         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
365         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
366         * sysdeps/x86_64/multiarch/memset.S: Likewise.
367         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
368         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
369         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
370         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
371         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
372         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
373         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
374         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
375         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
376         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
377         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
378         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
379         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
380         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
381         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
382         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
383         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
384         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
385         * sysdeps/x86_64/strcmp.S: Likewise.
387         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
389         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
390         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
391         * elf/rtld-Rules: Likewise.
392         * elf/setup-vdso.h: Likewise.
393         * include/assert.h: Likewise.
394         * include/bits/stdlib-float.h: Likewise.
395         * include/errno.h: Likewise.
396         * include/sys/stat.h: Likewise.
397         * include/unistd.h: Likewise.
398         * sysdeps/aarch64/setjmp.S: Likewise.
399         * sysdeps/alpha/setjmp.S: Likewise.
400         * sysdeps/arm/__longjmp.S: Likewise.
401         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
402         * sysdeps/arm/setjmp.S: Likewise.
403         * sysdeps/arm/sysdep.h: Likewise.
404         * sysdeps/generic/_itoa.h: Likewise.
405         * sysdeps/generic/dl-sysdep.h: Likewise.
406         * sysdeps/generic/ldsodefs.h: Likewise.
407         * sysdeps/i386/dl-tls.h: Likewise.
408         * sysdeps/i386/setjmp.S: Likewise.
409         * sysdeps/m68k/setjmp.c: Likewise.
410         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
411         * sysdeps/mach/hurd/opendir.c: Likewise.
412         * sysdeps/posix/getcwd.c: Likewise.
413         * sysdeps/posix/opendir.c: Likewise.
414         * sysdeps/posix/profil.c: Likewise.
415         * sysdeps/powerpc/dl-procinfo.h: Likewise.
416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
417         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
418         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
419         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
420         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
421         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
422         * sysdeps/s390/dl-tls.h: Likewise.
423         * sysdeps/s390/s390-32/setjmp.S: Likewise.
424         * sysdeps/s390/s390-64/setjmp.S: Likewise.
425         * sysdeps/sh/sh3/setjmp.S: Likewise.
426         * sysdeps/sh/sh4/setjmp.S: Likewise.
427         * sysdeps/unix/alpha/sysdep.h: Likewise.
428         * sysdeps/unix/arm/sysdep.S: Likewise.
429         * sysdeps/unix/i386/sysdep.S: Likewise.
430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
431         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
432         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
433         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
435         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
436         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
437         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
438         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
439         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
440         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
441         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
442         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
445         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
448         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
449         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
450         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
453         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
454         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
455         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
457         * sysdeps/unix/x86_64/sysdep.S: Likewise.
458         * sysdeps/x86_64/setjmp.S: Likewise.
460         * include/math.h: Use IS_IN instead of IS_IN_libm.
461         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
462         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
463         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
464         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
465         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
466         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
467         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
468         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
469         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
470         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
471         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
472         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
473         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
474         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
475         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
476         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
477         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
478         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
479         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
480         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
481         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
482         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
483         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
484         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
485         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
486         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
487         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
488         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
489         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
490         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
491         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
492         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
493         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
495         Likewise.
496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
497         Likewise.
498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
499         Likewise.
500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
501         Likewise.
502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
503         Likewise.
504         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
505         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
506         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
507         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
508         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
509         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
515         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
516         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
517         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
518         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
519         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
520         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
521         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
522         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
523         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
524         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
525         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
526         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
528         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
530         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
532         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
533         * nptl/pthreadP.h: Likewise.
534         * nptl_db/structs.def: Likewise.
535         * sysdeps/arm/sysdep.h: Likewise.
536         * sysdeps/nptl/bits/libc-lock.h: Likewise.
537         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
538         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
539         * sysdeps/unix/alpha/sysdep.h: Likewise.
540         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
542         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
543         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
544         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
545         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
546         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
547         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
548         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
549         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
550         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
551         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
552         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
553         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
558         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
560         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
561         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
562         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
563         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
564         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
565         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
567         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
568         * nptl/pthreadP.h: Likewise.
569         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
570         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
571         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
572         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
573         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
574         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
575         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
576         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
577         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
578         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
579         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
580         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
582         Likewise.
583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
584         Likewise.
585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
587         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
589         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
590         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
591         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
592         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
594         * dlfcn/dladdr.c: Use IS_IN.
595         * dlfcn/dladdr1.c: Likewise.
596         * dlfcn/dlclose.c: Likewise.
597         * dlfcn/dlerror.c: Likewise.
598         * dlfcn/dlinfo.c: Likewise.
599         * dlfcn/dlmopen.c: Likewise.
600         * dlfcn/dlopen.c: Likewise.
601         * dlfcn/dlsym.c: Likewise.
602         * dlfcn/dlvsym.c: Likewise.
604         * include/ifaddrs.h: Use IS_IN.
605         * inet/check_pf.c: Likewise.
606         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
607         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
609         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
610         IS_IN_ldconfig.
611         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
612         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
614         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
615         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
616         IS_IN (libc).
618         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
620         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
621         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
622         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
623         * include/libc-symbols.h (IS_IN_LIB): New macro.
624         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
625         * include/netdb.h: Likewise.
626         * include/stap-probe.h: Remove all uses of IN_LIB.
628         * Makeconfig (module-cppflags-real): Define MODULE_NAME
629         instead of IN_MODULE.
630         * include/libc-symbols.h (IN_MODULE): Define using
631         MODULE_NAME.
632         (PASTE_NAME, PASTE_NAME1): New macros.
633         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
634         of IN_LIB.
635         (STAP_PROBE_ASM): Likewise.
637 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
639         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
640         __mach_init in dlopened libc.
642 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
644         * sysdeps/arm/preconfigure.ac: Delete EABI check.
645         * sysdeps/arm/preconfigure: Regenerate.
647 2014-11-21  Roland McGrath  <roland@hack.frob.com>
649         * nptl/pthread_create.c (__pthread_create_2_1): Set
650         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
651         when copying values from IATTR into PD.
653 2014-11-21  Will Newton  <will.newton@linaro.org>
654             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
656         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
657         Refactor inline-asm.  Also add comment.
659         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
660         ElfW macro instead of hardcoded Elf64 types.
661         (la_aarch64_gnu_pltenter): Likewise.
662         * sysdeps/aarch64/dl-machine.h
663         (elf_machine_runtime_setup): Use ElfW(Addr).
665         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
666         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
667         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
668         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
669         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
670         (R_AARCH64_TLS_DTPMOD64): Rename to ..
671         (R_AARCH64_TLS_DTPMOD): This.
672         (R_AARCH64_TLS_DTPREL64): Rename to ...
673         (R_AARCH64_TLS_DTPREL): This.
674         (R_AARCH64_TLS_TPREL64): Rename to ...
675         (R_AARCH64_TLS_TPREL): This.
676         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
677         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
678         R_AARCH64_TLS_TPREL64.
679         (elf_machine_rela): Likewise.
681 2014-11-21  Torvald Riegel  <triegel@redhat.com>
683         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
684         by setting it to 0.  64b atomics are not supported currently.
686 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
688         [BZ #16469]
689         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
690         search domain names.
692 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
694         [BZ #16469]
695         * NEWS: Update.
696         * resolv/res_query.c (__libc_res_nquerydomain): Retain
697         trailing dot.
698         * posix/tst-getaddrinfo5.c: New.
699         * posix/Makefile (tests): Add it.
701 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
703         [BZ #14498]
704         * NEWS: Fixed.
705         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
706         after parsing line but before break_if_match.
707         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
708         if there is a protocol mismatch.
710 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
712         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
713         because the potential race is on the user-supplied stream.
715 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
717         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
718         string literal if not passed a buffer.
719         * manual/job.texi (ctermid): Update reasoning, note deviation
720         from posix, suggest mtasurace when not passed a buffer, for
721         future non-preliminary safety notes.
723 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
725         * manual/users.texi (cuserid): Fix MT-Safety note for the case
726         of not passing it a buffer.
727         Reported by Peng Haitao.
729 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
731         * manual/Makefile ($(objpfx)stamp-summary): Require
732         check-safety.sh to pass.
733         * manual/check-safety.sh: Wish for verification that every
734         @deftypefn and @deftypefun is followed by a @safety remark.
736 2014-11-20  Roland McGrath  <roland@hack.frob.com>
738         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
740         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
741         PTHREAD_CANCEL_ASYNCHRONOUS.
742         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
743         send SIGCANCEL.
745         * nptl/default-sched.h: New file.
746         * sysdeps/unix/sysv/linux/default-sched.h: New file.
747         * nptl/pthread_create.c: Include it.
748         (__pthread_create_2_1): Use collect_default_sched instead of making
749         Linux syscalls here directly.
751 2014-11-20  Torvald Riegel  <triegel@redhat.com>
753         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
754         __pthread_once): Use C11 atomics.
756 2014-11-20  Torvald Riegel  <triegel@redhat.com>
758         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
760 2014-11-20  Torvald Riegel  <triegel@redhat.com>
762         * include/atomic.h (__atomic_link_error, __atomic_check_size,
763         atomic_thread_fence_acquire, atomic_thread_fence_release,
764         atomic_thread_fence_seq_cst, atomic_load_relaxed,
765         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
766         atomic_compare_exchange_weak_relaxed,
767         atomic_compare_exchange_weak_acquire,
768         atomic_compare_exchange_weak_release,
769         atomic_exchange_acquire, atomic_exchange_release,
770         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
771         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
772         atomic_fetch_and_acquire,
773         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
775 2014-11-20  Torvald Riegel  <triegel@redhat.com>
777         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
778         USE_ATOMIC_COMPILER_BUILTINS): Define.
779         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
781         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
782         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
783         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
784         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
785         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
787         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
788         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
789         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
791         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
793         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
794         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
795         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
797         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
799         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
800         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
801         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
803         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
805         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
806         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
807         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
808         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
809         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
810         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
811         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
812         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
813         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
814         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
815         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
816         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
817         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
818         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
820 2014-11-19  Roland McGrath  <roland@hack.frob.com>
822         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
823         the sched_priority value here.  It was already checked when the user
824         called pthread_attr_setschedparam.
826         * nptl/tst-bad-schedattr.c: New file.
827         * nptl/Makefile (tests): Add it.
829 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
830             Florian Weimer  <fweimer@redhat.com>
831             Joseph Myers  <joseph@codesourcery.com>
832             Adam Conrad  <adconrad@0c3.net>
833             Andreas Schwab  <schwab@suse.de>
834             Brooks  <bmoses@google.com>
836         [BZ #17625]
837         * wordexp-test.c (__dso_handle): Add prototype.
838         (__register_atfork): Likewise.
839         (__app_register_atfork): New function.
840         (registered_forks): New global.
841         (register_fork): New function.
842         (test_case): Add 3 new tests for WRDE_CMDSUB.
843         (main): Call __app_register_atfork.
844         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
845         fork count is non-zero fail the test.
846         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
847         is set.
848         (parse_dollars): Remove check for WRDE_NOCMD.
849         (parse_dquote): Likewise.
851 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
853         * Makeconfig (built-modules): List non-library modules to be
854         built.
855         (module-cppflags): Include libc-modules.h for
856         everything except shlib-versions.v.i.
857         (CPPFLAGS): Use it.
858         (before-compile): Add libc-modules.h.
859         ($(common-objpfx)libc-modules.h,
860         $(common-objpfx)libc-modules.stmp): New targets.
861         (common-generated): Add libc-modules.h and libc-modules.stmp.
862         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
863         * include/libc-symbols.h: Don't include libc-modules.h.
864         * include/libc-modules.h: Remove file.
865         * scripts/gen-libc-modules.awk: New script to generate
866         libc-modules.h.
867         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
868         Depend on libc-modules.stmp.
870         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
872         * Makeconfig (in-module): Get value of libof set for the
873         translation unit.
874         (CPPFLAGS): Use $(in-module).
875         * Makerules: Don't suffix routine names for nonlib.
876         * include/libc-modules.h: New file.
877         * include/libc-symbols.h: Include libc-modules.h
878         (IS_IN): New macro to replace IS_IN_* macros.
879         * elf/Makefile: Set libof-* for each routine.
880         * elf/rtld-Rules: Likewise.
881         * extra-modules.mk: Likewise.
882         * iconv/Makefile: Likewise.
883         * iconvdata/Makefile: Likewise.
884         * locale/Makefile: Likewise.
885         * malloc/Makefile: Likewise.
886         * nss/Makefile: Likewise.
887         * sysdeps/gnu/Makefile: Likewise.
888         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
889         * sysdeps/unix/sysv/linux/Makefile: Likewise.
890         * sysdeps/s390/s390-64/Makefile: Likewise.
891         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
892         CPPFLAGS for nscd instead of nonlib.
894 2014-11-18  Roland McGrath  <roland@hack.frob.com>
896         * nptl/createthread.c: New file.
898         * nptl/createthread.c: Moved ...
899         * sysdeps/unix/sysv/linux/createthread.c: ... here.
901         * nptl/createthread.c: Add proper top-line comment.
902         (do_clone): Folded into ...
903         (create_thread): ... here.  Take new arguments STOPPED_START and
904         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
905         increment __nptl_threads, do event-reporting logic, do
906         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
907         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
908         resource cleanup if sched_setaffinity or sched_setscheduler fails,
909         just send SIGCANCEL.
910         * nptl/pthread_create.c: Forward-declare create_thread before
911         including createthread.c.
912         (start_thread): Use new macro START_THREAD_DEFN to replace defining
913         declaration, and new macro START_THREAD_SELF to replace argument.
914         Remove return statement.
915         (report_thread_creation): New function.
916         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
917         synchronization logic, and __nptl_nthreads increment here, around
918         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
919         PD->parent_cancelhandling here, before create_thread.  When
920         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
921         __deallocate_stack, and ENOMEM translation here.
923 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
925         [BZ #17616]
926         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
927         (mptwo): Rename to __mptwo.
928         (__inv): Use __mptwo instead of mptwo.
929         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
930         (mptwo): Rename to __mptwo.
931         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
932         of mpone and __mptwo instead of mptwo.
933         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
934         instead of mpone.
935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
936         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
937         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
938         of mpone and __mptwo instead of mptwo.
939         (__mpranred): Use __mpone instead of mpone.
940         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
941         variable.
942         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
943         (test-xfail-ISO99/math.h/linknamespace): Likewise.
944         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
945         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
946         (test-xfail-ISO11/math.h/linknamespace): Likewise.
947         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
948         (test-xfail-XPG3/math.h/linknamespace): Likewise.
949         (test-xfail-XPG4/math.h/linknamespace): Likewise.
950         (test-xfail-POSIX/math.h/linknamespace): Likewise.
951         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
952         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
953         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
954         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
955         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
956         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
957         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
958         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
959         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
960         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
962 2014-11-18  Tom de Vries  <tom@codesoucery.com>
964         * manual/signal.texi (Primitives Interrupted by Signals): In section,
965         replace BSD Handler xref with BSD Signal Handling.
967 2014-11-17  Richard Henderson  <rth@redhat.com>
969         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
970         (_FP_PACK_RAW_2): Remove.
971         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
972         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
973         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
974         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
975         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
976         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
977         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
978         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
979         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
980         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
981         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
982         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
983         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
984         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
985         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
986         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
988 2014-11-14  Roland McGrath  <roland@hack.frob.com>
990         * signal/signal.h [__USE_MISC]
991         (struct sigvec): Remove type.
992         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
993         (sigvec): Remove declaration.
994         * sysdeps/posix/sigvec.c: Moved ...
995         * signal/sigvec.c: ... here, replacing old file.
996         (struct sigvec): New type, copied from old signal.h definition.
997         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
998         (__sigvec): Convert definition to prototype.
999         (sigvec): Replace weak_alias with compat_symbol.
1000         * signal/Versions (libc: GLIBC_2.21): New version set.
1001         * include/signal.h: Remove __sigvec declaration.
1002         * sysdeps/unix/bsd/sigvec.c: Remove file.
1003         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1004         * manual/signal.texi (BSD Handler): Remove subsection.
1005         Move siginterrupt up to ...
1006         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1007         (Blocking in BSD): Fold subsection into its parent.
1008         * NEWS: Mention sigvec removal.
1010 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1012         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1013         (DLA_FMS): Make definition conditional only on [__FMA4__].
1014         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1015         definition.
1017         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1018         Make definition conditional only on [PROF].
1019         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1020         definition.
1021         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1022         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1024         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1025         !__GNUC__].
1026         * include/signal.h (__sigpause): Move declaration above call to
1027         libc_hidden_proto.
1028         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1029         variable.
1030         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1031         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1033 2014-11-14  David S. Miller  <davem@davemloft.net>
1035         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1036         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1038 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1040         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1041         * configure: Regenerated.
1042         * manual/install.texi (Tools for Compilation): Document a
1043         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1044         compiler verified to work.
1045         * INSTALL: Regenerated.
1047         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1048         redeclare with asm name.
1049         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1050         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1051         including <string.h>.
1052         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1053         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1054         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1055         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1056         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1058         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1060 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1062         * stdlib/strtol.c (__strtol): Use prototype definition.
1064         [BZ #17594]
1065         * stdlib/strtol.c (SYM__): New macro.
1066         (SYM__1): Likewise.
1067         (__strtol): Likewise.
1068         (strtol): Rename to __strtol and define as weak alias of
1069         __strtol.  Use libc_hidden_weak.
1071 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1073         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1074         Use numbered labels in inline assembly.
1076 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1078         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1079         Add setjmp LIBC_PROBE.
1080         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1081         Likewise.
1082         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1083         Add longjmp, longjmp_target LIBC_PROBE.
1084         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1085         Likewise.
1087 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1089         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1090         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1091         to get rid of unused variable warning.
1093 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1095         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1096         Check for unwind_backtrace ==  NULL only in SHARED case.
1097         (__backchain_backtrace): Compile only in SHARED case.
1098         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1099         Likewise.
1100         (__backchain_backtrace): Declare as static.
1102 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1104         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1105         (__libc_multiple_threads_ptr): Variable moved ...
1106         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1108 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1110         * conform/GlibcConform.pm: New file.
1111         * conform/conformtest.pl: Use GlibcConform module.
1112         * conform/linknamespace.pl: New file.
1113         * conform/list-header-symbols.pl: Likewise.
1114         * conform/Makefile (linknamespace-symlists-base): New variable.
1115         (linknamespace-symlists-tests): Likewise.
1116         (linknamespace-header-base): Likewise.
1117         (linknamespace-header-tests): Likewise.
1118         (tests-special): Add new tests.
1119         ($(linknamespace-symlists-tests)): New rule.
1120         (linknamespace-libs): New variable.
1121         ($(objpfx)symlist-stdlibs): New rule.
1122         ($(linknamespace-header-tests)): Likewise.
1123         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1124         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1125         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1126         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1127         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1128         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1129         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1130         (test-xfail-ISO/math.h/linknamespace): Likewise.
1131         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1132         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1133         (test-xfail-ISO/time.h/linknamespace): Likewise.
1134         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1135         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1136         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1137         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1138         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1139         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1140         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1141         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1142         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1143         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1144         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1145         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1146         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1147         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1148         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1149         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1150         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1151         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1152         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1153         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1154         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1155         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1156         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1157         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1158         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1159         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1160         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1161         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1162         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1163         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1164         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1165         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1166         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1167         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1168         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1169         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1170         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1171         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1172         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1173         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1174         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1175         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1176         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1177         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1178         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1179         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1180         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1181         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1182         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1183         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1184         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1185         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1186         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1187         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1188         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1189         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1190         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1191         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1192         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1193         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1194         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1195         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1196         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1197         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1198         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1199         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1200         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1201         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1202         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1203         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1204         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1205         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1206         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1207         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1208         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1209         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1210         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1211         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1212         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1213         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1214         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1215         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1216         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1217         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1218         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1219         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1220         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1221         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1222         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1223         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1224         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1225         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1226         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1227         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1228         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1229         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1230         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1231         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1232         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1233         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1234         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1235         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1236         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1237         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1238         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1239         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1240         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1241         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1242         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1243         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1244         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1245         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1246         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1247         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1248         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1249         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1250         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1251         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1252         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1253         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1254         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1255         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1256         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1257         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1258         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1259         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1260         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1261         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1262         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1263         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1264         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1265         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1266         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1267         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1268         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1269         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1270         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1271         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1272         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1273         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1274         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1275         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1276         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1277         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1278         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1279         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1280         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1281         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1282         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1283         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1285         [BZ #17589]
1286         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1287         of fgets_unlocked.
1289         [BZ #17585]
1290         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1291         (memmem): Rename to __memmem and define as weak alias of
1292         __memmem.  Use libc_hidden_weak.
1293         (__memmem): Use libc_hidden_def.
1294         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1295         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1296         memmem.
1298         [BZ #17582]
1299         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1300         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1301         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1302         and define as weak alias of __fgets_unlocked.  Use
1303         libc_hidden_weak.
1304         (__fgets_unlocked): Use libc_hidden_def.
1305         * include/stdio.h (__fgets_unlocked): Declare.  Use
1306         libc_hidden_proto.
1307         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1308         __fgets_unlocked instead of fgets_unlocked.
1309         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1310         (GET_NPROCS_CONF_PARSER): Likewise.
1311         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1312         (GET_NPROCS_CONF_PARSER): Likewise.
1314         [BZ #17574]
1315         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1316         weak alias of __wmemset.  Use libc_hidden_weak.
1317         (__wmemset): Use libc_hidden_def.
1318         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1319         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1320         of wmemset.
1322         [BZ #17573]
1323         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1324         with asm name __mempcpy.
1325         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1327         [BZ #17572]
1328         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1329         and define as weak alias of __rawmemchr.
1330         (__rawmemchr): Do not define as strong alias of rawmemchr.
1332         [BZ #17571]
1333         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1334         alias of __qsort_r.
1335         (qsort): Call __qsort_r instead of qsort_r.
1336         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1337         (__qsort_r): Declare.  Call libc_hidden_proto.
1338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1339         instead of qsort_r.
1340         * nscd/gai.c (__qsort_r): Define to qsort_r.
1341         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1342         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1343         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1345         [BZ #17570]
1346         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1347         define as weak alias of __malloc_info.
1349         [BZ #17584]
1350         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1351         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1352         (__rewinddir): Use libc_hidden_def.
1353         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1354         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1355         (__rewinddir): Use libc_hidden_def.
1356         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1357         weak alias of __rewinddir.  Don't use libc_hidden_def.
1358         (__rewinddir): Use libc_hidden_def.
1359         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1360         (__rewinddir): Use libc_hidden_proto.
1361         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1362         rewinddir.
1363         (__getcwd): Use __rewinddir instead of rewinddir.
1365         [BZ #17583]
1366         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1367         alias of __fileno.  Use libc_hidden_weak.
1368         (__fileno): Use libc_hidden_def.
1369         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1370         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1371         alias of __ftello.
1372         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1373         __ftello.
1374         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1375         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1376         libc_hidden_def.
1377         (fread_unlocked): Don't use libc_hidden_ver.
1378         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1379         and define as weak alias of __fread_unlocked.  Don't use
1380         libc_hidden_def.
1381         (__fread_unlocked): Use libc_hidden_def.
1382         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1383         (ftello): Don't use libc_hidden_proto.
1384         (__ftello): Declare.  Use libc_hidden_proto.
1385         (fread_unlocked): Don't use libc_hidden_proto.
1386         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1387         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1388         and __ftello instead of fileno, fread_unlocked and ftello.
1390 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1392         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1393         GOT12.
1394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1395         Likewise.
1396         (_dl_start_user): Likewise.
1397         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1399 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1400             Siddhesh Poyarekar  <siddhesh@redhat.com>
1402         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1403         Move argv and envp down instead of moving argc up.
1404         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1406 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1408         [BZ #17506]
1409         * test-skeleton.c (main): Return successful if one of
1410         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1411         * string/tst-strcoll-overflow.c: Define expected status.
1413 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1415         [BZ #17475]
1416         * locale/iso-639.def: Define Bhili and Tulu language codes.
1418 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1420         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1422 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1424         [BZ #17555]
1425         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1427 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1429         * configure.ac: Updated check of minimal required version to
1430         2.22.
1431         * manual/install.texi (Tools for Compilation): Updated version
1432         number.
1433         * configure: Regenerated.
1434         * INSTALL: Likewise.
1436 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1438         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1439         __tls_get_addr.
1441 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1443         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1444         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1445         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1446         libc_hidden_weak.
1447         (waitpid): Define as alias of __waitpid.
1448         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1449         __waitpid.
1450         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1451         libc_hidden_weak.
1452         (waitpid): Define as alias of __waitpid.
1453         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1454         __libc_waitpid alias.
1455         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1456         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1457         Likewise.
1458         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1459         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1460         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1461         alias.
1462         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1463         __waitpid.
1464         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1465         libc_hidden_weak.
1466         (waitpid): Define as alias of __waitpid.
1468 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1470         * manual/llio.texi: Add comment that write safety has been
1471         fixed in Linux.
1473         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1474         (localplt-build-dso): Add elf/ld.so.
1475         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1476         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1477         and free for ld.so.
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1479         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1481         Likewise.
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1485         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1486         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1487         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1488         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1489         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1490         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1491         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1492         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1493         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1494         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1496 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1498         [BZ #14132]
1499         * include/libc-symbols.h (INTUSE): Remove macro.
1500         (INTDEF): Likewise.
1501         (INTVARDEF): Likewise.
1502         (_INTVARDEF): Likewise.
1503         (INTDEF2): Likewise.
1504         (INTVARDEF2): Likewise.
1505         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1506         rtld_hidden_def instead of INTVARDEF.
1507         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1508         (_dl_starting_up_internal): Remove declaration.
1509         (_dl_starting_up): Use rtld_hidden_proto.
1510         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1511         declaration.
1512         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1513         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1514         _dl_starting_up.
1515         * elf/dl-writev.h (_dl_writev): Likewise.
1516         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1517         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1518         _dl_starting_up_internal.
1520 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1522         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1523         test-skeleton.c.
1525 2014-11-05  Will Newton  <will.newton@linaro.org>
1527         * benchtests/Makefile: (bench-malloc): Add malloc thread
1528         scalability benchmark.
1529         * benchtests/bench-malloc-threads.c: New file.
1531 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1533         * sysdeps/aarch64/strchrnul.S: New file.
1535 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1537         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1538         definition.
1539         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1540         Likwise.
1541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1542         Likewise.
1543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1544         Likewise.
1545         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1546         Likewise.
1547         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1548         Likewise.
1550 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1552         * catgets/test-gencat.c: Use test-skeleton.c.
1553         * catgets/tst-catgets.c: Likewise.
1554         * csu/tst-empty.c: Likewise.
1555         * elf/tst-audit2.c: Likewise.
1556         * elf/tst-global1.c: Likewise.
1557         * elf/tst-pathopt.c: Likewise.
1558         * elf/tst-piemod1.c: Likewise.
1559         * elf/tst-tls10.c: Likewise.
1560         * elf/tst-tls11.c: Likewise.
1561         * elf/tst-tls12.c: Likewise.
1562         * gnulib/tst-gcc.c: Likewise.
1563         * iconvdata/tst-e2big.c: Likewise.
1564         * iconvdata/tst-loading.c: Likewise.
1565         * iconv/tst-iconv1.c: Likewise.
1566         * iconv/tst-iconv2.c: Likewise.
1567         * inet/test-inet6_opt.c: Likewise.
1568         * inet/tst-gethnm.c: Likewise.
1569         * inet/tst-network.c: Likewise.
1570         * inet/tst-ntoa.c: Likewise.
1571         * intl/tst-codeset.c: Likewise.
1572         * intl/tst-gettext2.c: Likewise.
1573         * intl/tst-gettext3.c: Likewise.
1574         * intl/tst-ngettext.c: Likewise.
1575         * intl/tst-translit.c: Likewise.
1576         * io/test-stat.c: Likewise.
1577         * libio/test-fmemopen.c: Likewise.
1578         * libio/tst-freopen.c: Likewise.
1579         * libio/tst-sscanf.c: Likewise.
1580         * libio/tst-ungetwc1.c: Likewise.
1581         * libio/tst-ungetwc2.c: Likewise.
1582         * libio/tst-widetext.c: Likewise.
1583         * localedata/tst-ctype.c: Likewise.
1584         * localedata/tst-digits.c: Likewise.
1585         * localedata/tst-leaks.c: Likewise.
1586         * localedata/tst-mbswcs1.c: Likewise.
1587         * localedata/tst-mbswcs2.c: Likewise.
1588         * localedata/tst-mbswcs3.c: Likewise.
1589         * localedata/tst-mbswcs4.c: Likewise.
1590         * localedata/tst-mbswcs5.c: Likewise.
1591         * localedata/tst-setlocale.c: Likewise.
1592         * localedata/tst-trans.c: Likewise.
1593         * localedata/tst-wctype.c: Likewise.
1594         * localedata/tst-xlocale1.c: Likewise.
1595         * login/tst-grantpt.c: Likewise.
1596         * malloc/tst-calloc.c: Likewise.
1597         * malloc/tst-malloc.c: Likewise.
1598         * malloc/tst-mallocstate.c: Likewise.
1599         * malloc/tst-mcheck.c: Likewise.
1600         * malloc/tst-mtrace.c: Likewise.
1601         * malloc/tst-obstack.c: Likewise.
1602         * math/atest-exp2.c: Likewise.
1603         * math/atest-exp.c: Likewise.
1604         * math/atest-sincos.c: Likewise.
1605         * math/test-matherr.c: Likewise.
1606         * math/test-misc.c: Likewise.
1607         * math/test-powl.c: Likewise.
1608         * math/tst-definitions.c: Likewise.
1609         * misc/tst-dirname.c: Likewise.
1610         * misc/tst-efgcvt.c: Likewise.
1611         * misc/tst-fdset.c: Likewise.
1612         * misc/tst-hsearch.c: Likewise.
1613         * misc/tst-mntent2.c: Likewise.
1614         * nptl/tst-sem7.c: Likewise.
1615         * nptl/tst-sem8.c: Likewise.
1616         * nptl/tst-sem9.c: Likewise.
1617         * nss/test-netdb.c: Likewise.
1618         * posix/tst-fnmatch.c: Likewise.
1619         * posix/tst-getlogin.c: Likewise.
1620         * posix/tst-gnuglob.c: Likewise.
1621         * posix/tst-mmap.c: Likewise.
1622         * pwd/tst-getpw.c: Likewise.
1623         * resolv/tst-inet_ntop.c: Likewise.
1624         * rt/tst-timer.c: Likewise.
1625         * stdio-common/test-fseek.c: Likewise.
1626         * stdio-common/test-popen.c: Likewise.
1627         * stdio-common/test-vfprintf.c: Likewise.
1628         * stdio-common/tst-cookie.c: Likewise.
1629         * stdio-common/tst-fileno.c: Likewise.
1630         * stdio-common/tst-gets.c: Likewise.
1631         * stdio-common/tst-obprintf.c: Likewise.
1632         * stdio-common/tst-perror.c: Likewise.
1633         * stdio-common/tst-sprintf2.c: Likewise.
1634         * stdio-common/tst-sprintf3.c: Likewise.
1635         * stdio-common/tst-sprintf.c: Likewise.
1636         * stdio-common/tst-swprintf.c: Likewise.
1637         * stdio-common/tst-tmpnam.c: Likewise.
1638         * stdio-common/tst-unbputc.c: Likewise.
1639         * stdio-common/tst-wc-printf.c: Likewise.
1640         * stdlib/tst-environ.c: Likewise.
1641         * stdlib/tst-fmtmsg.c: Likewise.
1642         * stdlib/tst-limits.c: Likewise.
1643         * stdlib/tst-rand48-2.c: Likewise.
1644         * stdlib/tst-rand48.c: Likewise.
1645         * stdlib/tst-random2.c: Likewise.
1646         * stdlib/tst-random.c: Likewise.
1647         * stdlib/tst-strtol.c: Likewise.
1648         * stdlib/tst-strtoll.c: Likewise.
1649         * stdlib/tst-tls-atexit.c: Likewise.
1650         * stdlib/tst-xpg-basename.c: Likewise.
1651         * string/test-ffs.c: Likewise.
1652         * string/tst-bswap.c: Likewise.
1653         * string/tst-inlcall.c: Likewise.
1654         * string/tst-strtok.c: Likewise.
1655         * string/tst-strxfrm.c: Likewise.
1656         * sysdeps/x86_64/tst-audit10.c: Likewise.
1657         * sysdeps/x86_64/tst-audit3.c: Likewise.
1658         * sysdeps/x86_64/tst-audit4.c: Likewise.
1659         * sysdeps/x86_64/tst-audit5.c: Likewise.
1660         * time/tst-ftime_l.c: Likewise.
1661         * time/tst-getdate.c: Likewise.
1662         * time/tst-mktime3.c: Likewise.
1663         * time/tst-mktime.c: Likewise.
1664         * time/tst-posixtz.c: Likewise.
1665         * time/tst-strptime2.c: Likewise.
1666         * time/tst-strptime3.c: Likewise.
1667         * wcsmbs/tst-btowc.c: Likewise.
1668         * wcsmbs/tst-mbrtowc.c: Likewise.
1669         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1670         * wcsmbs/tst-wchar-h.c: Likewise.
1671         * wcsmbs/tst-wcpncpy.c: Likewise.
1672         * wcsmbs/tst-wcrtomb.c: Likewise.
1673         * wcsmbs/tst-wcsnlen.c: Likewise.
1674         * wcsmbs/tst-wcstof.c: Likewise.
1676 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1678         [BZ #14132]
1679         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1680         INTDEF.
1681         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1682         declaration.
1683         (_dl_mcount): Use rtld_hidden_proto.
1684         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1685         _dl_mcount.
1686         * elf/rtld.c (_rtld_global_ro): Likewise.
1688         [BZ #14132]
1689         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1690         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1691         of _dl_init_internal.
1692         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1693         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1694         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1695         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1696         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1697         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1698         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1699         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1700         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1701         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1702         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1703         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1704         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1705         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1706         * sysdeps/tile/dl-start.S (_start): Likewise.
1707         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1708         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1710         [BZ #14132]
1711         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1712         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1713         (rtld_progname): Make macro definition unconditional.
1714         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1715         INTDEF.
1716         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1717         (dl_main): Likewise.
1718         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1719         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1720         instead of _dl_argv_internal.
1721         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1722         __GI__dl_argv instead of INTUSE(_dl_argv).
1723         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1724         __GI__dl_argv instead of _dl_argv_internal.
1726         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1727         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1728         macro.
1729         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1730         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1731         New macro.
1732         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1733         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1734         macro.
1735         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1736         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1738 2014-11-04  Andreas Schwab  <schwab@suse.de>
1740         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1742 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1744         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1745         mtvsrd instruction in binary form.
1747 2014-11-03  Andreas Schwab  <schwab@suse.de>
1749         [BZ #17522]
1750         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1751         for less than MB_LEN_MAX use a local buffer of that size.
1752         * libio/tst-fputws.c: New file.
1753         * libio/Makefile (tests): Add tst-fputws.
1755 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1757         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1758         the size of the fpu_fr.fpu_dregs[] array.
1760 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1762         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1763         (__nanosleep): Do not define as alias.
1764         (nanosleep): Define as alias of __nanosleep.
1765         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1766         __libc_nanosleep name.
1768 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1770         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1771         install.texi in comment.
1773 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1775         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1776         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1777         ... add here and use lwsync or sync ...
1778         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1779         ... and add here using lwsync.
1781 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1783         * elf/dl-machine-reject-phdr.h: New file.
1784         * elf/dl-load.c: #include that.
1785         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1786         if that returned true.
1788 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1790         [BZ #17496]
1791         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1792         gen-as-const-headers chunk.  Add a big scare comment after the last
1793         safe place to touch before-compile.
1795 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1797         * manual/install.texi (Tools for Compilation): Update autoconf
1798         version requirements.
1799         * INSTALL: Regenerated.
1801         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1802         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1803         (__libc_pselect): Likewise.
1805         [BZ #14138]
1806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1811 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1813         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1814         correct barrier instruction.
1815         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1816         Likewise.
1817         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1818         Likewise.
1820 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1822         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1823         after defining inlines.  Instead, just use parens to defeat macro
1824         expansion of __isctype in its declaration.
1826 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1828         * include/sys/uio.h (__libc_readv): Remove declaration.
1829         (__libc_writev): Likewise.
1830         * misc/readv.c (__libc_readv): Rename to __readv.
1831         (__readv): Do not define as alias.
1832         (readv): Define as alias of __readv.
1833         * misc/writev.c (__libc_writev): Rename to __writev.
1834         (__writev): Do not define as alias.
1835         (writev): Define as alias of __writev.
1836         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1837         (__readv): Do not define as alias.
1838         (readv): Define unconditionally as alias of __readv.
1839         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1840         (__writev): Do not define as alias.
1841         (writev): Define unconditionally as alias of __writev.
1842         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1843         name.
1844         (writev): Do not define __libc_writev name.
1846 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1848         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1849         (convert_charseq): New function, broken out of ...
1850         (use_from_charmap): ... here.  Call it.
1851         (use_to_charmap): Use convert_charseq and free instead of duplicating
1852         its code with a variable-length stack struct.
1854 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1856         * include/fcntl.h (__libc_creat): Remove declaration.
1857         * io/creat.c (__libc_creat): Rename to creat.
1858         (creat): Do not define as alias.
1859         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1860         of creat instead of __libc_creat.
1861         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1862         to creat.
1863         (creat): Do not define as alias.
1864         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1865         __libc_creat.
1866         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1867         __libc_creat name.
1868         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1869         Likewise.
1871 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1873         * manual/llio.texi: Add comments discussing why write() may be
1874         considered MT-unsafe on Linux.
1876 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1878         * dl-load.c (local_strdup): Remove.
1879         (expand_dynamic_string_token): Use __strdup.
1880         (decompose_rpath): Likewise.
1881         (_dl_map_object): Likewise.
1883 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1885         [BZ #14132]
1886         * sysdeps/generic/unwind-dw2-fde.c
1887         (__register_frame_info_bases_internal): Do not declare.
1888         (__register_frame_info_table_bases_internal): Likewise.
1889         (__deregister_frame_info_bases_internal): Likewise.
1890         (__register_frame_info_bases): Declare and use hidden_proto before
1891         definition.  Use hidden_def instead of INTDEF.
1892         (__register_frame_info_table_bases): Likewise.
1893         (__deregister_frame_info_bases): Likewise.
1894         (__register_frame_info): Do not use INTUSE.
1895         (__register_frame): Likewise.
1896         (__register_frame_info_table): Likewise.
1897         (__register_frame_table): Likewise.
1898         (__deregister_frame_info): Likewise.
1899         (__deregister_frame): Likewise.
1901 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1904         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1905         not undefine.
1906         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1907         Likewise.
1908         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1909         Likewise.
1911 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1913         [BZ #14138]
1914         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1915         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1916         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1917         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1918         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1919         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1920         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1921         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1922         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1923         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1924         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1925         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1926         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1927         syscall.
1928         (setfsuid): Likewise.
1929         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1930         (setfsuid): Likewise.
1931         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1932         (setfsuid): Likewise.
1933         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1934         Likewise.
1935         (setfsuid): Likewise.
1936         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1937         (setfsuid): Likewise.
1938         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1939         Likewise.
1940         (setfsuid): Likewise.
1942 2014-10-27  Andreas Schwab  <schwab@suse.de>
1944         [BZ #17501]
1945         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1946         check for Slow_SSE4_2 feature bit.
1947         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1948         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1949         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1950         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1952 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1954         * configure.ac: Validate compiler version with a empirical test of
1955         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1956         $CC -v output.
1957         * configure: Regenerated.
1959         * inet/htons.c (htons): Prototypify.
1960         * inet/htonl.c (htonl): Likewise.
1962 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1964         * string/strncat.c (strncat): Improve performance by using strlen.
1966 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1968         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1970 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1972         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1973         Call libc_fetestexcept_aarch64.
1975 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1977         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1978         Call libc_feholdexcept_aarch64.
1980 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1982         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1983         Call get_rounding_mode.
1985 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1987         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1988         Simplify logic.
1990 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1992         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1993         Simplify logic.
1995 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
1997         [BZ #14138]
1998         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1999         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2000         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2001         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2002         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2003         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2004         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2005         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2006         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2007         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2008         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2009         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2010         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2011         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2012         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2013         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2014         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2015         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2016         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2017         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2018         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2019         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2020         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2021         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2022         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2023         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2024         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2025         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2026         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2027         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2028         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2029         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2030         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2031         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2032         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2033         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2034         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2035         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2036         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2037         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2038         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2039         syscall.
2040         (geteuid): Likewise.
2041         (getgid): Likewise.
2042         (getuid): Likewise.
2043         (getresgid): Likewise.
2044         (getresuid): Likewise.
2045         (getgroups): Likewise.
2046         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2047         (geteuid): Likewise.
2048         (getgid): Likewise.
2049         (getuid): Likewise.
2050         (getresgid): Likewise.
2051         (getresuid): Likewise.
2052         (getgroups): Likewise.
2053         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2054         (geteuid): Likewise.
2055         (getgid): Likewise.
2056         (getuid): Likewise.
2057         (getresgid): Likewise.
2058         (getresuid): Likewise.
2059         (getgroups): Likewise.
2060         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2061         Likewise.
2062         (geteuid): Likewise.
2063         (getgid): Likewise.
2064         (getuid): Likewise.
2065         (getresgid): Likewise.
2066         (getresuid): Likewise.
2067         (getgroups): Likewise.
2068         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2069         (geteuid): Likewise.
2070         (getgid): Likewise.
2071         (getuid): Likewise.
2072         (getresgid): Likewise.
2073         (getresuid): Likewise.
2074         (getgroups): Likewise.
2075         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2076         Likewise.
2077         (geteuid): Likewise.
2078         (getgid): Likewise.
2079         (getuid): Likewise.
2080         (getgroups): Likewise.
2082         [BZ #14138]
2083         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2084         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2085         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2086         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2087         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2088         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2089         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2090         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2091         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2092         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2093         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2095         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2096         __chown.
2097         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2098         (lchown): Likewise.
2099         (fchown): Likewise.
2100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2101         Likewise.
2102         (lchown): Likewise.
2103         (fchown): Likewise.
2104         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2105         (lchown): Likewise.
2106         (fchown): Likewise.
2107         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2108         Likewise.
2109         (lchown): Likewise.
2110         (fchown): Likewise.
2112 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2114         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2115         Simplify logic.
2117 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2119         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2120         Cleanup logic.
2122 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2124         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2125         Remove unused include.
2127 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2129         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2130         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2131         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2132         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2134 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2135             Helge Deller <deller@gmx.de>
2137         [BZ #17508]
2138         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2139         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2140         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2142 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2144         [BZ #14132]
2145         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2146         Remove macro definition.
2147         (__ashrdi3_v_glibc20): Likewise.
2148         (__lshrdi3_v_glibc20): Likewise.
2149         (__cmpdi2_v_glibc20): Likewise.
2150         (__ucmpdi2_v_glibc20): Likewise.
2151         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2152         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2153         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2154         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2155         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2156         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2158 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2160         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2161         old GNU extension [0] syntax.
2162         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2163         alloca rather than an array member with variable length.
2164         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2165         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2166         (parse_opt): ... here.  Likewise use alloca there.
2167         Validate the -i argument before checking for rootness.
2168         (send_shutdown): New function, broken out of ...
2169         (parse_opt): ... here.
2171 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2173         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2174         macro to get at the _rt_local_ro field.
2175         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2176         ([PIC] case) or _dl_hwcap ([!PIC] case).
2177         * sysdeps/arm/setjmp.S: Likewise.
2179         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2180         * sysdeps/arm/configure.ac: New check to define it.
2181         * sysdeps/arm/configure: Regenerated.
2182         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2183         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2184         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2185         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2186         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2187         Use move/movt pair instead of a load.
2188         (LDST_GLOBAL): Macro removed.
2189         (LDR_GLOBAL): New macro replaces it.
2190         (LDR_HIDDEN): New macro.
2191         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2192         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2194         * setjmp/tst-setjmp-static.c: New file.
2195         * setjmp/Makefile (tests): Add it.
2196         (tests-static): New variable.
2198 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2200         [BZ #17485]
2201         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2203 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2205         [BZ #14132]
2206         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2208 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2210         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2212 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2214         * io/fts.c (dirent_not_directory): New function.
2215         (fts_build): Call it.
2217 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2219         * nptl/version.c (__nptl_main): Use normal __write rather than
2220         INTERNAL_SYSCALL.
2221         (banner): Update copyright years.
2223         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2224         gettimeofday.
2225         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2226         * nptl/pthread_cond_timedwait.c: Likewise.
2227         * nptl/pthread_mutex_timedlock.c: Likewise.
2228         * nptl/sem_timedwait.c: Likewise.
2230         * sysdeps/nptl/bits/libc-lock.h
2231         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2232         (__libc_lock_init_recursive): Return void, not 0.
2233         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2234         (__libc_rwlock_init): Likewise.
2235         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2237 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2239         [BZ #15215]
2240         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2241         (__pthread_once_slow): ... here.
2242         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2243         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2245 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2247         [BZ #15215]
2248         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2249         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2250         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2251         * nptl/pthread_once.c (__pthread_once): Likewise.
2252         Update comments.
2254 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2256         [BZ #14138]
2257         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2258         name.
2259         (writev): Use __libc_writev as strong name.
2260         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2261         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2263 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2265         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2267         * sysdeps/i386/nptl/tls.h
2268         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2269         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2270         New macros.
2271         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2272         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2273         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2274         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2275         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2276         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2278         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2279         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2280         on [__NR_futex].
2281         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2282         broken out of ...
2283         (__pthread_mutex_init): ... here.  Call it.
2284         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2285         Conditionalize PI cases on [__NR_futex].
2286         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2287         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2288         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2290         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2291         conditional on [SIGSETXID].
2292         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2293         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2294         is defined.  Likewise for SIGSETXID.
2295         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2296         Conditionalize definitions on [SIGSETXID].
2297         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2298         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2299         unblocking on [SIGCANCEL].
2301         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2302         [__NR_set_robust_list].
2304 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2306         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2307         (do_compare): Likewise.
2309 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2311         [BZ #15884]
2312         * string/strcoll_l.c: Don't include stdio.h.
2313         (coll_seq): Remove members idxarr and rulearr.
2314         (get_next_seq_cached): Remove function.
2315         (get_next_seq): Likewise.
2316         (get_next_seq_nocache): Rename to get_next_seq.
2317         (do_compare): Remove function.
2318         (do_compare_nocache): Rename to do_compare.
2319         (STRCOLL): Remove weight and rules cache.
2321 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2323         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2324         * sysdeps/arm/sfp-machine.h: ... to here.
2325         * sysdeps/arm/Implies: Remove arm/soft-fp.
2327 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2329         * conform/data/sys/utsname.h-data (*_t): Allow.
2330         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2331         [POSIX] (WEXITED): Do not expect constant.
2332         [POSIX] (WSTOPPED): Likewise.
2333         [POSIX] (WNOHANG): Likewise.
2334         [POSIX] (WNOWAIT): Likewise.
2335         [POSIX] (siginfo_t): Do not expect type or elements.
2336         [POSIX] (pid_t): Do not expect type.
2337         [POSIX] (signal.h): Do not allow header.
2338         [POSIX] (sys/resource.h): Likewise.
2339         [POSIX] (si_*): Do not allow pattern.
2340         [POSIX] (W*): Likewise.
2341         [POSIX] (P_*): Likewise.
2342         [POSIX] (BUS_*): Likewise.
2343         [POSIX] (CLD_*): Likewise.
2344         [POSIX] (FPE_*): Likewise.
2345         [POSIX] (ILL_*): Likewise.
2346         [POSIX] (POLL_*): Likewise.
2347         [POSIX] (SEGV_*): Likewise.
2348         [POSIX] (SI_*): Likewise.
2349         [POSIX] (TRAP_*): Likewise.
2350         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2351         variable.
2353 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2355         [BZ #12926]
2356         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2357         infinite loop when __recvmsg returns 0.
2359 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2361         * CANCEL-FCT-WAIVE: Remove file.
2362         * CANCEL-FILE-WAIVE: Likewise.
2364         [BZ #14132]
2365         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2366         instead of INTVARDEF.
2367         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2368         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2369         rtld_hidden_data_def instead of INTVARDEF.
2370         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2371         * elf/dl-deps.c (expand_dst): Likewise.
2372         * elf/dl-load.c (_dl_dst_count): Likewise.
2373         (_dl_dst_substitute): Likewise.
2374         (decompose_rpath): Likewise.
2375         (_dl_init_paths): Likewise.
2376         (open_path): Likewise.
2377         (_dl_map_object): Likewise.
2378         * elf/rtld.c (dl_main): Likewise.
2379         (process_dl_audit): Likewise.
2380         (process_envvars): Likewise.
2381         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2382         Remove declaration.
2383         (__libc_enable_secure): Use rtld_hidden_proto.
2385 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2387         * elf/dl-load.c
2388         (add_path): New function broken out of _dl_rtld_di_serinfo.
2389         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2391 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2393         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2394         parentheses around macro arguments.
2395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2396         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2397         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2398         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2399         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2400         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2401         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2402         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2405         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2406         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2407         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2408         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2409         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2410         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2411         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2412         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2414         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2415         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2416         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2417         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2424         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2425         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2426         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2427         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2428         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2429         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2430         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2431         Likewise.
2432         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2433         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2435         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2436         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2437         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2439         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2440         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2441         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2442         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2443         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2444         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2451         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2452         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2453         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2454         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2455         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2456         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2457         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2458         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2459         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2460         (_FP_FRAC_SRS_1): Likewise.
2461         (_FP_FRAC_CLZ_1): Likewise.
2462         (_FP_MUL_MEAT_1_imm): Likewise.
2463         (_FP_MUL_MEAT_1_wide): Likewise.
2464         (_FP_MUL_MEAT_1_hard): Likewise.
2465         (_FP_SQRT_MEAT_1): Likewise.
2466         (_FP_FRAC_ASSEMBLE_1): Likewise.
2467         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2468         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2469         (__FP_CLZ_2): Likewise.
2470         (_FP_MUL_MEAT_2_wide): Likewise.
2471         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2472         (_FP_MUL_MEAT_2_gmp): Likewise.
2473         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2474         (_FP_SQRT_MEAT_2): Likewise.
2475         (_FP_FRAC_ASSEMBLE_2): Likewise.
2476         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2477         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2478         (_FP_FRAC_CLZ_4): Likewise.
2479         (_FP_MUL_MEAT_4_wide): Likewise.
2480         (_FP_MUL_MEAT_4_gmp): Likewise.
2481         (_FP_SQRT_MEAT_4): Likewise.
2482         (_FP_FRAC_ASSEMBLE_4): Likewise.
2483         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2484         * soft-fp/op-common.h (_FP_CMP): Likewise.
2485         (_FP_CMP_EQ): Likewise.
2486         (_FP_CMP_UNORD): Likewise.
2487         (_FP_TO_INT): Likewise.
2488         (_FP_FROM_INT): Likewise.
2489         [!__FP_CLZ] (__FP_CLZ): Likewise.
2490         (_FP_DIV_HELP_imm): Likewise.
2491         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2492         Likewise.
2493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2494         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2496         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2497         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2500         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2504         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2505         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2508         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2509         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2510         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2512         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2514         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2522         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2523         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2527         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2528         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2529         (FP_UNPACK_RAW_SP): Likewise.
2530         (FP_PACK_RAW_S): Likewise.
2531         (FP_PACK_RAW_SP): Likewise.
2532         (FP_UNPACK_S): Likewise.
2533         (FP_UNPACK_SP): Likewise.
2534         (FP_UNPACK_SEMIRAW_S): Likewise.
2535         (FP_UNPACK_SEMIRAW_SP): Likewise.
2536         (FP_PACK_S): Likewise.
2537         (FP_PACK_SP): Likewise.
2538         (FP_PACK_SEMIRAW_S): Likewise.
2539         (FP_PACK_SEMIRAW_SP): Likewise.
2540         (_FP_SQRT_MEAT_S): Likewise.
2541         (FP_CMP_S): Likewise.
2542         (FP_CMP_EQ_S): Likewise.
2543         (FP_CMP_UNORD_S): Likewise.
2544         (FP_TO_INT_S): Likewise.
2545         (FP_FROM_INT_S): Likewise.
2547         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2549         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2550         (FP_EX_INVALID_IMZ): Likewise.
2551         (FP_EX_INVALID_IMZ_FMA): Likewise.
2552         (FP_EX_INVALID_ISI): Likewise.
2553         (FP_EX_INVALID_ZDZ): Likewise.
2554         (FP_EX_INVALID_IDI): Likewise.
2555         (FP_EX_INVALID_SQRT): Likewise.
2556         (FP_EX_INVALID_CVI): Likewise.
2557         (FP_EX_INVALID_VC): Likewise.
2558         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2559         "invalid" exceptions.
2560         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2561         (_FP_ADD_INTERNAL): Likewise.
2562         (_FP_MUL): Likewise.
2563         (_FP_FMA): Likewise.
2564         (_FP_DIV): Likewise.
2565         (_FP_CMP_CHECK_NAN): Likewise.
2566         (_FP_SQRT): Likewise.
2567         (_FP_TO_INT): Likewise.
2568         (FP_EXTEND): Likewise.
2570 2014-10-09  Allan McRae  <allan@archlinux.org>
2572         * po/fr.po: Update French translation from translation project.
2574 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2576         [BZ #14132]
2577         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2578         of INTDEF.
2579         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2580         (__cxa_atexit): Use libc_hidden_proto.
2581         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2583         [BZ #14132]
2584         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2585         declaration.
2586         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2587         [!_ISOMAC] (__iswspace_l_internal): Likewise.
2588         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2589         [!_ISOMAC] (__iswctype_internal): Likewise.
2590         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2591         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2592         alias.
2593         (fcntl): Remove __fcntl_internal alias.
2594         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2595         __connect_internal alias.
2596         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2597         Likewise.
2599         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2600         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2601         FP_DENORM_ZERO.
2602         (_FP_CHECK_FLUSH_ZERO): New macro.
2603         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2604         (_FP_CMP): Likewise.
2605         (_FP_CMP_EQ): Likewise.
2606         (_FP_TO_INT): Do not set inexact for subnormal arguments if
2607         FP_DENORM_ZERO.
2608         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2609         (FP_TRUNC): Likewise.
2611         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2612         treated as invalid conversion, not as normal exponent.
2614         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2615         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
2616         (_FP_CMP_EQ): Likewise.
2617         (_FP_CMP_UNORD): Likewise.
2618         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2619         (FP_CMP_EQ_D): Likewise.
2620         (FP_CMP_UNORD_D): Likewise.
2621         * soft-fp/extended.h (FP_CMP_E): Likewise.
2622         (FP_CMP_EQ_E): Likewise.
2623         (FP_CMP_UNORD_E): Likewise.
2624         * soft-fp/quad.h (FP_CMP_Q): Likewise.
2625         (FP_CMP_EQ_Q): Likewise.
2626         (FP_CMP_UNORD_Q): Likewise.
2627         * soft-fp/single.h (FP_CMP_S): Likewise.
2628         (FP_CMP_EQ_S): Likewise.
2629         (FP_CMP_UNORD_S): Likewise.
2630         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2631         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2632         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2633         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2634         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2635         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2636         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2637         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2638         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2639         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2640         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2641         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2642         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2643         to FP_CMP_Q.
2644         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2645         FP_CMP_Q.
2646         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2647         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2648         FP_CMP_EQ_Q.
2649         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2650         FP_CMP_Q.
2651         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2652         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2653         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2654         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2655         FP_CMP_EQ_Q.
2656         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2657         FP_CMP_Q.
2658         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2659         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2660         FP_CMP_EQ_Q.
2661         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2662         FP_CMP_Q.
2663         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2664         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2665         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2666         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2667         FP_CMP_EQ_Q.
2669         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2670         a subnormal result, set the underflow exception if trapping on
2671         underflow is enabled.
2672         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2673         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2674         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2675         redefine to 0.
2676         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2677         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2678         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2679         * soft-fp/extendxftf2.c (__extendxftf2): Use
2680         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2682         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2683         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2684         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2685         FP_HANDLE_EXCEPTIONS.
2686         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2687         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2688         FP_HANDLE_EXCEPTIONS.
2689         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2690         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2691         FP_HANDLE_EXCEPTIONS.
2692         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2693         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2694         FP_HANDLE_EXCEPTIONS.
2696 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2698         [BZ #14132]
2699         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2700         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2701         use INTUSE.
2702         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2703         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2704         Remove alias.
2705         (__adjtimex): Define using libc_hidden_ver.
2706         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2707         Remove declaration.
2708         (ntp_gettime): Call __adjtimex directly.
2709         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2710         Remove declaration.
2711         (ntp_gettimex): Call __adjtimex directly.
2712         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2713         __adjtimex_internal alias.
2715 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2717         [BZ #17460]
2718         * nscd/nscd.c (more_help): Rewrite list of tables collection
2719         using xstrdup and asprintf.
2721         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2723 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2724             Roland McGrath  <roland@hack.frob.com>
2726         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2727         (do_lookup_unique): ... local function 'enter' here; update callers.
2729 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2731         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2732         compat_symbol calls on [SHARED].
2733         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2734         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2735         Remove.
2736         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2737         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2738         (oldsetrlimit): Remove.
2739         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2741         (lchown): New syscall entry.
2742         (oldsetrlimit): Remove.
2743         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2744         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2745         (oldsetrlimit): Remove.
2746         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2748         [BZ #14138]
2749         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2750         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2751         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2752         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2753         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2754         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2755         (fchown): Likewise.
2756         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2757         (fchown): Likewise.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2759         Likewise.
2761 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2763         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2764         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2765         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2766         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2767         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2768         Likewise.
2769         (__old_sem_post): Likewise.
2771 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2773         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2774         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2775         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2776         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2777         Use INLINE_VSYSCALL macro.
2778         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2779         __vdso_clock_gettime.
2780         * sysdeps/unix/sysv/linux/tile/init-first.c
2781         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2782         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2783         __vdso_clock_gettime.
2785         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2786         to set up frame more cleanly.
2788         * sysdeps/tile/memcmp.c: New file.
2790         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2792         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2793         * sysdeps/tile/tilegx/strcasestr.c: New file.
2794         * sysdeps/tile/tilegx/strnlen.c: New file.
2795         * sysdeps/tile/tilegx/strstr.c: New file.
2797         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2799 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2801         * nptl/tst-setuid3.c: Write errors to stdout.
2803 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2805         * elf/dl-deps.c
2806         (preload): New functions broken out of _dl_map_object_deps.
2807         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2809 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2811         [BZ #14138]
2812         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2813         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2815 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2817         * sysdeps/mips/strcmp.S: New.
2819 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2821         [BZ #14138]
2822         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2823         (linkat): Likewise.
2824         (mkdirat): Likewise.
2825         (readlinkat): Likewise.
2826         (renameat): Likewise.
2827         (symlinkat): Likewise.
2828         (unlinkat): Likewise.
2829         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2830         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2831         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2832         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2833         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2834         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2835         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2837 2014-09-30  Will Newton  <will.newton@linaro.org>
2839         * math/math.h: Define long double math functions if
2840         _LIBC_TEST is defined.
2841         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2843         * localedata/Makefile: Move assignment to tests-special
2844         into an ifdef testing run-built-tests.
2845         * timezone/Makefile: Likewise.
2847 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2849         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2850         with $(BASH) not $(SHELL).
2852 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2853             Matthew LeGendre  <legendre1@llnl.gov>
2855         [BZ #17411]
2856         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2857         l_reloc_result.
2859 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2861         * stdio-common/printf_fp.c
2862         (hack_digit): New function, broken out of ...
2863         (__printf_fp): ... local function here.  Update call sites.
2864         hack_digit now takes an additional parameter that is a pointer
2865         to a struct of the referenced locals.  Those locals moved inside
2866         the struct and references updated.
2868 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2870         * aclocal.m4: Require autoconf 2.69.
2871         * configure: Regenerated.
2872         * sysdeps/aarch64/configure: Likewise.
2873         * sysdeps/alpha/configure: Likewise.
2874         * sysdeps/arm/armv7/configure: Likewise.
2875         * sysdeps/arm/configure: Likewise.
2876         * sysdeps/ia64/configure: Likewise.
2877         * sysdeps/mach/configure: Likewise.
2878         * sysdeps/mips/configure: Likewise.
2879         * sysdeps/s390/configure: Likewise.
2880         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2883         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2884         file.
2885         * sysdeps/ia64/configure.ac: Likewise.
2887 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2890         specify symbol version for ld.so.  Do not include entry for
2891         libpthread.
2892         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2893         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2894         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2896         [BZ #14171]
2897         * Makeconfig [$(build-shared) = yes]
2898         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2899         makefiles.
2900         [$(build-shared) = yes && $(soversions.mk-done) = t]
2901         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2902         [$(build-shared) = yes && $(soversions.mk-done) = t]
2903         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2904         to Makerules.
2905         [$(build-shared) = yes && $(soversions.mk-done) = t]
2906         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2907         here.
2908         [$(build-shared) = yes && $(soversions.mk-done) = t]
2909         (common-generated): Don't append gnu/lib-names.h and
2910         gnu/lib-names.stmp here.
2911         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2912         (lib-names-h-abi): New variable.
2913         [$(build-shared) = yes && $(soversions.mk-done) = t]
2914         (lib-names-stmp-abi): Likewise.
2915         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2916         abi-variants] (before-compile): Append
2917         $(common-objpfx)$(lib-names-h-abi).
2918         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2919         abi-variants] (common-generated): Append gnu/lib-names.h.
2920         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2921         abi-variants] (install-others-nosubdir): Depend on
2922         $(inst_includedir)/$(lib-names-h-abi).
2923         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2924         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2925         [$(build-shared) = yes && $(soversions.mk-done) = t]
2926         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2927         [$(build-shared) = yes && $(soversions.mk-done) = t]
2928         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2929         [$(build-shared) = yes && $(soversions.mk-done) = t]
2930         (common-generated): Append $(lib-names-h-abi) and
2931         $(lib-names-stmp-abi).
2932         * scripts/lib-names.awk: Do not handle multi being set.
2933         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2934         Remove variable.
2935         (abi-lp64_be-ld-soname): Likewise.
2936         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2937         Likewise.
2938         (abi-hard-ld-soname): Likewise.
2939         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2940         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2941         Remove variable.
2942         (abi-o32_hard-ld-soname): Likewise.
2943         (abi-o32_soft_2008-ld-soname): Likewise.
2944         (abi-o32_hard_2008-ld-soname): Likewise.
2945         (abi-n32_soft-ld-soname): Likewise.
2946         (abi-n32_hard-ld-soname): Likewise.
2947         (abi-n32_soft_2008-ld-soname): Likewise.
2948         (abi-n32_hard_2008-ld-soname): Likewise.
2949         (abi-n64_soft-ld-soname): Likewise.
2950         (abi-n64_hard-ld-soname): Likewise.
2951         (abi-n64_soft_2008-ld-soname): Likewise.
2952         (abi-n64_hard_2008-ld-soname): Likewise.
2953         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2954         Likewise.
2955         (abi-64-v2-ld-soname): Likewise.
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2957         ld.so entries.
2958         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2959         variable.
2960         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2961         entry.
2962         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2963         variable.
2964         (abi-64-ld-soname): Likewise.
2965         (abi-x32-ld-soname): Likewise.
2966         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2967         entry.
2968         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2970 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2972         [BZ #14138]
2973         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2974         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2975         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2976         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2977         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2978         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2979         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2980         syscall entry for GLIBC_2.2 symbol version.
2981         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2982         Likewise.
2983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2984         (setrlimit): Likewise.
2985         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2986         Likewise.
2988 2014-09-23  Will Newton  <will.newton@linaro.org>
2990         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2991         _LINUX_ARM_SYSDEP_H include guard too.
2992         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2993         define.
2995 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2997         * sysdeps/unix/sysv/linux/eventfd.c:
2998         Make first argument unsigned.
2999         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3000         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3002 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3004         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3005         * socket/sys/socket.h: Likewise
3006         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3008 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3010         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3012 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3014         * time/tst-ftime.c: New test.
3015         * time/Makefile (tests): Add tst-ftime.
3017 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3019         * soft-fp/extended.h: Fix comment formatting.
3020         * soft-fp/op-1.h: Likewise.
3021         * soft-fp/op-2.h: Likewise.
3022         * soft-fp/op-4.h: Likewise.
3023         * soft-fp/op-8.h: Likewise.
3024         * soft-fp/op-common.h: Likewise.
3025         * soft-fp/soft-fp.h: Likewise.
3027         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3029 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3031         [BZ #6652]
3032         * Makeconfig (soversions-default-setname): Remove variable.
3033         ($(common-objpfx)soversions.i): Don't pass default_setname to
3034         soversions.awk.
3035         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3036         oldest_abi to abi-versions.awk.
3037         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3038         * config.make.in (oldest-abi): Remove variable.
3039         * configure.ac (--enable-oldest-abi): Remove configure option.
3040         * configure: Regenerated.
3041         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3042         text.
3043         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3044         * scripts/soversions.awk: Do not handle default_setname variable.
3045         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3046         variable.
3047         * sysdeps/mach/hurd/configure: Regenerated.
3048         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3049         variable.
3050         * sysdeps/unix/sysv/linux/configure: Regenerated.
3052 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3054         * elf/Makefile (CFLAGS-interp.c): Remove.
3055         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3056         path string.
3057         * elf/interp.c: Include generated runtime-linker.h
3059         * Makerules (lib%.so): Don't include $(+interp) in
3060         prerequisites.
3061         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3062         * dlfcn/eval.c: Remove file.
3064         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3065         macros.
3067         [BZ #17266]
3068         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3069         4.2 and newer.
3071         [BZ #17370]
3072         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3074 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3075             Jakub Jelinek  <jakub@redhat.com>
3077         [BZ #17266]
3078         * libio/stdio.h: Check definition of __fortify_function
3079         instead of __extern_always_inline to include bits/stdio2.h.
3080         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3081         check if __extern_always_inline is defined.
3082         [__USE_MISC || __USE_XOPEN]: Likewise.
3083         [__USE_ISOC99] Likewise.
3084         * misc/sys/cdefs.h (__fortify_function): Define only if
3085         __extern_always_inline is defined.
3086         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3087         __extern_always_inline and __extern_inline only for g++-4.3
3088         and newer or a compatible gcc.
3090 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3092         [BZ #17371]
3093         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3094         last change to handle zero prefix length.
3096 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3098         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3099         _SC_REGEX_VERSION.
3101         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3102         _POSIX_RAW_SOCKETS.
3104 2014-09-13  Allan McRae  <allan@archlinux.org>
3106         * po/ru.po: Update Russian translation from translation project.
3108 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3110         * locale/programs/locale.c (show_locale_vars): Inline local function
3111         into its sole call site.  Clean up some style nits.
3112         (print_item): New function, broken out of ...
3113         (show_info): ... local function here.  Clean up style nits.
3115         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3116         out of ...
3117         (set_class_defaults): ... local function set_default here.
3118         Define set_default as a macro locally to pass constant parameters.
3119         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3120         rather than a shared local.
3122         * stdlib/rpmatch.c (try): New function, broken out of ...
3123         (rpmatch): ... local function here.  Also, prototypify definition.
3125 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3127         * scripts/soversions.awk: Do not handle configuration names.
3128         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3129         vendor and os variables to soversions.awk.
3130         * configure.ac: Do not modify gnu-* host_os.
3131         * configure: Regenerated
3132         * shlib-versions: Remove first column with configuration names.
3133         * nptl/shlib-versions: Likewise.
3134         * nptl_db/shlib-versions: Likewise.
3135         * sysdeps/hppa/shlib-versions: Likewise.
3136         * sysdeps/m68k/shlib-versions: Likewise.
3137         * sysdeps/mach/hurd/shlib-versions: Likewise.
3138         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3139         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3140         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3141         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3142         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3143         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3144         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3145         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3147         Likewise.
3148         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3149         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3150         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3151         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3152         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3153         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3154         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3155         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3158         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3160         Regenerated.
3161         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3163         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3165         * shlib-versions: Remove OS-specific entries.  Moved to files in
3166         sysdeps.
3167         * sysdeps/mach/hurd/shlib-versions: New file.
3168         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3170         * nptl/shlib-versions: Remove architecture-specific entries.
3171         Moved to files in sysdeps.
3172         * shlib-versions: Likewise.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3174         file.
3175         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3176         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3177         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3178         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3180         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3181         (UDP_NO_CHECK6_RX): Likewise.
3183 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3185         * sysdeps/posix/sysconf.c (__sysconf): Spell
3186         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3188 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3190         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3191         loading.
3192         * iconv/Versions (__gconv_transliterate): Export for use from
3193         gconv modules.
3194         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3195         (struct __gconv_trans_data, __gconv_trans_fct,
3196         __gconv_trans_context_fct, __gconv_trans_query_fct,
3197         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3198         definitions.
3199         (struct __gconv_step_data): Remove __trans member.
3200         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3201         longer hidden.  Remove unused trans_data argument.
3202         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3203         (__gconv_translit_find): Remove declaration.
3204         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3205         prototype.
3206         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3207         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3208         trans_data argument.  Add hidden definition.
3209         (__gconv_translit_find): Remove.
3210         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3211         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3212         * iconv/skeleton.c: Remove transliteration initialization.
3213         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3214         __gconv_step_data initialization.
3215         * libio/iofwide.c (__libio_translit_): Remove.
3216         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3217         * wcsmbs/btowc.c (__btowc): Likewise.
3218         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3219         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3220         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3221         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3222         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3223         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3224         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3225         * wcsmbs/wctob.c (wctob): Likewise.
3227 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3229         [BZ #16194]
3230         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3231         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3232         register usage.
3233         * sysdeps/x86/Makefile: Adjust.
3235 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3236             Roland McGrath  <roland@hack.frob.com>
3238         * locale/weight.h: Add include guard.
3239         (findidx): Make static rather than auto; take new parameters
3240         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3241         * locale/weightwc.h: Likewise.
3242         * posix/fnmatch_loop.c
3243         (FCT): Change type of EXTRA from int32_t to wint_t.
3244         Don't include either header inside the function.
3245         Call FINDIDX rather than findidx, and pass new arguments.
3246         #undef FINDIDX at the end of the file.
3247         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3248         FINDIDX before including fnmatch_loop.c for the non-wide version.
3249         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3250         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3251         for the wide version.
3252         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3253         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3254         Pass new arguments to findidx.
3255         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3256         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3257         Don't #include it inside the function.  Pass new arguments to findidx.
3258         * posix/regex_internal.h
3259         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3260         (re_string_elem_size_at): Don't #include it inside the function.
3261         Pass new arguments to findidx.
3262         * string/strcoll_l.c: #include WEIGHT_H at top level.
3263         (get_next_seq): Don't #include it inside the function.
3264         Pass new arguments to findidx.
3265         (get_next_seq_nocache): Likewise.
3266         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3267         (STRXFRM): Don't #include it inside the function.
3268         Pass new arguments to findidx.
3270 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3272         [BZ #17344]
3273         * malloc/malloc.c (unlink): Turn asserts into a call to
3274         malloc_printerr.
3276 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3278         [BZ #17370]
3279         * libio/wfileops (do_ftell_wide): Free OUT.
3281 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3283         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3285 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3287         [BZ #17363]
3288         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3289         group if the current group is empty.
3291 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3293         * benchtests/bench-memset.c (test_main): Add more test from size
3294         from 32 to 512 bytes.
3295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3296         Add POWER8 memset object.
3297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3298         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3299         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3300         implementation.
3301         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3302         Likewise.
3303         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3304         multiarch POWER8 memset optimization.
3305         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3306         POWER8 memset optimization.
3308         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3309         Remove bzero multiarch objects.
3310         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3311         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3312         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3313         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3314         Remove define.
3315         [__bzero]: Redefine to specific name.
3316         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3317         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3318         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3319         define.
3320         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3321         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3323 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3325         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3326         warnings into errors.
3328         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3329         __cxa_thread_atexit_impl prototype.
3331 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3333         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3334         Fix capitalization of error message.
3336 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3338         * sysdeps/mips/preconfigure: Modify ABI tests.
3340 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3342         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3344 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3345             Carlos O'Donell  <carlos@systemhalted.org>
3347         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3348         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3349         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3350         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3351         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3352         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3353         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3354         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3355         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3356         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3357         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3358         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3359         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3360         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3361         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3362         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3363         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3364         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3365         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3366         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3367         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3368         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3369         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3370         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3371         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3372         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3373         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3374         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3375         Deconditionalize the code that was previously under [RESET_PID].
3376         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3377         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3378         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3379         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3380         include sysdep.h.
3382 2014-09-08  Allan McRae  <allan@archlinux.org>
3384         * version.h (RELEASE): Set to "development".
3385         (VERSION): Set to "2.20.90"
3387 2014-09-07  Allan McRae  <allan@archlinux.org
3389         * version.h (RELEASE): Set to "stable".
3390         (VERSION): Set to "2.20"
3391         * include/features.h (__GLIBC_MINOR__): Set to 20.
3393         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3394         Liebler.
3396         * po/ko.po: Update Korean translation from translation project.
3398 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3400         [BZ #17354]
3401         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3402         macro for handling signed relocations.
3404 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3406         [BZ #17325]
3407         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3408         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3409         assert.
3410         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3411         * iconvdata/ibm935.c (BODY): Likewise.
3412         * iconvdata/ibm937.c (BODY): Likewise.
3413         * iconvdata/ibm939.c (BODY): Likewise.
3414         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3415         assert.
3416         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3417         script.
3418         * iconvdata/run-iconv-test.sh: New test loop for checking for
3419         decoder crashers.
3421 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3424         libm_hidden_ver.
3426 2014-09-01  Allan McRae  <allan@archlinux.org>
3428         * po/eo.po: Update Esperanto translation from translation project.
3430         * po/ca.po: Update Catalan translation from translation project.
3432 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3434         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3435         __proc_dostop call.
3437 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3439         [BZ #17319]
3440         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3441         to call set_thread_area instead of hand written asm.
3442         (__NR_set_thread_area): Removed define.
3443         (TLS_FLAG_WRITABLE): Likewise.
3444         (__ASSUME_SET_THREAD_AREA): Remove check.
3445         (TLS_EBX_ARG): Remove define.
3446         (TLS_LOAD_EBX): Likewise.
3448 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3450         Simplify atomicity of socket creation in bind.
3452         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3453         looking up the name after linking the file.
3455 2014-08-27  Allan McRae  <allan@archlinux.org>
3457         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3459 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3461         [BZ #17187]
3462         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3463         trans_compare, open_translit, __gconv_translit_find):
3464         Remove module loading code.
3466 2014-08-26  Allan McRae  <allan@archlinux.org>
3468         * po/vi.po: Update Vietnamese translation from translation project.
3470         * po/uk.po: Update Ukrainian translation from translation project.
3472         * po/fr.po: Update French translation from translation project.
3474         * po/ru.po: Update Russian translation from translation project.
3476         * po/pl.po: Update Polish translation from translation project.
3478         * po/cs.po: Update Czech translation from translation project.
3480         * po/de.po: Update German translation from translation project.
3482         * po/bg.po: Update Bulgarian translation from translation project.
3484         * po/sv.po: Update Sweedish translation from translation project.
3486         * po/nl.po: Update Dutch translation from translation project.
3488         * po/es.po: Update Spanish translation from translation project.
3490 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3492         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3494         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3495         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3496         (CPPFLAGS-iconvconfig): Likewise.
3497         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3499         * include/libc-symbols.h: Remove unnecessary check for
3500         NOT_IN_libc.
3501         * nptl/pthreadP.h: Likewise.
3502         * sysdeps/aarch64/setjmp.S: Likewise.
3503         * sysdeps/alpha/setjmp.S: Likewise.
3504         * sysdeps/arm/sysdep.h: Likewise.
3505         * sysdeps/i386/setjmp.S: Likewise.
3506         * sysdeps/m68k/setjmp.c: Likewise.
3507         * sysdeps/posix/getcwd.c: Likewise.
3508         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3509         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3510         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3511         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3512         * sysdeps/sh/sh3/setjmp.S: Likewise.
3513         * sysdeps/sh/sh4/setjmp.S: Likewise.
3514         * sysdeps/unix/alpha/sysdep.h: Likewise.
3515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3516         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3517         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3518         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3521         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3522         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3523         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3524         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3526         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3528         * sysdeps/x86_64/setjmp.S: Likewise.
3530 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #17263]
3533         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3534         <stdint.h>.
3535         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3536         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3538 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3540         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3542         [BZ #17262]
3543         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3544         and __x86_64__ when disabling x87 inline functions.
3546 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3548         [BZ #17259]
3549         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3550         asm statement with __cpuid_count.
3552 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3554         * configure.ac: Change __ehdr_start code to dereference the struct.
3555         Run readelf on the output to look for relocations.
3556         * configure: Regenerated.
3558 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3560         [BZ #17261]
3561         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3562         value to 0.
3563         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3565 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3567         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3569 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
3571         [BZ #16892]
3572         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3573         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3575 2014-08-12  Sean Anderson  <seanga2@gmail.com>
3577         * malloc/malloc.c: Fix typo in comment.
3579 2014-08-09  Allan McRae  <allan@archlinux.org>
3581         * Regenerate libc.po.
3583 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
3585         * intl/tst-gettext2.sh: Check every lang file for creation.
3587 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3589         * sysdeps/aarch64/fpu/math_private.h
3590         (libc_feholdsetround_noex_aarch64_ctx): New function.
3592 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3594         * sysdeps/arm/armv6/strcpy.S (strcpy):
3595         Fix performance issue in misaligned cases.
3597 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3599         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3600         Move definition from termios.h.
3601         (struct termio): Likewise.
3602         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3603         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3604         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3605         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3606         Likewise.
3607         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3608         Move definition to ioctl-types.h
3609         (struct termio): Likewise.
3610         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3611         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3612         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3613         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3614         Likewise.
3616 2014-08-05  Richard Henderson  <rth@redhat.com>
3618         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3619         exceptions.
3620         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3621         Add fraiseexcpt.
3622         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3623         Use __feraiseexcept.
3624         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3625         Protect libm symbols with IS_IN_libm.
3627         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3629 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
3631         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3633 2014-08-04  Will Newton  <will.newton@linaro.org>
3635         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3636         file.
3638 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3640         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3641         variants for each function.
3643 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3645         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3646         appended ...
3647         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3648         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3649         appended ...
3650         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3651         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3652         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3653         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3654         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3655         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3656         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3657         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3658         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3659         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3660         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3661         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3662         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3664         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3666         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3667         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3668         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3669         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3670         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3671         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3672         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3674         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3676         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3677         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3678         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3686         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3687         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3688         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3689         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3690         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3691         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3692         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3693         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3694         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3695         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3696         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3697         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3698         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3699         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3700         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3701         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3702         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3703         Update #include.
3704         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3705         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3707 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3709         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3710         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3711         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3712         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3713         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3714         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3716 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3718         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3719         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3720         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3721         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3723 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3725         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3726         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3727         (__libc_vfork): Define function under this name.
3728         (__vfork): Define as an alias.
3729         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3730         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3732 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3734         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3735         that was previously under [RESET_PID].
3736         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3738 2014-08-04  Andreas Schwab  <schwab@suse.de>
3740         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3742 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3744         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3745         (main): Likewise.
3747 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3749         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3751 2014-08-01  Richard Henderon  <rth@redhat.com>
3753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3754         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3755         typo in exact zero test.
3756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3757         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3760 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3762         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3763         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3764         * sysdeps/arm/sysdep.h: ... here.
3765         [!__ASSEMBLER__]: Include <stdint.h>.
3767 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3769         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3770         (HAVE_WCTYPE_H): Likewise.
3771         (HAVE_ISWCTYPE): Likewise.
3772         (ENABLE_NLS): Likewise.
3773         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3774         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3776         * posix/regex_internal.c: Check if DEBUG is defined and is
3777         set.
3779         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3780         (HAVE_MBSRTOWCS): Likewise.
3781         * posix/fnmatch.c: Include string.h unconditionally.
3783 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3785         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3786         reversal.
3788 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3790         * sysdeps/generic/safe-fatal.h: New file.
3791         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3792         * nptl/forward.c: Include it.
3793         (__pthread_unwind): Use __safe_fatal as default action, rather
3794         than a bogus use of INTERNAL_SYSCALL that could never work.
3796         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3797         * configure.ac (libc_cv_builtin_trap): New test.
3798         * configure: Regenerated.
3799         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3800         (ABORT_INSTRUCTION): Define using __builtin_trap.
3802         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3803         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3804         * sysdeps/nptl/nptl-signals.h: New file.
3805         * nptl/pthreadP.h: Include <nptl-signals.h>.
3807 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3809         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3810         (ONE_DIRECTION): Define.
3811         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3812         (ONE_DIRECTION): Define.
3813         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3814         (ONE_DIRECTION): Define.
3816 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3818         * sysdeps/s390/Makefile: Delete file.
3819         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3820         * sysdeps/s390/__longjmp.c: Delete file.
3821         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3822         Remove fields __flags and __reserved.
3823         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3824         and add versioning.
3825         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3826         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3827         * sysdeps/s390/rtld-setjmp.S: Likewise.
3828         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3829         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3830         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3831         * sysdeps/s390/s390-32/setjmp.S: ... here.
3832         Add versioning.
3833         (__sigsetjmp): Remove setting __flags field.
3834         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3835         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3836         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3837         * sysdeps/s390/s390-64/setjmp.S: ... here.
3838         Add versioning.
3839         (__sigsetjmp): Remove setting __flags field.
3840         * sysdeps/s390/setjmp.S: Delete file.
3841         * sysdeps/s390/sigjmp.c: Likewise.
3842         * sysdeps/s390/v1-longjmp.c: Likewise.
3843         * sysdeps/s390/v1-setjmp.h: Likewise.
3844         * sysdeps/s390/v1-sigjmp.c: Likewise.
3845         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3846         Remove v1-longjmp_chk.
3847         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3848         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3849         Include debug/longjmp_chk.c and add versioning.
3850         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3851         Include nptl/pt-longjmp.c and add versioning.
3852         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3853         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3854         Include __longjmp.c.
3855         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3856         Move to ...
3857         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3858         (__getcontext): Remove setting __flags field.
3859         Add versioning.
3860         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3861         Don't restore upper high grps.
3862         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3863         Likewise.
3864         (__swapcontext): Remove setting uc_flags field.
3865         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3866         Delete file.
3867         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3868         Include __longjmp.c.
3869         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3870         Move to ...
3871         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3872         (__getcontext): Remove setting __flags field.
3873         Add versioning.
3874         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3875         (__swapcontext): Remove setting uc_flags field.
3876         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3877         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3878         Remove fields uc_high_gprs and __reserved.
3879         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3880         New file with reverted content.
3881         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3882         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3883         Regenerated.
3884         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3885         Regenerated.
3887 2014-07-31  Andreas Schwab  <schwab@suse.de>
3889         * config.h.in (HAVE_IFUNC): Define to 0.
3890         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3891         definedness.
3893 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3896         memmove-avx-unaligned, memcpy-avx-unaligned and
3897         mempcpy-avx-unaligned.
3898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3899         Add tests for AVX memcpy functions.
3900         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3901         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3902         memcpy_chk.
3903         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3904         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3905         memmove_chk.
3906         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3907         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3908         mempcpy_chk.
3909         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3910         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3911         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3913 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3915         [BZ #17213]
3916         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3917         powerpc64le.
3919 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3921         [BZ #16839]
3922         * manual/llio.texi: Add section about open file description locks.
3923         * manual/examples/ofdlocks.c: Example of open file description
3924         lock usage.
3925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3926         F_OFD_SETLK, and F_OFD_SETLKW.
3928 2014-07-23  Allan McRae  <allan@archlinux.org>
3930         * po/es.po: Update Spanish translation from translation project.
3932 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3934         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3936 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3938         [BZ #17078]
3939         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3940         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3941         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3943 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3945         [BZ #17088]
3946         * math/fesetenv.c (__fesetenv)
3947         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3948         * math/feupdateenv.c (__feupdateenv)
3949         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3951         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3952         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3953         (__ASSUME_SOCKETCALL): Do not define.
3955         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3956         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3957         (__ASSUME_SOCKETCALL): Do not define.
3958         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3959         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3960         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3961         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3962         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3963         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3964         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3965         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3968         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3969         (__ASSUME_SOCKETCALL): Do not define.
3970         (__ASSUME_IPC64): Define unconditionally.
3971         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3972         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3973         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3974         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3975         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3976         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3977         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3978         Likewise.
3980         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3981         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3982         (__ASSUME_SOCKETCALL): Do not define.
3983         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3984         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3985         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3986         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3987         (__ASSUME_REQUEUE_PI): Define unconditionally.
3988         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3989         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3990         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3991         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3992         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3993         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3995         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3996         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3997         (__ASSUME_SOCKETCALL): Do not define.
3998         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3999         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4000         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4001         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4002         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4003         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4005         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4006         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4007         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4008         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4009         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4010         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4011         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4012         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4013         (__ASSUME_GETCPU_SYSCALL): Likewise.
4015         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4016         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4017         cases for individual architectures.
4018         * sysdeps/gnu/configure: Regenerated.
4019         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4020         LIBC_SLIBDIR_RTLDDIR.
4021         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4022         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4023         LIBC_SLIBDIR_RTLDDIR.
4024         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4026         LIBC_SLIBDIR_RTLDDIR.
4027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4028         Regenerated.
4029         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4030         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4031         file.
4032         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4033         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4034         file.
4035         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4036         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4037         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4038         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4040         * sysdeps/aarch64/shlib-versions: Move to ...
4041         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4042         * sysdeps/alpha/shlib-versions: Move to ...
4043         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4044         * sysdeps/arm/shlib-versions: Move to ...
4045         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4046         * sysdeps/hppa/shlib-versions: Move all contents except for
4047         libgcc_s entry to ...
4048         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4049         entry from ...
4050         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4051         * sysdeps/ia64/shlib-versions: Move to ...
4052         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4053         entry from ...
4054         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4055         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4056         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4057         * sysdeps/microblaze/shlib-versions: Move to ...
4058         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4059         * sysdeps/mips/shlib-versions: Move to ...
4060         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4061         entry from ...
4062         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4063         * sysdeps/tile/shlib-versions: Move to ...
4064         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4065         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4066         from ...
4067         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4068         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4069         entry from ...
4070         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4072 2014-07-17  Will Newton  <will.newton@linaro.org>
4074         * sysdeps/arm/bits/atomic.h
4075         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4076         (__arch_compare_and_exchange_bool_16_int): Likewise.
4077         (__arch_compare_and_exchange_bool_64_int): Likewise.
4079         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4080         into an #else block.
4082 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4084         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4085         just Linux configurations.  Test empirically that the compiler sets
4086         __ARM_EABI__, rather than using the tuple to decide.
4087         * sysdeps/arm/preconfigure: Regenerated.
4088         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4089         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4090         contents appended ...
4091         * sysdeps/arm/configure.ac: ... here.
4092         * sysdeps/arm/configure: Regenerated.
4094 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4096         * nptl/pthread_kill.c: New file.
4097         * nptl/pthread_sigmask.c: New file.
4098         * nptl/pthread_sigqueue.c: New file.
4100         * sysdeps/nptl/lowlevellock.h: New file.
4101         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4102         * sysdeps/nptl/lowlevellock-futex.h: New file.
4104         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4105         Remove dead declarations.
4107 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4109         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4110         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4111         config-cflags-avx2.
4112         * sysdeps/x86_64/configure.ac: Likewise.
4113         * sysdeps/i386/configure: Regenerated.
4114         * sysdeps/x86_64/configure: Likewise.
4115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4116         memset-avx2 only if config-cflags-avx2 is yes.
4117         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4118         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4119         defined.
4120         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4121         only if HAVE_AVX2_SUPPORT is defined.
4122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4124 2014-07-14  Alan Modra  <amodra@gmail.com>
4126         [BZ #17153]
4127         * elf/elf.h (DT_PPC64_NUM): Correct value.
4128         * NEWS: Add to fixed bug list.
4130 2014-07-13  Jim Meyering  <meyering@fb.com>
4132         [BZ 17150]
4133         regex: don't deref NULL upon heap allocation failure
4134         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4135         failure in one more place.
4136         To trigger the segfault, configure grep -with-included-regex,
4137         build it, and run these commands:
4138         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4140 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4142         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4144 2014-07-11  Richard Henderson  <rth@redhat.com>
4146         * sysdeps/aarch64/libm-test-ulps: Update.
4148 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4150         [BZ #17135]
4151         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4152         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4153         (__nptl_setxid): Initialize error member.  Call
4154         __nptl_setxid_error.
4155         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4156         * nptl/descr.h (struct xid_command): Add error member.
4157         * nptl/tst-setuid3.c: New file.
4158         * nptl/Makefile (tests): Add it.
4160 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4162         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4163         New define.
4164         (__lll_trylock): Use __lll_base_trylock.
4165         (__lll_cond_trylock): Likewise.
4167 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4169         * nptl/pthread_create.c (start_thread): Use atomic_or and
4170         lll_futex_wake directly rather than lll_robust_dead.
4171         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4172         (lll_robust_dead): Macro removed.
4173         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4174         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4175         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4176         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4178         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4179         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4180         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4181         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4182         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4183         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4184         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4186         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4187         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4189         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4190         Use atomic_compare_and_exchange_val_acq directly rather than
4191         lll_robust_trylock.
4192         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4193         (__lll_robust_trylock, lll_robust_trylock): Removed.
4194         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4195         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4196         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4197         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4198         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4199         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4200         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4201         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4202         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4203         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4204         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4205         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4206         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4207         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4209 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4211         * manual/locale.texi (Locale Names): New section documenting
4212         locale name syntax.  Adjust menu and node chaining accordingly.
4213         (Choosing Locale): Reference Locale Names, Locale Categories.
4214         Mention setting LC_ALL=C.  Reflect that name syntax is now
4215         documented.
4216         (Locale Categories): New section title.  Reference Locale Names.
4217         LC_ALL is an environment variable, but not a category.
4218         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4219         description, now in Locale Name.  Reference that section.  Locale
4220         name syntax is now documented.
4222 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4224         [BZ #17137]
4225         * locale/findlocale.c (name_present, valid_locale_name): New
4226         functions.
4227         (_nl_find_locale): Use the loc_name variable to store name
4228         candidates.  Call name_present and valid_locale_name to check and
4229         validate locale names.  Return an error if the locale is invalid.
4231 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4233         * locale/setlocale.c (setlocale): Use strdup for allocating
4234         composite name copy.
4236 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4238         Sync up with gnulib.
4239         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4240         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4241         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4242         and _GL_ARG_NONNULL.
4243         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4244         [!_LIBC]: Include code for Windows and Cygwin.
4245         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4246         Include prototype for int strerror_r.
4247         [!_LIBC] (is_open): New function.
4248         (flush_stdout): New function.
4249         (print_errno_message): Use it.
4250         (error): Likewise.
4251         (error_at_line): Likewise.
4252         (error_tail) Add function attribute macros.  Use
4253         __builtin_expect.
4255         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4257         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4259         * io/ftw.c: Include sys/param.h unconditionally.
4261         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4263         [BZ #17125]
4264         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4265         libc_freeres_ptr.
4266         (freecache): New function to free CACHE on exit.
4268         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4269         initialization.
4271 2014-07-09  David S. Miller  <davem@davemloft.net>
4273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4275         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4276         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4277         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4278         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4279         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4280         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4281         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4282         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4283         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4284         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4285         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4286         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4287         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4289 2014-07-09  Andreas Schwab  <schwab@suse.de>
4291         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4292         output.
4293         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4294         (do_test): Likewise.
4296         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4298 2014-07-09  Will Newton  <will.newton@linaro.org>
4300         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4301         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4302         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4303         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4304         * sysdeps/hppa/start.S (_start): Likewise.
4306 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4308         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4310         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4311         defined.
4313 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4315         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4316         after checking that it is non-NULL.
4318         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4320 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4322         * sysdeps/powerpc/memmove.c: Remove file.
4323         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4324         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4325         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4326         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4327         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4328         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4329         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4330         string memmove instead of removed powerpc one.
4332         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4333         [weak_alias]: Fix compiler warning due trailing data.
4334         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4335         [weak_alias]: Likewise.
4336         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4337         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4339         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4340         (__libc_ifunc_impl_list): Add memmove functions.
4342 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4344         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4345         Remove code.
4346         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4347         Likewise
4348         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4349         Likewise
4350         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4351         Likewise
4352         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4353         Likewise
4354         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4355         Likewise
4356         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4357         Likewise
4358         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4359         Likewise
4360         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4361         Likewise
4362         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4363         Likewise
4364         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4365         Likewise
4366         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4367         Likewise
4368         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4369         Likewise
4370         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4371         Likewise
4372         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4373         Likewise
4374         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4375         Likewise
4376         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4377         Likewise
4379 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4381         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4382         to avoid alignment traps in non-cacheable memory.
4383         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4386         multiarch objects.
4387         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4388         file: multiarch power7 memmove.
4389         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4390         multiarch default memmove.
4391         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4392         multiarch memove for powerpc32/power4.
4394         * string/bcopy.c: Use full path to include memmove.c.
4395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4396         multiarch objects.
4397         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4398         bcopy for powerpc64.
4399         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4400         bcopy for powerpc64.
4401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4402         and memmove implementations.
4403         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4404         optimized multiarch memmove for POWER7/powerpc64.
4405         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4406         default multiarch memmove for powerpc64.
4407         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4408         multiarch for powerpc64.
4409         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4410         for POWER7/powerpc64.
4411         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4412         memmove for POWER7/powerpc64.
4414         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4415         glibc default one.
4417         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4418         __ELF_NATIVE_CLASS equal to 64.
4420 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4422         * sysdeps/nptl/lowlevellock.h: File removed.
4424         * NEWS: NPTL is no longer an add-on!
4425         * nptl/internaltypes.h: Moved ...
4426         * sysdeps/nptl/internaltypes.h: ... here.
4427         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4428         * sysdeps/nptl/fork.c: Likewise.
4429         * sysdeps/nptl/gai_misc.h: Likewise.
4430         * sysdeps/nptl/librt-cancellation.c: Likewise.
4431         * sysdeps/nptl/jmp-unwind.c: Likewise.
4432         * sysdeps/nptl/setxid.h: Likewise.
4433         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4434         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4435         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4436         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4437         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4438         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4439         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4440         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4441         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4442         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4443         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4444         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4445         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4446         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4447         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4448         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4449         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4450         * nptl/Makeconfig: Moved ...
4451         * sysdeps/nptl/Makeconfig: ... here.
4452         * nptl/configure: File removed.
4453         * nptl/ANNOUNCE: File removed.
4454         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4455         * sysdeps/unix/sysv/linux/configure: Regenerated.
4457         * nptl/Makefile (routines): Add libc_pthread_init,
4458         libc_multiple_threads, register-atfork and unregister-atfork.
4459         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4460         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4461         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4462         pthread-pi-defines.sym, structsem.sym.
4463         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4464         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4465         [$(subdir) = nptl] (tests): Add tst-setgetname.
4466         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4467         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4468         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4469         [!LIBC_SIGACTION]: Remove aliases.
4470         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4471         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4472         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4473         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4474         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4475         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4476         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4478         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4479         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4480         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4481         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4482         __libc_allocate_rtsig_private.
4483         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4484         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4485         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4486         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4487         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4488         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4489         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4490         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4491         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4492         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4493         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4494         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4495         * nptl/internaltypes.h: ... here.
4496         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4497         * sysdeps/nptl/jmp-unwind.c: ... here.
4498         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4499         * nptl/libc-lowlevellock.c: ... here.
4500         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4501         * nptl/libc_multiple_threads.c: ... here.
4502         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4503         * nptl/libc_pthread_init.c: ... here.
4504         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4505         * nptl/lowlevelbarrier.sym: ... here.
4506         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4507         * nptl/lowlevelcond.sym: ... here.
4508         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4509         * nptl/lowlevellock.c: ... here.
4510         * nptl/lowlevellock.h: Moved ...
4511         * sysdeps/nptl/lowlevellock.h: ... here.
4512         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4513         * nptl/lowlevelrobustlock.c: ... here.
4514         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4515         * nptl/lowlevelrobustlock.sym: ... here.
4516         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4517         * nptl/lowlevelrwlock.sym: ... here.
4518         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4519         * nptl/pt-fork.c: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4521         * nptl/pthread-pi-defines.sym: ... here.
4522         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4523         * nptl/pthread_attr_getaffinity.c: ... here.
4524         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4525         * nptl/pthread_attr_setaffinity.c: ... here.
4526         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4527         * nptl/pthread_mutex_cond_lock.c: ... here.
4528         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4529         Update #include.
4530         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4531         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4532         * nptl/pthread_once.c: ... here, replacing old file.
4533         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4534         * nptl/pthread_yield.c: ... here.
4535         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4536         * nptl/register-atfork.c: ... here.
4537         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4538         * nptl/sem_post.c: ... here.
4539         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4540         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4541         * nptl/sem_timedwait.c: ... here.
4542         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4543         * nptl/sem_trywait.c: ... here.
4544         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4545         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4546         * nptl/sem_wait.c: ... here.
4547         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4548         * nptl/structsem.sym: ... here.
4549         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4550         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4551         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4552         * nptl/unregister-atfork.c: ... here.
4553         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4554         * nptl/unwindbuf.sym: ... here.
4555         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4556         * sysdeps/nptl/fork.c: ... here.
4557         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4558         * sysdeps/nptl/fork.h: ... here.
4559         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4560         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4561         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4562         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4563         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4564         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4565         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4566         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4567         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4568         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4569         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4570         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4571         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4572         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4573         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4574         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4575         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4576         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4577         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4578         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4579         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4580         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4581         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4582         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4583         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4584         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4585         * sysdeps/unix/sysv/linux/raise.c: ... here.
4586         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4587         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4588         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4589         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4590         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4591         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4592         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4593         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4594         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4595         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4596         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4597         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4598         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4599         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4600         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4602 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4604         * sysdeps/generic/memcopy.h: Add comment for
4605         MEMCPY_OK_FOR_FWD_MEMMOVE.
4607 2014-07-04  Will Newton  <will.newton@linaro.org>
4609         * string/memchr.c: Merge from gnulib.
4610         [_LIBC]: Remove conditionals.
4611         (__ptr_t): Remove define.
4612         (LONG_MAX_32_BITS): Likewise.
4613         (LONG_MAX): Likewise.
4614         (MEMCHR): Use ANSI prototype and optimize algorithm.
4616         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4618 2014-07-03  Roland McGrath  <roland@hack.frob.com>
4620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4621         (lll_futex_timed_wait_bitset): Fix syscall argument count.
4623         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4624         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4625         in a bare environment with no <stdlib.h> installed.
4626         * sysdeps/nptl/configure: Regenerated.
4628         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4630         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4631         AC_EGREP_CPP for kernel header checks, so they only succeed if
4632         including <linux/version.h> actually works right.
4633         * sysdeps/unix/sysv/linux/configure: Regenerated.
4635         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4636         value so it's not diagnosed as unused.
4638         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4639         thing) with "ifeq ($(subdir),rt)".
4641 2014-07-03  Richard Henderson  <rth@redhat.com>
4643         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4644         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4645         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4647         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4648         (math_force_eval): New.
4650         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4651         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4653         * sysdeps/alpha/fpu/s_round.c: Remove file.
4654         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4656         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4657         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4658         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4659         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4660         (_dl_start, print_statistics): Likewise.
4661         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4662         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4664         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4665         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4666         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4667         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4668         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4669         (HP_SMALL_TIMING_AVAIL): Define.
4670         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4671         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4672         (HP_SMALL_TIMING_AVAIL): Define.
4673         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4674         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4676         * sysdeps/aarch64/hp-timing.h: New file.
4678         * sysdeps/generic/hp-timing.h: Remove dead comment.
4679         * sysdeps/generic/hp-timing-common.h: New file.
4680         * sysdeps/alpha/hp-timing.h: Include it.
4681         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4682         * sysdeps/i386/i686/hp-timing.h: Likewise.
4683         * sysdeps/ia64/hp-timing.h: Likewise.
4684         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4685         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4686         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4687         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4688         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4689         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4690         (hp_timing_t): New.
4692         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4693         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4694         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4695         * elf/rtld.c (_dl_start_final): Likewise.
4696         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4697         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4698         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4699         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4700         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4701         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4702         (HP_TIMING_DIFF_INIT): Remove.
4703         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4704         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4705         (HP_TIMING_DIFF_INIT): Remove.
4706         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4707         * sysdeps/i386/i686/hp-timing.c: Remove file.
4708         * sysdeps/x86_64/hp-timing.c: Remove file.
4709         * sysdeps/ia64/hp-timing.c: Remove file.
4710         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4711         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4713         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4715         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4716         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4717         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4718         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4719         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4720         (HP_TIMING_ACCUM): Remove.
4721         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4722         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4723         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4725         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4726         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4727         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4728         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4729         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4730         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4731         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4732         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4734         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4736 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4738         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4740 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4742         Sync up with gettext.
4743         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4744         [_MSC_VER]: Include malloc.h
4745         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4746         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4747         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4748         TEMP_FAILURE_RETRY.  Cast return of alloca.
4749         [!_LIBC] Call gl_rwlock_init.
4750         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4752 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4754         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4755         before checking its value.
4757 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4759         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4761         * debug/memcpy_chk.c: Don't include pagecopy.h.
4762         * debug/mempcpy_chk.c: Likewise.
4763         * string/memcpy.c: Likewise.
4764         * string/memmove.c: Likewise.
4765         * sysdeps/powerpc/memmove.c: Likewise.
4766         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4767         definition of PAGE_COPY_FWD_MAYBE here...
4768         * sysdeps/generic/pagecopy.h: ... from here.
4769         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4771 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4772             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4774         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4776         optimizations.
4777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4778         (__libc_ifunc_impl_list): Likewise.
4779         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4780         multiarch strcat for PPC64.
4781         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4782         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4784 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4786         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4788 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4790         * intl/loadmsgcat.c: Remove declaration of
4791         get_sysdep_segment_value.
4792         (get_sysdep_segment_value): Use ISO C style.
4793         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4794         semicolon.  Fix typo and formatting in comment.
4795         (_nl_unload_domain): Use ISO C style.
4797         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4799 2014-07-02  Will Newton  <will.newton@linaro.org>
4801         * malloc/obstack.c: Merge from gnulib master.
4802         [HAVE_CONFIG_H]: Remove conditional code.
4803         [!_LIBC]: Include config.h.
4804         [!ELIDE_CODE]: Don't include inttypes.h, include
4805         stdint.h unconditionally.
4806         (print_and_abort): Mark as _Noreturn.
4807         (_obstack_allocated_p): Mark as __attribute_pure__.
4808         (obstack_free): Rename to __obstack_free.
4809         [!__attribute__]: Remove conditional code.
4810         * malloc/obstack.h: Merge from gnulib master.
4811         [__cplusplus]: Move conditional down.
4812         [!__attribute_pure__]: Define __attribute_pure__ here
4813         if it is not already defined.
4814         (_obstack_memory_used): Mark as __attribute_pure__.
4815         [!__obstack_free]: Define as obstack_free.
4816         [__GNUC__]: Remove check for ancient NeXT gcc.
4818 2014-07-02  Will Newton  <will.newton@linaro.org>
4819             Paul Eggert  <eggert@cs.ucla.edu>
4821         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4823 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4825         * resolv/gethnamaddr.c: Add comment warning that the file is
4826         not maintained.
4828 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4830         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4831         entries.
4833         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4834         entry for aio_cancel and aio_cancel64.
4835         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4836         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4837         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4838         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4839         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4840         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4841         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4842         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4843         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4844         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4845         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4846         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4847         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4849 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4851         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4852         * nptl/pthread_mutex_lock.c: Likewise.
4853         * nptl/pthread_mutex_timedlock.c: Likewise.
4854         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4856 2014-07-01  Richard henderson  <rth@redhat.com>
4858         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4859         (__isnan, __isnanl): Remove.
4860         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4862         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4864 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4866         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4868 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4870         * resolv/nss_dns/dns-host.c (getanswer_r)
4871         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4873 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4875         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4876         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4877         undefine.
4878         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4879         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4881 2014-07-01  Roland McGrath <roland@hack.frob.com>
4883         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4884         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4886         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4887         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4889         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4890         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4891         ... here.
4892         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4893         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4895         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4896         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4897         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4898         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4900         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4901         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4902         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4903         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4904         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4905         Moved ...
4906         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4907         ... here.
4908         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4909         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4910         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4911         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4912         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4913         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4914         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4915         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4916         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4917         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4918         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4919         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4920         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4921         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4922         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4923         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4924         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4925         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4926         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4927         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4928         ... here.
4929         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4930         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4931         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4932         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4933         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4934         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4935         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4936         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4938 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4940         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4941         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4942         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4943         Add sysdep.
4945 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4949 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4951         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4952         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4956         * sysdeps/arm/libm-test-ulps: Regenerated.
4958 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4959             Roland McGrath <roland@hack.frob.com>
4961         * test-skeleton.c (signal_handler): Kill the whole process group
4962         before killing the child individually.
4963         (main): Report any failure on `setpgid'.
4965 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4967         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4968         from _TLS_H to _ARM_NPTL_TLS_H.
4969         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4970         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4972 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4974         [BZ #16539]
4975         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4976         (__expm1l): Return argument unchanged when small but not
4977         subnormal.
4979         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4980         include macro name.
4981         (_FP_UNPACK_RAW_1_P): Likewise.
4982         (_FP_PACK_RAW_1): Likewise.
4983         (_FP_PACK_RAW_1_P): Likewise.
4984         (_FP_MUL_MEAT_1_wide): Likewise.
4985         (_FP_MUL_MEAT_DW_1_hard): Likewise.
4986         (_FP_MUL_MEAT_1_hard): Likewise.
4987         (_FP_DIV_MEAT_1_imm): Likewise.
4988         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4989         (_FP_DIV_MEAT_1_udiv): Likewise.
4990         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4991         (_FP_UNPACK_RAW_2): Likewise.
4992         (_FP_UNPACK_RAW_2_P): Likewise.
4993         (_FP_PACK_RAW_2): Likewise.
4994         (_FP_PACK_RAW_2_P): Likewise.
4995         (_FP_MUL_MEAT_DW_2_wide): Likewise.
4996         (_FP_MUL_MEAT_2_wide): Likewise.
4997         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4998         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4999         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5000         (_FP_MUL_MEAT_2_gmp): Likewise.
5001         (_FP_DIV_MEAT_2_udiv): Likewise.
5002         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5003         (_FP_FRAC_SRL_4): Likewise.
5004         (_FP_FRAC_SRST_4): Likewise.
5005         (_FP_FRAC_SRS_4): Likewise.
5006         (_FP_UNPACK_RAW_4): Likewise.
5007         (_FP_UNPACK_RAW_4_P): Likewise.
5008         (_FP_PACK_RAW_4): Likewise.
5009         (_FP_PACK_RAW_4_P): Likewise.
5010         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5011         (_FP_MUL_MEAT_4_wide): Likewise.
5012         (_FP_MUL_MEAT_4_gmp): Likewise.
5013         (umul_ppppmnnn): Likewise.
5014         (_FP_DIV_MEAT_4_udiv): Likewise.
5015         (__FP_FRAC_ADD_4): Likewise.
5016         (__FP_FRAC_SUB_3): Likewise.
5017         (__FP_FRAC_SUB_4): Likewise.
5018         (__FP_FRAC_DEC_3): Likewise.
5019         (__FP_FRAC_DEC_4): Likewise.
5020         (__FP_FRAC_ADDI_4): Likewise.
5021         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5022         (_FP_FRAC_SRL_8): Likewise.
5023         (_FP_FRAC_SRS_8): Likewise.
5025         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5026         include macro name.
5027         (FP_UNPACK_RAW_EP): Likewise.
5028         (FP_PACK_RAW_E): Likewise.
5029         (FP_PACK_RAW_EP): Likewise.
5030         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5031         (_FP_ISSIGNAN): Likewise.
5032         (_FP_ADD_INTERNAL): Likewise.
5033         (_FP_FMA): Likewise.
5034         (_FP_CMP): Likewise.
5035         (_FP_SQRT): Likewise.
5036         (_FP_TO_INT): Likewise.
5037         (_FP_FROM_INT): Likewise.
5038         (FP_EXTEND): Likewise.
5039         (_FP_DIV_MEAT_N_loop): Likewise.
5041 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5043         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5044         throughout.
5046 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5048         [BZ #17097]
5049         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5050         result with correct sign in case of exponents that produce
5051         overflow except for X very close to 1.
5053 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5055         mktime: merge #if/#ifdef usage from glibc
5056         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5057         as that works with both Glibc's and Gnulib's style.
5058         See thread starting at Siddhesh Poyarekar's bug report at:
5059         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5061 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5063         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5064         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5065         * sysdeps/tile/tilegx/memmove.c: Remove file.
5067 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5069         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5070         abi-name definition.
5071         * scripts/soversions.awk: Do not handle or generate ABI lines.
5072         * shlib-versions: Remove ABI entries.
5073         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5074         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5076 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5079         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5080         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5081         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5083         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5085         Moved ...
5086         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5087         ... here.
5088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5089         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5091         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5093         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5095         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5097         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5099         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5101         Moved ...
5102         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5104         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5106         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5108         Moved ...
5109         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5111         Moved ...
5112         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5114         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5116         Moved ...
5117         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5119         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5121         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5123         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5125         Moved ...
5126         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5128         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5129         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5130         Moved ...
5131         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5132         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5133         Moved ...
5134         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5136         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5138         Moved ...
5139         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5140         ... here.
5141         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5142         Identical file removed.
5143         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5144         Moved ...
5145         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5147         Identical file removed.
5148         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5149         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5150         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5151         Moved ...
5152         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5154         Identical file removed.
5155         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5156         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5157         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5158         Identical file removed.
5159         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5160         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5162         Identical file removed.
5163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5164         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5166         Identical file removed.
5167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5168         Moved ...
5169         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5170         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5171         Identical file removed.
5172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5173         Moved ...
5174         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5176         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5177         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5178         Identical file removed.
5179         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5180         Moved ...
5181         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5182         ... here.
5183         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5184         Identical file removed.
5185         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5186         Moved ...
5187         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5189         Identical file removed.
5190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5191         Moved ...
5192         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5194         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5195         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5196         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5197         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5198         Moved ...
5199         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5200         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5201         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5203         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5204         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5205         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5206         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5207         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5209 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5211         [BZ #17092]
5212         * nscd/nscd.c (monitor_child): Return exit status of child
5213         instead of return value from wait syscall.
5215 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5217         * configure.ac (libc_commonpagesize): Remove variable.
5218         (libc_relro_required): Likewise.
5219         (libc_cv_z_relro): Remove configure test.
5220         * configure: Regenerated.
5221         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5222         variable.
5223         (libc_relro_required): Likewise.
5224         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5225         (libc_relro_required): Likewise.
5226         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5227         (libc_relro_required): Likewise.
5228         * sysdeps/arm/preconfigure: Regenerated.
5229         * sysdeps/ia64/preconfigure: Remove file.
5230         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5231         variable.
5232         (libc_relro_required): Likewise.
5234         [BZ #16561]
5235         [BZ #16562]
5236         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5237         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5238         recompute overflowing results in original rounding mode.
5239         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5240         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5241         recompute overflowing results in original rounding mode.
5242         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5243         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5244         recompute overflowing results in original rounding mode.
5245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5246         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5247         recompute overflowing results in original rounding mode.
5248         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5249         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5250         recompute overflowing results in original rounding mode.
5251         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5252         (libc_feholdsetround_ctx): New macro.
5253         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5254         * sysdeps/i386/fpu/libm-test-ulps: Update.
5255         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5257 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5259         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5260         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5261         corresponding .cpsetup call.
5263 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5265         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5266         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5267         * sysdeps/arm/Makefile [$(subdir) = csu]
5268         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5269         (static-only-routines): Add aeabi_read_tp here.
5270         (shared-only-routines): Add libc-aeabi_read_tp here.
5271         (CFLAGS-libc-start.c): Add -fexceptions here.
5272         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5273         (sysdep_routines, static-only-routines, shared-only-routines):
5274         Don't add to these here.
5275         (CFLAGS-libc-start.c): Likewise.
5277         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5278         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5279         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5280         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5281         * sysdeps/arm/Makefile [$(subdir) = rt]
5282         (librt-sysdep_routines, librt-shared-only-routines):
5283         Append rt-aeabi_unwind_cpp_pr1 here.
5284         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5285         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5286         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5287         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5288         Append nptl-aeabi_unwind_cpp_pr1 here.
5289         (tests): Filter out tst-cleanupx4 here.
5290         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5291         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5292         Don't do those here.
5294 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5296         * scripts/list-sources.sh: Do not handle ports specially.
5298 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5300         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5301         * sysdeps/arm/feupdateenv.c: Likewise.
5303         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5305 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5307         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5308         trailing whitespace removed.
5309         * scripts/config.guess: Update to version 2014-03-23.
5310         * scripts/config.sub: Update to version 2014-05-01
5311         * scripts/install-sh: Update to version 2013-12-25.23.
5312         * scripts/move-if-change: Update from gnulib.
5314 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5316         * debug/memmove_chk.c: Remove pagecopy.h include.
5318 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5320         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5321         identical to gnulib mktime.
5323 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5325         * configure.ac: Do not test for machine being rs6000.  Do not test
5326         for powerpc*-*soft.
5327         * configure: Regenerated.
5329         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5330         test.
5331         * configure: Regenerated.
5332         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5333         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5334         Remove configure test.
5335         * sysdeps/arm/configure: Regenerated.
5336         * sysdeps/nptl/configure.ac: Do not check
5337         libc_cv_asm_cfi_directives.
5338         * sysdeps/nptl/configure: Regenerated.
5339         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5340         * sysdeps/x86_64/nptl/configure: Remove generated file.
5341         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5342         unconditional.
5343         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5345 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5347         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5348         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5349         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5350         it is defined.
5352         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5353         instead of whether it is defined.
5354         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5355         * sysdeps/hppa/dl-machine.h: Likewise.
5356         * sysdeps/ia64/dl-machine.h: Likewise.
5357         * sysdeps/m68k/dl-machine.h: Likewise.
5358         * sysdeps/microblaze/dl-machine.h: Likewise.
5359         * sysdeps/mips/dl-machine.: Likewise.
5360         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5361         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5362         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5363         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5364         * sysdeps/sh/dl-machine.h: Likewise.
5365         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5366         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5367         * sysdeps/tile/dl-machine.h: Likewise.
5368         * sysdeps/x86_64/dl-machine.h: Likewise.
5370         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5371         code.
5372         (verify_persistent_db): Likewise.
5374 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5377         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5379         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5381         Moved ...
5382         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5383         ... here.
5384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5385         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5387         Identical file removed.
5388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5389         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5391         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5393         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5395         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5397         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5399         Moved ...
5400         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5402         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5404         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5406         Moved ...
5407         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5409         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5411         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5413         Identical file removed.
5414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5415         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5417         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5419         Moved ...
5420         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5421         ... here.
5422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5423         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5425         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5427         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5429         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5431         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5433         Moved ...
5434         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5436         Moved ...
5437         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5439         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5441         Moved ...
5442         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5444         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5446         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5447         folded into ...
5448         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5449         * sysdeps/unix/sysv/linux/s390/Versions
5450         (libpthread: GLIBC_2.19): New version set.
5451         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5452         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5453         (librt: GLIBC_2.3.3): New version set.
5454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5455         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5456         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5457         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5458         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5459         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5460         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5461         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5462         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5463         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5464         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5465         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5466         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5467         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5468         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5469         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5470         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5471         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5472         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5473         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5474         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5475         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5476         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5477         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5478         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5479         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5480         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5482         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5483         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5484         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5485         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5490         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5492         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5494         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5496         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5497         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5498         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5500         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5501         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5502         (__libc_vfork): Define the function under this name.
5503         [!NOT_IN_libc] (__vfork): Make this an alias.
5504         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5506         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5507         (__libc_vfork): Define the function under this name.
5508         [!NOT_IN_libc] (__vfork): Make this an alias.
5509         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5510         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5511         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5512         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5513         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5514         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5516         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5517         code that was previously under [RESET_PID].
5518         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5519         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5522         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5523         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5524         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5525         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5526         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5527         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5528         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5529         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5530         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5535         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5536         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5537         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5539         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5540         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5541         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5542         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5543         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5544         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5545         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5546         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5547         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5548         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5549         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5550         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5551         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5552         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5553         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5554         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5555         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5556         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5557         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5558         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5559         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5560         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5562         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5564 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5566         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5567         that was previously under [RESET_PID].
5568         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5570 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5572         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5573         not undefine and redefine.
5574         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5575         [O_CLOEXEC]: Make code unconditional.
5576         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5577         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5578         <kernel-features.h>.
5579         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5580         conditional variable definition.
5581         (shm_open) [O_CLOEXEC]: Make code unconditional.
5582         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5583         code.
5585         * configure.ac (USE_REGPARMS): Don't define here.
5586         * configure: Regenerated.
5587         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5588         * sysdeps/i386/configure: Regenerated.
5590         * nptl/createthread.c: Don't include kernel-features.h.
5591         * nptl/pthread_cancel.c: Likewise.
5592         * nptl/pthread_condattr_setclock.c: Likewise.
5593         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5594         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5595         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5596         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5597         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5598         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5599         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5600         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5602         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5603         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5604         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5605         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5606         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5607         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5608         * nscd/gai.c: Likewise.
5609         * nss/nss_db/db-open.c: Likewise.
5610         * sysdeps/generic/ldsodefs.h: Likewise.
5611         * sysdeps/sh/nptl/tls.h: Likewise.
5612         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5613         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5614         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5615         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5616         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5617         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5618         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5619         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5620         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5621         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5622         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5623         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5624         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5625         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5626         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5627         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5628         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5629         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5630         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5631         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5632         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5633         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5634         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5635         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5636         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5637         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5638         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5639         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5640         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5641         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5642         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5643         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5644         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5645         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5646         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5647         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5648         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5649         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5650         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5651         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5652         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5653         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5654         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5655         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5656         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5657         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5658         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5659         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5660         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5661         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5662         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5663         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5664         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5665         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5666         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5667         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5668         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5669         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5692         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5693         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5694         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5695         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5696         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5697         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5698         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5699         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5700         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5701         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5702         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5703         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5704         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5705         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5706         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5707         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5708         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5709         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5710         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5711         * sysdeps/unix/sysv/linux/system.c: Likewise.
5712         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5713         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5714         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5715         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5716         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5717         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5718         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5720         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5721         * configure: Regenerated.
5722         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5724         * configure.ac (base_machine): Do not set specially for particular
5725         machines here.
5726         * configure: Regenerated.
5727         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5728         settings from configure.ac.
5729         * sysdeps/i386/preconfigure: New file.
5730         * sysdeps/s390/preconfigure: Likewise.
5731         * sysdeps/sh/preconfigure: Likewise.
5732         * sysdeps/sparc/preconfigure: Likewise.
5734 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5736         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5737         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5738         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5739         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5740         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5741         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5742         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5743         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5744         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5745         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5746         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5747         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5748         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5749         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5750         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5751         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5752         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5753         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5754         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5756         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5757         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5758         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5759         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5760         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5761         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5762         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5763         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5764         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5765         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5766         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5767         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5768         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5769         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5770         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5771         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5772         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5773         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5774         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5775         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5776         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5777         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5779         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5781         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5782         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5783         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5784         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5785         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5786         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5787         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5788         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5789         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5790         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5791         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5792         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5793         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5796         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5798         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5800         Moved ...
5801         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5802         ... here.
5803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5804         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5806         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5808         Moved ...
5809         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5811         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5813         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5815         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5817         Moved ...
5818         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5820         Moved ...
5821         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5823         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5825         Moved ...
5826         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5828         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5830         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5832         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5834         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5836         Moved ...
5837         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5838         ... here.
5839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5840         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5842         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5844         Moved ...
5845         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5847         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5851         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5853         Moved ...
5854         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5856         Moved ...
5857         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5859         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5861         Moved ...
5862         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5864         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5866         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5868 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5870         * timezone/checktab.awk: Update from tzcode 2014e.
5871         * timezone/private.h: Likewise.
5872         * timezone/tzfile.h: Likewise.
5873         * timezone/zdump.c: Likewise.
5874         * timezone/zic.c: Likewise.
5876         * sysdeps/unix/sysv/linux/kernel-features.h
5877         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5878         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5879         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5880         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5881         Remove conditional code.
5883 2014-06-25  Will Newton  <will.newton@linaro.org>
5885         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5886         (_dl_arm_cap_flags): Add HWCAP2 values.
5887         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5888         (_DL_HWCAP_COUNT): Increase to 37.
5889         (_DL_HWCAP_LAST): New define.
5890         (_DL_HWCAP2_LAST): New define.
5891         (_dl_procinfo): Add support for printing
5892         AT_HWCAP2 entries.
5893         (_dl_string_hwcap): Use _dl_hwcap_string.
5895 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5899 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5901         * README: Do not mention ports directory.
5903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5904         Remove macro.
5905         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5906         <kernel-features.h>.
5907         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5908         conditional variable definition.
5909         (__futimes): Update comment.
5910         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5911         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5913         [BZ #16560]
5914         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5915         arguments close to 0.
5916         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5917         Likewise.
5918         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5919         Likewise.
5920         * math/auto-libm-test-in: Add more tests of exp10.
5921         * math/auto-libm-test-out: Regenerated.
5922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5924         * sysdeps/unix/sysv/linux/kernel-features.h
5925         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5926         * sysdeps/unix/sysv/linux/readv.c: Do not include
5927         <kernel-features.h>.
5928         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5929         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5930         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5931         unconditional.
5932         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5933         conditional code.
5934         * sysdeps/unix/sysv/linux/writev.c: Do not include
5935         <kernel-features.h>.
5936         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5937         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5938         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5939         unconditional.
5940         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5941         conditional code.
5943 2014-06-25  Will Newton  <will.newton@linaro.org>
5945         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5946         comment changes throughout the file.  Remove checks
5947         for HAVE_*_H definitions that are not required.
5948         (__gen_tempname): Call abort if an unknown kind value is
5949         passed.
5951 2014-06-25  Andreas Schwab  <schwab@suse.de>
5953         [BZ #17086]
5954         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5955         scalbln, scalblnf, scalblnl in libc.
5957 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5959         [BZ #17086]
5960         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5961         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5962         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5964 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5966         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5967         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5968         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5969         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5970         Update #include.
5971         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5972         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5973         Update #include.
5974         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5975         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5976         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5977         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5978         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5979         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5980         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5981         * sysdeps/x86/bits/semaphore.h: ... here.
5982         * sysdeps/x86/nptl/elide.h: Moved ...
5983         * sysdeps/x86/elide.h: ... here.
5984         * sysdeps/x86_64/nptl/Implies: File removed.
5985         * sysdeps/i386/nptl/Implies: File removed.
5987 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
5989         [BZ #16539]
5990         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5991         return the argument for normal arguments with exponent below -64.
5992         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5993         Likewise.
5994         * math/auto-libm-test-in: Add another test of expm1.
5995         * math/auto-libm-test-out: Regenerated.
5997         [BZ #16287]
5998         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5999         calling __erfcl for arguments at least 16.
6000         * math/auto-libm-test-in: Add more tests of erf.
6001         * math/auto-libm-test-out: Regenerated.
6003         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6004         individual architectures.
6005         * sysdeps/unix/sysv/linux/configure: Regenerated.
6006         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6007         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6008         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6009         (ldd_rewrite_script): Define variable.
6010         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6012         file.
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6014         generated file.
6015         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6016         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6017         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6018         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6019         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6020         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6021         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6022         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6024 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6026         [BZ #17084]
6027         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6028         Rename member __data.d to __data.__elision_data.
6030 2014-06-24  Wilco  <wdijkstr@arm.com>
6032         * NEWS: Add 16918 to fixed bug list.
6034 2014-06-24  Wilco  <wdijkstr@arm.com>
6036         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6038 2014-06-24  Wilco  <wdijkstr@arm.com>
6040         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6041         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6042         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6043         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6044         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6045         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6046         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6047         Use _FPU_MASK_RM.
6049 2014-06-24  Wilco  <wdijkstr@arm.com>
6051         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6053 2014-06-24  Wilco  <wdijkstr@arm.com>
6055         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6056         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6057         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6058         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6060 2014-06-24  Wilco  <wdijkstr@arm.com>
6062         [BZ #16918]
6063         * sysdeps/arm/feupdateenv.c (feupdateenv):
6064         Rewrite to reduce FPSCR accesses and fix return value.
6066 2014-06-24  Wilco  <wdijkstr@arm.com>
6068         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6069         Optimize to avoid unnecessary FPSCR writes.
6070         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6071         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6072         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6073         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6075 2014-06-24  Wilco  <wdijkstr@arm.com>
6077         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6078         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6079         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6080         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6081         Call libc_fetestexcept_vfp.
6082         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6083         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6084         __SOFTFP__ ifdef so that they can be built for softfp.
6086 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6088         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6089         argument type signed char.
6091         * Makerules (check-abi): Dump diff of symlist if the test
6092         fails.
6094 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6096         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6097         using abort.
6099         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6100         Remove unused variable ST.
6102 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6104         [BZ #16354]
6105         [BZ #17061]
6106         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6107         small arguments before calling __expm1.
6108         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6109         small arguments before calling __expm1f.
6110         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6111         small arguments before calling __expm1l.
6112         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6113         Likewise.
6114         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6115         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6116         spurious underflow for some cosh tests.
6117         * math/auto-libm-test-out: Regenerated.
6118         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120         [BZ #17050]
6121         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6122         (__ieee754_y1): Set errno if return value overflows.
6123         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6124         (__ieee754_y1f): Set errno if return value overflows.
6125         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6126         (__ieee754_y1l): Set errno if return value overflows.
6127         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6128         (__ieee754_y1l): Set errno if return value overflows.
6129         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6130         * math/auto-libm-test-out: Regenerated.
6132         * math/gen-auto-libm-tests.c: Document use of
6133         ignore-zero-inf-sign.
6134         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6135         (input_flags): Add ignore-zero-inf-sign.
6136         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6137         * math/gen-libm-test.pl (generate_testfile): Handle
6138         ignore-zero-inf-sign.
6139         * math/auto-libm-test-in: Mark some cpow tests with
6140         ignore-zero-inf-sign and some with xfail-rounding.
6141         * math/auto-libm-test-out: Regenerated.
6142         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6143         * sysdeps/i386/fpu/libm-test-ulps: Update.
6144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6146         [BZ #16315]
6147         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6148         overflowing or underflowing operations take place with sign of
6149         result.
6150         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6152         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6153         (__ieee754_pow): Recompute overflowing and underflowing results in
6154         original rounding mode.
6155         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6156         (__powl_helper): Allow negative argument X and scale negated value
6157         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6158         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6159         overflowing or underflowing operations take place with sign of
6160         result.
6161         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6162         Include <math.h>.
6163         * math/auto-libm-test-in: Add more tests of pow.
6164         * math/auto-libm-test-out: Regenerated.
6165         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6166         (pow_tonearest_test_data): Remove.
6167         (pow_test_tonearest): Likewise.
6168         (pow_towardzero_test_data): Likewise.
6169         (pow_test_towardzero): Likewise.
6170         (pow_downward_test_data): Likewise.
6171         (pow_test_downward): Likewise.
6172         (pow_upward_test_data): Likewise.
6173         (pow_test_upward): Likewise.
6174         (main): Don't call removed functions.
6175         * sysdeps/i386/fpu/libm-test-ulps: Update.
6176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6178 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6181         Moved ...
6182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6184         Moved ...
6185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6187         Moved ...
6188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6190         Moved ...
6191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6193         File removed.
6194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6195         File removed.
6196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6197         File removed.
6198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6199         File removed.
6200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6201         File removed.
6202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6203         File removed.
6204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6205         File removed.
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6207         File removed.
6208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6209         File removed.
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6211         File removed.
6212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6213         File removed.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6215         File removed.
6216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6217         Moved ...
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6220         Moved ...
6221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6222         ... here.
6223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6224         Moved ...
6225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6227         Moved ...
6228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6230         Moved ...
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6233         Moved ...
6234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6236         Moved ...
6237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6239         Moved ...
6240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6242         Moved ...
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6246         ... here.
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6248         Moved ...
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6251         Moved ...
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6253         ... here.
6254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6255         Moved ...
6256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6257         ... here.
6258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6259         Moved ...
6260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6261         ... here.
6262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6263         Moved ...
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6271         Moved ...
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6273         ... here.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6275         Moved ...
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6277         ... here.
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6279         Moved ...
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6282         Moved ...
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6285         Moved ...
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6288         Moved ...
6289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6291         Moved ...
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6293         ... here.
6294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6295         Moved ...
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6298         Moved ...
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6301         Moved ...
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6304         Moved ...
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6312         Moved ...
6313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6315         Moved ...
6316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6317         ... here.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6319         Moved ...
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6321         ... here.
6322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6323         Moved ...
6324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6325         ... here.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6327         Moved ...
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6330         Moved ...
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6333         Moved ...
6334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6336         Moved ...
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6338         ... here.
6339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6340         Moved ...
6341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6342         ... here.
6343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6344         Moved ...
6345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6346         ... here.
6347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6348         Moved ...
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6351         Moved ...
6352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6354 2014-06-23  Will Newton  <will.newton@linaro.org>
6355             Wilco  <wdijkstr@arm.com>
6357         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6358         implementation.  Include get-rounding-mode.h.
6359         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6360         [!libc_feholdsetround_noex_ctx]: Define
6361         libc_feholdsetround_noex_ctx.
6362         [!libc_feholdsetround_noexf_ctx]: Define
6363         libc_feholdsetround_noexf_ctx.
6364         [!libc_feholdsetround_noexl_ctx]: Define
6365         libc_feholdsetround_noexl_ctx.
6366         (libc_feholdsetround_ctx): New function.
6367         (libc_feresetround_ctx): New function.
6368         (libc_feholdsetround_noex_ctx): New function.
6369         (libc_feresetround_noex_ctx): New function.
6371 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6373         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6374         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6375         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6376         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6377         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6378         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6380         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6381         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6382         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6383         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6384         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6385         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6387         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6388         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6389         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6390         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6391         Moved ...
6392         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6393         ... here.
6394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6395         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6396         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6397         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6398         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6399         Moved ...
6400         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6401         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6402         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6404         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6405         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6406         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6407         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6408         Moved ...
6409         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6410         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6411         Moved ...
6412         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6413         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6414         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6415         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6416         Moved ...
6417         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6418         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6419         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6420         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6421         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6422         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6423         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6424         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6427         Moved ...
6428         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6429         ... here.
6430         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6431         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6432         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6433         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6434         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6435         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6436         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6437         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6438         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6439         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6440         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6441         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6442         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6443         Moved ...
6444         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6446         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6447         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6448         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6449         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6450         Moved ...
6451         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6452         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6453         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6454         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6455         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6457         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6458         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6459         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6462         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6463         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6464         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6465         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6466         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6467         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6468         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6470         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6471         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6474         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6475         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6476         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6477         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6478         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6482         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6484         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6486 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6488         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6489         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6490         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6491         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6492         (IPV6_PMTUDISC_INTERFACE): Likewise.
6493         (IPV6_PMTUDISC_OMIT): Likewise.
6495 2014-06-23  Andreas Schwab  <schwab@suse.de>
6497         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6498         Remove unused errout label.
6500 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6502         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6503         macro: hardware supports Vector Crypto instructions.
6505 2014-06-23  Will Newton  <will.newton@linaro.org>
6507         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6508         rather than __builtin_expect.
6510         * elf/dl-lookup.c (undefined_msg): Remove variable.
6511         (_dl_lookup_symbol_x): Replace undefined_msg with string
6512         literal.
6514         * elf/dl-lookup.c (do_lookup_unique): New function.
6515         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6516         to a separate function.
6518 2014-06-23  Andreas Schwab  <schwab@suse.de>
6520         [BZ #17079]
6521         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6522         before reading the next line.
6524 2014-06-23  Will Newton  <will.newton@linaro.org>
6526         * test-skeleton.c (signal_handler): Use printf and %m
6527         rather than perror.  Use printf rather than fprintf to
6528         stderr.  Use puts rather than fputs to stderr.
6529         (main): Likewise.
6531 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6533         * nscd/nscd.c (thread_info_t): Remove typedef.
6534         (thread_info): Remove variable.
6536 2014-06-21  Allan McRae  <allan@archlinux.org>
6538         * NEWS: Mention CVE-2014-4043.
6540 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6542         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6543         * nptl/smp.h: ... here.
6545         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6547         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6548         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6549         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6550         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6552         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6553         * nptl/stack-aliasing.h: New file.
6554         * sysdeps/i386/i686/stack-aliasing.h: New file.
6555         * sysdeps/i386/i686/nptl/Makefile: File removed.
6556         * sysdeps/x86_64/stack-aliasing.h: New file.
6557         * sysdeps/x86_64/nptl/Makefile
6558         (CFLAGS-pthread_create.c): Variable removed.
6560         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6561         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6562         old file.
6563         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6564         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6565         old file.
6567 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
6569         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6570         (__ASSUME_SIGFRAME_V2): Remove macro.
6571         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6572         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6573         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6574         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6575         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6576         Declare as function.  Remove conditional macro definitions.
6577         (__default_rt_sa_restorer): Likewise.
6578         (__default_sa_restorer_v1): Remove declaration.
6579         (__default_sa_restorer_v2): Likewise.
6580         (__default_rt_sa_restorer_v1): Likewise.
6581         (__default_rt_sa_restorer_v2): Likewise.
6582         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6583         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6584         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6586 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6588         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6589         (libpthread-routines): Add sysdep.
6590         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6591         * sysdeps/unix/sysv/linux/sparc/Versions
6592         (libpthread: GLIBC_2.3.3): New version set.
6593         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6594         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6595         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6596         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6597         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
6598         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6599         Moved ...
6600         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6601         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6602         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6603         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6604         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6605         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6606         * sysdeps/sparc/nptl/sem_init.c: ... here.
6607         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6608         * sysdeps/sparc/nptl/sem_post.c: ... here.
6609         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6610         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6611         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6612         * sysdeps/sparc/nptl/sem_wait.c: ... here.
6613         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6614         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6615         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6616         (libpthread-routines): Add cpu_relax.
6617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6618         File removed.
6619         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6620         (librt: GLIBC_2.3.3): New version set.
6621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6622         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6623         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6624         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6627         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6629         Moved ...
6630         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6632         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6634         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6636         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6638         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6640         Moved ...
6641         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6642         Update #include.
6643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6644         Moved ...
6645         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6646         Update #include.
6647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6648         Moved ...
6649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6650         Update #include.
6651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6652         Moved ...
6653         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6654         Update #include.
6655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6656         Moved ...
6657         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6658         Update #include.
6659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6660         Moved ...
6661         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6662         Update #include.
6663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6664         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6668         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6670         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6672         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6674         Moved ...
6675         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6677         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6679         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6681 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6683         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6684         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6685         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6686         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6687         * nscd/nscd.c: Likewise.
6688         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6689         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6690         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6691         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6693         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6694         <kernel-features.h>.
6695         (init_mq_netlink): Remove conditional have_sock_cloexec
6696         definitions.  Remove code conditional on have_sock_cloexec < 0.
6697         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6698         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6699         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6700         <kernel-features.h>.
6701         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6702         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6704 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6707         Add tests for memset_chk and memset.
6709         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6710         with AVX2_Usable.
6712 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6714         [BZ #16046]
6715         * elf/tst-dl-iter-static.c: New file.
6716         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6718         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6719         error.
6721 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6723         * sysdeps/unix/sysv/linux/kernel-features.h
6724         (__ASSUME_F_GETOWN_EX): Remove macro.
6725         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6726         <kernel-features.h>.
6727         (miss_F_GETOWN_EX): Remove variable or macro.
6728         (do_fcntl): Do not check miss_F_GETOWN_EX.
6729         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6732         Remove macro.
6733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6734         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6735         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6737         * sysdeps/unix/sysv/linux/kernel-features.h
6738         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6739         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6740         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6741         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6743 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6745         [BZ #17075]
6746         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6747         Fix calculation of the symbol's value.
6748         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6749         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6750         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6751         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6752         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6753         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6754         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6755         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6756         (modules-names): Add `tst-armtlsdescmod',
6757         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6758         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6759         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6760         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6761         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6762         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6763         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6764         ($(objpfx)tst-armtlsdescloc): New dependency.
6765         ($(objpfx)tst-armtlsdescextnow): Likewise.
6766         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6767         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6768         TLS scheme support.
6769         * sysdeps/arm/configure: Regenerate.
6771 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6773         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6774         (__atfct_seterrno_2): Likewise.
6775         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6776         <kernel-features.h>.
6777         (__ASSUME_ATFCTS): Do not undefine and redefine.
6778         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6779         (__have_atfcts): Remove conditional definition.
6780         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6781         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6782         unreachable if [__ASSUME_ATFCTS].
6783         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6784         not undefine and redefine.
6785         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6786         <kernel-features.h>.
6787         (faccessat) [__NR_faccessat]: Make code unconditional.
6788         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6789         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6790         <kernel-features.h>.
6791         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6792         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6793         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6794         <kernel-features.h>.
6795         (fchownat) [__NR_fchownat]: Make code unconditional.
6796         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6797         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6798         <kernel-features.h>.
6799         (futimesat) [__NR_futimesat]: Make code unconditional.
6800         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6801         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6802         <kernel-features.h>.
6803         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6804         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6805         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6806         <kernel-features.h>.
6807         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6808         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6809         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6810         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6811         <kernel-features.h>.
6812         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6813         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6814         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6815         <kernel-features.h>.
6816         (linkat) [__NR_linkat]: Make code unconditional.
6817         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6818         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6819         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6820         <kernel-features.h>.
6821         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6822         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6823         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6824         <kernel-features.h>.
6825         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6826         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6827         * sysdeps/unix/sysv/linux/openat.c: Do not include
6828         <kernel-features.h>.
6829         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6830         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6831         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6832         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6833         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6834         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6835         <kernel-features.h>.
6836         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6837         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6838         result of INLINE_SYSCALL directly, not via int variable.
6839         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6840         <kernel-features.h>.
6841         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6842         (renameat) [__NR_renameat]: Make code unconditional.
6843         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6844         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6845         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6846         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6847         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6848         (__ASSUME_ATFCTS): Do not undefine and redefine.
6849         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6850         <kernel-features.h>.
6851         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6852         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6853         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6854         <kernel-features.h>.
6855         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6856         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6857         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6858         (__ASSUME_ATFCTS): Do not undefine and redefine.
6859         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6860         <kernel-features.h>.
6861         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6862         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6863         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6864         <kernel-features.h>.
6865         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6866         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6868 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6870         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6872 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6874         [BZ #17069]
6875         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6876         constructed tree before returning error.
6877         * posix/bug-regexp36.c: Expand test case.
6879 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6881         [BZ #6803]
6882         * math/libm-test.inc (scalbln_test_date):
6883         Add errno expectations.
6884         * math/w_scalblnf.c: New File.
6885         Add wrapper which checks for setting errno to ERANGE.
6886         Add weak_alias for corresponding scalbln function.
6887         * math/w_scalbln.c: Likewise.
6888         * math/w_scalblnl.c: Likewise.
6889         * math/Makefile (libm-calls): Add w_scalbln.
6890         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6891         Remove weak_alias for corresponding scalbln function.
6892         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6894         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6896         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6897         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6898         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6899         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6900         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6901         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6902         Remove long_double_symbol for scalblnl function in libm, libc.
6903         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6904         Add wrapper which checks for setting errno to ERANGE.
6905         Add long_double_symbol for scalblnl function in libm, libc.
6906         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6907         Remove long_double_symbol for scalblnl in libm.
6908         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6909         Add wrapper which checks for setting errno to ERANGE.
6910         Add long_double_symbol for scalblnl function in libm.
6911         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6912         Do not use wrapper because of own implementation.
6914 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6916         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6917         3 bytes for __pad1 for x32.
6918         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6920 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6921             H.J. Lu  <hongjiu.lu@intel.com>
6923         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6924         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6925         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6927         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6929 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6931         [BZ #17069]
6932         * posix/regcomp.c (parse_expression): Deallocate partially
6933         constructed tree before returning error.
6934         * posix/Makefile.c (tests): Add bug-regex36.
6935         (generated): Add bug-regex36.mtrace.
6936         (tests-special): Add $(objpfx)bug-regex36-mem.out
6937         (bug-regex36-ENV): New variable.
6938         ($(objpfx)bug-regex36-mem.out): New rule.
6939         * posix/bug-regex36.c: New file.
6941 2014-06-19  Will Newton  <will.newton@linaro.org>
6943         * malloc/malloc.c (systrim): If extra is zero then return
6944         early.
6946 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6948         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6950 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6952         * sysdeps/aarch64/strchr.S: New file.
6954 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #17022]
6957         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6958         from arguments -2 or below.
6959         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6960         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6962 2014-06-18  Andreas Schwab  <schwab@suse.de>
6964         [BZ #17062]
6965         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6966         of a bracket expr not to run off the end of the string.
6967         * posix/Makefile (tests): Add tst-fnmatch3.
6968         * posix/tst-fnmatch3.c: New file.
6970 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6972         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6973         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6974         [$(cross-compiling) = no]: Likewise.
6975         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6976         [$(cross-compiling) = no]: Likewise.
6978 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6980         [BZ #17031]
6981         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6982         double, adjusted for any remainder from the high double.
6983         * math/libm-test.inc (nearbyint): Add tests.
6984         (rint): Likewise.
6986 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6988         * nptl/sysdeps/powerpc/Makefile: Moved ...
6989         * sysdeps/powerpc/nptl/Makefile: ... here.
6990         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6991         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6992         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6993         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6994         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6995         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6996         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6997         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6998         * nptl/sysdeps/powerpc/tls.h: Moved ...
6999         * sysdeps/powerpc/nptl/tls.h: ... here.
7001 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7003         [BZ #16681]
7004         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7005         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7006         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7007         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7008         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7009         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7010         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7011         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7012         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7014 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7016         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7018 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7020         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7021         defined operator.
7023         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7024         $TIMEOUTFACTOR.
7026 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7028         [BZ #17058]
7029         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7030         non-executed part of the test.
7032 2014-06-16  Andreas Schwab  <schwab@suse.de>
7034         * string/bits/string2.h (strdup, strndup): Update feature guard.
7036 2014-06-14  David S. Miller  <davem@davemloft.net>
7038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7040 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7042         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7043         that was previously under [RESET_PID].
7044         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7046         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7047         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7048         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7049         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7050         (__libc_vfork): New strong alias.
7051         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7053 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7055         * sysdeps/generic/elide.h: New file.
7057 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7059         * Makefile (installed-headers): Adjust path of pthread.h header.
7061 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7063         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7064         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7065         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7066         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7068         * nptl/sysdeps/s390/Makefile: Moved ...
7069         * sysdeps/s390/nptl/Makefile: ... here.
7070         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7071         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7072         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7073         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7074         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7075         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7076         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7077         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7078         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7079         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7080         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7081         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7082         * nptl/sysdeps/s390/tls.h: Moved ...
7083         * sysdeps/s390/nptl/tls.h: ... here.
7085         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7086         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7088 2014-06-13  David S. Miller  <davem@davemloft.net>
7090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7093         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7097         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7098         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7099         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7100         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7101         Remove RESET_PID cpp guards.
7102         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7103         Remove RESET_PID cpp guards.
7104         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7106 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7108         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7109         __sp to uintptr_t.
7111 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7113         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7114         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7116         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7117         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7118         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7120         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7121         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7122         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7123         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7124         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7125         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7126         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7127         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7129         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7130         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7131         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7132         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7134         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7135         (pthread_rwlock_rdlock): Add elision.
7136         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7137         (pthread_rwlock_wrlock): Add elision.
7138         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7139         (pthread_rwlock_trywrlock): Add elision.
7140         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7141         (pthread_rwlock_tryrdlock): Add elision.
7142         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7143         (pthread_rwlock_tryrdlock): Add elision unlock.
7144         * nptl/sysdeps/pthread/pthread.h:
7145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7146         (PTHREAD_RWLOCK_INITIALIZER,
7147         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7148         Handle new elision field.
7149         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7150         * sysdeps/arm/nptl/bits/pthreadtypes.h
7151         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7152         * sysdeps/sh/nptl/bits/pthreadtypes.h
7153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7154         * sysdeps/tile/nptl/bits/pthreadtypes.h
7155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7156         * sysdeps/a/nptl/bits/pthreadtypes.h
7157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7158         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7160         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7161         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7162         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7164         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7165         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7166         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7168         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7170         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7172         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7174         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7175         (elision_init): Set try_xbegin to zero when no RTM.
7176         * sysdeps/x86/nptl/bits/pthreadtypes.h
7177         (pthread_rwlock_t): Change __pad1 to __rwelision.
7178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7180 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7182         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7183         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7184         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7185         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7187 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7189         [BZ #16996]
7190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7191         that the cached result has been set before returning it.
7193 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7195         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7196         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7197         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7198         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7199         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7200         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7202         * nptl/sysdeps/sparc/Makefile: Moved ...
7203         * sysdeps/sparc/nptl/Makefile: ... here.
7204         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7205         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7206         * nptl/sysdeps/sparc/tls.h: Moved ...
7207         * sysdeps/sparc/nptl/tls.h: ... here.
7208         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7209         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7210         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7211         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7212         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7213         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7214         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7215         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7216         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7217         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7218         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7219         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7220         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7221         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7222         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7223         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7224         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7225         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7226         Update #include.
7227         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7228         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7229         Update #include.
7230         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7231         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7232         Update #include.
7233         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7234         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7235         Update #include.
7237         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7239         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7240         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7242         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7243         (struct list_links): Type removed.
7244         (struct thread_node, struct timer_node): Replace struct list_links
7245         with struct list_head.
7246         (list_unlink_ip): Likewise.
7247         * sysdeps/pthread/timer_routines.c
7248         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7249         (list_append, list_insbefore): Likewise.
7250         (list_init): Function removed.
7251         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7252         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7253         * sysdeps/pthread/Makefile: ... here, new file.
7255         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7256         * sysdeps/nptl/Implies: ... here.
7257         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7258         * nptl/sysdeps/pthread/list.h: Moved ...
7259         * include/list.h: ... here.
7260         * nptl/sysdeps/pthread/createthread.c: Moved ...
7261         * nptl/createthread.c: ... here.
7262         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7263         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7264         * nptl/pt-longjmp.c: ... here.
7265         * nptl/sysdeps/pthread/Makefile: Moved ...
7266         * sysdeps/nptl/Makefile: ... here.
7267         * nptl/sysdeps/pthread/Subdirs: Moved ...
7268         * sysdeps/nptl/Subdirs: ... here.
7269         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7270         * sysdeps/nptl/aio_misc.h: ... here.
7271         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7272         * sysdeps/nptl/bits/libc-lock.h: ... here.
7273         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7274         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7275         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7276         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7277         * nptl/sysdeps/pthread/configure: Moved ...
7278         * sysdeps/nptl/configure: ... here.
7279         * nptl/sysdeps/pthread/configure.ac: Moved ...
7280         * sysdeps/nptl/configure.ac: ... here.
7281         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7282         * sysdeps/nptl/gai_misc.h: ... here.
7283         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7284         * sysdeps/nptl/librt-cancellation.c: ... here.
7285         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7286         * sysdeps/nptl/malloc-machine.h: ... here.
7287         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7288         * sysdeps/nptl/pthread-functions.h: ... here.
7289         * nptl/sysdeps/pthread/pthread.h: Moved ...
7290         * sysdeps/nptl/pthread.h: ... here.
7291         * nptl/sysdeps/pthread/setxid.h: Moved ...
7292         * sysdeps/nptl/setxid.h: ... here.
7293         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7294         * sysdeps/nptl/sigfillset.c: ... here.
7295         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7296         * sysdeps/nptl/tcb-offsets.h: ... here.
7297         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7298         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7299         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7300         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7301         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7302         * sysdeps/pthread/allocalim.h: ... here.
7303         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7304         * sysdeps/pthread/bits/sigthread.h: ... here.
7305         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7306         * sysdeps/pthread/flockfile.c: ... here.
7307         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7308         * sysdeps/pthread/ftrylockfile.c: ... here.
7309         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7310         * sysdeps/pthread/funlockfile.c: ... here.
7311         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7312         * sysdeps/pthread/posix-timer.h: ... here.
7313         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7314         * sysdeps/pthread/timer_create.c: ... here.
7315         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7316         * sysdeps/pthread/timer_delete.c: ... here.
7317         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7318         * sysdeps/pthread/timer_getoverr.c: ... here.
7319         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7320         * sysdeps/pthread/timer_gettime.c: ... here.
7321         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7322         * sysdeps/pthread/timer_routines.c: ... here.
7323         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7324         * sysdeps/pthread/timer_settime.c: ... here.
7325         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7326         * sysdeps/pthread/tst-timer.c: ... here.
7327         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7328         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7330         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7331         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7333         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7334         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7335         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7336         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7337         Update #include target.
7338         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7339         * sysdeps/i386/i686/nptl/Makefile: ... here.
7340         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7341         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7342         Update #include target.
7343         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7344         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7345         * nptl/sysdeps/i386/Makefile: Moved ...
7346         * sysdeps/i386/nptl/Makefile: ... here.
7347         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7348         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7349         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7350         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7351         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7352         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7353         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7354         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7355         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7356         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7357         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7358         * nptl/sysdeps/i386/tls.h: Moved ...
7359         * sysdeps/i386/nptl/tls.h: ... here.
7361         * sysdeps/sh/Makefile [$(subdir) = csu]
7362         (gen-as-const-headers): Add tcb-offsets.sym.
7363         * nptl/sysdeps/sh/Makefile: File removed.
7364         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7365         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7366         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7367         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7368         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7369         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7370         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7371         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7372         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7373         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7374         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7375         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7376         * nptl/sysdeps/sh/tls.h: Moved ...
7377         * sysdeps/sh/nptl/tls.h: ... here.
7378         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7379         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7380         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7381         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7382         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7383         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7384         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7385         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7386         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7387         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7388         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7389         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7390         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7391         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7392         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7393         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7394         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7395         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7396         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7397         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7398         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7399         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7400         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7401         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7402         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7403         Moved ...
7404         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7405         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7406         Moved ...
7407         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7408         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7409         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7410         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7411         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7412         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7413         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7414         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7415         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7416         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7417         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7418         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7419         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7420         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7421         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7422         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7423         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7424         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7425         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7427 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7429         * posix/spawn_faction_addopen.c: Include string.h.
7431 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7433         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7434         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7435         * nptl/sysdeps/x86_64/Makefile: Moved ...
7436         * sysdeps/x86_64/nptl/Makefile: ... here.
7437         * nptl/sysdeps/x86_64/configure: Moved ...
7438         * sysdeps/x86_64/nptl/configure: ... here.
7439         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7440         * sysdeps/x86_64/nptl/configure.ac: ... here.
7441         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7442         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7443         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7444         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7445         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7446         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7447         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7448         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7449         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7450         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7451         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7452         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7453         * nptl/sysdeps/x86_64/tls.h: Moved ...
7454         * sysdeps/x86_64/nptl/tls.h: ... here.
7455         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7456         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7457         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7458         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7460         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7462 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7466 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7468         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7469         type.
7470         [POSIX] (off_t): Likewise.
7471         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7472         [POSIX] (S_ISBLK): Require macro.
7473         [POSIX] (S_ISCHR): Likewise.
7474         [POSIX] (S_ISDIR): Likewise.
7475         [POSIX] (S_ISFIFO): Likewise.
7476         [POSIX] (S_ISREG): Likewise.
7477         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7478         optional-macro.
7479         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7480         type.
7481         [POSIX] (time_t): Likewise.
7482         [POSIX] (timer_t): Likewise.
7484 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7486         [BZ #17048]
7487         * posix/spawn_int.h (struct __spawn_action): Make the path string
7488         non-const to support deallocation.
7489         * posix/spawn_faction_addopen.c
7490         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7491         * posix/spawn_faction_destroy.c
7492         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7493         path in all spawn_do_open actions.
7494         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7495         posix_spawn_file_actions_addopen.
7497 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7499         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7500         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7501         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7502         conditional code always true.
7503         (__libc_vfork): New alias.
7505 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7507         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7508         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7510         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7512         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7513         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7515         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7516         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7518         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7519         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7521 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7523         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7524         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7525         multiarch strcmp for PPC64.
7526         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7527         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7529         multiarch optimizations.
7530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7531         (__libc_ifunc_impl_list): Likewise.
7533 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7535         * benchtests/scripts/validate_benchout.py: New script.
7536         * benchtests/Makefile (bench-func): Call it.
7537         * benchtests/scripts/benchout.schema.json: New file.
7539 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7541         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7542         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7543         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7544         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7545         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7546         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7547         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7548         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7549         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7550         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7551         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7552         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7553         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7554         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7555         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7556         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7558         Moved ...
7559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7560         ... here.
7561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7562         Moved ...
7563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7565         Moved ...
7566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7567         ... here.
7568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7569         Moved ...
7570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7571         ... here.
7572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7573         Moved ...
7574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7576         Moved ...
7577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7578         ... here.
7579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7580         Moved ...
7581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7582         ... here.
7583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7584         Moved ...
7585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7587         Moved ...
7588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7589         ... here.
7590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7591         Moved ...
7592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7593         ... here.
7594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7595         Moved ...
7596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7597         ... here.
7598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7599         Moved ...
7600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7602         Moved ...
7603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7604         ... here.
7605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7606         Moved ...
7607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7608         ... here.
7609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7610         Moved ...
7611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7612         ... here.
7613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7619         ... here.
7620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7623         ... here.
7624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7625         Moved ...
7626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7628         Moved ...
7629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7630         ... here.
7631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7632         Moved ...
7633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7635         Moved ...
7636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7638         Moved ...
7639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7640         ... here.
7641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7642         Moved ...
7643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7644         ... here.
7645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7646         Moved ...
7647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7648         ... here.
7649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7650         Moved ...
7651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7653         Moved ...
7654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7655         ... here.
7656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7657         Moved ...
7658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7659         ... here.
7660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7661         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7663         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7664         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7665         Moved ...
7666         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7667         ... here.
7668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7669         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7671         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7673         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7674         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7675         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7676         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7677         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7678         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7679         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7680         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7681         Moved ...
7682         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7683         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7684         Moved ...
7685         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7687         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7689         Moved ...
7690         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7691         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7692         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7693         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7694         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7695         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7696         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7698 2014-06-10  Wilco  <wdijkstr@arm.com>
7700         * math/test-fenv-return.c: New file.
7701         * math/Makefile: Add new test test-fenv-return.
7703 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7705         [BZ #17042]
7706         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7707         when x - 1 is zero.
7708         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7709         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7710         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7711         0.0L for an argument of 1.0L.
7712         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7713         Likewise.
7714         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7715         value when x - 1 is zero.
7716         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7717         * sysdeps/i386/fpu/libm-test-ulps: Update.
7718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7720 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7722         [BZ #15119]
7723         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7725 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7727         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7728         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7730 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7732         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7733         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7735         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7736         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7738         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7739         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7741         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7742         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7744         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7745         if not already defined.
7746         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7747         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7748         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7749         (TLS_INIT_TP): Use it.
7750         (TLS_DEFINE_INIT_TP): New macro.
7751         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7753 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7755         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7756         constant.
7757         [POSIX] (IXANY): Likewise.
7758         [POSIX] (OLCUC): Likewise.
7759         [POSIX || POSIX2008] (CBAUD): Do not allow.
7760         [POSIX || POSIX2008] (DEFECHO): Likewise.
7761         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7762         [POSIX || POSIX2008] (ECHOKE): Likewise.
7763         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7764         [POSIX || POSIX2008] (EXTA): Likewise.
7765         [POSIX || POSIX2008] (EXTB): Likewise.
7766         [POSIX || POSIX2008] (FLUSHO): Likewise.
7767         [POSIX || POSIX2008] (LOBLK): Likewise.
7768         [POSIX || POSIX2008] (PENDIN): Likewise.
7769         [POSIX || POSIX2008] (SWTCH): Likewise.
7770         [POSIX || POSIX2008] (VDISCARD): Likewise.
7771         [POSIX || POSIX2008] (VDSUSP): Likewise.
7772         [POSIX || POSIX2008] (VLNEXT): Likewise.
7773         [POSIX || POSIX2008] (VREPRINT): Likewise.
7774         [POSIX || POSIX2008] (VSTATUS): Likewise.
7775         [POSIX || POSIX2008] (VWERASE): Likewise.
7776         (B*): Change to B[0123456789]*.
7777         * conform/data/time.h-data [POSIX || UNIX98]
7778         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7779         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7780         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7781         [POSIX] (tm_*): Do not allow.
7783 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7785         * Makefile (install): Don't set LANGUAGE.
7786         * Makefile.in (install): Likewise.
7787         * assert/Makefile (test-assert-ENV): Remove variable.
7788         (test-assert-perr-ENV): Likewise.
7789         * elf/Makefile (neededtest4-ENV): Likewise.
7790         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7791         [$(cross-compiling) = no]: Don't set LANGUAGE.
7792         * io/ftwtest-sh (LANG): Remove variable.
7793         * libio/Makefile (tst-widetext-ENV): Likewise.
7794         * manual/install.texi (Running make install): Don't refer to
7795         environment settings for make install.
7796         * INSTALL: Regenerated.
7797         * nptl/tst-tls6.sh: Don't set LANG.
7798         * posix/globtest.sh (LANG): Remove variable.
7799         * string/Makefile (tester-ENV): Likewise.
7800         (inl-tester-ENV): Likewise.
7801         (noinl-tester-ENV): Likewise.
7802         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7803         [$(cross-compiling) = no]: Don't set LANGUAGE.
7804         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7805         without explicit environment settings.
7807 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7809         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7810         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7811         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7812         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7814 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7816         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7817         other files in the crypt directory.
7818         * crypt/crypt.c: Remove duplicate includes.
7819         * crypt/crypt-entry.c: Likewise.
7820         * crypt/crypt_util.c: Likewise.
7822 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7824         * Makeconfig (run-program-env): New variable.
7825         (run-program-prefix-before-env): Likewise.
7826         (run-program-prefix-after-env): Likewise.
7827         (run-program-prefix): Define in terms of new variables.
7828         (built-program-cmd-before-env): New variable.
7829         (built-program-cmd-after-env): Likewise.
7830         (built-program-cmd): Define in terms of new variables.
7831         (test-program-prefix-before-env): New variable.
7832         (test-program-prefix-after-env): Likewise.
7833         (test-program-prefix): Define in terms of new variables.
7834         (test-program-cmd-before-env): New variable.
7835         (test-program-cmd-after-env): Likewise.
7836         (test-program-cmd): Define in terms of new variables.
7837         * Rules (make-test-out): Use $(run-program-env).
7838         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7839         (help): Do not mention environment variables.  Mention
7840         --timeoutfactor option.
7841         (timeoutfactor): New variable.
7842         (blacklist_exports): Remove function.
7843         (exports): Remove variable.
7844         (command): Do not include ${exports}.
7845         * manual/install.texi (Configuring and compiling): Do not mention
7846         test wrappers preserving environment variables.  Mention that last
7847         assignment to a variable must take precedence.
7848         * INSTALL: Regenerated.
7849         * benchtests/Makefile (run-bench): Use $(run-program-env).
7850         * catgets/Makefile ($(objpfx)test1.cat): Use
7851         $(built-program-cmd-before-env), $(run-program-env) and
7852         $(built-program-cmd-after-env).
7853         ($(objpfx)test2.cat): Do not specify environment variables
7854         explicitly.
7855         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7856         $(run-program-env) and $(built-program-cmd-after-env).
7857         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7858         $(run-program-env) and $(test-program-cmd-after-env).
7859         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7860         explicitly.
7861         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7862         run_program_env and test_program_cmd_after_env arguments.
7863         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7864         * elf/tst-pathopt.sh: Use run_program_env argument.
7865         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7866         $(test-wrapper-env) and $(run-program-env).
7867         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7868         run_program_env arguments.
7869         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7870         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7871         $(test-program-prefix-before-env), $(run-program-env) and
7872         $(test-program-prefix-after-env).
7873         ($(objpfx)tst-gettext2.out): Likewise.
7874         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7875         run_program_env and test_program_prefix_after_env arguments.
7876         * intl/tst-gettext2.sh: Likewise.
7877         * intl/tst-gettext4.sh: Do not set environment variables
7878         explicitly.
7879         * intl/tst-gettext6.sh: Likewise.
7880         * intl/tst-translit.sh: Likewise.
7881         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7882         $(test-program-prefix-before-env), $(run-program-env) and
7883         $(test-program-prefix-after-env).
7884         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7885         run_program_env and test_program_prefix_after_env arguments.
7886         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7887         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7888         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7889         explicitly with each use of ${test_wrapper_env}.
7890         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7891         $(test-program-prefix-before-env), $(run-program-env) and
7892         $(test-program-prefix-after-env).
7893         * posix/tst-getconf.sh: Do not set environment variables
7894         explicitly.
7895         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7896         run_program_env and test_program_prefix_after_env arguments.
7897         * stdio-common/tst-printf.sh: Do not set environment variables
7898         explicitly.
7899         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7900         $(test-program-prefix-before-env), $(run-program-env) and
7901         $(test-program-prefix-after-env).
7902         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7903         run_program_env and test_program_prefix_after_env arguments.
7904         Split $test calls into $test_pre and $test.
7905         * timezone/Makefile (build-testdata): Use
7906         $(built-program-cmd-before-env), $(run-program-env) and
7907         $(built-program-cmd-after-env).
7909 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7911         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7912         strlen for non SHARED builds.
7914 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7916         * nptl/allocatestack.c (check_list): Inlined function...
7917         (__reclaim_stacks): ... here.
7919 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7921         [BZ #15698]
7922         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7923         memory overrun.
7925 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7927         * Rules (make-test-out): Include
7928         LOCPATH=$(common-objpfx)localedata in default environment.
7929         * debug/Makefile (tst-chk1-ENV): Remove variable.
7930         (tst-chk2-ENV): Likewise.
7931         (tst-chk3-ENV): Likewise.
7932         (tst-chk4-ENV): Likewise.
7933         (tst-chk5-ENV): Likewise.
7934         (tst-chk6-ENV): Likewise.
7935         (tst-lfschk1-ENV): Likewise.
7936         (tst-lfschk2-ENV): Likewise.
7937         (tst-lfschk3-ENV): Likewise.
7938         (tst-lfschk4-ENV): Likewise.
7939         (tst-lfschk5-ENV): Likewise.
7940         (tst-lfschk6-ENV): Likewise.
7941         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7942         (tst-iconv7-ENV): Likewise.
7943         * intl/Makefile (LOCPATH-ENV): Likewise.
7944         (tst-codeset-ENV): Likewise.
7945         (tst-gettext3-ENV): Likewise.
7946         (tst-gettext5-ENV): Likewise.
7947         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7948         (tst-fopenloc-ENV): Likewise.
7949         (tst-fgetws-ENV): Remove variable.
7950         (tst-ungetwc1-ENV): Likewise.
7951         (tst-ungetwc2-ENV): Likewise.
7952         (bug-ungetwc2-ENV): Likewise.
7953         (tst-swscanf-ENV): Likewise.
7954         (bug-ftell-ENV): Likewise.
7955         (tst-fgetwc-ENV): Likewise.
7956         (tst-fseek-ENV): Likewise.
7957         (tst-ftell-partial-wide-ENV): Likewise.
7958         (tst-ftell-active-handler-ENV): Likewise.
7959         (tst-ftell-append-ENV): Likewise.
7960         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7961         (tst-regexloc-ENV): Likewise.
7962         (bug-regex1-ENV): Likewise.
7963         (tst-regex-ENV): Likewise.
7964         (tst-regex2-ENV): Likewise.
7965         (bug-regex5-ENV): Likewise.
7966         (bug-regex6-ENV): Likewise.
7967         (bug-regex17-ENV): Likewise.
7968         (bug-regex18-ENV): Likewise.
7969         (bug-regex19-ENV): Likewise.
7970         (bug-regex20-ENV): Likewise.
7971         (bug-regex22-ENV): Likewise.
7972         (bug-regex23-ENV): Likewise.
7973         (bug-regex25-ENV): Likewise.
7974         (bug-regex26-ENV): Likewise.
7975         (bug-regex30-ENV): Likewise.
7976         (bug-regex32-ENV): Likewise.
7977         (bug-regex33-ENV): Likewise.
7978         (bug-regex34-ENV): Likewise.
7979         (bug-regex35-ENV): Likewise.
7980         (tst-rxspencer-ENV): Likewise.
7981         (tst-rxspencer-no-utf8-ENV): Likewise.
7982         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7983         (tst-sscanf-ENV): Likewise.
7984         (tst-swprintf-ENV): Likewise.
7985         (tst-swscanf-ENV): Likewise.
7986         (test-vfprintf-ENV): Likewise.
7987         (scanf13-ENV): Likewise.
7988         (bug14-ENV): Likewise.
7989         (tst-grouping-ENV): Likewise.
7990         * stdlib/Makefile (tst-strtod-ENV): Likewise.
7991         (tst-strtod3-ENV): Likewise.
7992         (tst-strtod4-ENV): Likewise.
7993         (tst-strtod5-ENV): Likewise.
7994         (testmb2-ENV): Likewise./
7995         * string/Makefile (tst-strxfrm-ENV): Likewise.
7996         (tst-strxfrm2-ENV): Likewise.
7997         (bug-strcoll1-ENV): Likewise.
7998         (test-strcasecmp-ENV): Likewise.
7999         (test-strncasecmp-ENV): Likewise.
8000         * time/Makefile (tst-strptime-ENV): Likewise.
8001         (tst-ftime_l-ENV): Likewise.
8002         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8003         (tst-mbrtowc-ENV): Likewise.
8004         (tst-wcrtomb-ENV): Likewise.
8005         (tst-mbrtowc2-ENV): Likewise.
8006         (tst-c16c32-1-ENV): Likewise.
8007         (tst-mbsnrtowcs-ENV): Likewise.
8009 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8011         * manual/resource.texi (How to get information about the memory
8012         subsystem?): Fix typo.
8013         Reported by Peon de la Parra Ivan <peon@keba.com>
8015 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8017         [BZ #16882]
8018         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8019         (pthread_spin_lock): Branch out of spin loop to proper location.
8020         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8021         (pthread_spin_lock): Likewise.
8023         * nptl/tst-spin4.c: New test.
8024         * nptl/Makefile (tests): Add tst-spin4.
8026 2014-06-03  Andreas Schwab  <schwab@suse.de>
8028         [BZ #15946]
8029         * resolv/res_send.c (send_dg): Reload file descriptor after
8030         calling reopen.
8032 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8034         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8036 2014-06-03  Richard Henderson  <rth@redhat.com>
8038         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8039         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8040         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8041         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8042         in the SAVE_PID block.
8043         (__libc_vfork): New alias.
8044         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8046         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8047         child in registers, not on the stack.  Remove RESET_PID conditionals.
8048         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8050 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8052         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8054 2014-06-03  Wilco  <wdijkstr@arm.com>
8056         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8057         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8058         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8059         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8060         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8061         Likewise.
8063 2014-06-03  Wilco  <wdijkstr@arm.com>
8065         * sysdeps/aarch64/fpu/math_private.h
8066         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8067         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8068         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8069         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8070         Fix declarations.
8072 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8074         * crypt/crypt-private.h: Include ufc-crypt.h.
8075         (__b64_from_24bit): Declare extern.
8076         * crypt/crypt_util.c(__b64_from_24bit): New function.
8077         (b64t): New static const variable.
8078         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8079         (b64t): Remove variable.
8080         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8081         * crypt/sha256-crypt.c: Include crypt-private.h.
8082         (b64t): Remove variable.
8083         (__sha256_crypt_r): Remove b64_from_24bit and replace
8084         with __b64_from_24bit.
8085         * crypt/sha512-crypt.c: Likewise.
8087 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8089         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8090         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8091         Label the code __libc_vfork rather than __vfork.
8092         [!NOT_IN_libc] (vfork): Define as weak alias.
8093         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8094         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8095         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8097 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8099         * malloc/malloc.c (malloc_info): Fix format specifier for
8100         n_mmaps.
8102 2014-06-02  Wilco  <wdijkstr@arm.com>
8104         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8105         FPCR write.
8107 2014-06-02  Wilco  <wdijkstr@arm.com>
8109         [BZ #17009]
8110         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8111         Rewrite to reduce FPCR/FPSR accesses.
8113 2014-06-01  David S. Miller  <davem@davemloft.net>
8115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8117 2014-05-31  David S. Miller  <davem@davemloft.net>
8119         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8120         to occur in round to nearest mode when |x| >= 2.0
8122 2014-05-30  Richard Henderson  <rth@twiddle.net>
8124         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8125         (PSEUDO_RET_NOERRNO): Remove.
8126         (ret): Don't redefine.
8127         (ret_NOERRNO): Define in terms of ret.
8128         (ret_ERRVAL): Likewise.
8130         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8131         use of PSEUDO_RET; perform the error check directly.
8133 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8135         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8136         with __int128_t.
8138 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140         * malloc/malloc (malloc_info): Fix formatting.
8142 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8143             Roland McGrath  <roland@hack.frob.com>
8145         * malloc/malloc (malloc_info): Also print mmapped statistics.
8147 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8149         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8150         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8152 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8154         * malloc/malloc.c (malloc_info): Inline mi_arena.
8156 2014-05-29  Richard Henderson  <rth@twiddle.net>
8158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8159         Remove comma before expanding ASM_ARGS_##nr.
8160         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8161         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8162         of ASM_ARGS_##nr.
8163         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8164         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8165         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8166         (ASM_ARGS_1): Add leading comma.
8168         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8169         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8170         to __errno_location.
8171         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8172         Remove the expected plt for __errno_location.
8174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8175         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8176         call to __read_tp.
8178         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8179         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8180         it and break it down.
8181         (DOCARGS_0, DOCARGS_1): Do nothing.
8182         (DOCARGS_2): Update to store into the new stack frame.
8183         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8184         (UNDOCARGS_1): Update to restore from the new stack frame.
8185         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8186         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8189         (SINGLE_THREAD_P): New parameter for result regno.
8190         (PSEUDO): Update to match; use cbz instead of beq.
8192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8193         Use ENTRY to define the _nocancel entry point.  Share the syscall
8194         and syscall error check paths with the cancel path.
8195         (PSEUDO_END): New.
8197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8198         whitespace; tabs before and after asm mnemonics.
8200 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8202         [BZ #15132]
8203         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8204         Call fstat64 or stat64 internally, depending on arguments passed.
8205         Replace stat buffer argument with file descriptor argument.
8206         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8207         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8208         Pass fd to __internal_statvfs instead of calling fstat64.
8209         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8210         Pass fd to __internal_statvfs64 instead of calling fstat64.
8211         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8212         Pass -1 to __internal_statvfs instead of calling stat64.
8213         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8214         Pass -1 to __internal_statvfs64 instead of calling stat64.
8216 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8218         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8219         that was previously under [RESET_PID].
8220         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8222         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8223         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8225 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8227         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8229         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8230         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8232 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8234         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8236 2014-05-27  Andreas Schwab  <schwab@suse.de>
8238         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8239         TLS_INIT_TP macro.
8240         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8241         * elf/rtld.c (init_tls, dl_main): Likewise.
8242         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8243         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8244         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8245         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8246         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8247         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8248         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8249         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8250         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8251         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8252         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8253         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8254         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8255         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8256         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8257         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8258         * sysdeps/generic/tls.h: Update description.
8260 2014-05-27  Will Newton  <will.newton@linaro.org>
8262         [BZ #16990]
8263         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8264         and restore r2 rather than just restoring.
8266 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8268         [BZ #16724]
8269         * libio/tst-ftell-append.c: New test case.
8270         * libio/Makefile (tests): Add test case.
8271         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8272         append mode.
8273         * libio/wfileops.c (do_ftell_wide): Likewise.
8275 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8279         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8280         ...
8281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8283         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8284         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8286         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8287         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8289         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8290         Moved ...
8291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8293         Moved ...
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8295         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8296         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8297         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8298         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8299         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8300         ...
8301         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8302         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8303         Moved ...
8304         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8305         here.
8306         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8307         ...
8308         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8309         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8310         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8312         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8313         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8314         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8315         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8318         merge into ...
8319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8320         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8321         ...
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8324         ...
8325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8327         Moved ...
8328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8329         here.
8330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8331         Moved ...
8332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8334         Moved ...
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8338         conditional [RESET_PID].
8339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8341         removed.
8342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8343         removed.
8345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8346         <tcb-offsets.h>.
8347         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8348         (__libc_vfork): New strong alias.
8349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8350         removed.
8351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8352         Removed.
8354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8355         <tcb-offsets.h>.
8356         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8357         (__libc_vfork): New strong alias.
8358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8359         removed.
8360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8361         removed.
8363 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8365         * malloc/malloc.c (mi_arena): New function.
8366         (malloc_info): Remove nested function mi_arena. Call non-nosted
8367         function mi_arena.
8369 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8371         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8372         by insrwi.
8373         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8374         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8375         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8376         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8377         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8378         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8379         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8381 2014-05-26  Andreas Schwab  <schwab@suse.de>
8383         [BZ #16984]
8384         * locale/programs/repertoire.c (repertoire_read): Add slash
8385         between I18NPATH element and file name.
8386         * locale/programs/locfile.c (locfile_read): Likewise.
8388 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8390         * nptl/pthread_mutexattr_settype.c
8391         (__pthread_mutexattr_settype):
8392         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8394 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8396         * nptl/tst-mutex5 (do_test):
8397         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8399 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8401         * benchtests/README: Document 'init' directive.
8402         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8403         BENCH_INIT.
8404         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8405         (parse_file): Recognize 'init' directive.
8407 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8409         [BZ #16796]
8410         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8411         alignment of struct pthread.
8413 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8415         [BZ #16878]
8416         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8417         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8418         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8419         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8421 2014-05-25  Richard Henderson  <rth@twiddle.net>
8423         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8424         (SINGLE_THREAD_P_PIC): Remove.
8425         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8426         (SINGLE_THREAD_P_PIC): Remove.
8428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8429         branch to syscall error ...
8430         (PSEUDO): ... here.
8431         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8432         from __local_syscall_error to .Lsyscall_error.
8433         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8434         (SYSCALL_ERROR): Update label name.
8436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8437         Do not use DOARGS/UNDOARGS.
8438         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8439         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8440         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8441         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8442         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8444         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8445         block comment.
8447         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8448         define if !NOT_IN_libc.
8449         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8450         define with non-default symbol versions.
8452 2014-05-23  Richard Henderson  <rth@twiddle.net>
8454         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8455         (vfork, __vfork): Define via compat_symbol.
8457         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8458         [!HAVE_IFUNC] (vfork_compat): Remove.
8459         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8461 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8463         [BZ #16978]
8464         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8465         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8466         variable.
8468 2014-05-23  Richard Henderson  <rth@twiddle.net>
8470         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8471         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8472         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8473         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8475         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8476         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8477         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8478         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8479         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8480         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8481         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8482         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8483         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8484         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8485         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8486         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8487         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8488         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8489         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8490         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8491         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8492         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8493         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8494         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8495         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8496         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8497         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8498         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8499         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8501         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8502         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8503         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8504         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8505         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8506         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8507         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8508         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8509         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8510         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8511         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8512         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8513         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8514         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8515         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8516         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8517         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8518         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8519         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8520         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8521         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8522         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8523         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8524         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8525         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8526         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8527         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8528         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8529         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8530         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8532         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8533         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8534         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8535         before exiting on error.
8536         (__libc_vfork): New strong alias.
8537         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8538         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8540         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8541         that was previously under [RESET_PID].
8542         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8544         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8546 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8548         [BZ #16977]
8549         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8550         value when x - 1 is zero.
8551         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8552         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8553         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8554         0.0L for an argument of 1.0L.
8555         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8556         Likewise.
8557         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8558         value when x - 1 is zero.
8559         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8560         * sysdeps/i386/fpu/libm-test-ulps: Update.
8561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8563 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8565         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8566         alphasort and versionsort.
8568 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8570         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8571         macro.
8572         [copysignf]: Likewise.
8574 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8576         * crypt/md5-crypt.c: Fix formatting.
8578 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8580         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8581         (b64_from_24bit): New function.
8583 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8585         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8586         libc_hidden_builtin_def to ifunc.
8587         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8588         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8590 2014-05-21  Roland McGrath  <roland@hack.frob.com>
8592         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8593         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8595 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
8597         * nscd/Depend (linuxthreads): Remove.
8598         (nptl): Add.
8599         * resolv/Depend (linuxthreads): Remove.
8600         * rt/Depend (linuxthreads): Remove.
8602         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8603         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8604         $(common-objpfx)elf/.
8605         (link-libc-before-gnulib): Likewise.
8606         (elfobjdir): Remove variable.
8607         * Makefile (install): Use $(elf-objpfx) instead of
8608         $(common-objpfx)elf/.
8609         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8610         $(elfobjdir)/.
8611         (link-libc-deps): Likewise.
8612         ($(common-objpfx)libc.so): Likewise.
8613         ($(common-objpfx)linkobj/libc.so): Likewise.
8614         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8615         instead of $(common-objpfx)elf/.
8616         (symbolic-link-list): Likewise.
8617         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8618         [$(cross-compiling) = no]: Likewise.
8619         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8620         $(elfobjdir)/.
8621         (static-gnulib-arch): Likewise.
8622         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8623         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8624         $(common-objpfx)elf/.
8626 2014-05-21  Richard Henderson  <rth@redhat.com>
8628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8629         (SINGLE_THREAD_P): Use the correct width load.  Fold
8630         into the ldr offset.
8632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8633         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8635 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8637         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8638         (libgcc_s_resume): Use __attribute_used__.
8639         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8640         Likewise.
8642 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8644         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8645         optimization when used with float constants.
8647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8649 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8651         [BZ #16915]
8652         * locale/nl_langinfo_l.c: Make direct reference to every
8653         _nl_current_CATEGORY symbol.
8654         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8655         (tests-static): Add tst-langinfo-static.
8656         (tests-special): Add tst-langinfo-static.out.
8657         ($(objpfx)tst-langinfo.out): Redirect output.
8658         ($(objpfx)tst-langinfo-static.out): New.
8659         * localedata/tst-langinfo.sh: Send output to stdout.
8660         * localedata/tst-langinfo-static.c: New file.
8662         [BZ #16965]
8663         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8664         when the shift amount is modulo the limb size.
8666 2014-05-20  Richard Henderson  <rth@redhat.com>
8668         [BZ #16967]
8669         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8670         Change type of sa_flags from unsigned int to int.
8672         [BZ #16966]
8673         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8675         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8677 2014-05-20  Will Newton  <will.newton@linaro.org>
8679         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8680         Test the return value of the system call in the nocancel case.
8682 2014-05-20  Will Newton  <will.newton@linaro.org>
8683             Yvan Roux  <yvan.roux@linaro.org>
8685         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8686         #include of asm/ptrace.h.
8687         (PTRACE_GET_THREAD_AREA): Remove #undef.
8688         (PTRACE_GETHBPREGS): Likewise.
8689         (PTRACE_SETHBPREGS): Likewise.
8690         (struct user_regs_struct): New structure.
8691         (struct user_fpsimd_struct): New structure.
8692         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8693         #include of asm/ptrace.h and second #include of sys/user.h.
8694         (PTRACE_GET_THREAD_AREA): Remove #undef.
8695         (PTRACE_GETHBPREGS): Likewise.
8696         (PTRACE_SETHBPREGS): Likewise.
8697         (ELF_NGREG): Use new struct user_regs_struct.
8698         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8700 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8702         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8703         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8705 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8707         [BZ #16958]
8708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8709         membar to avoid block loads/stores to overlap previous stores.
8711 2014-05-17  Richard Henderson  <rth@redhat.com>
8713         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8714         Create the __##syscall_name##_nocancel entry point.
8715         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8716         Remove; let the sysdep-cancel.h code create it.
8718 2014-05-17  David S. Miller  <davem@davemloft.net>
8720         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8721         Protect with __USE_GNU.
8722         (TIOCSET_TEMPT): Likewise.
8723         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8724         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8725         these are already provided in bits/ioctl-types.h
8727 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8729         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8730         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8732         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8733         Use wait4 regardless of [__NR_waitpid].
8735 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8737         PR libgcc/60166
8738         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8739         (_FP_NANSIGN_Q): Set the quiet bit.
8741 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8743         * benchtests/Makefile
8744         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8745         not $(common-objpfx)math/libm.so.
8746         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8747         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8748         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8749         $(common-objpfx)dlfcn/libdl.so.
8750         ($(objpfx)tst-audit8): Depend on $(libm), not
8751         $(common-objpfx)math/libm.so.
8752         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8753         not $(common-objpfx)dlfcn/libdl.so.
8754         * math/Makefile
8755         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8756         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8757         [$(build-shared) = yes].
8758         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8759         $(common-objpfx)nptl/libpthread.so.
8760         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8761         $(common-objpfx)math/libm.so$(libm.so-version) or
8762         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8763         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8764         $(common-objpfx)dlfcn/libdl.so.
8765         * setjmp/Makefile (link-libm): Remove variable.
8766         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8767         * stdio-common/Makefile (link-libm): Remove variable.
8768         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8769         * stdlib/Makefile (link-libm): Remove variable.
8770         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8771         ($(objpfx)tst-strtod-round): Likewise.
8772         ($(objpfx)tst-tininess): Likewise.
8773         ($(objpfx)tst-strtod-underflow): Likewise.
8774         ($(objpfx)tst-strtod6): Likewise.
8775         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8776         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8777         $(common-objpfx)dlfcn/libdl.so.
8779 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8781         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8782         BSD terminal modes definitions.
8784 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8786         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8787         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8789         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8790         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8791         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8792         Don't do #include_next.
8793         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8794         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8795         Don't do #include_next.
8796         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8797         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8798         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8799         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8801 2014-05-16  Allan McRae  <allan@archlinux.org>
8803         * po/sv.po: Update Swedish translation from translation project.
8805         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8806         in sed expression.
8808 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8810         [BZ #16917]
8811         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8812         errno if the TIOCGPTN ioctl fails with an error different than
8813         EINVAL.
8814         * login/tst-ptsname.c: New file.
8815         * login/Makefile (tests): Add tst-ptsname.
8817         [BZ #16943]
8818         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8819         and prlimit64.
8821 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823         [BZ #16849]
8824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8825         herrno to return EAI_AGAIN.
8827 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8829         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8830         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8831         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8832         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8833         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8834         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8835         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8836         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8844         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8845         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8846         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8847         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8848         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8849         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8850         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8854         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8855         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8856         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8857         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8858         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8860         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8862         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8864         Moved ...
8865         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8867         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8869         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8871         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8873         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8875         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8877         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8879         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8881         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8889         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8893         Moved ...
8894         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8896         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8898         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8900         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8902         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8904         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8906         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8908         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8910         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8912         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8914         Moved ...
8915         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8917         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8919         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8920         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8921         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8922         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8923         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8924         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8925         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8926         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8927         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8928         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8929         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8930         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8931         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8932         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8933         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8934         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8935         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8936         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8937         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8938         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8939         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8940         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8941         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8942         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8943         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8944         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8945         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8946         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8947         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8948         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8949         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8951         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8952         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8954         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8955         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8956         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8957         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8958         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8960         Moved ...
8961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8962         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8963         Moved ...
8964         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8965         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8966         Moved ...
8967         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8968         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8969         Moved ...
8970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8971         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8972         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8973         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8974         Moved ...
8975         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8976         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8977         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8978         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8979         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8980         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8981         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8982         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8983         Moved ...
8984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8985         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8986         Moved ...
8987         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8988         ... here.
8989         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8990         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8991         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8992         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8994         Moved ...
8995         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8996         ... here.
8997         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8998         Moved ...
8999         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9000         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9001         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9002         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9003         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9005         Moved ...
9006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9007         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9008         Moved ...
9009         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9010         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9011         Moved ...
9012         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9013         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9014         Moved ...
9015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9016         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9017         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9018         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9019         Moved ...
9020         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9021         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9022         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9024         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9025         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9026         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9027         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9028         Moved ...
9029         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9030         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9031         Moved ...
9032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9033         ... here.
9034         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9035         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9036         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9037         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9039         Moved ...
9040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9041         ... here.
9042         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9043         Moved ...
9044         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9045         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9046         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9047         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9048         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9049         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9050         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9051         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9052         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9053         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9054         Moved ...
9055         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9056         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9057         Moved ...
9058         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9059         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9060         Moved ...
9061         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9062         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9063         Moved ...
9064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9065         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9066         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9067         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9068         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9069         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9070         Moved ...
9071         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9072         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9073         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9075         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9076         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9077         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9078         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9079         Moved ...
9080         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9081         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9082         Moved ...
9083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9084         ... here.
9085         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9086         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9087         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9088         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9089         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9090         Moved ...
9091         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9092         ... here.
9093         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9094         Moved ...
9095         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9096         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9097         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9098         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9099         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9100         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9101         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9102         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9103         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9104         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9105         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9107         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9108         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9110         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9111         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9113         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9114         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9115         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9116         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9117         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9118         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9119         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9120         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9121         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9122         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9123         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9124         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9125         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9126         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9127         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9129         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9131         Moved ...
9132         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9134         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9135         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9136         Moved ...
9137         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9139         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9141         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9143         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9145         Moved ...
9146         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9147         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9148         Moved ...
9149         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9150         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9151         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9152         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9153         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9154         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9155         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9156         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9157         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9158         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9159         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9160         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9161         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9162         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9163         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9164         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9165         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9167         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9168         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9169         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9170         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9171         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9173         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9174         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9175         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9176         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9177         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9178         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9179         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9180         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9181         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9182         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9184         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9187         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9188         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9189         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9190         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9191         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9192         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9193         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9194         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9195         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9196         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9197         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9198         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9199         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9200         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9202         Update #include.
9203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9204         Likewise.
9205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9206         Likewise.
9207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9208         Likewise.
9209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9210         Likewise.
9211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9212         Likewise.
9213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9214         Likewise.
9215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9216         Likewise.
9217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9218         Likewise.
9219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9220         Likewise.
9221         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9226         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9227         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9228         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9229         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9230         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9231         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9232         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9233         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9234         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9235         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9237         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9238         that was previously under [RESET_PID].
9239         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9240         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9241         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9243         * sysdeps/i386/nptl/Implies: New file.
9244         * sysdeps/x86_64/nptl/Implies: New file.
9245         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9246         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9247         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9248         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9250         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9251         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9252         (__libc_vfork): New strong alias.
9253         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9254         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9256         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9257         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9258         (__libc_vfork): New strong alias.
9259         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9260         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9262         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9263         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9264         (__libc_vfork): New strong alias.
9265         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9266         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9267         * nptl/pt-vfork.c: New file.
9268         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9269         (libpthread: GLIBC_2.20): New version set (empty).
9271 2014-05-14  Will Newton  <will.newton@linaro.org>
9273         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9274         rather than #if.
9276 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9278         [BZ #16564]
9279         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9280         arguments with exponent 65 or above.
9281         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9282         arguments 0x1p113L or above.
9283         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9284         to arguments 0x1p107L or above.
9285         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9286         positive arguments with exponent 65 or above.
9287         * math/auto-libm-test-in: Add more tests of log1p.
9288         * math/auto-libm-test-out: Regenerated.
9290         [BZ #16928]
9291         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9292         non-finite arguments is +0.
9293         * math/s_cacosf.c (__cacosf): Likewise.
9294         * math/s_cacosl.c (__cacosl): Likewise.
9295         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9296         * sysdeps/i386/fpu/libm-test-ulps: Update.
9297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9299         [BZ #16927]
9300         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9301         value.
9302         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9303         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9304         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9305         for explicit high bit of mantissa when testing for argument equal
9306         to 1.
9307         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9308         * sysdeps/i386/fpu/libm-test-ulps: Update.
9309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9311         [BZ #16516]
9312         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9313         (__erf): Scale by 16 instead of 8 in potentially underflowing
9314         case.  Ensure exception if result actually underflows.
9315         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9316         (__erff): Scale by 16 instead of 8 in potentially underflowing
9317         case.  Ensure exception if result actually underflows.
9318         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9319         (efx8): Remove variable.
9320         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9321         case.  Ensure exception if result actually underflows.
9322         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9323         (efx8): Remove variable.
9324         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9325         case.  Ensure exception if result actually underflows.
9326         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9327         (efx8): Remove variable.
9328         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9329         case.  Ensure exception if result actually underflows.
9330         * math/auto-libm-test-in: Add more tests of erf.
9331         * math/auto-libm-test-out: Regenerated.
9333 2014-05-14  Andreas Schwab  <schwab@suse.de>
9335         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9336         Remove code conditionalized on USE___THREAD.
9338         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9339         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9340         not definedness.
9342 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9344         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9345         Define unconditionally.
9346         (__ASSUME_O_CLOEXEC): Likewise.
9347         (__ASSUME_SOCK_CLOEXEC): Likewise.
9348         (__ASSUME_IN_NONBLOCK): Likewise.
9349         (__ASSUME_PIPE2): Likewise.
9350         (__ASSUME_EVENTFD2): Likewise.
9351         (__ASSUME_SIGNALFD4): Likewise.
9352         (__ASSUME_DUP3): Likewise.
9353         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9354         (__ASSUME_DUP3): Do not define.
9355         (__ASSUME_EVENTFD2): Likewise.
9356         (__ASSUME_IN_NONBLOCK): Likewise.
9357         (__ASSUME_O_CLOEXEC): Likewise.
9358         (__ASSUME_PIPE2): Likewise.
9359         (__ASSUME_SIGNALFD4): Likewise.
9360         (__ASSUME_SOCK_CLOEXEC): Likewise.
9361         (__ASSUME_UTIMES): Undefine.
9362         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9363         (__ASSUME_UTIMES): Do not define.
9364         (__ASSUME_O_CLOEXEC): Likewise.
9365         (__ASSUME_SOCK_CLOEXEC): Likewise.
9366         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9367         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9368         0x020621].
9369         (__ASSUME_PIPE2): Likewise.
9370         (__ASSUME_EVENTFD2): Likewise.
9371         (__ASSUME_SIGNALFD4): Likewise.
9372         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9373         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9374         Do not define.
9375         (__ASSUME_EVENTFD2): Likewise.
9376         (__ASSUME_SIGNALFD4): Likewise.
9377         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9378         (__ASSUME_32BITUIDS): Likewise.
9379         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9380         (__ASSUME_IPC64): Likewise.
9381         (__ASSUME_ST_INO_64_BIT): Likewise.
9382         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9383         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9384         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9385         (__ASSUME_UTIMES): Do not define.
9386         (__ASSUME_PSELECT): Likewise.
9387         (__ASSUME_PPOLL): Likewise.
9388         (__ASSUME_O_CLOEXEC): Likewise.
9389         (__ASSUME_SOCK_CLOEXEC): Likewise.
9390         (__ASSUME_IN_NONBLOCK): Likewise.
9391         (__ASSUME_PIPE2): Likewise.
9392         (__ASSUME_EVENTFD2): Likewise.
9393         (__ASSUME_SIGNALFD4): Likewise.
9394         (__ASSUME_DUP3): Likewise.
9395         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9396         (__ASSUME_UTIMES): Likewise.
9397         (__ASSUME_O_CLOEXEC): Likewise.
9398         (__ASSUME_SOCK_CLOEXEC): Likewise.
9399         (__ASSUME_IN_NONBLOCK): Likewise.
9400         (__ASSUME_PIPE2): Likewise.
9401         (__ASSUME_EVENTFD2): Likewise.
9402         (__ASSUME_SIGNALFD4): Likewise.
9403         (__ASSUME_DUP3): Likewise.
9404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9405         (__ASSUME_UTIMES): Likewise.
9406         (__ASSUME_O_CLOEXEC): Likewise.
9407         (__ASSUME_SOCK_CLOEXEC): Likewise.
9408         (__ASSUME_IN_NONBLOCK): Likewise.
9409         (__ASSUME_PIPE2): Likewise.
9410         (__ASSUME_EVENTFD2): Likewise.
9411         (__ASSUME_SIGNALFD4): Likewise.
9412         (__ASSUME_DUP3): Likewise.
9413         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9414         Likewise.
9415         (__ASSUME_UTIMES): Likewise.
9416         (__ASSUME_EVENTFD2): Likewise.
9417         (__ASSUME_SIGNALFD4): Likewise.
9418         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9419         (__ASSUME_O_CLOEXEC): Likewise.
9420         (__ASSUME_SOCK_CLOEXEC): Likewise.
9421         (__ASSUME_IN_NONBLOCK): Likewise.
9422         (__ASSUME_PIPE2): Likewise.
9423         (__ASSUME_EVENTFD2): Likewise.
9424         (__ASSUME_SIGNALFD4): Likewise.
9425         (__ASSUME_DUP3): Likewise.
9426         (__ASSUME_UTIMES): Undefine.
9428         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9429         feclearexcept.  Remove symbol versioning code.
9430         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9431         symbol versioning code.
9432         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9433         symbol versioning code.
9434         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9435         feupdateenv.  Remove symbol versioning code.
9436         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9437         fegetexceptflag.  Remove symbol versioning code.
9438         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9439         fesetexceptflag.  Remove symbol versioning code.
9440         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9441         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9442         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9443         (__posix_fadvise64_l32): Remove prototype.
9444         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9445         code.
9447 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9449         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9450         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9451         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9452         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9454 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9456         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9457         current working directory
9459 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9461         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9462         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9463         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9464         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9465         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9466         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9467         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9468         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9469         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9470         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9471         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9472         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9473         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9474         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9475         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9476         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9477         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9478         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9479         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9480         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9481         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9482         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9483         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9484         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9485         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9486         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9487         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9488         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9489         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9490         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9491         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9492         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9493         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9494         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9495         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9496         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9497         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9498         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9499         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9500         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9501         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9502         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9504         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9505         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9507         * sysdeps/unix/sysv/linux/arm/Makefile
9508         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9509         Add rt-aeabi_unwind_cpp_pr1.
9510         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9511         Add nptl-aeabi_unwind_cpp_pr1.
9512         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9513         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9514         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9515         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9516         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9517         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9519         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9520         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9521         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9522         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9524         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9525         Deconditionalize the code that was previously under [RESET_PID].
9526         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9528         * sysdeps/generic/exit-thread.h: New file.
9529         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9530         * include/unistd.h (__exit_thread): Remove declaration.
9531         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9532         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9533         * csu/libc-start.c: Include <exit-thread.h>.
9534         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9535         * nptl/pthread_create.c: Include <exit-thread.h>.
9536         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9537         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9538         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9539         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9540         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9541         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9542         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9543         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9544         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9545         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9546         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9547         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9548         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9549         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9550         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9551         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9552         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9554 2014-05-13  Andreas Schwab  <schwab@suse.de>
9556         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9558 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9560         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9561         (__ASSUME_UTIMES): Do not condition on kernel version.
9562         (__ASSUME_PSELECT): Define unconditionally.
9563         (__ASSUME_PPOLL): Likewise.
9564         (__ASSUME_ATFCTS): Likewise.
9565         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9566         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9567         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9568         (__ASSUME_UTIMENSAT): Define unconditionally.
9569         (__ASSUME_PRIVATE_FUTEX): Likewise.
9570         (__ASSUME_FALLOCATE): Likewise.
9571         (__ASSUME_O_CLOEXEC): Likewise.
9572         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9573         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9574         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9575         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9576         (__ASSUME_IN_NONBLOCK): Likewise.
9577         (__ASSUME_PIPE2): Likewise.
9578         (__ASSUME_EVENTFD2): Likewise.
9579         (__ASSUME_SIGNALFD4): Likewise.
9580         (__ASSUME_DUP3): Likewise.
9581         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9582         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9583         (__ASSUME_AT_RANDOM): Likewise.
9584         (__ASSUME_PREADV): Likewise.
9585         (__ASSUME_PWRITEV): Likewise.
9586         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9587         (__ASSUME_F_GETOWN_EX): Define unconditionally.
9588         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9589         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9590         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9591         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9592         (__ASSUME_O_CLOEXEC): Define unconditionally.
9593         (__ASSUME_PSELECT): Do not undefine conditionally.
9594         (__ASSUME_PPOLL): Likewise.
9595         (__ASSUME_ATFCTS): Likewise.
9596         (__ASSUME_SET_ROBUST_LIST): Likewise.
9597         (__ASSUME_UTIMENSAT): Likewise.
9598         (__ASSUME_FDATASYNC): Define unconditionally.
9599         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9600         (__ASSUME_SIGFRAME_V2): Likewise.
9601         )__ASSUME_EVENTFD2): Likewise.
9602         (__ASSUME_SIGNALFD4): Likewise.
9603         (__ASSUME_PSELECT): Do not undefine conditionally.
9604         (__ASSUME_PPOLL): Likewise.
9605         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9606         (__ASSUME_PSELECT): Define unconditionally.
9607         (__ASSUME_PPOLL): Likewise.
9608         (__ASSUME_O_CLOEXEC): Likewise.
9609         (__ASSUME_SOCK_CLOEXEC): Likewise.
9610         (__ASSUME_IN_NONBLOCK): Likewise.
9611         (__ASSUME_PIPE2): Likewise.
9612         (__ASSUME_EVENTFD2): Likewise.
9613         (__ASSUME_SIGNALFD4): Likewise.
9614         (__ASSUME_DUP3): Likewise.
9615         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9616         (__ASSUME_O_CLOEXEC): Likewise.
9617         (__ASSUME_SOCK_CLOEXEC): Likewise.
9618         (__ASSUME_IN_NONBLOCK): Likewise.
9619         (__ASSUME_PIPE2): Likewise.
9620         (__ASSUME_EVENTFD2): Likewise.
9621         (__ASSUME_SIGNALFD4): Likewise.
9622         (__ASSUME_DUP3): Likewise.
9623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9624         (__ASSUME_EVENTFD2): Likewise.
9625         (__ASSUME_SIGNALFD4): Likewise.
9626         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9628 2014-05-12  Andreas Schwab  <schwab@suse.de>
9630         [BZ #16932]
9631         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9632         (_nss_nis_gethostbyname4_r): Return error if item length is larger
9633         than maximum RPC packet size.
9634         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9635         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9636         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9637         (_nss_nis_getservbyport_r): Likewise.
9639 2014-05-12  Will Newton  <will.newton@linaro.org>
9641         * malloc/Makefile (tests): Add tst-mallopt.
9642         * malloc/tst-mallopt.c: New file.
9644 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9646         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9647         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9649 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9651         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9652         (tst-tlsmod6.so): Likewise.
9654 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9656         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9658 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9660         [BZ #16064]
9661         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9662         and <dl-procinfo.h>.
9663         (__fegetenv): Save SSE state in envp->__eip if supported.
9664         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9665         envp->__eip if supported.
9666         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9667         and <dl-procinfo.h>.
9668         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9669         __data_offset and __data_selector in environment to 0.  Set SSE
9670         state if supported.
9671         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9672         test-fenv-sse.
9673         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9674         -mfpmath=sse.
9675         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9677 2014-05-09  Will Newton  <will.newton@linaro.org>
9679         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9680         and libc_relro_required for ARM.
9681         * sysdeps/arm/preconfigure: Regenerate.
9683 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9684             Stefan Liebler  <stli@linux.vnet.ibm.com>
9686         * config.make.in (enable-lock-elision): New Makefile variable.
9687         * configure.ac: Likewise.
9688         * configure: Regenerate.
9689         * sysdeps/s390/configure.ac:
9690         Add check for gcc transactions support.
9691         * sysdeps/s390/configure: Regenerate.
9692         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9693         Build elision files if enabled.
9694         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9695         Add lock elision support for s390.
9696         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9697         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9698         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9699         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9700         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9701         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9702         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9703         Likewise.
9704         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9705         Likewise.
9706         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9707         Likewise.
9708         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9709         Likewise.
9710         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9711         (__lll_timedlock_elision, __lll_lock_elision)
9712         (__lll_unlock_elision, __lll_trylock_elision)
9713         (lll_timedlock_elision, lll_lock_elision)
9714         (lll_unlock_elision, lll_trylock_elision): Add.
9715         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9716         (pthread_mutex_t): Add lock elision support for s390.
9718 2014-05-14  Wilco  <wdijkstr@arm.com>
9720         * sysdeps/arm/fclrexcpt.c: Cleanup.
9721         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9722         * sysdeps/arm/feenablxcpt.c: Cleanup.
9723         * sysdeps/arm/fegetenv.c: Cleanup.
9724         * sysdeps/arm/fegetexcept.c: Cleanup.
9725         * sysdeps/arm/fegetround.c: Cleanup.
9726         * sysdeps/arm/feholdexcpt.c: Cleanup.
9727         * sysdeps/arm/fesetenv.c: Cleanup.
9728         * sysdeps/arm/fesetround.c: Cleanup.
9729         * sysdeps/arm/feupdateenv.c: Cleanup.
9730         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9731         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9732         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9733         * sysdeps/arm/ftestexcept.c: Cleanup.
9734         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9735         * sysdeps/arm/setfpucw.c: Cleanup.
9737 2014-05-09  Will Newton  <will.newton@linaro.org>
9739         * sysdeps/arm/armv7/strcmp.S: New file.
9740         * NEWS: Mention addition of ARMv7 optimized strcmp.
9742 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9744         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9745         look for %.ac rather than %.in.
9747         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9748         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9749         * sysdeps/mach/hurd/configure: Regenerated.
9750         * sysdeps/unix/sysv/linux/configure: Regenerated.
9752         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9754 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9756         [BZ# 16922]
9757         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9758         (LONG_SUB): Ditto.
9759         (PTR_SUB): Ditto.
9761 2014-05-07  Andreas Schwab  <schwab@suse.de>
9763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9764         when skipping over non-matching result from nscd.
9766 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9768         [BZ #16876]
9769         * nptl/sockperf.c (client): Check socket return value.
9771         [BZ #16877]
9772         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9773         nscd security class.
9775 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9777         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9778         * sysdeps/arm/unwind.h: ... here.
9780 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9782         [BZ# 16916]
9783         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9784         Define.
9786 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9788         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9789         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9790         multiarch strncpy for PPC64.
9791         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9792         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9794         multiarch optimizations.
9795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9796         (__libc_ifunc_impl_list): Likewise.
9797         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9798         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9799         multiarch stpncpy for PPC64.
9800         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9801         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9803 2014-05-06  Andreas Schwab  <schwab@suse.de>
9805         [BZ #16912]
9806         * gmon/mcount.c (_MCOUNT_DECL): Use
9807         atomic_compare_and_exchange_bool_acq instead of
9808         catomic_compare_and_exchange_bool_acq.
9810 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9812         * elf/Makefile (others, install-bin): Remove pldd.
9813         (pldd-modules): Variable removed.
9814         ($(objpfx)pldd): Target removed.
9815         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9816         (others, install-bin): Append pldd here.
9817         ($(objpfx)pldd): New target.
9819         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9820         to 0, so the first #if test emitted later doesn't see it undefined.
9821         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9822         * sysdeps/gnu/errlist.c: Regenerated.
9824 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9826         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9827         [libc_hidden_builtin_def]: Define to empty value.
9828         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9829         [libc_hidden_builtin_def]: Likewise.
9830         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9831         [libc_hidden_builtin_def]: Likewise.
9832         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9833         [libc_hidden_builtin_def]: Likewise.
9834         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9835         __redirect_memcpy and define ifunc as default hidden symbol.
9836         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9837         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9839 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9841         * locale/iso-4217.def: Reintroduce XDR currency.
9843 2014-05-04  Allan McRae  <allan@archlinux.org>
9845         * po/eo.po: Update Esperanto translation from translation project.
9847 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9849         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9850         and FEATURE_INDEX_MAX to 1.
9851         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9853 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9855         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9856         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9857         * iconvdata/big5.c (ONE_DIRECTION): Define.
9858         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9859         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9860         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9861         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9862         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9863         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9864         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9865         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9866         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9867         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9868         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9869         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9870         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9871         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9872         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9873         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9874         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9875         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9876         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9877         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9878         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9879         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9880         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9881         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9882         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9883         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9884         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9885         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9886         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9887         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9888         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9889         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9890         * iconvdata/johab.c (ONE_DIRECTION): Define.
9891         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9892         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9893         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9894         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9895         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9896         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9897         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9898         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9899         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9900         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9902 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9904         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9905         (_IO_JUMPS_OFFSET): Define to 0.
9907         * nptl/sysdeps/pthread/bits/libc-lock.h
9908         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9909         (__libc_lock_define_initialized_recursive): Always define using
9910         initializer.  Modern compilers treat uninitialized (implicit zero) and
9911         explicit zero initializers the same (i.e. put the datum in bss).
9913 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9915         * nscd/nscd-client.h: Include <string.h>.
9917 2014-05-01  David S. Miller  <davem@davemloft.net>
9919         [BZ #16885]
9920         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9921         multiple zero bytes exist at the end of a string.
9922         Reported by Aurelien Jarno <aurelien@aurel32.net>
9924         * string/test-strcmp.c (check): Add explicit test for situations where
9925         there are multiple zero bytes after the first.
9927 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9929         [BZ #16890]
9930         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9931         when compiling wprintf.
9932         * stdio-common/tstdiomisc.c (t3): New function.
9933         (main): Call it.
9935 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9937         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9938         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9939         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9940         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9942 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9944         * stdlib/longlong.h: Updated from GCC.
9946 2014-05-01  Will Newton  <will.newton@linaro.org>
9947             Bernard Ogden  <bernie.ogden@linaro.org>
9949         * NEWS: Update fixed bug list.
9951         [BZ #15119]
9952         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9954 2014-04-30  David S. Miller  <davem@davemloft.net>
9956         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9957         (libc_feholdexcept_setround_sparc_ctx): New function.
9958         (libc_fesetenv_sparc_ctx): Likewise.
9959         (libc_feupdateenv_sparc_ctx): Likewise.
9960         (libc_feholdsetround_sparc_ctx): Likewise.
9961         (libc_feholdexcept_setround_ctx): Define.
9962         (libc_feholdexcept_setroundf_ctx): Likewise.
9963         (libc_feholdexcept_setroundl_ctx): Likewise.
9964         (libc_fesetenv_ctx): Likewise.
9965         (libc_fesetenvf_ctx): Likewise.
9966         (libc_fesetenvl_ctx): Likewise.
9967         (libc_feupdateenv_ctx): Likewise.
9968         (libc_feupdateenvf_ctx): Likewise.
9969         (libc_feupdateenvl_ctx): Likewise.
9970         (libc_feresetround_ctx): Likewise.
9971         (libc_feresetroundf_ctx): Likewise.
9972         (libc_feresetroundl_ctx): Likewise.
9973         (libc_feholdsetround_ctx): Likewise.
9974         (libc_feholdsetroundf_ctx): Likewise.
9975         (libc_feholdsetroundl_ctx): Likewise.
9977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9978         with __USE_GNU instead of XOPEN cpp guards.
9980         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9981         0.
9983         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9984         with XOPEN cpp guards.
9986 2014-04-30  Julian Brown  <julian@codesourcery.com>
9988         [BZ #16888]
9989         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9990         handling.
9992 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #9894]
9995         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9996         Change to 2.6.32.
9997         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9998         * sysdeps/unix/sysv/linux/configure: Regenerated.
9999         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10000         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10001         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10002         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10003         * README: Update reference to required Linux kernel version.
10004         * manual/install.texi (Linux): Update reference to required Linux
10005         kernel headers version.
10006         * INSTALL: Regenerated.
10008         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10009         header inclusion.
10010         [POSIX] (limits.h): Likewise.
10011         [POSIX] (math.h): Likewise.
10012         [POSIX] (sys/wait.h): Likewise.
10013         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10014         function.
10015         [POSIX] (stddef.h): Do not allow header inclusion.
10017 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10019         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10021 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10023         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10024         Return immediately after lll_futex_wake.
10026 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10028         [BZ #16791]
10029         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10030         structure.
10031         (datahead_init_pos): Call datahead_init_common early.
10032         (datahead_init_neg): Likewise.
10034         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10035         datahead_init_neg): New functions.
10036         * nscd/aicache.c (addhstaiX): Use them.
10037         * nscd/grpcache.c (cache_addgr): Likewise.
10038         * nscd/hstcache.c (cache_addhst): Likewise.
10039         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10040         * nscd/netgroupcache.c (do_notfound): Likewise.
10041         (addgetnetgrentX): Likewise.
10042         (addinnetgrX): Likewise.
10043         * nscd/pwdcache.c (cache_addpw): Likewise.
10044         * nscd/servicescache.c (cache_addserv): Likewise.
10046 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10047             Atsushi Onoe  <atsushi@onoe.org>
10049         [BZ #14308]
10050         [BZ #12994]
10051         [BZ #13651]
10052         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10053         one response is valid.
10054         * resolv/res_send.c (send_dg): Check for validity of other
10055         response if the current response is a referral.
10057 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10059         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10061 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10063         [BZ #16823]
10064         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10065         Always divide by positive zero when computing -Inf result.
10066         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10067         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10069 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10071         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10072         FPSCR if value do not change.
10073         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10074         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10075         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10076         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10077         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10078         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10079         function.
10081 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10083         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10084         * sysdeps/unix/sysv/linux/hppa: Move directory from
10085         ports/systeps/unix/sysv/linux/hppa.
10086         * README: Update listing for hppa-*-linux-gnu.
10088 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10090         [BZ #16754]
10091         * manual/stdio.texi (Hook functions): Fix types of stream hook
10092         functions.
10093         [BZ #16854]
10094         * socket/sys/socket.h: Fix typo in comment.
10096 2014-04-28  Wilco  <wdijkstr@arm.com>
10098         * sysdeps/arm/fenv_private.h: New file.
10099         * sysdeps/arm/math_private.h: New file.
10100         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10102 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10104         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10105         with __int128_t.
10106         (La_x86_64_retval): Likewise.
10108 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10110         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10111         fpsr if value didn't change.
10112         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10113         to fpcr if value didn't change.
10114         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10115         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10116         fpsr or fpcr if value didn't change.
10117         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10118         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10119         fpcr if value didn't change.
10120         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10121         to fpsr if value didn't change.
10123 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10125         * nptl/tst-sem3.c: Use test-skeleton.c
10126         (main): Rename to do_test.  Use return instead of
10127         exit.
10128         * nptl/tst-sem4.c: Use test-skeleton.c
10129         (main): Rename to do_test.
10131 2014-04-22  David S. Miller  <davem@davemloft.net>
10133         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10134         (struct sigaction): New struct member __glibc_reserved0, change
10135         type of sa_flags to int.
10137 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10139         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10140         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10142 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10144         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10145         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10147 2014-04-22  Will Newton  <will.newton@linaro.org>
10148             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10150         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10151         (__longjmp): Add longjmp and longjmp_target SystemTap
10152         probes.
10153         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10154         (__sigsetjmp): Add setjmp SystemTap probe.
10156 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10158         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10159         match manual order.
10161 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10163         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10165         * sysdeps/powerpc/fpu/fenv_private.h
10166         (libc_feholdexcept_setroundl_ctx): Define to
10167         libc_feholdexcept_setround_ppc_ctx.
10168         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10169         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10170         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10171         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10173 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10175         * sysdeps/aarch64/math-tests.h: New file.
10177 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10179         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10180         New.
10181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10182         Check and set bit_AVX2_Usable.
10183         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10184         macro.
10185         (bit_AVX2): Likewise.
10186         (index_AVX2_Usable): Likewise.
10187         (CPUID_AVX2): Likewise.
10188         (HAS_AVX2): Likewise.
10190 2014-04-17  Will Newton  <will.newton@linaro.org>
10192         * manual/setjmp.texi (System V contexts): Add note that
10193         calling setcontext on a context created by a call to a
10194         signal handler is undefined.  Update text to note that
10195         setcontext from a signal handler is possible but not
10196         recommended.
10198         [BZ #16629]
10199         * stdlib/tst-setcontext.c: Include signal.h.
10200         (main): Check that the signal stack before and
10201         after swapcontext is the same.
10203         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10204         Re-implement to restore registers in user code and avoid
10205         rt_sigreturn system call.
10207 2014-04-17  Wilco  <wdijkstr@arm.com>
10209         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10210         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10211         * math/test-fenv.c: Skip exception trap tests on targets which only
10212         support non-stop mode.
10214 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10215             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10217         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10218         (libc_feholdsetround_aarch64_ctx)
10219         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10220         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10221         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10222         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10223         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10224         (libc_feresetround_noexl_ctx): Define.
10226 2014-04-16  Richard Henderson  <rth@redhat.com>
10228         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10230         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10231         unwind tables.
10233         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10234         const from the non-libc, non-ldso copy.
10236         * sysdeps/alpha/libm-test-ulps: Regenerate.
10238 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10239             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10241         * sysdeps/aarch64/fpu/math_private.h: New file.
10243 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10245         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10247 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10249         [BZ #16275]
10250         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10251         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10253         Intel MPX bound registers before _dl_profile_fixup.
10254         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10255         registers after _dl_profile_fixup.  Save and restore bound
10256         registers bnd0/bnd1 when calling _dl_call_pltexit.
10257         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10258         (LR_BND_OFFSET): Likewise.
10259         (LRV_BND0_OFFSET): Likewise.
10260         (LRV_BND1_OFFSET): Likewise.
10262 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10264         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10265         to...
10266         * sysdeps/mach/hurd/i386/tls.h: ... here.
10267         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10268         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10269         fields.
10271 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10273         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10275 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10277         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10279 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10281         [BZ #14770]
10282         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10283         * sysdeps/s390/configure: Regenerate.
10285         [BZ #16824]
10286         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10287         Set round-to-nearest internally to reduce error accumulation.
10289 2014-04-16  Alan Modra  <amodra@gmail.com>
10291         [BZ #16740]
10292         [BZ #16619]
10293         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10294         * math/libm-test.inc (frexp_test_data): Add tests.
10295         * NEWS: Update fixed bug list.
10297 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * benchtests/Makefile: Depend on libraries in build directory.
10300         (bench-math): Separate out math tests.
10301         (bench-pthread): Separate out pthread tests.
10302         (bench): Include math and pthread tests.
10304 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10306         [BZ #16831]
10307         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10308         _dl_debug_initialize.
10310         * configure.ac: Remove SELinux header check.
10311         * configure: Regenerate.
10312         * nscd/selinux.c (perms): Array of const char* to permission names.
10313         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10314         default policy. Call string_to_security_class and string_to_av_perm to
10315         translate strings. Enforce default policy and call avs_has_perm with
10316         results of translated strings.
10318 2014-04-13  David S. Miller  <davem@davemloft.net>
10320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10322 2014-04-12  Allan McRae  <allan@archlinux.org>
10324         [BZ #16838]
10325         * manual/string.texi (Collation Functions): Fix qsort argument
10326         order in example.
10327         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10329 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10331         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10332         Make the test a no-op if there are no exceptions defined.
10334 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10336         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10337         enable-hardcoded-path-in-tests
10339 2014-04-11  Will Newton  <will.newton@linaro.org>
10341         * benchtests/Makefile (extra-objs): Add json-lib.o.
10342         (bench-func): Tidy up JSON output.
10343         * benchtests/bench-skeleton.c: Include json-lib.h.
10344         (main): Use JSON library functions to do output of
10345         benchmark results.
10346         * benchtests/bench-timing-type.c (main): Output the
10347         timing type simply, leaving formatting to the user.
10348         * benchtests/json-lib.c: New file.
10349         * benchtests/json-lib.h: Likewise.
10351 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10353         [BZ #15215]
10354         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10355         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10356         memory barriers.  Add comments.
10357         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10358         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10359         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10360         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10361         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10362         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10364 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10366         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10367         * sysdeps/s390/s390-64/configure.ac: ... this ...
10368         * sysdeps/s390/configure.ac: ... to here.
10369         * sysdeps/s390/s390-32/configure: Delete file.
10370         * sysdeps/s390/s390-64/configure: Delete file.
10371         * sysdeps/s390/configure: Regenerate.
10373 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10375         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10377 2014-04-11  Will Newton  <will.newton@linaro.org>
10379         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10380         to zero if it is not defined elsewhere.  (mtrim): Test
10381         the value of MALLOC_DEBUG with #if rather than #ifdef.
10383 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10385         * benchtests/pthread_once-inputs: New file.
10386         * benchtests/pthread_once-source.c: New file.
10387         * benchtests/README: Update documentation.
10389 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10390             H.J. Lu  <hongjiu.lu@intel.com>
10392         [BZ #16275]
10393         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10394         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10395         * sysdeps/x86_64/configure: Regenerated.
10396         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10397         macro.
10398         (REGISTER_SAVE_RAX): Likewise.
10399         (REGISTER_SAVE_RCX): Likewise.
10400         (REGISTER_SAVE_RDX): Likewise.
10401         (REGISTER_SAVE_RSI): Likewise.
10402         (REGISTER_SAVE_RDI): Likewise.
10403         (REGISTER_SAVE_R8): Likewise.
10404         (REGISTER_SAVE_R9): Likewise.
10405         (REGISTER_SAVE_BND0): Likewise.
10406         (REGISTER_SAVE_BND1): Likewise.
10407         (REGISTER_SAVE_BND2): Likewise.
10408         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10409         bound registers when calling _dl_fixup.
10411 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10413         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10414         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10415         of its definition.
10416         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10417         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10418         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10419         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10420         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10421         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10422         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10424 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10426         [BZ #15514]
10427         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10428         pathconf(_PC_NAME_MAX).
10430 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10432         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10433         Remove macro usage.
10434         (__PTHREAD_SPINS): Move definition to ...
10435         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10436         (__PTHREAD_SPINS): ... here.
10437         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10438         (__PTHREAD_SPIN): Likewise.
10439         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10440         (__PTHREAD_SPIN): Likewise.
10441         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10442         (__PTHREAD_SPIN): Likewise.
10443         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10444         (__PTHREAD_SPIN): Likewise.
10445         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10446         (__PTHREAD_SPIN): Likewise.
10447         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10448         (__PTHREAD_SPIN): Likewise.
10449         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10450         (__PTHREAD_SPIN): Likewise.
10451         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10452         (__PTHREAD_SPIN): Likewise.
10453         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10454         (__PTHREAD_SPIN): Likewise.
10455         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10456         (__PTHREAD_SPIN): Likewise.
10457         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10458         (__PTHREAD_SPIN): Likewise.
10459         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10460         (__PTHREAD_SPIN): Likewise.
10462         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10463         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10464         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10465         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10466         imply folder.
10467         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10468         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10469         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10470         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10471         correct imply path.
10472         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10473         strlen symbol for non multi-arch builds.
10474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10475         missing hidden_def and weak_alias.
10477 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10479         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10481 2014-04-07  Will Newton  <will.newton@linaro.org>
10483         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10484         and contents.  [!_LIBC] Remove #ifndef and contents.
10485         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10486         * string/memccpy.c (__memccpy): Use ANSI prototype.
10487         * string/memfrob.c (memfrob): Likewise.
10488         * string/strcoll.c (STRCOLL): Likewise.
10489         * string/strlen.c (strlen): Likewise.
10490         * string/strtok.c (STRTOK): Likewise.
10491         * string/strcat.c: Remove unused #include of memcopy.h.
10492         (strcat): Use ANSI prototype.
10493         * string/strchr.c: Remove unused #include of memcopy.h.
10494         (strchr): Use ANSI prototype.
10495         * string/strcmp.c: Remove unused #include of memcopy.h.
10496         (strcmp): Use ANSI prototype.
10497         * string/strcpy.c: Remove unused #include of memcopy.h.
10498         (strcpy): Use ANSI prototype.
10500 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10502         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10503         * config.make.in (config-extra-cppflags): Set it from
10504         libc_extra_cppflags.
10505         * configure.ac (libc_extra_cflags): Make it accumulate over
10506         configure fragments.
10507         (libc_extra_cppflags): New flag.
10508         * configure. Regenerate.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10510         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10511         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10514         [BZ #16815]
10515         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10516         result for FE_DOWNWARD rounding mode.
10517         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10518         Likewise.
10519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10521 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10523         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10524         in function argument name.
10526 2014-04-03  David Svoboda  <svoboda@cert.org>
10528         [BZ #5666]
10529         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10530         explicitly.
10532 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10534         * elf/dl-unmap-segments.h: New file.
10535         * sysdeps/generic/ldsodefs.h
10536         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10537         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10538         * elf/dl-fptr.c: Likewise.
10539         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10540         * sysdeps/aarch64/tlsdesc.c: Likewise.
10541         * sysdeps/arm/tlsdesc.c: Likewise.
10542         * sysdeps/i386/tlsdesc.c: Likewise.
10543         * sysdeps/tile/dl-runtime.c: Likewise.
10544         * sysdeps/x86_64/tlsdesc.c: Likewise.
10545         * elf/dl-load.h: New file.
10546         * elf/dl-load.c: Include it.
10547         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10548         Macros moved to dl-load.h.
10549         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10550         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10551         Use _dl_unmap_segments in place of __munmap.
10552         Break out segment-mapping loop into ...
10553         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10555 2014-04-03  Will Newton  <will.newton@linaro.org>
10557         * elf/dl-lookup.c (do_lookup_x): Remove comment
10558         referring to nested function and move variable
10559         declarations down to before first use.
10561 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10563         [BZ #16799]
10564         [BZ #16800]
10565         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10566         with 0 numerator.
10567         * math/s_catanf.c (__catanf): Likewise.
10568         * math/s_catanh.c (__catanh): Likewise.
10569         * math/s_catanhf.c (__catanhf): Likewise.
10570         * math/s_catanhl.c (__catanhl): Likewise.
10571         * math/s_catanl.c (__catanl): Likewise.
10572         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10573         by positive zero when computing -Inf result.
10574         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10575         (catanh_test): Likewise.
10576         * sysdeps/i386/fpu/libm-test-ulps: Update.
10577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10579         [BZ #16789]
10580         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10581         instead of using underflowing value in computing result.
10582         * math/s_clog10.c (__clog10): Likewise.
10583         * math/s_clog10f.c (__clog10f): Likewise.
10584         * math/s_clog10l.c (__clog10l): Likewise.
10585         * math/s_clogf.c (__clogf): Likewise.
10586         * math/s_clogl.c (__clogl): Likewise.
10587         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10588         (clog10_test): Likewise.
10589         * sysdeps/i386/fpu/libm-test-ulps: Update.
10590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10592 2014-04-02  Alan Modra  <amodra@gmail.com>
10594         [BZ #16739]
10595         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10596         output when value is near a power of two.  Use int64_t for lx and
10597         remove casts.  Use decimal rather than hex exponent constants.
10598         Don't use long double multiplication when double will suffice.
10599         * math/libm-test.inc (nextafter_test_data): Add tests.
10600         * NEWS: Add 16739 and 16786 to bug list.
10602         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10604         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10606 2014-04-01  Will Newton  <will.newton@linaro.org>
10608         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10609         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
10611 2014-04-01  Florian Weimer  <fweimer@redhat.com>
10613         [BZ #13347]
10614         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10615         * nptl/tst-setuid2.c: New file.
10616         * nptl/Makefile (xtests): Add tst-setuid2.
10618 2014-04-01  Alan Modra  <amodra@gmail.com>
10620         [BZ #16786]
10621         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10623 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10625         [BZ #6803]
10626         [BZ #6804]
10627         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10628         set errno as appropriate.
10629         * math/w_scalbf.c (__scalbf): Likewise.
10630         * math/w_scalbl.c (__scalbl): Likewise.
10631         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10632         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10633         * math/libm-test.inc (scalb_test_data): Add errno expectations.
10634         Add more NaN tests.
10636         [BZ #16349]
10637         * math/w_atan2.c: Include <errno.h>.
10638         (__atan2): Set errno for result underflowing to zero.
10639         * math/w_atan2f.c: Include <errno.h>.
10640         (__atan2f): Set errno for result underflowing to zero.
10641         * math/w_atan2l.c: Include <errno.h>.
10642         (__atan2l): Set errno for result underflowing to zero.
10643         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10644         tests.
10645         * math/auto-libm-test-out: Regenerated.
10647 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10649         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10650         Encode instruction correctly in little endian.
10651         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10652         Likewise.
10653         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10654         Likewise.
10655         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10656         Likewise.
10657         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10658         Likewise.
10660 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10662         [BZ #9894]
10663         * sysdeps/unix/sysv/linux/kernel-features.h
10664         [__sparc__ && !__arch64__ && !__sparc_v9__]
10665         (__ASSUME_SET_ROBUST_LIST): Do not define.
10666         [__sparc__ && !__arch64__ && !__sparc_v9__]
10667         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10668         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10671         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10672         (__ASSUME_REQUEUE_PI): Likewise.
10673         (__ASSUME_SET_ROBUST_LIST): Likewise.
10674         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10675         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10676         Undefine.
10677         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10678         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10679         Likewise.
10680         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10681         Likewise.
10682         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10683         Likewise.
10684         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10685         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10686         Undefine.
10687         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10688         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10689         Likewise.
10691         [BZ #16648]
10692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10694         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10696 2014-03-31  Will Newton  <will.newton@linaro.org>
10698         * benchtests/Makefile (bench): Add ffs and ffsll to list
10699         of tests.
10700         * benchtests/ffs-inputs: New file.
10701         * benchtests/ffsll-inputs: Likewise.
10703 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10705         [BZ #16770]
10706         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10707         too large before casting to int.
10708         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10709         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10710         * math/libm-test.inc (scalb_test_data): Add more tests.
10712 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10714         * benchtests/Makefile (DETAILED_OPT): New make option.
10715         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10716         set.
10717         * benchtests/bench-skeleton.c: Include stdbool.h.
10718         (main): Store and print timings per input.
10719         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10720         member to each argument value.
10721         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10722         (_print_arg_data): Initialize per-input timing to 0.
10724         * benchtests/Makefile (timing-type): New binary.
10725         (bench-clean): Also remove bench-timing-type.
10726         (bench): New target for timing-type.
10727         (bench-func): Print output in JSON format.
10728         * benchtests/bench-skeleton.c (main): Print output in JSON
10729         format.
10730         * benchtests/bench-timing-type.c: New file.
10731         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10732         (TIMING_PRINT_STATS): Remove.
10733         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10734         name separately.
10736         * benchtests/bench-modf.c: Remove.
10737         * benchtests/modf-inputs: New inputs file.
10739 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10741         [BZ #16362]
10742         * math/s_clog10.c (M_PI_LOG10E): New macro.
10743         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10744         imaginary parts are 0.
10745         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10746         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10747         imaginary parts are 0.
10748         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10749         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10750         imaginary parts are 0.
10751         * math/libm-test.inc (clog10_test_data): Update expected results
10752         for when real and imaginary parts are 0.
10754 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10756         * elf/dl-load.c: Finish conversion of __builtin_expect into
10757         __glibc_{un}likely.
10759 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10761         [BZ #16348]
10762         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10763         1+x for argument with exponent below -67.
10764         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10765         Likewise.
10766         * math/auto-libm-test-in: Add more tests of exp.
10767         * math/auto-libm-test-out: Regenerated.
10769 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10771         [BZ #16759]
10772         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10773         (nscd_getnetgrent): Use it.
10775         [BZ #16760]
10776         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10777         of stpcpy.
10779 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10781         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10782         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10783         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10784         (lll_robust_unlock): Remove out of line section. Use cfi
10785         intrinsics.
10786         (LLL_STUB_UNWIND_INFO*): Remove.
10787         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10788         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10789         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10790         (lll_robust_unlock): Remove out of line section. Use cfi
10791         intrinsics.
10792         (LLL_STUB_UNWIND_INFO*): Remove.
10794 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10796         [BZ #16758]
10797         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10798         blank values.
10800 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10802         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10804 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10806         [BZ #16198]
10807         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10808         fnstenv.
10809         * math/test-fenv-preserve.c: New file.
10810         * math/Makefile (tests): Add test-fenv-preserve.
10812 2014-03-26  Will Newton <will.newton@linaro.org>
10814         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10816 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10818         * scripts/versionlist.awk: Partition the version sets and emit all
10819         GLIBC_* (sorted) before all others (sorted).
10821 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10823         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10824         GLIBC_2.2.5 version.
10826 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10828         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10829         calls.
10831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10832         previous change.
10834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10836 2014-03-25  Andreas Schwab  <schwab@suse.de>
10838         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10839         label to be used after in6ailist is initialized.
10841 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10843         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10844         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10846 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10848         [BZ #16357]
10849         [BZ #16599]
10850         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10851         min_plus_half.
10852         (fp_formats): Update initializers.
10853         (init_fp_formats): Initialize new field.
10854         (output_for_one_input_case): Allow underflow for results up to
10855         min_plus_half.
10856         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10857         * math/auto-libm-test-in: Don't mark some underflows from asin and
10858         atanh as spurious.
10859         * math/auto-libm-test-out: Regenerated.
10860         * sysdeps/i386/fpu/libm-test-ulps: Update.
10861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10863 2014-03-25  Andreas Schwab  <schwab@suse.de>
10865         * libio/Makefile (tst-ftell-partial-wide-ENV)
10866         (tst-ftell-active-handler-ENV): Define.
10868 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10870         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10872 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10874         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10876 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10878         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10879         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10880         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10882 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10884         [BZ #16634]
10885         * elf/dl-load.c (open_verify): Add mode parameter.
10886         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10887         (open_path): Change from boolean 'secure' to complete flag 'mode'
10888         (_dl_map_object): Adjust.
10889         * elf/Makefile (tests): Add tst-dlopen-aout.
10890         * elf/tst-dlopen-aout.c: New test.
10892 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10894         [BZ #16714]
10895         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10896         (struct stat): Rename member pad0 to __glibc_reserved0.
10898         [BZ #16712]
10899         * sysdeps/s390/s390-32/bits/wordsize.h
10900         (__WORDSIZE32_SIZE_ULONG): New define.
10901         * sysdeps/s390/s390-64/bits/wordsize.h
10902         (__WORDSIZE32_SIZE_ULONG): Likewise.
10903         * sysdeps/generic/stdint.h (SIZE_MAX):
10904         Define as UL if __WORDSIZE32_SIZE_ULONG.
10906         [BZ #16713]
10907         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10908         (__glibc_reserved0): New variable.
10909         (sa_flags): Change type to int.
10911         * posix/Makefile (before-compile): Use += before-compile instead
10912         of a :=.
10914         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10915         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10917 2014-03-20  Andreas Schwab  <schwab@suse.de>
10919         [BZ #16743]
10920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10921         non-matching result from nscd.
10923 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10925         * scripts/bench.py: Moved to ...
10926         * benchtests/scripts/bench.py: ... here.
10927         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10929 2014-03-24  Andreas Schwab  <schwab@suse.de>
10931         [BZ #16002]
10932         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10933         alloca_account and account alloca use for struct in6ailist.
10935 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10937         [BZ #16284]
10938         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10939         rounding mode to recompute results that overflow to infinity or
10940         underflow to zero.
10941         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10942         bug 16284.
10943         * math/auto-libm-test-out: Regenerated.
10944         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10945         (ccosh_test): Likewise.
10946         (csin_test_data): Use plus_oflow.
10947         (csin_test): Use ALL_RM_TEST.
10948         (csinh_test_data): Use plus_oflow.
10949         (csinh_test): Use ALL_RM_TEST.
10950         * sysdeps/i386/fpu/libm-test-ulps: Update.
10951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10953 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10955         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10956         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10957         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10959         [BZ #16731]
10960         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10961         when x - 1 is zero.
10962         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10963         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10964         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10965         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10966         argument is 1.
10967         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10968         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10969         zero.
10970         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10971         * sysdeps/i386/fpu/libm-test-ulps: Update.
10972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10976         * scripts/bench.pl: Remove file.
10977         * scripts/bench.py: New benchmark script.
10978         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10979         * benchtests/README: Mention python dependency.
10980         * scripts/pylintrc: New file.
10981         * scripts/pylint: New file.
10983         * bits/mathdef.h: Use #ifdef instead of #if.
10984         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10985         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10986         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10987         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10988         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10989         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10991 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10992             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10994         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10996         and strpbrk-ppc64 objects.
10997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10998         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10999         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11000         multiarch strpbrk for POWER7.
11001         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11002         multiarch strpbrk for PPC64.
11003         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11004         ifunc selector.
11005         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11006         strpbrk for POWER7.
11008 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11010         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11011         (atan_test): Likewise.
11012         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11013         (atanh_test): Use ALL_RM_TEST.
11014         (atan2_test_data): Likewise.
11015         (cabs_test): Likewise.
11016         (cacosh_test): Likewise.
11017         (carg_test): Likewise.
11018         (casin_test): Likewise.
11019         (casinh_test): Likewise.
11020         (cbrt_test): Likewise.
11021         (csqrt_test): Likewise.
11022         (erf_test): Likewise.
11023         (erfc_test): Likewise.
11024         (pow10_test): Likewise.
11025         (exp2_test): Likewise.
11026         (hypot_test): Likewise.
11027         (j0_test): Likewise.
11028         (j1_test): Likewise.
11029         (lgamma_test): Likewise.
11030         (gamma_test): Likewise.
11031         (sincos_test): Likewise.
11032         (tanh_test): Likewise.
11033         (y0_test): Likewise.
11034         (y1_test): Likewise.
11035         * sysdeps/i386/fpu/libm-test-ulps: Update.
11036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11040         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11042         and strcspn-ppc64 objects.
11043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11044         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11045         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11046         multiarch strcspn for POWER7.
11047         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11048         multiarch strcspn for PPC64.
11049         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11050         ifunc selector.
11051         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11052         strcspn for POWER7.
11054 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11056         * math/gen-libm-test.pl (generate_testfile): Expect only function
11057         name as argument to AUTO_TESTS_* and pass results for all rounding
11058         modes to parse_args.
11059         (parse_auto_input): Separate inputs of automatic tests from
11060         outputs before storing in %auto_tests.
11061         * math/libm-test.inc (acos_test_data): Update call to
11062         AUTO_TESTS_f_f.
11063         (acos_test): Use ALL_RM_TEST.
11064         (acos_tonearest_test_data): Remove.
11065         (acos_test_tonearest): Likewise.
11066         (acos_towardzero_test_data): Likewise.
11067         (acos_test_towardzero): Likewise.
11068         (acos_downward_test_data): Likewise.
11069         (acos_test_downward): Likewise.
11070         (acos_upward_test_data): Likewise.
11071         (acos_test_upward): Likewise.
11072         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11073         (asin_test_data): Likewise.
11074         (asin_test): Use ALL_RM_TEST.
11075         (asin_tonearest_test_data): Remove.
11076         (asin_test_tonearest): Likewise.
11077         (asin_towardzero_test_data): Likewise.
11078         (asin_test_towardzero): Likewise.
11079         (asin_downward_test_data): Likewise.
11080         (asin_test_downward): Likewise.
11081         (asin_upward_test_data): Likewise.
11082         (asin_test_upward): Likewise.
11083         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11084         (atan_test_data): Likewise.
11085         (atanh_test_data): Likewise.
11086         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11087         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11088         (carg_test_data): Likewise.
11089         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11090         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11091         (ccosh_test_data): Likewise.
11092         (cexp_test_data): Likewise.
11093         (clog_test_data): Likewise.
11094         (clog10_test_data): Likewise.
11095         (cos_test_data): Update call to AUTO_TESTS_f_f.
11096         (cos_test): Use ALL_RM_TEST.
11097         (cos_tonearest_test_data): Remove.
11098         (cos_test_tonearest): Likewise.
11099         (cos_towardzero_test_data): Likewise.
11100         (cos_test_towardzero): Likewise.
11101         (cos_downward_test_data): Likewise.
11102         (cos_test_downward): Likewise.
11103         (cos_upward_test_data): Likewise.
11104         (cos_test_upward): Likewise.
11105         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11106         (cosh_test): Use ALL_RM_TEST.
11107         (cosh_tonearest_test_data): Remove.
11108         (cosh_test_tonearest): Likewise.
11109         (cosh_towardzero_test_data): Likewise.
11110         (cosh_test_towardzero): Likewise.
11111         (cosh_downward_test_data): Likewise.
11112         (cosh_test_downward): Likewise.
11113         (cosh_upward_test_data): Likewise.
11114         (cosh_test_upward): Likewise.
11115         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11116         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11117         (ctan_test_data): Likewise.
11118         (ctan_test): Use ALL_RM_TEST.
11119         (ctan_tonearest_test_data): Remove.
11120         (ctan_test_tonearest): Likewise.
11121         (ctan_towardzero_test_data): Likewise.
11122         (ctan_test_towardzero): Likewise.
11123         (ctan_downward_test_data): Likewise.
11124         (ctan_test_downward): Likewise.
11125         (ctan_upward_test_data): Likewise.
11126         (ctan_test_upward): Likewise.
11127         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11128         (ctanh_test): Use ALL_RM_TEST.
11129         (ctanh_tonearest_test_data): Remove.
11130         (ctanh_test_tonearest): Likewise.
11131         (ctanh_towardzero_test_data): Likewise.
11132         (ctanh_test_towardzero): Likewise.
11133         (ctanh_downward_test_data): Likewise.
11134         (ctanh_test_downward): Likewise.
11135         (ctanh_upward_test_data): Likewise.
11136         (ctanh_test_upward): Likewise.
11137         (erf_test_data): Update call to AUTO_TESTS_f_f.
11138         (erfc_test_data): Likewise.
11139         (exp_test_data): Likewise.
11140         (exp_test): Use ALL_RM_TEST.
11141         (exp_tonearest_test_data): Remove.
11142         (exp_test_tonearest): Likewise.
11143         (exp_towardzero_test_data): Likewise.
11144         (exp_test_towardzero): Likewise.
11145         (exp_downward_test_data): Likewise.
11146         (exp_test_downward): Likewise.
11147         (exp_upward_test_data): Likewise.
11148         (exp_test_upward): Likewise.
11149         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11150         (exp10_test): Use ALL_RM_TEST.
11151         (exp10_tonearest_test_data): Remove.
11152         (exp10_test_tonearest): Likewise.
11153         (exp10_towardzero_test_data): Likewise.
11154         (exp10_test_towardzero): Likewise.
11155         (exp10_downward_test_data): Likewise.
11156         (exp10_test_downward): Likewise.
11157         (exp10_upward_test_data): Likewise.
11158         (exp10_test_upward): Likewise.
11159         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11160         (expm1_test_data): Likewise.
11161         (expm1_test): Use ALL_RM_TEST.
11162         (expm1_tonearest_test_data): Remove.
11163         (expm1_test_tonearest): Likewise.
11164         (expm1_towardzero_test_data): Likewise.
11165         (expm1_test_towardzero): Likewise.
11166         (expm1_downward_test_data): Likewise.
11167         (expm1_test_downward): Likewise.
11168         (expm1_upward_test_data): Likewise.
11169         (expm1_test_upward): Likewise.
11170         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11171         (fma_test): Use ALL_RM_TEST.
11172         (fma_towardzero_test_data): Remove.
11173         (fma_test_towardzero): Likewise.
11174         (fma_downward_test_data): Likewise.
11175         (fma_test_downward): Likewise.
11176         (fma_upward_test_data): Likewise.
11177         (fma_test_upward): Likewise.
11178         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11179         (j0_test_data): Update call to AUTO_TESTS_f_f.
11180         (j1_test_data): Likewise.
11181         (jn_test_data): Update call to AUTO_TESTS_if_f.
11182         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11183         (log_test_data): Update call to AUTO_TESTS_f_f.
11184         (log10_test_data): Likewise.
11185         (log1p_test_data): Likewise.
11186         (log2_test_data): Likewise.
11187         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11188         (pow_tonearest_test_data): Likewise.
11189         (sin_test_data): Update call to AUTO_TESTS_f_f.
11190         (sin_test): Use ALL_RM_TEST.
11191         (sin_tonearest_test_data): Remove.
11192         (sin_test_tonearest): Likewise.
11193         (sin_towardzero_test_data): Likewise.
11194         (sin_test_towardzero): Likewise.
11195         (sin_downward_test_data): Likewise.
11196         (sin_test_downward): Likewise.
11197         (sin_upward_test_data): Likewise.
11198         (sin_test_upward): Likewise.
11199         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11200         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11201         (sinh_test): Use ALL_RM_TEST.
11202         (sinh_tonearest_test_data): Remove.
11203         (sinh_test_tonearest): Likewise.
11204         (sinh_towardzero_test_data): Likewise.
11205         (sinh_test_towardzero): Likewise.
11206         (sinh_downward_test_data): Likewise.
11207         (sinh_test_downward): Likewise.
11208         (sinh_upward_test_data): Likewise.
11209         (sinh_test_upward): Likewise.
11210         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11211         (sqrt_test): Use ALL_RM_TEST.
11212         (sqrt_tonearest_test_data): Remove.
11213         (sqrt_test_tonearest): Likewise.
11214         (sqrt_towardzero_test_data): Likewise.
11215         (sqrt_test_towardzero): Likewise.
11216         (sqrt_downward_test_data): Likewise.
11217         (sqrt_test_downward): Likewise.
11218         (sqrt_upward_test_data): Likewise.
11219         (sqrt_test_upward): Likewise.
11220         (tan_test_data): Update call to AUTO_TESTS_f_f.
11221         (tan_test): Use ALL_RM_TEST.
11222         (tan_tonearest_test_data): Remove.
11223         (tan_test_tonearest): Likewise.
11224         (tan_towardzero_test_data): Likewise.
11225         (tan_test_towardzero): Likewise.
11226         (tan_downward_test_data): Likewise.
11227         (tan_test_downward): Likewise.
11228         (tan_upward_test_data): Likewise.
11229         (tan_test_upward): Likewise.
11230         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11231         (tgamma_test_data): Likewise.
11232         (y0_test_data): Likewise.
11233         (y1_test_data): Likewise.
11234         (yn_test_data): Update call to AUTO_TESTS_if_f.
11235         (main): Do not call removed functions.
11237 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11239         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11240         (ldexp_test_data): Remove.
11241         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11242         scalbn_test_data.
11243         (scalb_test): Use ALL_RM_TEST.
11245 2014-03-19  Andreas Schwab  <schwab@suse.de>
11247         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11249 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11251         [BZ #16649]
11252         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11253         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11254         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11256         (__ASSUME_PREADV): Undefine.
11257         (__ASSUME_PWRITEV): Likewise.
11259 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11261         * bits/mman-linux.h: Add comment about non-Linux use.
11262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11263         bits/mman-linux.h resting place.
11265         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11266         * bits/mman-linux.h: ... here.
11268 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11270         * conform/conformtest.pl: Add standard definition when calling C
11271         preprocessor on data files.
11272         (checknamespace): Remove unused variable.
11274 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11276         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11277         minus_oflow, plus_uflow and minus_uflow in expected results.
11278         * math/libm-test.inc (scalbn_test_data): Add more tests of
11279         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11280         minus_uflow.
11281         (scalbn_test): Use ALL_RM_TEST.
11282         (scalbln_test_data): Add more tests of negative arguments.  Use
11283         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11284         (scalbln_test): Use ALL_RM_TEST.
11286 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11288         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11290 2014-03-18  Will Newton  <will.newton@linaro.org>
11292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11293         inaccurate comment.
11295 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11297         * Makerules [!subdir] (check-abi): Exit with error status if a
11298         test failed.
11300 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11302         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11303         for rint.  Include results for all rounding modes.
11304         (nearbyint_test): Use ALL_RM_TEST.
11305         (rint_test_data): Include all tests used for nearbyint.
11307 2014-03-17  Will Newton  <will.newton@linaro.org>
11309         * nptl/sysdeps/pthread/pthread.h: Revert previous
11310         change.
11312         * sysdeps/generic/ldsodefs.h: Revert previous
11313         change.
11315         * libio/genops.c: Revert previous change.
11316         * libio/libioP.h: Likewise.
11317         * stdio-common/vfprintf.c: Likewise.
11319         * sysdeps/generic/math_private.h: Revert previous
11320         change.
11322         * sysdeps/generic/math_private.h: Check whether
11323         HAVE_RM_CTX is defined with #ifdef rather
11324         than #if.
11326         * argp/argp-fmtstream.h: Check whether
11327         __STRICT_ANSI__ is defined with #ifdef rather
11328         than #if.
11329         * argp/argp.h: Likewise.
11331         * libio/genops.c: Check whether
11332         _IO_JUMPS_OFFSET is defined with #ifdef rather
11333         than #if.
11334         * libio/libioP.h: Likewise.
11335         * stdio-common/vfprintf.c: Likewise.
11337         * sysdeps/generic/ldsodefs.h: Check whether
11338         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11339         than #if.
11341         * nptl/sysdeps/pthread/pthread.h: Check
11342         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11343         its value.
11345 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11347         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11348         setting O_APPEND.
11349         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11350         test case.
11352         [BZ #16680]
11353         * libio/fileops.c (_IO_file_open): Seek to end of file but
11354         don't cache the offset.
11355         (get_file_offset): Remove function.
11356         (do_ftell): Use cached offset when available.
11357         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11358         don't cache the offset.
11359         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11360         case.
11361         (do_one_test): Call it.
11362         (do_ftell_test): Fix up expected old offset for a+ mode.
11363         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11364         available.
11366         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11367         up test status with function return status.
11368         (do_write_test): Likewise.
11369         (do_append_test): Likewise.
11371         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11372         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11373         Remove.
11375 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11377         * math/gen-libm-test.pl (parse_args): Handle results specified for
11378         each rounding mode separately.
11379         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11380         tests and results from lrint_tonearest_test_data,
11381         lrint_towardzero_test_data, lrint_downward_test_data and
11382         lrint_upward_test_data.
11383         (lrint_test): Use ALL_RM_TEST.
11384         (lrint_tonearest_test_data): Remove.
11385         (lrint_test_tonearest): Likewise.
11386         (lrint_towardzero_test_data): Likewise.
11387         (lrint_test_towardzero): Likewise.
11388         (lrint_downward_test_data): Likewise.
11389         (lrint_test_downward): Likewise.
11390         (lrint_upward_test_data): Likewise.
11391         (lrint_test_upward): Likewise.
11392         (llrint_test_data): Merge in per-rounding-mode tests and results
11393         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11394         llrint_downward_test_data and llrint_upward_test_data.
11395         (llrint_test): Use ALL_RM_TEST.
11396         (llrint_tonearest_test_data): Remove.
11397         (llrint_test_tonearest): Likewise.
11398         (llrint_towardzero_test_data): Likewise.
11399         (llrint_test_towardzero): Likewise.
11400         (llrint_downward_test_data): Likewise.
11401         (llrint_test_downward): Likewise.
11402         (llrint_upward_test_data): Likewise.
11403         (llrint_test_upward): Likewise.
11404         (rint_test_data): Merge in per-rounding-mode tests and results
11405         from rint_tonearest_test_data, rint_towardzero_test_data,
11406         rint_downward_test_data and rint_upward_test_data.  Add
11407         per-rounding-mode results for tests not in those arrays.
11408         (rint_test): Use ALL_RM_TEST.
11409         (rint_tonearest_test_data): Remove.
11410         (rint_test_tonearest): Likewise.
11411         (rint_towardzero_test_data): Likewise.
11412         (rint_test_towardzero): Likewise.
11413         (rint_downward_test_data): Likewise.
11414         (rint_test_downward): Likewise.
11415         (rint_upward_test_data): Likewise.
11416         (rint_test_upward): Likewise.
11417         (main): Don't call removed functions.
11419 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11421         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11422         "Compiled on ..." crapola.  It is anti-useful.
11424 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11426         * scripts/evaluate-test.sh: Handle fourth argument to determine
11427         whether test run should stop on failure.
11428         * Makeconfig (stop-on-test-failure): New variable.
11429         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11430         $(stop-on-test-failure).
11431         * Makefile (tests): Give a summary of results from testing and
11432         exit with failure status if they include an ERROR or FAIL.
11433         (xtests): Likewise.
11434         * manual/install.texi (Configuring and compiling): Mention
11435         stop-on-test-failure=y.
11436         * INSTALL: Regenerated.
11438 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11440         * scripts/versionlist.awk: New file.
11441         * Makerules [$(build-shared) = yes]
11442         (postclean-generated): Add Versions.def, not Versions.def.v and
11443         Versions.def.v.i.
11444         ($(common-objpfx)Versions.def.v.i): Target removed.
11445         ($(common-objpfx)Versions.def): New target.
11446         ($(common-objpfx)Versions.all): Depend on that rather that
11447         $(common-objpfx)Versions.def.v.
11448         * Versions.def: File removed.
11450         * Makeconfig (+gccwarn): Add -Wundef.
11451         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11452         a dl-sysdep.h breaking its contract.
11453         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11454         * include/stackinfo.h: New file.
11455         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11456         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11457         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11458         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11459         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11460         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11461         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11462         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11463         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11464         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11465         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11466         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11467         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11468         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11469         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11471 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11473         [BZ #16707]
11474         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11475         implementation.
11476         * math/libm-test.inc (round_test_data): Add more tests.
11478         [BZ #16706]
11479         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11480         implementation.
11481         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11483         [BZ #16701]
11484         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11485         implementation.
11486         * math/libm-test.inc (ceil_test_data): Add more tests.
11488         * math/libm-test.inc (trunc_test_data): Add more tests related to
11489         BZ#16414.
11491 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11493         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11494         with #if rather than #ifdef.
11495         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11497 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11499         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11500         first.  Disable AVX-512 GCC support if assembler doesn't support
11501         it.
11502         * sysdeps/x86_64/configure: Regenerated.
11504 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11506         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11507         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11508         (__old_pthread_attr_setstack): Likewise.
11509         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11510         [!_STACK_GROWS_DOWN]: Likewise.
11512 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11514         * config.make.in (have-bash2): Delete.
11515         * configure.ac (libc_cv_have_bash2): Delete.
11516         * configure: Regenerate.
11517         * elf/Makefile (common-ldd-rewrite): Rename to ...
11518         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11519         (sh-ldd-rewrite): Delete.
11520         (bash-ldd-rewrite): Delete.
11521         (have-bash2): Delete checks.
11522         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11523         ldd-rewrite.
11525         * config.make.in (have-ksh): Delete.
11526         (KSH): Delete.
11527         * configure.ac (libc_cv_have_ksh): Delete.
11528         * configure: Regenerate.
11530         * elf/Makefile: Delete $(have-ksh) check.
11531         ($(objpfx)sotruss): Change KSH to BASH.
11532         * elf/sotruss.ksh: Rename to ...
11533         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11534         function style to match POSIX.  Drop ksh vim mode setting.
11536         * manual/time.texi (Specifying the Time Zone with TZ): Change
11537         Tuesday to Thursday.
11539         * debug/tst-longjmp_chk2.c: Update header comment.
11540         (stackoverflow_handler): Add comment.  Call assert on pass value.
11542 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11544         [BZ #16194]
11545         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11546         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11547         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11548         (La_x86_64_vector): Add zmm.
11549         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11550         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11551         ($(objpfx)tst-audit10): New target.
11552         ($(objpfx)tst-audit10.out): Likewise.
11553         (tst-audit10-ENV): New.
11554         (AVX512-CFLAGS): Likewise.
11555         (CFLAGS-tst-audit10.c): Likewise.
11556         (CFLAGS-tst-auditmod10a.c): Likewise.
11557         (CFLAGS-tst-auditmod10b.c): Likewise.
11558         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11559         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11560         * sysdeps/x86_64/configure: Regenerated.
11561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11562         AVX-512 zmm register support.
11563         (_dl_x86_64_save_sse): Likewise.
11564         (_dl_x86_64_restore_sse): Likewise.
11565         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11566         size vector registers.
11567         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11568         (ZMM_SIZE): Likewise.
11569         * sysdeps/x86_64/tst-audit10.c: New file.
11570         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11571         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11573 2014-03-13  Roland McGrath  <roland@hack.frob.com>
11575         * configure.ac (HAVE_EHDR_START): New check.
11576         * configure: Regenerated.
11577         * config.h.in (HAVE_EHDR_START): New #undef.
11578         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11579         assuming the lowest-addressed segment maps the start of the file.
11581 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
11583         * INSTALL: Regenerated.
11585 2014-03-13  Will Newton  <will.newton@linaro.org>
11587         * manual/setjmp.texi (System V contexts): Improve
11588         clarity and grammar of documentation.
11590 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11592         [BZ #16381]
11593         * elf/Makefile (tests): Add tst-pie2.
11594         (tests-pie): Add tst-pie2.
11595         * elf/tst-pie2.c: New file.
11596         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11597         for ET_EXEC.
11598         * elf/rtld.c (map_doit): Load executable as lt_executable.
11599         (dl_main): Likewise.
11601 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
11603         [BZ #16642]
11604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11605         (__ASSUME_PSELECT): Undefine.
11607 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11609         [BZ #16689]
11610         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11611         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11612         static build.
11613         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11614         selector for static builds.
11616 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11618         [BZ #16695]
11619         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11620         key in the buffer.
11622 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11624         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11625         IFUNC selector for static builds.
11627 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
11629         * sysdeps/mips/math_private.h [__mips_hard_float]
11630         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11631         libc_feresetround_mips_ctx.
11632         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11633         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11634         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11636         [BZ #16677]
11637         * math/s_nextafter.c (__nextafter): Do not return value from
11638         overflowing computation.
11639         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11640         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11641         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11642         Likewise.
11643         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11644         Likewise.
11645         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11646         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11648 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11650         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11651         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11652         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11653         the new mov targetting sp.
11655 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11657         [BZ #16683]
11658         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11659         Define it for static builds as well.
11660         (NO_BZERO_IMPL): Likewise.
11662 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11664         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11665         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11666         multiarch strspn for PPC64.
11667         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11668         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11670         (__libc_ifunc_impl_list): Likewise.
11671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11672         multiarch optimizations
11673         * string/strspn.c (strspn): Using macro to redefine symbol name.
11675 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11676             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11678         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11679         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11680         multiarch strncat for PPC64.
11681         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11682         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11684         (__libc_ifunc_impl_list): Likewise.
11685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11686         multiarch optimizations
11688 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11690         [BZ #16639]
11691         * nscd/nscd.service: Make service type forking.
11693 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11695         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11696         sign in non default rounding modes.
11697         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11699 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11701         * math/libm-test.inc (ALL_RM_TEST): New macro.
11702         (ceil_test): Use ALL_RM_TEST.
11703         (cimag_test): Likewise.
11704         (conj_test): Likewise.
11705         (copysign_test): Likewise.
11706         (cproj_test): Likewise.
11707         (creal_test): Likewise.
11708         (fabs_test): Likewise.
11709         (floor_test): Likewise.
11710         (fmax_test): Likewise.
11711         (fmin_test): Likewise.
11712         (fmod_test): Likewise.
11713         (fpclassify_test): Likewise.
11714         (frexp_test): Likewise.
11715         (ilogb_test): Likewise.
11716         (isfinite_test): Likewise.
11717         (finite_test): Likewise.
11718         (isgreater_test): Likewise.
11719         (isgreaterequal_test): Likewise.
11720         (isinf_test): Likewise.
11721         (isless_test): Likewise.
11722         (islessequal_test): Likewise.
11723         (islessgreater_test): Likewise.
11724         (isnan_test): Likewise.
11725         (isnormal_test): Likewise.
11726         (issignaling_test): Likewise.
11727         (isunordered_test): Likewise.
11728         (logb_test): Likewise.
11729         (logb_downward_test_data): Remove.
11730         (logb_test_downward): Likewise.
11731         (lround_test): Use ALL_RM_TEST.
11732         (llround_test): Likewise.
11733         (modf_test): Likewise.
11734         (nexttoward_test): Likewise.
11735         (remainder_test): Likewise.
11736         (drem_test): Likewise.
11737         (remainder_tonearest_test_data): Likewise.
11738         (remainder_test_tonearest): Likewise.
11739         (drem_test_tonearest): Likewise.
11740         (remainder_towardzero_test_data): Likewise.
11741         (remainder_test_towardzero): Likewise.
11742         (drem_test_towardzero): Likewise.
11743         (remainder_downward_test_data): Likewise.
11744         (remainder_test_downward): Likewise.
11745         (drem_test_downward): Likewise.
11746         (remainder_upward_test_data): Likewise.
11747         (remainder_test_upward): Likewise.
11748         (drem_test_upward): Likewise.
11749         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11750         (round_test): Use ALL_RM_TEST.
11751         (signbit_test): Likewise.
11752         (trunc_test): Likewise.
11753         (significand_test): Likewise.
11754         (main): Don't call removed functions.
11756 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11758         [BZ #16674]
11759         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11760         || __USE_XOPEN2K8].
11761         (ILL_ILLOPN): Likewise.
11762         (ILL_ILLADR): Likewise.
11763         (ILL_ILLTRP): Likewise.
11764         (ILL_PRVOPC): Likewise.
11765         (ILL_PRVREG): Likewise.
11766         (ILL_COPROC): Likewise.
11767         (ILL_BADSTK): Likewise.
11768         (FPE_INTDIV): Likewise.
11769         (FPE_INTOVF): Likewise.
11770         (FPE_FLTDIV): Likewise.
11771         (FPE_FLTOVF): Likewise.
11772         (FPE_FLTUND): Likewise.
11773         (FPE_FLTRES): Likewise.
11774         (FPE_FLTINV): Likewise.
11775         (FPE_FLTSUB): Likewise.
11776         (SEGV_MAPERR): Likewise.
11777         (SEGV_ACCERR): Likewise.
11778         (BUS_ADRALN): Likewise.
11779         (BUS_ADRERR): Likewise.
11780         (BUS_OBJERR): Likewise.
11781         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11782         (TRAP_TRACE): Likewise.
11783         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11784         __USE_XOPEN2K8].
11785         (CLD_KILLED): Likewise.
11786         (CLD_DUMPED): Likewise.
11787         (CLD_TRAPPED): Likewise.
11788         (CLD_STOPPED): Likewise.
11789         (CLD_CONTINUED): Likewise.
11790         (POLL_IN): Likewise.
11791         (POLL_OUT): Likewise.
11792         (POLL_MSG): Likewise.
11793         (POLL_ERR): Likewise.
11794         (POLL_PRI): Likewise.
11795         (POLL_HUP): Likewise.
11796         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11797         Likewise.
11798         (ILL_ILLOPN): Likewise.
11799         (ILL_ILLADR): Likewise.
11800         (ILL_ILLTRP): Likewise.
11801         (ILL_PRVOPC): Likewise.
11802         (ILL_PRVREG): Likewise.
11803         (ILL_COPROC): Likewise.
11804         (ILL_BADSTK): Likewise.
11805         (FPE_INTDIV): Likewise.
11806         (FPE_INTOVF): Likewise.
11807         (FPE_FLTDIV): Likewise.
11808         (FPE_FLTOVF): Likewise.
11809         (FPE_FLTUND): Likewise.
11810         (FPE_FLTRES): Likewise.
11811         (FPE_FLTINV): Likewise.
11812         (FPE_FLTSUB): Likewise.
11813         (SEGV_MAPERR): Likewise.
11814         (SEGV_ACCERR): Likewise.
11815         (BUS_ADRALN): Likewise.
11816         (BUS_ADRERR): Likewise.
11817         (BUS_OBJERR): Likewise.
11818         (BUS_MCEERR_AR): Likewise.
11819         (BUS_MCEERR_AO): Likewise.
11820         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11821         (TRAP_TRACE): Likewise.
11822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11823         __USE_XOPEN2K8].
11824         (CLD_KILLED): Likewise.
11825         (CLD_DUMPED): Likewise.
11826         (CLD_TRAPPED): Likewise.
11827         (CLD_STOPPED): Likewise.
11828         (CLD_CONTINUED): Likewise.
11829         (POLL_IN): Likewise.
11830         (POLL_OUT): Likewise.
11831         (POLL_MSG): Likewise.
11832         (POLL_ERR): Likewise.
11833         (POLL_PRI): Likewise.
11834         (POLL_HUP): Likewise.
11835         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11836         (ILL_ILLOPN): Likewise.
11837         (ILL_ILLADR): Likewise.
11838         (ILL_ILLTRP): Likewise.
11839         (ILL_PRVOPC): Likewise.
11840         (ILL_PRVREG): Likewise.
11841         (ILL_COPROC): Likewise.
11842         (ILL_BADSTK): Likewise.
11843         (FPE_INTDIV): Likewise.
11844         (FPE_INTOVF): Likewise.
11845         (FPE_FLTDIV): Likewise.
11846         (FPE_FLTOVF): Likewise.
11847         (FPE_FLTUND): Likewise.
11848         (FPE_FLTRES): Likewise.
11849         (FPE_FLTINV): Likewise.
11850         (FPE_FLTSUB): Likewise.
11851         (SEGV_MAPERR): Likewise.
11852         (SEGV_ACCERR): Likewise.
11853         (BUS_ADRALN): Likewise.
11854         (BUS_ADRERR): Likewise.
11855         (BUS_OBJERR): Likewise.
11856         (BUS_MCEERR_AR): Likewise.
11857         (BUS_MCEERR_AO): Likewise.
11858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11859         (TRAP_TRACE): Likewise.
11860         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11861         __USE_XOPEN2K8].
11862         (CLD_KILLED): Likewise.
11863         (CLD_DUMPED): Likewise.
11864         (CLD_TRAPPED): Likewise.
11865         (CLD_STOPPED): Likewise.
11866         (CLD_CONTINUED): Likewise.
11867         (POLL_IN): Likewise.
11868         (POLL_OUT): Likewise.
11869         (POLL_MSG): Likewise.
11870         (POLL_ERR): Likewise.
11871         (POLL_PRI): Likewise.
11872         (POLL_HUP): Likewise.
11873         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11874         Likewise.
11875         (ILL_ILLOPN): Likewise.
11876         (ILL_ILLADR): Likewise.
11877         (ILL_ILLTRP): Likewise.
11878         (ILL_PRVOPC): Likewise.
11879         (ILL_PRVREG): Likewise.
11880         (ILL_COPROC): Likewise.
11881         (ILL_BADSTK): Likewise.
11882         (ILL_BADIADDR): Likewise.
11883         (ILL_BREAK): Likewise.
11884         (FPE_INTDIV): Likewise.
11885         (FPE_INTOVF): Likewise.
11886         (FPE_FLTDIV): Likewise.
11887         (FPE_FLTOVF): Likewise.
11888         (FPE_FLTUND): Likewise.
11889         (FPE_FLTRES): Likewise.
11890         (FPE_FLTINV): Likewise.
11891         (FPE_FLTSUB): Likewise.
11892         (FPE_DECOVF): Likewise.
11893         (FPE_DECDIV): Likewise.
11894         (FPE_DECERR): Likewise.
11895         (FPE_INVASC): Likewise.
11896         (FPE_INVDEC): Likewise.
11897         (SEGV_MAPERR): Likewise.
11898         (SEGV_ACCERR): Likewise.
11899         (SEGV_PSTKOVF): Likewise.
11900         (BUS_ADRALN): Likewise.
11901         (BUS_ADRERR): Likewise.
11902         (BUS_OBJERR): Likewise.
11903         (BUS_MCEERR_AR): Likewise.
11904         (BUS_MCEERR_AO): Likewise.
11905         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11906         (TRAP_TRACE): Likewise.
11907         (TRAP_BRANCH): Likewise.
11908         (TRAP_HWBKPT): Likewise.
11909         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11910         __USE_XOPEN2K8].
11911         (CLD_KILLED): Likewise.
11912         (CLD_DUMPED): Likewise.
11913         (CLD_TRAPPED): Likewise.
11914         (CLD_STOPPED): Likewise.
11915         (CLD_CONTINUED): Likewise.
11916         (POLL_IN): Likewise.
11917         (POLL_OUT): Likewise.
11918         (POLL_MSG): Likewise.
11919         (POLL_ERR): Likewise.
11920         (POLL_PRI): Likewise.
11921         (POLL_HUP): Likewise.
11922         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11923         (ILL_ILLOPN): Likewise.
11924         (ILL_ILLADR): Likewise.
11925         (ILL_ILLTRP): Likewise.
11926         (ILL_PRVOPC): Likewise.
11927         (ILL_PRVREG): Likewise.
11928         (ILL_COPROC): Likewise.
11929         (ILL_BADSTK): Likewise.
11930         (FPE_INTDIV): Likewise.
11931         (FPE_INTOVF): Likewise.
11932         (FPE_FLTDIV): Likewise.
11933         (FPE_FLTOVF): Likewise.
11934         (FPE_FLTUND): Likewise.
11935         (FPE_FLTRES): Likewise.
11936         (FPE_FLTINV): Likewise.
11937         (FPE_FLTSUB): Likewise.
11938         (SEGV_MAPERR): Likewise.
11939         (SEGV_ACCERR): Likewise.
11940         (BUS_ADRALN): Likewise.
11941         (BUS_ADRERR): Likewise.
11942         (BUS_OBJERR): Likewise.
11943         (BUS_MCEERR_AR): Likewise.
11944         (BUS_MCEERR_AO): Likewise.
11945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11946         (TRAP_TRACE): Likewise.
11947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11948         __USE_XOPEN2K8].
11949         (CLD_KILLED): Likewise.
11950         (CLD_DUMPED): Likewise.
11951         (CLD_TRAPPED): Likewise.
11952         (CLD_STOPPED): Likewise.
11953         (CLD_CONTINUED): Likewise.
11954         (POLL_IN): Likewise.
11955         (POLL_OUT): Likewise.
11956         (POLL_MSG): Likewise.
11957         (POLL_ERR): Likewise.
11958         (POLL_PRI): Likewise.
11959         (POLL_HUP): Likewise.
11960         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11961         (ILL_ILLOPN): Likewise.
11962         (ILL_ILLADR): Likewise.
11963         (ILL_ILLTRP): Likewise.
11964         (ILL_PRVOPC): Likewise.
11965         (ILL_PRVREG): Likewise.
11966         (ILL_COPROC): Likewise.
11967         (ILL_BADSTK): Likewise.
11968         (FPE_INTDIV): Likewise.
11969         (FPE_INTOVF): Likewise.
11970         (FPE_FLTDIV): Likewise.
11971         (FPE_FLTOVF): Likewise.
11972         (FPE_FLTUND): Likewise.
11973         (FPE_FLTRES): Likewise.
11974         (FPE_FLTINV): Likewise.
11975         (FPE_FLTSUB): Likewise.
11976         (SEGV_MAPERR): Likewise.
11977         (SEGV_ACCERR): Likewise.
11978         (BUS_ADRALN): Likewise.
11979         (BUS_ADRERR): Likewise.
11980         (BUS_OBJERR): Likewise.
11981         (BUS_MCEERR_AR): Likewise.
11982         (BUS_MCEERR_AO): Likewise.
11983         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11984         (TRAP_TRACE): Likewise.
11985         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11986         __USE_XOPEN2K8].
11987         (CLD_KILLED): Likewise.
11988         (CLD_DUMPED): Likewise.
11989         (CLD_TRAPPED): Likewise.
11990         (CLD_STOPPED): Likewise.
11991         (CLD_CONTINUED): Likewise.
11992         (POLL_IN): Likewise.
11993         (POLL_OUT): Likewise.
11994         (POLL_MSG): Likewise.
11995         (POLL_ERR): Likewise.
11996         (POLL_PRI): Likewise.
11997         (POLL_HUP): Likewise.
11998         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11999         (ILL_ILLOPN): Likewise.
12000         (ILL_ILLADR): Likewise.
12001         (ILL_ILLTRP): Likewise.
12002         (ILL_PRVOPC): Likewise.
12003         (ILL_PRVREG): Likewise.
12004         (ILL_COPROC): Likewise.
12005         (ILL_BADSTK): Likewise.
12006         (FPE_INTDIV): Likewise.
12007         (FPE_INTOVF): Likewise.
12008         (FPE_FLTDIV): Likewise.
12009         (FPE_FLTOVF): Likewise.
12010         (FPE_FLTUND): Likewise.
12011         (FPE_FLTRES): Likewise.
12012         (FPE_FLTINV): Likewise.
12013         (FPE_FLTSUB): Likewise.
12014         (SEGV_MAPERR): Likewise.
12015         (SEGV_ACCERR): Likewise.
12016         (BUS_ADRALN): Likewise.
12017         (BUS_ADRERR): Likewise.
12018         (BUS_OBJERR): Likewise.
12019         (BUS_MCEERR_AR): Likewise.
12020         (BUS_MCEERR_AO): Likewise.
12021         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12022         (TRAP_TRACE): Likewise.
12023         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12024         __USE_XOPEN2K8].
12025         (CLD_KILLED): Likewise.
12026         (CLD_DUMPED): Likewise.
12027         (CLD_TRAPPED): Likewise.
12028         (CLD_STOPPED): Likewise.
12029         (CLD_CONTINUED): Likewise.
12030         (POLL_IN): Likewise.
12031         (POLL_OUT): Likewise.
12032         (POLL_MSG): Likewise.
12033         (POLL_ERR): Likewise.
12034         (POLL_PRI): Likewise.
12035         (POLL_HUP): Likewise.
12036         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12037         (ILL_ILLOPN): Likewise.
12038         (ILL_ILLADR): Likewise.
12039         (ILL_ILLTRP): Likewise.
12040         (ILL_PRVOPC): Likewise.
12041         (ILL_PRVREG): Likewise.
12042         (ILL_COPROC): Likewise.
12043         (ILL_BADSTK): Likewise.
12044         (ILL_DBLFLT): Likewise.
12045         (ILL_HARDWALL): Likewise.
12046         (FPE_INTDIV): Likewise.
12047         (FPE_INTOVF): Likewise.
12048         (FPE_FLTDIV): Likewise.
12049         (FPE_FLTOVF): Likewise.
12050         (FPE_FLTUND): Likewise.
12051         (FPE_FLTRES): Likewise.
12052         (FPE_FLTINV): Likewise.
12053         (FPE_FLTSUB): Likewise.
12054         (SEGV_MAPERR): Likewise.
12055         (SEGV_ACCERR): Likewise.
12056         (BUS_ADRALN): Likewise.
12057         (BUS_ADRERR): Likewise.
12058         (BUS_OBJERR): Likewise.
12059         (BUS_MCEERR_AR): Likewise.
12060         (BUS_MCEERR_AO): Likewise.
12061         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12062         (TRAP_TRACE): Likewise.
12063         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12064         __USE_XOPEN2K8].
12065         (CLD_KILLED): Likewise.
12066         (CLD_DUMPED): Likewise.
12067         (CLD_TRAPPED): Likewise.
12068         (CLD_STOPPED): Likewise.
12069         (CLD_CONTINUED): Likewise.
12070         (POLL_IN): Likewise.
12071         (POLL_OUT): Likewise.
12072         (POLL_MSG): Likewise.
12073         (POLL_ERR): Likewise.
12074         (POLL_PRI): Likewise.
12075         (POLL_HUP): Likewise.
12076         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12077         (ILL_ILLOPN): Likewise.
12078         (ILL_ILLADR): Likewise.
12079         (ILL_ILLTRP): Likewise.
12080         (ILL_PRVOPC): Likewise.
12081         (ILL_PRVREG): Likewise.
12082         (ILL_COPROC): Likewise.
12083         (ILL_BADSTK): Likewise.
12084         (FPE_INTDIV): Likewise.
12085         (FPE_INTOVF): Likewise.
12086         (FPE_FLTDIV): Likewise.
12087         (FPE_FLTOVF): Likewise.
12088         (FPE_FLTUND): Likewise.
12089         (FPE_FLTRES): Likewise.
12090         (FPE_FLTINV): Likewise.
12091         (FPE_FLTSUB): Likewise.
12092         (SEGV_MAPERR): Likewise.
12093         (SEGV_ACCERR): Likewise.
12094         (BUS_ADRALN): Likewise.
12095         (BUS_ADRERR): Likewise.
12096         (BUS_OBJERR): Likewise.
12097         (BUS_MCEERR_AR): Likewise.
12098         (BUS_MCEERR_AO): Likewise.
12099         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12100         (TRAP_TRACE): Likewise.
12101         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12102         __USE_XOPEN2K8].
12103         (CLD_KILLED): Likewise.
12104         (CLD_DUMPED): Likewise.
12105         (CLD_TRAPPED): Likewise.
12106         (CLD_STOPPED): Likewise.
12107         (CLD_CONTINUED): Likewise.
12108         (POLL_IN): Likewise.
12109         (POLL_OUT): Likewise.
12110         (POLL_MSG): Likewise.
12111         (POLL_ERR): Likewise.
12112         (POLL_PRI): Likewise.
12113         (POLL_HUP): Likewise.
12114         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12115         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12117         [BZ #16670]
12118         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12119         before #include of <time.h>.
12120         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12121         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12122         (test-xfail-UNIX98/sched.h/conform): Likewise.
12124 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12126         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12127         error absence of trapping exception support.
12128         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12130 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12132         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12133         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12134         * timezone/Makefile (testdata): Move definition above include of
12135         Rules.
12136         (test-zones): New variable.
12137         (tests-special): Add zone files.
12138         (build-testdata): Use $(evaluate-test).
12140         * elf/Makefile (tests-special): Rename tests to end with .out.
12141         ($(objpfx)noload-mem): Likewise.
12142         ($(objpfx)tst-leaks1-mem): Likewise.
12143         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12144         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12145         $(objpfx)test-iconvconfig.out.
12146         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12147         set -e inside subshell and redirect output to file.
12148         * iconvdata/Makefile (generated): Rename tests to end with .out.
12149         Correct type.
12150         (tests-special): Rename tests to end with .out.
12151         ($(objpfx)mtrace-tst-loading): Likewise.
12152         * intl/Makefile (generated): Likewise.
12153         (tests-special): Likewise.
12154         ($(objpfx)mtrace-tst-gettext): Likewise.
12155         * misc/Makefile (generated): Likewise.
12156         (tests-special): Likewise.
12157         ($(objpfx)tst-error1-mem): Likewise.
12158         * nptl/Makefile (tests-special): Likewise.
12159         ($(objpfx)tst-stack3-mem): Likewise.
12160         (generated): Likewise.
12161         * posix/Makefile (generated): Likewise.
12162         (tests-special): Likewise.
12163         (xtests-special): Likewise.
12164         ($(objpfx)tst-fnmatch-mem): Likewise.
12165         ($(objpfx)bug-regex2-mem): Likewise.
12166         ($(objpfx)bug-regex14-mem): Likewise.
12167         ($(objpfx)bug-regex21-mem): Likewise.
12168         ($(objpfx)bug-regex31-mem): Likewise.
12169         ($(objpfx)tst-vfork3-mem): Likewise.
12170         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12171         ($(objpfx)tst-pcre-mem): Likewise.
12172         ($(objpfx)tst-boost-mem): Likewise.
12173         ($(objpfx)bug-ga2-mem): Likewise.
12174         ($(objpfx)bug-glob2-mem): Likewise.
12175         * resolv/Makefile (generate): Likewise.
12176         (tests-special): Likewise.
12177         (xtests-special): Likewise.
12178         (generated): Likewise.
12179         ($(objpfx)mtrace-tst-leaks): Likewise.
12180         ($(objpfx)mtrace-tst-leaks2): Likewise.
12182         * scripts/merge-test-results.sh: New file.
12183         * Makefile (tests-special-notdir): New variable.
12184         (tests): Run merge-test-results.sh.
12185         (xtests): Likewise.
12186         * Rules (tests-special-notdir): New variable.
12187         (xtests-special-notdir): Likewise.
12188         (tests): Run merge-test-results.sh
12189         (xtests): Likewise.
12191         * Makeconfig (test-xfail-name): New variable.
12192         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12193         compute variable name for expected failures.
12194         * conform/Makefile (conformtest-headers-data): New variable.
12195         (conformtest-standards): Likewise.
12196         (conformtest-headers-ISO): Likewise.
12197         (conformtest-headers-ISO99): Likewise.
12198         (conformtest-headers-ISO11): Likewise.
12199         (conformtest-headers-POSIX): Likewise.
12200         (conformtest-headers-XPG3): Likewise.
12201         (conformtest-headers-XPG4): Likewise.
12202         (conformtest-headers-UNIX98): Likewise.
12203         (conformtest-headers-XOPEN2K): Likewise.
12204         (conformtest-headers-POSIX2008): Likewise.
12205         (conformtest-headers-XOPEN2K8): Likewise.
12206         (conformtest-header-list-base): Likewise.
12207         (conformtest-header-list-tests): Likewise.
12208         (conformtest-header-base): Likewise.
12209         (conformtest-header-tests): Likewise.
12210         (tests-special): Add $(conformtest-header-list-tests).  If
12211         [$(fast-check) && !$(cross-compiling)], add
12212         $(conformtest-header-tests) instead of
12213         $(objpfx)run-conformtest.out.
12214         (generated): Add $(conformtest-header-list-base).  If
12215         [$(fast-check) && !$(cross-compiling)], add
12216         $(conformtest-header-base).  Remove previous setting.
12217         ($(conformtest-header-list-tests)): New target.
12218         (test-xfail-run-conformtest): Remove variable.
12219         ($(objpfx)run-conformtest.out): Remove target.
12220         (test-xfail-ISO11/complex.h/conform): New variable.
12221         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12222         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12223         (test-xfail-XPG3/varargs.h/conform): Likewise.
12224         (test-xfail-XPG4/varargs.h/conform): Likewise.
12225         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12226         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12227         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12228         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12229         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12230         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12231         (test-xfail-XPG3/ftw.h/conform): Likewise.
12232         (test-xfail-XPG3/grp.h/conform): Likewise.
12233         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12234         (test-xfail-XPG3/limits.h/conform): Likewise.
12235         (test-xfail-XPG3/pwd.h/conform): Likewise.
12236         (test-xfail-XPG3/search.h/conform): Likewise.
12237         (test-xfail-XPG3/signal.h/conform): Likewise.
12238         (test-xfail-XPG3/stdio.h/conform): Likewise.
12239         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12240         (test-xfail-XPG3/string.h/conform): Likewise.
12241         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12242         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12243         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12244         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12245         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12246         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12247         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12248         (test-xfail-XPG3/termios.h/conform): Likewise.
12249         (test-xfail-XPG3/time.h/conform): Likewise.
12250         (test-xfail-XPG3/unistd.h/conform): Likewise.
12251         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12252         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12253         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12254         (test-xfail-XPG4/netdb.h/conform): Likewise.
12255         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12256         (test-xfail-XPG4/signal.h/conform): Likewise.
12257         (test-xfail-XPG4/stdio.h/conform): Likewise.
12258         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12259         (test-xfail-XPG4/stropts.h/conform): Likewise.
12260         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12261         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12262         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12263         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12264         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12265         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12266         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12267         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12268         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12269         (test-xfail-XPG4/termios.h/conform): Likewise.
12270         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12271         (test-xfail-XPG4/unistd.h/conform): Likewise.
12272         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12273         (test-xfail-POSIX/sched.h/conform): Likewise.
12274         (test-xfail-POSIX/signal.h/conform): Likewise.
12275         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12276         (test-xfail-POSIX/tar.h/conform): Likewise.
12277         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12278         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12279         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12280         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12281         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12282         (test-xfail-UNIX98/sched.h/conform): Likewise.
12283         (test-xfail-UNIX98/signal.h/conform): Likewise.
12284         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12285         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12286         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12287         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12288         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12289         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12290         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12291         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12292         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12293         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12294         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12295         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12296         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12297         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12298         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12299         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12300         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12301         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12302         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12303         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12304         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12305         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12306         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12307         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12308         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12309         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12310         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12311         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12312         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12313         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12314         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12315         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12316         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12317         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12318         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12319         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12320         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12321         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12322         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12323         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12324         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12325         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12326         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12327         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12328         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12329         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12330         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12331         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12332         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12333         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12334         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12335         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12336         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12337         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12338         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12339         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12340         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12341         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12342         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12343         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12344         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12345         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12346         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12347         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12348         (conformtest-cc-flags): Likewise.
12349         ($(conformtest-header-tests): New target.
12350         * conform/check-header-lists.sh: New file.
12351         * conform/run-conformtest.sh: Remove.
12353         * conform/conformtest.pl: Allow ' and \ in values given for
12354         constants.
12355         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12356         inclusion.
12357         [POSIX] (sys/types.h): Likewise.
12358         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12359         inclusion.
12360         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12361         inclusion.
12362         * conform/data/signal.h-data (SIGIO): Remove expectation.
12363         [XPG3] (SIGBUS): Do not expect.
12364         [POSIX || XPG3] (SIGPOLL): Likewise.
12365         [POSIX || XPG3] (SIGPROF): Likewise.
12366         [POSIX || XPG3] (SIGSYS): Likewise.
12367         [XPG3] (SIGTRAP): Likewise.
12368         [POSIX || XPG3] (SIGURG): Likewise.
12369         [POSIX || XPG3] (SIGVTALRM): Likewise.
12370         [POSIX || XPG3] (SIGXCPU): Likewise.
12371         [POSIX || XPG3] (SIGXFSZ): Likewise.
12372         [POSIX] (SA_SIGINFO): Expect.
12373         [XPG3] (siginfo_t): Do not expect type or contents.
12374         [POSIX] (si_pid): Do not expect element.
12375         [POSIX] (si_uid): Likewise.
12376         [POSIX] (si_addr): Likewise.
12377         [POSIX] (si_status): Likewise.
12378         [POSIX] (si_band): Likewise.
12379         [XPG4] (si_value): Likewise.
12380         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12381         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12382         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12383         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12384         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12385         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12386         [POSIX || XPG3] (ILL_COPROC): Likewise.
12387         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12388         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12389         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12390         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12391         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12392         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12393         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12394         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12395         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12396         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12397         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12398         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12399         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12400         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12401         [POSIX || XPG3] (CLD_EXITED): Likewise.
12402         [POSIX || XPG3] (CLD_KILLED): Likewise.
12403         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12404         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12405         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12406         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12407         [POSIX || XPG3] (POLL_IN): Likewise.
12408         [POSIX || XPG3] (POLL_OUT): Likewise.
12409         [POSIX || XPG3] (POLL_MSG): Likewise.
12410         [POSIX || XPG3] (POLL_ERR): Likewise.
12411         [POSIX || XPG3] (POLL_PRI): Likewise.
12412         [POSIX || XPG3] (POLL_HUP): Likewise.
12413         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12414         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12415         (SIG*): Do not allow.
12416         [XPG3] (si_*): Likewise.
12417         [XPG3] (SI_*): Likewise.
12418         [XPG3 || XPG4] (sigev_*): Likewise.
12419         [XPG3 || XPG4] (SIGEV_*): Likewise.
12420         [XPG3 || XPG4] (sival_*): Likewise.
12421         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12422         [POSIX || XPG3] (BUS_*): Likewise.
12423         [POSIX || XPG3] (CLD_*): Likewise.
12424         [POSIX || XPG3] (FPE_*): Likewise.
12425         [POSIX || XPG3] (ILL_*): Likewise.
12426         [POSIX || XPG3] (POLL_*): Likewise.
12427         [POSIX || XPG3] (SEGV_*): Likewise.
12428         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12429         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12430         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12431         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12432         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12433         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12434         Specify type and value.
12435         (TVERSLEN): Likewise.
12436         (REGTYPE): Likewise.
12437         (AREGTYPE): Likewise.
12438         (LNKTYPE): Likewise.
12439         (SYMTYPE): Likewise.
12440         (CHRTYPE): Likewise.
12441         (BLKTYPE): Likewise.
12442         (DIRTYPE): Likewise.
12443         (FIFOTYPE): Likewise.
12444         (CONTTYPE): Likewise.
12445         (TSUID): Likewise.
12446         (TSGID): Likewise.
12447         (TSVTX): Likewise.
12448         (TUREAD): Likewise.
12449         (TUWRITE): Likewise.
12450         (TUEXEC): Likewise.
12451         (TGREAD): Likewise.
12452         (TGWRITE): Likewise.
12453         (TGEXEC): Likewise.
12454         (TOREAD): Likewise.
12455         (TOWRITE): Likewise.
12456         (TOEXEC): Likewise.
12457         [POSIX] (TSVTX): Expect constant.
12459 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12461         * Makefile (tests): Change dependencies to ....
12462         (tests-special): ... additions to this variable.
12463         (tests): Depend on $(tests-special).
12464         * Makerules (check-abi-list): New variable.
12465         (check-abi): Depend on $(check-abi-list).
12466         [$(subdir) = elf] (tests-special): Add
12467         $(objpfx)check-abi-libc.out.
12468         [$(build-shared) = yes && subdir] (tests-special): Add
12469         $(check-abi-list).
12470         [$(build-shared) = yes && subdir] (tests): Do not depend on
12471         check-abi.
12472         * Rules (tests): Depend on $(tests-special).
12473         (xtests): Depend on $(xtests-special).
12474         * catgets/Makefile (tests): Change dependencies to ....
12475         (tests-special): ... additions to this variable.
12476         * conform/Makefile (tests): Change dependencies to ....
12477         (tests-special): ... additions to this variable.
12478         * elf/Makefile (tests): Change dependencies to ....
12479         (tests-special): ... additions to this variable.
12480         * grp/Makefile (tests): Change dependencies to ....
12481         (tests-special): ... additions to this variable.
12482         * iconv/Makefile (xtests): Change dependencies to ....
12483         (xtests-special): ... additions to this variable.
12484         * iconvdata/Makefile (tests): Change dependencies to ....
12485         (tests-special): ... additions to this variable.
12486         * intl/Makefile (tests): Change dependencies to ....
12487         (tests-special): ... additions to this variable.  Also add
12488         $(objpfx)tst-gettext.out.
12489         * io/Makefile (tests): Change dependencies to ....
12490         (tests-special): ... additions to this variable.
12491         * libio/Makefile (tests): Change dependencies to ....
12492         (tests-special): ... additions to this variable.
12493         * malloc/Makefile (tests): Change dependencies to ....
12494         (tests-special): ... additions to this variable.
12495         * misc/Makefile (tests): Change dependencies to ....
12496         (tests-special): ... additions to this variable.
12497         * nptl/Makefile (tests): Change dependencies to ....
12498         (tests-special): ... additions to this variable.
12499         * nptl_db/Makefile (tests): Change dependencies to ....
12500         (tests-special): ... additions to this variable.
12501         * posix/Makefile (tests): Change dependencies to ....
12502         (tests-special): ... additions to this variable.
12503         (xtests): Change dependencies to ....
12504         (xtests-special): ... additions to this variable.
12505         * resolv/Makefile (tests): Change dependencies to ....
12506         (tests-special): ... additions to this variable.
12507         (xtests): Change dependencies to ....
12508         (xtests-special): ... additions to this variable.
12509         * stdio-common/Makefile (tests): Change dependencies to ....
12510         (tests-special): ... additions to this variable.
12511         (do-tst-unbputc): Remove target.
12512         (do-tst-printf): Likewise.
12513         * stdlib/Makefile (tests): Change dependencies to ....
12514         (tests-special): ... additions to this variable.
12515         * string/Makefile (tests): Change dependencies to ....
12516         (tests-special): ... additions to this variable.
12517         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12518         (tests-special): ... additions to this variable.
12520         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12521         whole file.
12522         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12523         whole file.
12524         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12525         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12527         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12528         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12529         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12530         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12531         * conform/data/libgen.h-data [XPG3]: Likewise.
12532         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12533         * conform/data/ndbm.h-data [XPG3]: Likewise.
12534         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12535         * conform/data/netdb.h-data [XPG3]: Likewise.
12536         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12537         * conform/data/poll.h-data [XPG3]: Likewise.
12538         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12539         * conform/data/strings.h-data [XPG3]: Likewise.
12540         * conform/data/stropts.h-data [XPG3]: Likewise.
12541         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12542         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12543         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12544         Likewise.
12545         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12546         * conform/data/sys/time.h-data [XPG3]: Likewise.
12547         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12548         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12549         * conform/data/sys/un.h-data [XPG3]: Likewise.
12550         * conform/data/syslog.h-data [XPG3]: Likewise.
12551         * conform/data/ucontext.h-data [XPG3]: Likewise.
12552         * conform/data/utmpx.h-data [XPG3]: Likewise.
12553         * conform/data/varargs.h-data [UNIX98]: Enable file.
12555         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12557         * math/libm-test.inc (struct test_f_f_data): Move expected results
12558         into structure for each rounding mode.
12559         (struct test_ff_f_data): Likewise.
12560         (struct test_ff_f_data_nexttoward): Likewise.
12561         (struct test_fi_f_data): Likewise.
12562         (struct test_fl_f_data): Likewise.
12563         (struct test_if_f_data): Likewise.
12564         (struct test_fff_f_data): Likewise.
12565         (struct test_c_f_data): Likewise.
12566         (struct test_f_f1_data): Likewise.
12567         (struct test_fF_f1_data): Likewise.
12568         (struct test_ffI_f1_data): Likewise.
12569         (struct test_c_c_data): Likewise.
12570         (struct test_cc_c_data): Likewise.
12571         (struct test_f_i_data): Likewise.
12572         (struct test_ff_i_data): Likewise.
12573         (struct test_f_l_data): Likewise.
12574         (struct test_f_L_data): Likewise.
12575         (struct test_fFF_11_data): Likewise.
12576         (RM_): New macro.
12577         (RM_FE_DOWNWARD): Likewise.
12578         (RM_FE_TONEAREST): Likewise.
12579         (RM_FE_TOWARDZERO): Likewise.
12580         (RM_FE_UPWARD): Likewise.
12581         (RUN_TEST_LOOP_f_f): Update references to expected results.
12582         (RUN_TEST_LOOP_2_f): Likewise.
12583         (RUN_TEST_LOOP_fff_f): Likewise.
12584         (RUN_TEST_LOOP_c_f): Likewise.
12585         (RUN_TEST_LOOP_f_f1): Likewise.
12586         (RUN_TEST_LOOP_fF_f1): Likewise.
12587         (RUN_TEST_LOOP_fI_f1): Likewise.
12588         (RUN_TEST_LOOP_ffI_f1): Likewise.
12589         (RUN_TEST_LOOP_c_c): Likewise.
12590         (RUN_TEST_LOOP_cc_c): Likewise.
12591         (RUN_TEST_LOOP_f_i): Likewise.
12592         (RUN_TEST_LOOP_f_i_tg): Likewise.
12593         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12594         (RUN_TEST_LOOP_f_b): Likewise.
12595         (RUN_TEST_LOOP_f_b_tg): Likewise.
12596         (RUN_TEST_LOOP_f_l): Likewise.
12597         (RUN_TEST_LOOP_f_L): Likewise.
12598         (RUN_TEST_LOOP_fFF_11): Likewise.
12599         * math/gen-libm-test.pl (parse_args): Output four copies of
12600         expected results for each test.
12602         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12603         (__ASSUME_UTIMES): Remove.
12604         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12605         (__ASSUME_UTIMES): Likewise.
12607         * math/gen-auto-libm-tests.c: Update comment on output format.
12608         (output_for_one_input_case): Generate before-rounding and
12609         after-rounding information as conditions on output flags not
12610         floating-point format.
12611         * math/auto-libm-test-out: Regenerated.
12612         * math/gen-libm-test.pl (cond_value): New function.
12613         (or_cond_value): Use cond_value.
12614         (generate_testfile): Handle conditional exceptions.
12616 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
12618         * math/libm-test.inc (max_valid_error): New variable.
12619         (init_max_error): Take new argument specifying whether function
12620         results are exactly determined.  Set max_valid_error and bound
12621         other variables for errors based on this argument.
12622         (set_max_error): Do not record results above max_valid_error.
12623         (check_float_internal): Only accept errors of up to 0.5ulps if
12624         also at most max_valid_error.
12625         (START): Take new argument EXACT and pass it to init_max_error.
12626         (acos_test): Update call to START.
12627         (acos_test_tonearest): Likewise.
12628         (acos_test_towardzero): Likewise.
12629         (acos_test_downward): Likewise.
12630         (acos_test_upward): Likewise.
12631         (acosh_test): Likewise.
12632         (asin_test): Likewise.
12633         (asin_test_tonearest): Likewise.
12634         (asin_test_towardzero): Likewise.
12635         (asin_test_downward): Likewise.
12636         (asin_test_upward): Likewise.
12637         (asinh_test): Likewise.
12638         (atan_test): Likewise.
12639         (atanh_test): Likewise.
12640         (atan2_test): Likewise.
12641         (cabs_test): Likewise.
12642         (cacos_test): Likewise.
12643         (cacosh_test): Likewise.
12644         (carg_test): Likewise.
12645         (casin_test): Likewise.
12646         (casinh_test): Likewise.
12647         (catan_test): Likewise.
12648         (catanh_test): Likewise.
12649         (cbrt_test): Likewise.
12650         (ccos_test): Likewise.
12651         (ccosh_test): Likewise.
12652         (ceil_test): Likewise.
12653         (cexp_test): Likewise.
12654         (cimag_test): Likewise.
12655         (clog_test): Likewise.
12656         (clog10_test): Likewise.
12657         (conj_test): Likewise.
12658         (copysign_test): Likewise.
12659         (cos_test): Likewise.
12660         (cos_test_tonearest): Likewise.
12661         (cos_test_towardzero): Likewise.
12662         (cos_test_downward): Likewise.
12663         (cos_test_upward): Likewise.
12664         (cosh_test): Likewise.
12665         (cosh_test_tonearest): Likewise.
12666         (cosh_test_towardzero): Likewise.
12667         (cosh_test_downward): Likewise.
12668         (cosh_test_upward): Likewise.
12669         (cpow_test): Likewise.
12670         (cproj_test): Likewise.
12671         (creal_test): Likewise.
12672         (csin_test): Likewise.
12673         (csinh_test): Likewise.
12674         (csqrt_test): Likewise.
12675         (ctan_test): Likewise.
12676         (ctan_test_tonearest): Likewise.
12677         (ctan_test_towardzero): Likewise.
12678         (ctan_test_downward): Likewise.
12679         (ctan_test_upward): Likewise.
12680         (ctanh_test): Likewise.
12681         (ctanh_test_tonearest): Likewise.
12682         (ctanh_test_towardzero): Likewise.
12683         (ctanh_test_downward): Likewise.
12684         (ctanh_test_upward): Likewise.
12685         (erf_test): Likewise.
12686         (erfc_test): Likewise.
12687         (exp_test): Likewise.
12688         (exp_test_tonearest): Likewise.
12689         (exp_test_towardzero): Likewise.
12690         (exp_test_downward): Likewise.
12691         (exp_test_upward): Likewise.
12692         (exp10_test): Likewise.
12693         (exp10_test_tonearest): Likewise.
12694         (exp10_test_towardzero): Likewise.
12695         (exp10_test_downward): Likewise.
12696         (exp10_test_upward): Likewise.
12697         (pow10_test): Likewise.
12698         (exp2_test): Likewise.
12699         (expm1_test): Likewise.
12700         (expm1_test_tonearest): Likewise.
12701         (expm1_test_towardzero): Likewise.
12702         (expm1_test_downward): Likewise.
12703         (expm1_test_upward): Likewise.
12704         (fabs_test): Likewise.
12705         (fdim_test): Likewise.
12706         (floor_test): Likewise.
12707         (fma_test): Likewise.
12708         (fma_test_towardzero): Likewise.
12709         (fma_test_downward): Likewise.
12710         (fma_test_upward): Likewise.
12711         (fmax_test): Likewise.
12712         (fmin_test): Likewise.
12713         (fmod_test): Likewise.
12714         (fpclassify_test): Likewise.
12715         (frexp_test): Likewise.
12716         (hypot_test): Likewise.
12717         (ilogb_test): Likewise.
12718         (isfinite_test): Likewise.
12719         (finite_test): Likewise.
12720         (isgreater_test): Likewise.
12721         (isgreaterequal_test): Likewise.
12722         (isinf_test): Likewise.
12723         (isless_test): Likewise.
12724         (islessequal_test): Likewise.
12725         (islessgreater_test): Likewise.
12726         (isnan_test): Likewise.
12727         (isnormal_test): Likewise.
12728         (issignaling_test): Likewise.
12729         (isunordered_test): Likewise.
12730         (j0_test): Likewise.
12731         (j1_test): Likewise.
12732         (jn_test): Likewise.
12733         (ldexp_test): Likewise.
12734         (lgamma_test): Likewise.
12735         (gamma_test): Likewise.
12736         (lrint_test): Likewise.
12737         (lrint_test_tonearest): Likewise.
12738         (lrint_test_towardzero): Likewise.
12739         (lrint_test_downward): Likewise.
12740         (lrint_test_upward): Likewise.
12741         (llrint_test): Likewise.
12742         (llrint_test_tonearest): Likewise.
12743         (llrint_test_towardzero): Likewise.
12744         (llrint_test_downward): Likewise.
12745         (llrint_test_upward): Likewise.
12746         (log_test): Likewise.
12747         (log10_test): Likewise.
12748         (log1p_test): Likewise.
12749         (log2_test): Likewise.
12750         (logb_test): Likewise.
12751         (logb_test_downward): Likewise.
12752         (lround_test): Likewise.
12753         (llround_test): Likewise.
12754         (modf_test): Likewise.
12755         (nearbyint_test): Likewise.
12756         (nextafter_test): Likewise.
12757         (nexttoward_test): Likewise.
12758         (pow_test): Likewise.
12759         (pow_test_tonearest): Likewise.
12760         (pow_test_towardzero): Likewise.
12761         (pow_test_downward): Likewise.
12762         (pow_test_upward): Likewise.
12763         (remainder_test): Likewise.
12764         (drem_test): Likewise.
12765         (remainder_test_tonearest): Likewise.
12766         (drem_test_tonearest): Likewise.
12767         (remainder_test_towardzero): Likewise.
12768         (drem_test_towardzero): Likewise.
12769         (remainder_test_downward): Likewise.
12770         (drem_test_downward): Likewise.
12771         (remainder_test_upward): Likewise.
12772         (drem_test_upward): Likewise.
12773         (remquo_test): Likewise.
12774         (rint_test): Likewise.
12775         (rint_test_tonearest): Likewise.
12776         (rint_test_towardzero): Likewise.
12777         (rint_test_downward): Likewise.
12778         (rint_test_upward): Likewise.
12779         (round_test): Likewise.
12780         (scalb_test): Likewise.
12781         (scalbn_test): Likewise.
12782         (scalbln_test): Likewise.
12783         (signbit_test): Likewise.
12784         (sin_test): Likewise.
12785         (sin_test_tonearest): Likewise.
12786         (sin_test_towardzero): Likewise.
12787         (sin_test_downward): Likewise.
12788         (sin_test_upward): Likewise.
12789         (sincos_test): Likewise.
12790         (sinh_test): Likewise.
12791         (sinh_test_tonearest): Likewise.
12792         (sinh_test_towardzero): Likewise.
12793         (sinh_test_downward): Likewise.
12794         (sinh_test_upward): Likewise.
12795         (sqrt_test): Likewise.
12796         (sqrt_test_tonearest): Likewise.
12797         (sqrt_test_towardzero): Likewise.
12798         (sqrt_test_downward): Likewise.
12799         (sqrt_test_upward): Likewise.
12800         (tan_test): Likewise.
12801         (tan_test_tonearest): Likewise.
12802         (tan_test_towardzero): Likewise.
12803         (tan_test_downward): Likewise.
12804         (tan_test_upward): Likewise.
12805         (tanh_test): Likewise.
12806         (tgamma_test): Likewise.
12807         (trunc_test): Likewise.
12808         (y0_test): Likewise.
12809         (y1_test): Likewise.
12810         (yn_test): Likewise.
12811         (significand_test): Likewise.
12813         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12814         individual tests in comment.
12815         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12816         (prev_max_error): New variable.
12817         (prev_real_max_error): Likewise.
12818         (prev_imag_max_error): Likewise.
12819         (compare_ulp_data): Don't refer to test names in comment.
12820         (find_test_ulps): Remove function.
12821         (find_function_ulps): Likewise.
12822         (find_complex_function_ulps): Likewise.
12823         (init_max_error): Take function name as argument.  Look up ulps
12824         for that function.
12825         (print_ulps): Remove function.
12826         (print_max_error): Use prev_max_error instead of calling
12827         find_function_ulps.
12828         (print_complex_max_error): Use prev_real_max_error and
12829         prev_imag_max_error instead of calling find_complex_function_ulps.
12830         (check_float_internal): Take max_ulp parameter instead of calling
12831         find_test_ulps.  Don't call print_ulps.
12832         (check_float): Update call to check_float_internal.
12833         (check_complex): Update calls to check_float_internal.
12834         (START): Pass argument to init_max_error.
12835         * math/gen-libm-test.pl (%results): Don't include "kind"
12836         information.
12837         (parse_ulps): Don't handle ulps of individual tests.
12838         (print_ulps_file): Likewise.
12839         (output_ulps): Likewise.
12840         * math/README.libm-test: Update.
12841         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12842         individual tests.
12843         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12844         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12845         * sysdeps/arm/libm-test-ulps: Likewise.
12846         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12847         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12848         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12849         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12850         * sysdeps/microblaze/libm-test-ulps: Likewise.
12851         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12852         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12853         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12854         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12855         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12856         * sysdeps/sh/libm-test-ulps: Likewise.
12857         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12858         * sysdeps/tile/libm-test-ulps: Likewise.
12859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12861 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12863         * math/libm-test.inc (print_complex_max_error): Check separately
12864         whether real and imaginary errors are within allowed range and
12865         pass 0 to print_complex_function_ulps instead of value within
12866         allowed range.
12868 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12870         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12871         formatting.
12872         (get_handles_fopen): Likewise.
12873         (do_write_test): Likewise.
12875         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12877         * libio/fileops.c (do_ftell): Use cached offset when
12878         available.
12879         * libio/iofwide.c (do_ftell_wide): Likewise.
12880         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12881         _IO_file_attach.
12882         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12884         [BZ #16532]
12885         * libio/libioP.h (get_file_offset): New function.
12886         * libio/fileops.c (get_file_offset): Likewise.
12887         (do_ftell): Likewise.
12888         (_IO_new_file_seekoff): Split out ftell logic.
12889         * libio/wfileops.c (do_ftell_wide): Likewise.
12890         (_IO_wfile_seekoff): Split out ftell logic.
12891         * libio/tst-ftell-active-handler.c: New test case.
12892         * libio/Makefile (tests): Add it.
12894 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12896         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12897         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12899 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12901         [BZ #16639]
12902         * nscd/connections.c (nscd_init): Call do_exit.
12903         (start_threads): Call do_exit and notify_parent.
12904         (begin_drop_privileges): Call do_exit.
12905         (finish_drop_privileges): Likewise.
12906         * nscd/selinux.c (preserve_capabilities): Likewise.
12907         (install_real_capabilities): Likewise.
12908         (nscd_selinux_enabled): Likewise.
12909         (avc_create_thread): Likewise.
12910         (avc_alloc_lock): Likewise.
12911         (nscd_avc_init): Likewise.
12912         * nscd/nscd.c (parent_fd): New static variable.
12913         (main): Create a pipe between parent and child processes.
12914         Skip closing parent_fd.
12915         (monitor_child): New function.
12916         (do_exit): Likewise.
12917         (notify_parent): Likewise.
12918         * nscd/nscd.h (notify_parent): Likewise.
12919         (do_exit): Likewise.
12921 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12923         * malloc/malloc.c (__libc_calloc): Revert last change.
12925 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12929 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12931         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12933         implementation.
12934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12935         (__libc_ifunc_impl_list): Likewise.
12936         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12937         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12938         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12939         * string/strrchr.c: Define STRRCHR.
12941 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12943         * benchtest/bench-strtok.c (simple_strtok): Delete.
12944         (strtok_string): Use as benchmark.
12945         * string/strtok (STRTOK): New macro.
12947 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12949         * manual/threads.texi: Add header and standard comments to all
12950         functions.
12952         * elf/dl-lookup.c (check_match): New function.
12953         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12954         (do_lookup_x): Remove nested function check_match. Use non-nested
12955         function check_match.
12957 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12959         * csu/Makefile (generated, before-compile): Use += rather than =.
12960         * catgets/Makefile (generated, generated-dirs): Likewise.
12961         * debug/Makefile (generated): Likewise.
12962         * dlfcn/Makefile (generated): Likewise.
12963         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12964         * iconvdata/Makefile (before-compile, generated): Likewise.
12965         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12966         * libio/Makefile (generated): Likewise.
12967         * malloc/Makefile (generated): Likewise.
12968         * manual/Makefile (generated, generated-dirs): Likewise.
12969         * misc/Makefile (generated): Likewise.
12970         * posix/Makefile (generated): Likewise.
12971         * resolv/Makefile (generated): Likewise.
12972         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12973         * timezone/Makefile (generated, generated-dirs): Likewise.
12975         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12977 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12980         power8 implementation.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12982         file: POWER8 llround ifunc implementation.
12983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12984         (__lllround): Add POWER8 implementation.
12985         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12986         POWER8 llround implementation.
12988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12989         power8 implementation.
12990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12991         file: POWER8 llrint ifunc implementation.
12992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12993         Add POWER8 implementation.
12994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12995         POWER8 llrint implementation.
12997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12998         power8 implementation.
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13000         file: POWER8 finite ifunc implementation.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13002         Add POWER8 implementation.
13003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13004         Likewise.
13005         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13006         POWER8 finite implementation.
13007         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13010         power8 implementation.
13011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13012         file: POWER8 isinf ifunc implementation.
13013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13014         POWER8 implementation.
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13016         Likewise.
13017         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13018         isinf implementation.
13019         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13021         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13022         (INIT_ARCH): Add hwcap2 initialization.
13023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13024         power8 implementation.
13025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13026         file: POWER8 isnan ifunc implementation.
13027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13028         POWER8 implementation.
13029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13030         Likewise.
13031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13032         isnan implementation.
13033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13035 2014-02-27  Joey Ye  <joey.ye@arm.com>
13037         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13038         (_FP_NANFRAC_Q): Set to zero.
13040 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13042         [BZ #16623]
13043         * math/auto-libm-test-in: New test inputs.
13044         * math/auto-libm-test-out: Regenerate.
13045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13046         and DA.
13047         (__cos): Likewise.
13048         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13050 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13052         * scripts/evaluate-test.sh: Take new argument indicating whether
13053         failure is expected.
13054         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13055         indicating whether failure is expected.
13056         * conform/Makefile (test-xfail-run-conformtest): New variable.
13057         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13058         level.
13059         * posix/Makefile (test-xfail-annexc): New variable.
13060         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13062 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13064         * argp/Makefile: Include Makeconfig immediately after defining
13065         subdir.
13066         * assert/Makefile: Likewise.
13067         * benchtests/Makefile: Likewise.
13068         * catgets/Makefile: Likewise.
13069         * conform/Makefile: Likewise.
13070         * crypt/Makefile: Likewise.
13071         * csu/Makefile: Likewise.
13072         (all): Remove target.
13073         * ctype/Makefile: Include Makeconfig immediately after defining
13074         subdir.
13075         * debug/Makefile: Likewise.
13076         * dirent/Makefile: Likewise.
13077         * dlfcn/Makefile: Likewise.
13078         * gmon/Makefile: Likewise.
13079         * gnulib/Makefile: Likewise.
13080         * grp/Makefile: Likewise.
13081         * gshadow/Makefile: Likewise.
13082         * hesiod/Makefile: Likewise.
13083         * hurd/Makefile: Likewise.
13084         (all): Remove target.
13085         * iconvdata/Makefile: Include Makeconfig immediately after
13086         defining subdir.
13087         * inet/Makefile: Likewise.
13088         * intl/Makefile: Likewise.
13089         * io/Makefile: Likewise.
13090         * libio/Makefile: Likewise.
13091         (all): Remove target.
13092         * locale/Makefile: Include Makeconfig immediately after defining
13093         subdir.
13094         * login/Makefile: Likewise.
13095         * mach/Makefile: Likewise.
13096         (all): Remove target.
13097         * malloc/Makefile: Include Makeconfig immediately after defining
13098         subdir.
13099         (all): Remove target.
13100         * manual/Makefile: Include Makeconfig immediately after defining
13101         subdir.
13102         * math/Makefile: Likewise.
13103         * misc/Makefile: Likewise.
13104         * nis/Makefile: Likewise.
13105         * nss/Makefile: Likewise.
13106         * po/Makefile: Likewise.
13107         (all): Remove target.
13108         * posix/Makefile: Include Makeconfig immediately after defining
13109         subdir.
13110         * pwd/Makefile: Likewise.
13111         * resolv/Makefile: Likewise.
13112         * resource/Makefile: Likewise.
13113         * rt/Makefile: Likewise.
13114         * setjmp/Makefile: Likewise.
13115         * shadow/Makefile: Likewise.
13116         * signal/Makefile: Likewise.
13117         * socket/Makefile: Likewise.
13118         * soft-fp/Makefile: Likewise.
13119         * stdio-common/Makefile: Likewise.
13120         * stdlib/Makefile: Likewise.
13121         * streams/Makefile: Likewise.
13122         * string/Makefile: Likewise.
13123         * sunrpc/Makefile: Likewise.
13124         (all): Remove target.
13125         * sysvipc/Makefile: Include Makeconfig immediately after defining
13126         subdir.
13127         * termios/Makefile: Likewise.
13128         * time/Makefile: Likewise.
13129         * timezone/Makefile: Likewise.
13130         (all): Remove target.
13131         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13132         subdir.
13133         * wctype/Makefile: Likewise.
13135 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13137         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13138         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13139         (libc_feholdexcept_setround_mips): Ditto.
13140         (libc_feholdsetround): New.
13141         (libc_feholdsetroundf): New.
13142         (libc_feholdsetroundl): New.
13143         (libc_feupdateenv_test_mips): New.
13144         (libc_feupdateenv_test): New.
13145         (libc_feupdateenv_testf): New.
13146         (libc_feupdateenv_testl): New.
13147         (libc_feresetround): New.
13148         (libc_feresetroundf): New.
13149         (libc_feresetroundl): New.
13150         (libc_fetestexcept_mips): New.
13151         (libc_fetestexcept): New.
13152         (libc_fetestexceptf): New.
13153         (libc_fetestexceptl): New.
13154         (HAVE_RM_CTX): New.
13155         (libc_feholdexcept_setround_mips_ctx): New.
13156         (libc_feholdexcept_setround_ctx): New.
13157         (libc_feholdexcept_setroundf_ctx): New.
13158         (libc_feholdexcept_setroundl_ctx): New.
13159         (libc_fesetenv_mips_ctx): New.
13160         (libc_fesetenv_ctx): New.
13161         (libc_fesetenv_ctxf): New.
13162         (libc_fesetenv_ctxl): New.
13163         (libc_feupdateenv_mips_ctx): New.
13164         (libc_feupdateenv_ctx): New.
13165         (libc_feupdateenvf_ctx): New.
13166         (libc_feupdateenvl_ctx): New.
13167         (libc_feholdsetround_mips_ctx): New.
13168         (libc_feholdsetround_ctx): New.
13169         (libc_feholdsetroundf_ctx): New.
13170         (libc_feholdsetroundl_ctx): New.
13171         (libc_feresetround_mips_ctx): New.
13172         (libc_feresetround_ctx): New.
13173         (libc_feresetroundf_ctx): New.
13174         (libc_feresetroundl_ctx): New.
13176 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13178         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13180         * manual/ipc.texi: New file.
13181         * manual/Makefile (chapters): Add ipc.
13182         * manual/job.texi: Add "Inter-Process Communication" to next.
13183         * manual/process.texi: Add "Inter-Process Communication" to prev.
13185 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13189 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13191         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13193         * manual/arith.texi: Fix spaces after sentences.
13194         * manual/charset.texi: Likewise.
13195         * manual/errno.texi: Likewise.
13196         * manual/install.texi: Likewise.
13197         * manual/llio.texi: Likewise.
13198         * manual/locale.texi: Likewise.
13199         * manual/maint.texi: Likewise.
13200         * manual/math.texi: Likewise.
13201         * manual/memory.texi: Likewise.
13202         * manual/message.texi: Likewise.
13203         * manual/probes.texi: Likewise.
13204         * manual/resource.texi: Likewise.
13205         * manual/signal.texi: Likewise.
13206         * manual/socket.texi: Likewise.
13207         * manual/stdio.texi: Likewise.
13208         * manual/string.texi: Likewise.
13209         * manual/time.texi: Likewise.
13210         * manual/users.texi: Likewise.
13212 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13214         [BZ #16632]
13215         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13216         _DEFAULT_SOURCE is defined.
13218 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13219             Carlos O'Donell  <carlos@redhat.com>
13221         [BZ #16613]
13222         * elf/dl-tls.c (_dl_count_modids): New function.
13223         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13224         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13225         audit library and increment generation counter.
13226         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13227         * elf/tst-audit9.c: New file.
13228         * elf/tst-auditmod9a.c: New file.
13229         * elf/tst-auditmod9b.c: New file.
13230         * elf/Makefile: Add rules to build and run tst-audit9.
13232 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13234         [BZ #15347]
13235         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13237 2014-02-25  Will Newton  <will.newton@linaro.org>
13239         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13240         (__longjmp): Restore sp and lr before restoring callee
13241         saved registers.  Add longjmp and longjmp_target
13242         SystemTap probe point.
13243         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13244         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13245         Define to zero to match jmpbuf layout.
13246         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13247         (__sigsetjmp): Save sp and lr before saving callee
13248         saved registers.  Add setjmp SystemTap probe point.
13250 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13252         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13254 2014-02-24  Andreas Schwab  <schwab@suse.de>
13256         [BZ #15804]
13257         * elf/pldd.c (wait_for_ptrace_stop): New function.
13258         (main): Call it after attaching.
13260 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13262         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13263         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13264         Versions files is now verboten.
13265         * hurd/Versions (libc: GLIBC_2.0):
13266         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13267         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13268         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13269         * mach/Versions: Likewise.
13271         * csu/Versions: Remove unused %include.
13272         * resolv/Versions: Likewise.
13274 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13276         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13277         ($(objpfx)check-local-headers.out): Likewise.
13278         ($(objpfx)begin-end-check.out): Likewise.
13279         * Makerules (check-abi-%.out): Likewise.
13280         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13281         ($(objpfx)test2.cat): Likewise.
13282         ($(objpfx)de/libc.cat): Likewise.
13283         ($(objpfx)test-gencat.out): Likewise.
13284         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13285         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13286         ($(objpfx)noload-mem): Likewise.
13287         ($(objpfx)tst-pathopt.out): Likewise.
13288         ($(objpfx)tst-rtld-load-self.out): Likewise.
13289         ($(objpfx)tst-array1-cmp.out): Likewise.
13290         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13291         ($(objpfx)tst-array2-cmp.out): Likewise.
13292         ($(objpfx)tst-array3-cmp.out): Likewise.
13293         ($(objpfx)tst-array4-cmp.out): Likewise.
13294         ($(objpfx)tst-array5-cmp.out): Likewise.
13295         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13296         ($(objpfx)check-textrel.out): Likewise.
13297         ($(objpfx)check-execstack.out): Likewise.
13298         ($(objpfx)check-localplt.out): Likewise.
13299         ($(objpfx)order2-cmp.out): Likewise.
13300         ($(objpfx)tst-leaks1-mem): Likewise.
13301         ($(objpfx)tst-leaks1-static-mem): Likewise.
13302         ($(objpfx)tst-initorder-cmp.out): Likewise.
13303         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13304         ($(objpfx)tst-unused-dep.out): Likewise.
13305         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13306         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13307         * iconv/Makefile (test-iconvconfig): Likewise.
13308         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13309         ($(objpfx)iconv-test.out): Likewise.
13310         ($(objpfx)tst-tables.out): Likewise.
13311         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13312         ($(objpfx)tst-gettext.out): Likewise.
13313         ($(objpfx)tst-translit.out): Likewise.
13314         ($(objpfx)tst-gettext2.out): Likewise.
13315         ($(objpfx)tst-gettext4.out): Likewise.
13316         ($(objpfx)tst-gettext6.out): Likewise.
13317         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13318         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13319         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13320         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13321         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13322         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13323         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13324         ($(objpfx)wordexp-tst.out): Likewise.
13325         ($(objpfx)annexc.out): Likewise.
13326         ($(objpfx)tst-fnmatch-mem): Likewise.
13327         ($(objpfx)bug-regex2-mem): Likewise.
13328         ($(objpfx)bug-regex14-mem): Likewise.
13329         ($(objpfx)bug-regex21-mem): Likewise.
13330         ($(objpfx)bug-regex31-mem): Likewise.
13331         ($(objpfx)tst-vfork3-mem): Likewise.
13332         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13333         ($(objpfx)tst-pcre-mem): Likewise.
13334         ($(objpfx)tst-boost-mem): Likewise.
13335         ($(objpfx)tst-getconf.out): Likewise.
13336         ($(objpfx)bug-ga2-mem): Likewise.
13337         ($(objpfx)bug-glob2-mem): Likewise.
13338         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13339         ($(objpfx)mtrace-tst-leaks2): Likewise.
13340         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13341         ($(objpfx)tst-printf.out): Likewise.
13342         ($(objpfx)tst-setvbuf1.out): Likewise.
13343         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13344         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13345         ($(objpfx)tst-fmtmsg.out): Likewise.
13346         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13347         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13349         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13350         * bits/sigaction.h [__USE_MISC]: Likewise.
13351         * bits/waitstatus.h: Update #endif comments.
13352         * ctype/ctype.h: Likewise.
13353         * dirent/dirent.h: Likewise.
13354         [__USE_MISC]: Remove redundant conditionals.
13355         * grp/grp.h: Update #endif comments.
13356         [__USE_GNU]: Remove redundant conditionals.
13357         [__USE_MISC]: Likewise.
13358         * inet/netinet/in.h [__USE_GNU]: Likewise.
13359         * io/sys/stat.h [__USE_MISC]: Likewise.
13360         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13361         * libio/bits/stdio.h: Update #endif comments.
13362         [__USE_MISC]: Remove redundant conditionals.
13363         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13364         * libio/stdio.h: Update #endif comments.
13365         [__USE_MISC]: Remove redundant conditionals.
13366         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13367         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13368         * math/math.h: Update #else and #endif comments.
13369         [__USE_MISC]: Remove redundant conditionals.
13370         * misc/sys/uio.h: Update #endif comments.
13371         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13372         * posix/glob.h [__USE_MISC]: Likewise.
13373         * posix/sys/types.h: Update #endif comments.
13374         [__USE_MISC]: Remove redundant conditionals.
13375         * posix/sys/wait.h: Update #endif comments.
13376         [__USE_MISC]: Remove redundant conditionals.
13377         * posix/unistd.h: Update #endif comments.
13378         [__USE_MISC]: Remove redundant conditionals.
13379         * pwd/pwd.h [__USE_GNU]: Likewise.
13380         [__USE_MISC]: Likewise.
13381         * resolv/netdb.h [__USE_GNU]: Likewise.
13382         * signal/signal.h: Update #endif comments.
13383         [__USE_MISC]: Remove redundant conditionals.
13384         * stdlib/stdlib.h: Update #else and #endif comments.
13385         [__USE_MISC]: Remove redundant conditionals.
13386         [__USE_GNU]: Likewise.
13387         * string/bits/string2.h [__USE_MISC]: Likewise.
13388         * string/string.h: Update #endif comments.
13389         [__USE_MISC]: Remove redundant conditionals.
13390         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13391         Likewise.
13392         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13393         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13394         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13395         Likewise.
13396         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13397         Likewise.
13398         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13399         comments.
13400         [__USE_MISC]: Remove redundant conditionals.
13401         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13402         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13403         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13404         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13405         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13406         Likewise.
13407         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13408         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13409         Likewise.
13410         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13411         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13412         Likewise.
13413         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13414         Likewise.
13415         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13416         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13417         Likewise.
13418         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13419         Likewise.
13420         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13421         * sysdeps/x86/bits/string.h: Update #endif comments.
13422         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13423         conditionals.
13424         * time/sys/time.h: Update #endif comments.
13425         * time/time.h: Likewise.
13426         [__USE_MISC]: Remove redundant conditionals.
13428 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13430         [BZ #16600]
13431         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13433 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13435         * Versions.def (librt): Add GLIBC_2.17.
13437 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13439         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13440         synonym for _SYS_AUXV_H to allow direct inclusion.
13441         * sysdeps/sparc/bits/hwcap.h: Likewise.
13442         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13443         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13444         * sysdeps/sparc/sysdep.h: Likewise.
13446 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13448         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13450 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13452         * benchtests/bench-strrchr.c: Print length instead of position.
13454 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13456         [BZ #16611]
13457         * sysdeps/unix/sysv/linux/kernel-features.h
13458         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13459         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13460         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13461         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13462         Likewise.
13463         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13464         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13465         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13466         (__ASSUME_SENDMMSG): Define instead of using previous
13467         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13468         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13469         (__ASSUME_SENDMMSG_SYSCALL): Define.
13470         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13471         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13472         Likewise.
13473         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13474         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13475         Likewise.
13476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13477         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13478         Likewise.
13479         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13480         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13481         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13482         [__ASSUME_SENDMMSG]: Change conditionals to
13483         [__ASSUME_SENDMMSG_SOCKETCALL].
13484         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13485         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13486         Define.
13487         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13488         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13489         Likewise.
13490         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13491         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13492         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13493         [!__ASSUME_SENDMMSG]: Change conditional to
13494         [!__ASSUME_SENDMMSG_SOCKETCALL].
13495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13496         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13497         Define.
13499         [BZ #16610]
13500         * sysdeps/unix/sysv/linux/kernel-features.h
13501         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13502         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13503         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13504         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13505         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13506         [__i386__ || __sparc__]
13507         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13508         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13509         (__ASSUME_RECVMMSG): Define instead of using previous
13510         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13511         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13512         (__ASSUME_RECVMMSG_SYSCALL): Define.
13513         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13514         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13515         Likewise.
13516         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13517         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13518         Likewise.
13519         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13520         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13521         Likewise.
13522         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13523         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13524         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13525         [__ASSUME_RECVMMSG]: Change condition to
13526         [__ASSUME_RECVMMSG_SOCKETCALL].
13527         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13529         Define.
13530         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13531         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13532         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13533         Likewise.
13534         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13535         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13536         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13537         [!__ASSUME_RECVMMSG]: Change condition to
13538         [!__ASSUME_RECVMMSG_SOCKETCALL].
13539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13540         (__ASSUME_RECVMMSG_SYSCALL): Define.
13542         [BZ #16609]
13543         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13544         __powerpc__ || __s390__ || __sh__ || __sparc__]
13545         (__ASSUME_SOCKETCALL): Define.
13546         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13547         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13548         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13549         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13550         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13551         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13552         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13553         (__ASSUME_ACCEPT4): Define instead of using previous
13554         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13555         __powerpc__ || __sparc__ || __s390__)] condition.
13556         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13557         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13558         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13559         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13560         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13561         [!__ASSUME_ACCEPT4]: Change condition to
13562         [!__ASSUME_ACCEPT4_SOCKETCALL].
13563         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13564         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13565         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13566         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13567         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13568         __ASSUME_ACCEPT4_SYSCALL.
13569         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13570         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13571         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13572         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13573         __ASSUME_ACCEPT4_SYSCALL.
13574         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13575         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13576         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13577         [__ASSUME_ACCEPT4]: Change condition to
13578         [__ASSUME_ACCEPT4_SOCKETCALL].
13579         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13580         (__ASSUME_SOCKETCALL): Define.
13581         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13583         (__ASSUME_SOCKETCALL): Define.
13584         (__ASSUME_ACCEPT4): Remove.
13585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13586         Define.
13587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13588         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13589         Likewise.
13590         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13591         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13593         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13594         macro.
13595         (HWCAP_ARM_LPAE): Likewise.
13596         (HWCAP_ARM_EVTSTRM): Likewise.
13597         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13598         Add vpfd32, lpae and evtstrm.
13599         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13600         Increase to 22.
13602 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
13604         * math/auto-libm-test-in: Add tests of clog10.
13605         * math/auto-libm-test-out: Regenerated.
13606         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13607         * sysdeps/i386/fpu/libm-test-ulps: Update.
13608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13610 2014-02-18  Andreas Schwab  <schwab@suse.de>
13612         [BZ #16574]
13613         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13614         Store non-zero if the second buffer was newly allocated.
13615         (send_dg): Likewise.
13616         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13617         to send_vc and send_dg.
13618         (res_nsend): Pass NULL for ansp2_malloced.
13619         * resolv/res_query.c (__libc_res_nquery): Add parameter
13620         answerp2_malloced and pass it down to __libc_res_nsend.
13621         (res_nquery): Pass additional NULL to __libc_res_nquery.
13622         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13623         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
13624         second answer buffer if answerp2_malloced was set.
13625         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13626         (__libc_res_nquerydomain): Add parameter
13627         answerp2_malloced and pass it down to __libc_res_nquery.
13628         (res_nquerydomain): Pass additional NULL to
13629         __libc_res_nquerydomain.
13630         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13631         additional NULL to __libc_res_nsend and __libc_res_nquery.
13632         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13633         additional NULL to __libc_res_nsearch.
13634         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
13635         parameter of __libc_res_nsearch to check for separately allocated
13636         second buffer.
13637         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13638         __libc_res_nquery.
13639         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13640         additional NULL to __libc_res_nquery.
13641         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13642         __libc_res_nsearch.
13643         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13644         * include/resolv.h: Update prototypes of __libc_res_nquery,
13645         __libc_res_nsearch, __libc_res_nsend.
13647 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13649         * math/auto-libm-test-in: Add tests of fma.
13650         * math/auto-libm-test-out: Regenerated.
13651         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13652         (fma_towardzero_test_data): Likewise.
13653         (fma_downward_test_data): Likewise.
13654         (fma_upward_test_data): Likewise.
13655         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13656         mpc_mode.
13657         (rounding_modes): Add values for new field.
13658         (func_calc_method): Add value mpfr_fff_f.
13659         (func_calc_desc): Add mpfr_fff_f union field.
13660         (test_function): Add field exact_args.
13661         (FUNC): Add macro argument EXACT_ARGS.
13662         (FUNC_mpfr_f_f): Update call to FUNC.
13663         (FUNC_mpfr_f_f): Likewise.
13664         (FUNC_mpfr_ff_f): Likewise.
13665         (FUNC_mpfr_if_f): Likewise.
13666         (FUNC_mpc_c_f): Likewise.
13667         (FUNC_mpc_c_c): Likewise.
13668         (test_functions): Add fma.  Update calls to FUNC.
13669         (handle_input_arg): Add argument exact_args.
13670         (add_test): Update call to handle_input_arg.
13671         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13672         (output_for_one_input_case): Update call to calc_generic_results.
13673         Recalculate exact zero results in each rounding mode.
13675         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13676         non-negative before setting low bit.
13677         * math/auto-libm-test-in: Mark one asin test possibly having
13678         spurious underflow.
13679         * math/auto-libm-test-out: Regenerated.
13680         * sysdeps/i386/fpu/libm-test-ulps: Update.
13681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13683 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13685         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13686         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13687         ports/sysdeps/unix/sysv/linux/microblaze.
13688         * README: Add missing listing for microblaze*-*-linux-gnu.
13690 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13692         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13693         duplicate code
13695 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13697         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13698         * sysdeps/unix/sysv/linux/ia64: Move directory from
13699         ports/sysdeps/unix/sysv/linux/ia64.
13700         * README: Update listing for ia64-*-linux-gnu.
13702 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13703             Joseph Myers  <joseph@codesourcery.com>
13705         * Makeconfig (test-name): New variable.
13706         (evaluate-test): Likewise.
13707         * Makerules (do-test-clean): Remove .test-result files.
13708         (common-mostlyclean): Likewise.
13709         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13710         * scripts/evaluate-test.sh: New file.
13712 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13714         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13715         separate $(objpfx)tst-fopenloc-cmp.out and
13716         $(objpfx)tst-fopenloc-mem.out targets.
13717         (tests): Update dependencies.
13718         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13719         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13720         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13721         (tst-rxspencer-no-utf8-ARGS): New variable.
13722         (tst-rxspencer-no-utf8-ENV): Likewise.
13723         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13724         instead of $(objpfx)tst-rxspencer-mem.
13725         ($(objpfx)tst-rxspencer-mem): Change target to
13726         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13727         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13728         * posix/tst-rxspencer-no-utf8.c: New file.
13730         * elf/Makefile ($(objpfx)order.out): Remove rule.
13731         [$(run-built-tests) = yes] (tests): Depend on
13732         $(objpfx)order-cmp.out.
13733         ($(objpfx)order-cmp.out): New rule.
13734         [$(run-built-tests) = yes] (tests): Depend on
13735         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13736         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13737         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13738         $(objpfx)tst-array5-static-cmp.out.
13739         ($(objpfx)tst-array1.out): Remove rule.
13740         ($(objpfx)tst-array1-cmp.out): New rule.
13741         ($(objpfx)tst-array1-static.out): Remove rule.
13742         ($(objpfx)tst-array1-static-cmp.out): New rule.
13743         ($(objpfx)tst-array2.out): Remove rule.
13744         ($(objpfx)tst-array2-cmp.out): New rule.
13745         ($(objpfx)tst-array3.out): Remove rule.
13746         ($(objpfx)tst-array3-cmp.out): New rule.
13747         ($(objpfx)tst-array4.out): Remove rule.
13748         ($(objpfx)tst-array4-cmp.out): New rule.
13749         ($(objpfx)tst-array5.out): Remove rule.
13750         ($(objpfx)tst-array5-cmp.out): New rule.
13751         ($(objpfx)tst-array5-static.out): Remove rule.
13752         ($(objpfx)tst-array5-static-cmp.out): New rule.
13753         [$(run-built-tests) = yes] (tests): Depend on
13754         $(objpfx)order2-cmp.out.
13755         ($(objpfx)order2.out): Remove rule.
13756         ($(objpfx)order2-cmp.out): New rule.
13757         ($(objpfx)tst-initorder.out): Remove rule.
13758         [$(run-built-tests) = yes] (tests): Depend on
13759         $(objpfx)tst-initorder-cmp.out.
13760         ($(objpfx)tst-initorder-cmp.out): New rule.
13761         ($(objpfx)tst-initorder2.out): Remove rule.
13762         [$(run-built-tests) = yes] (tests): Depend on
13763         $(objpfx)tst-initorder2-cmp.out.
13764         ($(objpfx)tst-initorder2-cmp.out): New rule.
13765         [$(run-built-tests) = yes] (tests): Depend on
13766         $(objpfx)tst-unused-dep-cmp.out.
13767         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13768         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13769         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13770         on $(objpfx)tst-setvbuf1-cmp.out.
13771         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13772         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13773         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13774         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13775         ($(objpfx)tst-svc.out): Remove rule.
13776         ($(objpfx)tst-svc-cmp.out): New rule.
13778 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13780         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13781         * ctype/ctype.h [__USE_MISC]: Likewise.
13782         * dirent/dirent.h [__USE_MISC]: Likewise.
13783         * grp/grp.h [__USE_MISC]: Likewise.
13784         * io/fcntl.h [__USE_MISC]: Likewise.
13785         * io/sys/stat.h [__USE_MISC]: Likewise.
13786         * libio/stdio.h [__USE_MISC]: Likewise.
13787         * posix/unistd.h [__USE_MISC]: Likewise.
13788         * pwd/pwd.h [__USE_MISC]: Likewise.
13789         * stdlib.h [__USE_MISC]: Likewise.
13790         * string/bits/string2.h [__USE_MISC]: Likewise.
13791         * string/string.h [__USE_MISC]: Likewise.
13792         * time/time.h [__USE_MISC]: Likewise.
13794 2014-02-13  Andreas Schwab  <schwab@suse.de>
13796         [BZ #16574]
13797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13798         second answer buffer if it was separately allocated.
13800 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13802         * sysdeps/mips/math-tests.h: Include <features.h>.
13803         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13804         (ROUNDING_TESTS_long_double): Do not define.
13805         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13806         (EXCEPTION_TESTS_long_double): Likewise.
13807         * sysdeps/mips/mips64/libm-test-ulps: Update.
13809         * include/features.h (__USE_BSD): Remove macro definitions.
13810         (__USE_SVID): Likewise.
13811         (_BSD_SOURCE): Likewise.
13812         (_SVID_SOURCE): Likewise.
13813         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13814         from definition of _DEFAULT_SOURCE.
13815         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13816         [_DEFAULT_SOURCE].
13817         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13818         * bits/mman.h [__USE_BSD]: Likewise.
13819         * bits/termios.h [__USE_BSD]: Likewise.
13820         * bits/waitstatus.h [__USE_BSD]: Likewise.
13821         * ctype/ctype.h [__USE_SVID]: Likewise.
13822         * dirent/dirent.h [__USE_BSD]: Likewise.
13823         * grp/grp.h [__USE_SVID]: Likewise.
13824         [__USE_BSD]: Likewise.
13825         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13826         * io/fcntl.h [__USE_BSD]: Likewise.
13827         * io/ftw.h [__USE_BSD]: Likewise.
13828         * io/sys/stat.h [__USE_BSD]: Likewise.
13829         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13830         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13831         * libio/stdio.h [__USE_SVID]: Likewise.
13832         [__USE_BSD]: Likewise.
13833         * math/math.h [__USE_SVID]: Likewise.
13834         [__USE_BSD]: Likewise.
13835         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13836         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13837         * misc/search.h [__USE_SVID]: Likewise.
13838         * misc/sys/mman.h [__USE_BSD]: Likewise.
13839         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13840         * misc/sys/uio.h [__USE_BSD]: Likewise.
13841         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13842         * posix/glob.h [__USE_BSD]: Likewise.
13843         * posix/regex.h [__USE_BSD]: Likewise.
13844         * posix/sys/types.h [__USE_BSD]: Likewise.
13845         [__USE_SVID]: Likewise.
13846         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13847         * posix/sys/wait.h [__USE_BSD]: Likewise.
13848         [__USE_SVID]: Likewise.
13849         * posix/unistd.h [__USE_BSD]: Likewise.
13850         [__USE_SVID]: Likewise.
13851         * pwd/pwd.h [__USE_SVID]: Likewise.
13852         * resolv/netdb.h [__USE_BSD]: Likewise.
13853         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13854         * signal/signal.h [__USE_BSD]: Likewise.
13855         [__USE_SVID]: Likewise.
13856         * socket/sys/socket.h [__USE_BSD]: Likewise.
13857         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13858         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13859         [__USE_SVID]: Likewise.
13860         * string/bits/string2.h [__USE_BSD]: Likewise.
13861         [__USE_SVID]: Likewise.
13862         * string/bits/string3.h [__USE_BSD]: Likewise.
13863         * string/endian.h [__USE_BSD]: Likewise.
13864         * string/string.h [__USE_SVID]: Likewise.
13865         [__USE_BSD]: Likewise.
13866         * string/strings.h [__USE_BSD]: Likewise.
13867         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13868         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13869         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13870         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13871         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13872         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13873         Likewise.
13874         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13875         Likewise.
13876         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13877         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13878         Likewise.
13879         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13880         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13881         Likewise.
13882         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13883         Likewise.
13884         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13885         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13886         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13887         Likewise.
13888         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13889         Likewise.
13890         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13891         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13892         * termios/termios.h [__USE_BSD]: Likewise.
13893         * time/sys/time.h [__USE_BSD]: Likewise.
13894         * time/time.h [__USE_BSD]: Likewise.
13895         [__USE_SVID]: Likewise.
13897         * Makefile (subdir_targets): Remove subdir_lint.out.
13899         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13900         (do-tst-printf): Likewise.
13901         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13902         $(objpfx)tst-printf.out.
13904         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13906         * Makerules (check-abi-%): Change target to
13907         $(objpfx)check-abi-%.out.
13908         (check-abi target): Update dependencies.
13909         (check-abi-pattern variable): Redirect output of diff to $@.
13910         (check-abi variable): Likewise.
13911         * elf/Makefile (check-abi): Update dependencies.
13913         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13914         unused.
13915         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13916         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13917         subnormal range.
13918         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13919         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13920         value has largest subnormal exponent.
13921         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13922         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13923         * sysdeps/aarch64/soft-fp/sfp-machine.h
13924         (_FP_TININESS_AFTER_ROUNDING): New macro.
13925         * sysdeps/alpha/soft-fp/sfp-machine.h
13926         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13927         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13928         Likewise.
13929         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13930         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13931         * sysdeps/mips/soft-fp/sfp-machine.h
13932         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13933         * sysdeps/powerpc/soft-fp/sfp-machine.h
13934         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13935         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13936         Likewise.
13937         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13938         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13939         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13940         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13941         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13942         Likewise.
13944 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13946         [BZ #16545]
13947         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13948         model 1.
13950 2014-02-12  Richard Henderson  <rth@redhat.com>
13952         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13953         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13954         * sysdeps/unix/sysv/linux/alpha: Move directory from
13955         ports/sysdeps/unix/sysv/linux/alpha.
13956         * README: Update listing for alpha-*-linux-gnu.
13958 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13960         * include/features.h: Update comment documenting feature test
13961         macros.
13962         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13963         _DEFAULT_SOURCE.
13964         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13965         (_SVID_SOURCE): Likewise.
13966         (_DEFAULT_SOURCE): Update description of default features.
13967         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13968         with _GNU_SOURCE.
13969         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13970         (S_ISVTX): Likewise.
13971         * manual/math.texi (Mathematical Constants): Likewise.
13972         * manual/signal.texi (Interrupted Primitives): Likewise.
13973         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13974         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13975         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13976         Don't refer to _SVID_SOURCE in warning text.
13978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13980         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13981         already defined.
13982         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13983         * sysdeps/mips/dl-lookup.c: Remove.
13984         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13986 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13988         [BZ #16447]
13989         * math/auto-libm-test-in: Add testcase for expl.
13990         * math/auto-libm-test-out: Regenerate.
13991         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13992         calculation of unsafe.
13993         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13995 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13997         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13998         * sysdeps/unix/sysv/linux/aarch64: Move directory from
13999         ports/sysdeps/unix/sysv/linux/aarch64.
14000         * README: Update listing for aarch64*-*-linux-gnu.
14002 2014-02-11  Will Newton  <will.newton@linaro.org>
14004         * manual/probes.texi (Mathematical Function Probes): Use
14005         "triggered" instead of "hit".
14007         * manual/probes.texi (Internal Probes): Add documentation
14008         of setjmp, longjmp and longjmp_target probes.
14010         * include/stap-probe.h: Add comment about probe argument
14011         format.
14013         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14014         definition.  (tr_where, tr_freehook, tr_mallochook,
14015         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14017 2014-02-11  David S. Miller  <davem@davemloft.net>
14019         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14020         processing int_tests.
14022 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14024         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14025         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14026         * sysdeps/unix/sysv/linux/mips: Move directory from
14027         ports/sysdeps/unix/sysv/linux/mips.
14028         * README: Update listing for mips-*-linux-gnu and
14029         mips64-*-linux-gnu.
14031 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14033         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14034         * sysdeps/unix/sysv/linux/m68k: Move directory from
14035         ports/sysdeps/unix/sysv/linux/m68k.
14036         * README: Update listing for m68k-*-linux-gnu.
14038 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14040         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14041         * sysdeps/unix/sysv/linux/generic: Move directory from
14042         ports/sysdeps/unix/sysv/linux/generic.
14043         * sysdeps/unix/sysv/linux/tile: Move directory from
14044         ports/sysdeps/unix/sysv/linux/tile.
14045         * README: Update listing for tile*-*-linux-gnu.
14047 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14049         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14050         __builtin_expect.
14051         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14052         * catgets/open_catalog.c (__open_catalog): Likewise.
14053         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14054         * debug/confstr_chk.c: Likewise.
14055         * debug/fread_chk.c (__fread_chk): Likewise.
14056         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14057         * debug/getgroups_chk.c: Likewise.
14058         * debug/mbsnrtowcs_chk.c: Likewise.
14059         * debug/mbsrtowcs_chk.c: Likewise.
14060         * debug/mbstowcs_chk.c: Likewise.
14061         * debug/memcpy_chk.c: Likewise.
14062         * debug/memmove_chk.c: Likewise.
14063         * debug/mempcpy_chk.c: Likewise.
14064         * debug/memset_chk.c: Likewise.
14065         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14066         * debug/strcat_chk.c (__strcat_chk): Likewise.
14067         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14068         * debug/strncat_chk.c (__strncat_chk): Likewise.
14069         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14070         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14071         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14072         * debug/wcpncpy_chk.c: Likewise.
14073         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14074         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14075         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14076         * debug/wcsncpy_chk.c: Likewise.
14077         * debug/wcsnrtombs_chk.c: Likewise.
14078         * debug/wcsrtombs_chk.c: Likewise.
14079         * debug/wcstombs_chk.c: Likewise.
14080         * debug/wmemcpy_chk.c: Likewise.
14081         * debug/wmemmove_chk.c: Likewise.
14082         * debug/wmempcpy_chk.c: Likewise.
14083         * debug/wmemset_chk.c: Likewise.
14084         * dirent/scandirat.c (SCANDIRAT): Likewise.
14085         * dlfcn/dladdr1.c (dladdr1): Likewise.
14086         * dlfcn/dladdr.c (dladdr): Likewise.
14087         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14088         * dlfcn/dlerror.c (__dlerror): Likewise.
14089         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14090         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14091         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14092         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14093         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14094         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14095         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14096         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14097         Likewise.
14098         * elf/dl-conflict.c: Likewise.
14099         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14100         * elf/dl-dst.h: Likewise.
14101         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14102         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14103         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14104         * elf/dl-init.c (call_init, _dl_init): Likewise.
14105         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14106         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14107         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14108         Likewise.
14109         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14110         Likewise.
14111         * elf/dl-minimal.c (__libc_memalign): Likewise.
14112         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14113         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14114         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14115         * elf/dl-sym.c (do_sym): Likewise.
14116         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14117         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14118         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14119         * elf/dl-writev.h (_dl_writev): Likewise.
14120         * elf/ldconfig.c (search_dir): Likewise.
14121         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14122         (dl_main): Likewise.
14123         * elf/setup-vdso.h (setup_vdso): Likewise.
14124         * grp/compat-initgroups.c (compat_call): Likewise.
14125         * grp/fgetgrent.c (fgetgrent): Likewise.
14126         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14127         * grp/putgrent.c (putgrent): Likewise.
14128         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14129         Likewise.
14130         * hurd/hurdinit.c: Likewise.
14131         * iconvdata/8bit-gap.c (struct): Likewise.
14132         * iconvdata/ansi_x3.110.c : Likewise.
14133         * iconvdata/big5.c : Likewise.
14134         * iconvdata/big5hkscs.c : Likewise.
14135         * iconvdata/cp1255.c: Likewise.
14136         * iconvdata/cp1258.c : Likewise.
14137         * iconvdata/cp932.c : Likewise.
14138         * iconvdata/euc-cn.c: Likewise.
14139         * iconvdata/euc-jisx0213.c : Likewise.
14140         * iconvdata/euc-jp.c: Likewise.
14141         * iconvdata/euc-jp-ms.c : Likewise.
14142         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14143         * iconvdata/gb18030.c : Likewise.
14144         * iconvdata/gbbig5.c (const): Likewise.
14145         * iconvdata/gbgbk.c: Likewise.
14146         * iconvdata/gbk.c : Likewise.
14147         * iconvdata/ibm1364.c : Likewise.
14148         * iconvdata/ibm930.c : Likewise.
14149         * iconvdata/ibm932.c: Likewise.
14150         * iconvdata/ibm933.c : Likewise.
14151         * iconvdata/ibm935.c : Likewise.
14152         * iconvdata/ibm937.c : Likewise.
14153         * iconvdata/ibm939.c : Likewise.
14154         * iconvdata/ibm943.c: Likewise.
14155         * iconvdata/iso_11548-1.c: Likewise.
14156         * iconvdata/iso-2022-cn.c : Likewise.
14157         * iconvdata/iso-2022-cn-ext.c : Likewise.
14158         * iconvdata/iso-2022-jp-3.c: Likewise.
14159         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14160         * iconvdata/iso-2022-kr.c : Likewise.
14161         * iconvdata/iso646.c (gconv_end): Likewise.
14162         * iconvdata/iso_6937-2.c : Likewise.
14163         * iconvdata/iso_6937.c : Likewise.
14164         * iconvdata/iso8859-1.c: Likewise.
14165         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14166         * iconvdata/shift_jisx0213.c : Likewise.
14167         * iconvdata/sjis.c : Likewise.
14168         * iconvdata/t.61.c : Likewise.
14169         * iconvdata/tcvn5712-1.c : Likewise.
14170         * iconvdata/tscii.c: Likewise.
14171         * iconvdata/uhc.c : Likewise.
14172         * iconvdata/unicode.c (gconv_end): Likewise.
14173         * iconvdata/utf-16.c (gconv_end): Likewise.
14174         * iconvdata/utf-32.c (gconv_end): Likewise.
14175         * iconvdata/utf-7.c (base64): Likewise.
14176         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14177         * iconv/gconv_close.c (__gconv_close): Likewise.
14178         * iconv/gconv_open.c (__gconv_open): Likewise.
14179         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14180         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14181         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14182         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14183         (ucs4le_internal_loop_single): Likewise.
14184         * iconv/iconv.c (iconv): Likewise.
14185         * iconv/iconv_close.c: Likewise.
14186         * iconv/loop.c (SINGLE): Likewise.
14187         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14188         * include/atomic.h: Likewise.
14189         * inet/inet6_option.c (option_alloc): Likewise.
14190         * intl/bindtextdom.c (set_binding_values): Likewise.
14191         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14192         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14193         * intl/localealias.c (read_alias_file): Likewise.
14194         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14195         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14196         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14197         * libio/fmemopen.c (fmemopen): Likewise.
14198         * libio/iofgets.c (_IO_fgets): Likewise.
14199         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14200         * libio/iofgetws.c (fgetws): Likewise.
14201         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14202         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14203         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14204         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14205         * locale/findlocale.c (_nl_find_locale): Likewise.
14206         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14207         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14208         Likewise.
14209         * locale/setlocale.c (setlocale): Likewise.
14210         * login/programs/pt_chown.c (main): Likewise.
14211         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14212         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14213         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14214         (mmap, mmap64, mremap, munmap): Likewise.
14215         * math/e_exp2l.c: Likewise.
14216         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14217         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14218         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14219         * math/s_catan.c (__catan): Likewise.
14220         * math/s_catanf.c (__catanf): Likewise.
14221         * math/s_catanh.c (__catanh): Likewise.
14222         * math/s_catanhf.c (__catanhf): Likewise.
14223         * math/s_catanhl.c (__catanhl): Likewise.
14224         * math/s_catanl.c (__catanl): Likewise.
14225         * math/s_ccosh.c (__ccosh): Likewise.
14226         * math/s_ccoshf.c (__ccoshf): Likewise.
14227         * math/s_ccoshl.c (__ccoshl): Likewise.
14228         * math/s_cexp.c (__cexp): Likewise.
14229         * math/s_cexpf.c (__cexpf): Likewise.
14230         * math/s_cexpl.c (__cexpl): Likewise.
14231         * math/s_clog10.c (__clog10): Likewise.
14232         * math/s_clog10f.c (__clog10f): Likewise.
14233         * math/s_clog10l.c (__clog10l): Likewise.
14234         * math/s_clog.c (__clog): Likewise.
14235         * math/s_clogf.c (__clogf): Likewise.
14236         * math/s_clogl.c (__clogl): Likewise.
14237         * math/s_csin.c (__csin): Likewise.
14238         * math/s_csinf.c (__csinf): Likewise.
14239         * math/s_csinh.c (__csinh): Likewise.
14240         * math/s_csinhf.c (__csinhf): Likewise.
14241         * math/s_csinhl.c (__csinhl): Likewise.
14242         * math/s_csinl.c (__csinl): Likewise.
14243         * math/s_csqrt.c (__csqrt): Likewise.
14244         * math/s_csqrtf.c (__csqrtf): Likewise.
14245         * math/s_csqrtl.c (__csqrtl): Likewise.
14246         * math/s_ctan.c (__ctan): Likewise.
14247         * math/s_ctanf.c (__ctanf): Likewise.
14248         * math/s_ctanh.c (__ctanh): Likewise.
14249         * math/s_ctanhf.c (__ctanhf): Likewise.
14250         * math/s_ctanhl.c (__ctanhl): Likewise.
14251         * math/s_ctanl.c (__ctanl): Likewise.
14252         * math/w_pow.c: Likewise.
14253         * math/w_powf.c: Likewise.
14254         * math/w_powl.c: Likewise.
14255         * math/w_scalb.c (sysv_scalb): Likewise.
14256         * math/w_scalbf.c (sysv_scalbf): Likewise.
14257         * math/w_scalbl.c (sysv_scalbl): Likewise.
14258         * misc/error.c (error_tail): Likewise.
14259         * misc/pselect.c (__pselect): Likewise.
14260         * nis/nis_callback.c (__nis_create_callback): Likewise.
14261         * nis/nis_call.c (__nisfind_server): Likewise.
14262         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14263         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14264         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14265         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14266         * nis/nis_lookup.c (nis_lookup): Likewise.
14267         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14268         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14269         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14270         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14271         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14272         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14273         * nis/nss_compat/compat-initgroups.c (add_group)
14274         (internal_getgrent_r): Likewise.
14275         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14276         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14277         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14278         (internal_getspnam_r): Likewise.
14279         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14280         (_nss_nis_getaliasbyname_r): Likewise.
14281         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14282         (_nss_nis_getntohost_r): Likewise.
14283         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14284         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14285         (_nss_nis_getgrgid_r): Likewise.
14286         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14287         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14288         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14289         (_nss_nis_gethostbyname4_r): Likewise.
14290         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14291         (initgroups_netid): Likewise.
14292         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14293         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14294         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14295         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14296         (_nss_nis_getprotobynumber_r): Likewise.
14297         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14298         (_nss_nis_getsecretkey): Likewise.
14299         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14300         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14301         (_nss_nis_getpwuid_r): Likewise.
14302         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14303         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14304         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14305         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14306         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14307         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14308         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14309         Likewise.
14310         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14311         (_nss_nisplus_getntohost_r): Likewise.
14312         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14313         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14314         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14315         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14316         Likewise.
14317         * nis/nss_nisplus/nisplus-initgroups.c
14318         (_nss_nisplus_initgroups_dyn): Likewise.
14319         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14320         (_nss_nisplus_getnetbyaddr_r): Likewise.
14321         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14322         (_nss_nisplus_getprotobynumber_r): Likewise.
14323         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14324         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14325         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14326         Likewise.
14327         * nis/nss_nisplus/nisplus-service.c
14328         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14329         (_nss_nisplus_getservbyport_r): Likewise.
14330         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14331         (_nss_nisplus_getspnam_r): Likewise.
14332         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14333         Likewise.
14334         * nscd/aicache.c (addhstaiX): Likewise.
14335         * nscd/cache.c (cache_search, prune_cache): Likewise.
14336         * nscd/connections.c (register_traced_file, send_ro_fd)
14337         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14338         (main_loop_epoll): Likewise.
14339         * nscd/grpcache.c (addgrbyX): Likewise.
14340         * nscd/hstcache.c (addhstbyX): Likewise.
14341         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14342         * nscd/mem.c (gc, mempool_alloc): Likewise.
14343         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14344         (addinnetgrX): Likewise.
14345         * nscd/nscd-client.h (__nscd_acquire_maplock)
14346         (__nscd_drop_map_ref): Likewise.
14347         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14348         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14349         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14350         Likewise.
14351         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14352         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14353         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14354         (__nscd_get_map_ref): Likewise.
14355         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14356         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14357         Likewise.
14358         * nscd/pwdcache.c (addpwbyX): Likewise.
14359         * nscd/selinux.c (preserve_capabilities): Likewise.
14360         * nscd/servicescache.c (addservbyX): Likewise.
14361         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14362         * posix/fnmatch.c (fnmatch): Likewise.
14363         * posix/getopt.c (_getopt_internal_r): Likewise.
14364         * posix/glob.c (glob, glob_in_dir): Likewise.
14365         * posix/wordexp.c (exec_comm_child): Likewise.
14366         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14367         (getanswer_r, gaih_getanswer_slice): Likewise.
14368         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14369         * resolv/res_init.c: Likewise.
14370         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14371         * resolv/res_query.c (__libc_res_nquery): Likewise.
14372         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14373         Likewise.
14374         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14375         * stdio-common/perror.c (perror): Likewise.
14376         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14377         * stdio-common/tmpnam.c (tmpnam): Likewise.
14378         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14379         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14380         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14381         Likewise.
14382         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14383         * stdlib/putenv.c (putenv): Likewise.
14384         * stdlib/setenv.c (__add_to_environ): Likewise.
14385         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14386         * stdlib/strtol_l.c (INTERNAL): Likewise.
14387         * string/memmem.c (memmem): Likewise.
14388         * string/strerror.c (strerror): Likewise.
14389         * string/strnlen.c (__strnlen): Likewise.
14390         * string/test-memmem.c (simple_memmem): Likewise.
14391         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14392         * sunrpc/pm_getport.c (__get_socket): Likewise.
14393         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14394         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14395         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14396         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14397         Likewise.
14398         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14400         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14401         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14402         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14403         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14404         Likewise.
14405         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14406         Likewise.
14407         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14408         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14409         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14410         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14411         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14413         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14414         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14415         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14416         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14417         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14418         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14419         Likewise.
14420         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14421         Likewise.
14422         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14423         Likewise.
14424         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14426         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14427         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14428         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14429         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14430         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14431         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14433         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14434         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14436         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14437         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14439         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14440         Likewise.
14441         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14442         Likewise.
14443         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14444         Likewise.
14445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14446         Likewise.
14447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14449         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14450         Likewise.
14451         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14452         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14453         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14454         * sysdeps/posix/sleep.c: Likewise.
14455         * sysdeps/posix/tempname.c: Likewise.
14456         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14457         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14458         Likewise.
14459         * sysdeps/powerpc/powerpc32/dl-machine.h
14460         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14461         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14463         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14464         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14465         Likewise.
14466         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14467         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14468         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14469         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14470         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14471         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14472         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14473         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14474         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14475         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14476         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14477         (elf_machine_lazy_rel): Likewise.
14478         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14480         (elf_machine_lazy_rel): Likewise.
14481         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14482         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14483         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14484         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14485         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14486         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14487         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14489         Likewise.
14490         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14491         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14492         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14493         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14494         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14495         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14496         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14497         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14498         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14499         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14500         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14501         Likewise.
14502         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14503         (__posix_fallocate64_l64): Likewise.
14504         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14505         (posix_fallocate): Likewise.
14506         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14507         Likewise.
14508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14509         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14510         (getifaddrs_internal): Likewise.
14511         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14512         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14513         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14514         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14515         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14516         (__posix_fallocate64_l64): Likewise.
14517         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14518         Likewise.
14519         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14520         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14521         (__get_clockfreq): Likewise.
14522         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14523         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14524         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14526         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14527         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14528         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14529         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14530         Likewise.
14531         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14532         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14533         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14534         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14535         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14536         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14537         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14538         Likewise.
14539         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14540         (posix_fallocate): Likewise.
14541         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14542         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14543         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14544         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14545         (elf_machine_rela, elf_machine_rela_relative)
14546         (elf_machine_lazy_rel): Likewise.
14547         * time/asctime.c (asctime_internal): Likewise.
14548         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14549         * time/tzset.c (__tzset_parse_tz): Likewise.
14550         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14551         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14552         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14553         * wcsmbs/wcsmbsload.h: Likewise.
14555         [BZ #15894]
14556         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14558         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14559         (arena_get2): Remove THREAD_STATS conditionals.
14560         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14561         (__malloc_stats, int): Likewise.
14563 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14565         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14566         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
14568         * manual/setjmp.texi: Fix typos/grammar errors.
14570         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14571         Only return early when n is <= 0.  Delete unused return statement.
14573         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14574         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14575         * debug/tst-longjmp_chk3.c: New file.
14577         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14578         (test_main): Replace code with set_fortify_handler call.
14579         * debug/test-strcpy_chk.c: Likewise.
14580         * debug/tst-chk1.c: Likewise.
14581         * debug/tst-longjmp_chk.c: Likewise.
14582         * test-skeleton.c: Include fcntl.h & paths.h
14583         (set_fortify_handler): Define.
14585         * debug/tst-longjmp_chk.c: Add header comment and include
14586         ../test-skeleton.c.
14587         (do_test): Mark static.
14588         (TEST_FUNCTION): Define.
14590         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14591         (IP_PMTUDISC_INTERFACE): Likewise.
14592         (IP_MULTICAST_IF): Likewise.
14593         (IP_MULTICAST_TTL): Likewise.
14594         (IP_MULTICAST_LOOP): Likewise.
14595         (IP_ADD_MEMBERSHIP): Likewise.
14596         (IP_DROP_MEMBERSHIP): Likewise.
14597         (IP_UNBLOCK_SOURCE): Likewise.
14598         (IP_BLOCK_SOURCE): Likewise.
14599         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14600         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14601         (IP_MSFILTER): Likewise.
14602         (MCAST_JOIN_GROUP): Likewise.
14603         (MCAST_BLOCK_SOURCE): Likewise.
14604         (MCAST_UNBLOCK_SOURCE): Likewise.
14605         (MCAST_LEAVE_GROUP): Likewise.
14606         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14607         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14608         (MCAST_MSFILTER): Likewise.
14609         (IP_MULTICAST_ALL): Likewise.
14610         (IP_UNICAST_IF): Likewise.
14612         * timezone/Makefile: Delete $(have-ksh) check.
14613         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14614         * timezone/tzselect.ksh: Add +x mode bits.
14616         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14617         (ANON_INODE_FS_MAGIC): Likewise.
14618         (BDEVFS_MAGIC): Likewise.
14619         (BINFMTFS_MAGIC): Likewise.
14620         (BTRFS_TEST_MAGIC): Likewise.
14621         (CRAMFS_MAGIC_WEND): Likewise.
14622         (DEBUGFS_MAGIC): Likewise.
14623         (ECRYPTFS_SUPER_MAGIC): Likewise.
14624         (EXT3_SUPER_MAGIC): Likewise.
14625         (EXT4_SUPER_MAGIC): Likewise.
14626         (FUTEXFS_SUPER_MAGIC): Likewise.
14627         (HOSTFS_SUPER_MAGIC): Likewise.
14628         (HUGETLBFS_MAGIC): Likewise.
14629         (MINIX3_SUPER_MAGIC): Likewise.
14630         (MTD_INODE_FS_MAGIC): Likewise.
14631         (NILFS_SUPER_MAGIC): Likewise.
14632         (OPENPROM_SUPER_MAGIC): Likewise.
14633         (PIPEFS_MAGIC): Likewise.
14634         (PSTOREFS_MAGIC): Likewise.
14635         (QNX6_SUPER_MAGIC): Likewise.
14636         (RAMFS_MAGIC): Likewise.
14637         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14638         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14639         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14640         (SECURITYFS_MAGIC): Likewise.
14641         (SELINUX_MAGIC): Likewise.
14642         (SMACK_MAGIC): Likewise.
14643         (SOCKFS_MAGIC): Likewise.
14644         (SQUASHFS_MAGIC): Likewise.
14645         (STACK_END_MAGIC): Likewise.
14646         (TMPFS_MAGIC): Likewise.
14647         (USBDEVICE_SUPER_MAGIC): Likewise.
14648         (V9FS_MAGIC): Likewise.
14649         (XENFS_SUPER_MAGIC): Likewise.
14650         (CRAMFS_MAGIC): Fix typo in comment.
14651         (EXT2_SUPER_MAGIC): Update comment.
14652         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14654 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14656         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14657         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14658         * sysdeps/unix/sysv/linux/arm: Move directory from
14659         ports/sysdeps/unix/sysv/linux/arm.
14660         * README: Update listing for arm-*-linux-gnueabi.
14662         * README: Remove mention of am33.
14664 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14666         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14667         than the comma operator, to avoid "rhs of comma has no effect"
14668         compiler warnings.
14669         (__sigfillset, __sigandset, __sigorset): Likewise.
14670         * include/signal.h (__sigemptyset): Likewise.
14671         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14673 2014-02-07  Allan McRae  <allan@archlinux.org>
14675         * version.h (RELEASE): Set to "development".
14676         (VERSION): Set to "2.19.90"
14677         * NEWS: Add 2.20 section.
14679 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14681         [BZ #16529]
14682         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14684 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14686         * manual/contrib.texi: Update entry for Carlos O'Donell,
14687         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14689 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14691         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14693         * sysdeps/unix/sysv/linux/kernel-features.h
14694         [__LINUX_KERNEL_VERSION >= 0x020621]
14695         (__ASSUME_PROC_PID_TASK_COMM): Define.
14697 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14699         [BZ #16398]
14700         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14701         conversion when destination buffer does not have enough space.
14702         * libio/tst-ftell-partial-wide.c: New test case.
14703         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14705         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14706         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14707         Leonard and Allan McRae.
14709 2014-02-04  David S. Miller  <davem@davemloft.net>
14711         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14712         32-bit.
14714 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14717         New file
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14719         New file
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14721         New file.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14723         New file.
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14725         New file.
14726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14727         New file.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14729         New file.
14730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14731         New file.
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14733         New file.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14735         New file.
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14737         New file.
14738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14739         New file.
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14741         New file.
14743 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14745         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14746         * shlib-versions: Likewise.
14748 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14749             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14751         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14752         (abilist-pattern): New variable, set to %-le.abilist.
14754         * Makerules (abilist-pattern): New variable.
14755         (vpath): Use $(abilist-pattern) in place of %.abilist.
14756         (check-abi-% pattern rule): Likewise.
14757         (check-abi, update-abi): Likewise.
14759 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14763 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14765         * manual/startup.texi: Add next, previous, and top entries for
14766         the `Program Arguments' and `Environment Variables' nodes.
14768 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14770         * manual/macros.texi: Add comments before MTASC-safety macros.
14772         * manual/users.texi: Document MTASC-safety properties.
14774         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14775         (pthread_getspecific, pthread_setspecific): Format with
14776         @deftypefun, and add @safety note.
14777         * manual/signal.texi: Move comments that analyze the above
14778         functions to their home place.
14780 2014-02-03  Allan McRae  <allan@archlinux.org>
14782         * po/sl.po: Update Slovenian translation from translation project.
14784 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14786         * manual/time.texi (timegm): Add missing blank after @c.
14787         Reported by Joseph Myers <joseph@codesourcery.com>.
14789 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14791         * manual/check-safety.sh: New.
14792         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14794         * manual/terminal.texi: Document MTASC-safety properties.
14796         * manual/filesys.texi: Document MTASC-safety properties.
14798         * manual/errno.texi: Document MTASC-safety properties.
14800         * manual/intro.texi: Document safety identifiers and
14801         conditionals.
14803         * manual/string.texi (wcstok): Fix prototype.
14804         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14806         * manual/time.texi: Document MTASC-safety properties.
14808         * manual/string.texi: Document MTASC-safety properties.
14810         * manual/threads.texi: Document MTASC-safety properties.
14812         * manual/stdio.texi: Document MTASC-safety properties.
14814         * manual/syslog.texi: Document MTASC-safety properties.
14816         * manual/sysinfo.texi: Document MTASC-safety properties.
14818         * manual/startup.texi: Document MTASC-safety properties.
14820         * manual/socket.texi: Document MTASC-safety properties.
14822         * manual/signal.texi: Document MTASC-safety properties.
14824 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14826         * manual/setjmp.texi: Document MTASC-safety properties.
14828         * manual/search.texi: Document MTASC-safety properties.
14830         * manual/resource.texi: Document MTASC-safety properties.
14832         * manual/process.texi: Document MTASC-safety properties.
14834         * manual/platform.texi: Document MTASC-safety properties.
14836         * manual/pipe.texi: Document MTASC-safety properties.
14838         * manual/pattern.texi: Document MTASC-safety properties.
14840         * manual/message.texi: Document MTASC-safety properties.
14842         [BZ #12751]
14843         * manual/memory.texi: Document MTASC-safety properties.
14845         * manual/math.texi: Document MTASC-safety properties.
14847         * manual/locale.texi: Document MTASC-safety properties.
14849         * manual/llio.texi: Document MTASC-safety properties.
14851         * manual/libdl.texi: New.
14853         * manual/lang.texi: Document MTASC-safety properties.
14855         * manual/job.texi: Document MTASC-safety properties.
14857         * manual/getopt.texi: Document MTASC-safety properties.
14859         * manual/ctype.texi: Document MTASC-safety properties.
14861 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14863         [BZ #16046]
14864         * csu/libc-tls.c (static_map): Remove variable.
14865         (__libc_setup_tls): Use main executable's link map for TLS data.
14866         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14867         casing for LM_ID_BASE and GL(dl_nns).
14868         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14869         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14870         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14871         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14872         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14873         member.
14874         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14875         l_phnum members.
14877 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14879         * manual/debug.texi: Document MTASC-safety properties.
14881 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14883         [BZ #16510]
14884         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14885         of __x86_64__ when disabling x87 inline functions.
14887 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14889         * manual/charset.texi: Document MTASC-safety properties.
14891         * manual/crypt.texi: Document MTASC-safety properties.
14893         * manual/conf.texi: Document MTASC-safety properties.
14895         * manual/arith.texi: Document MTASC-safety properties.
14897         * manual/argp.texi: Document MTASC-safety properties.
14899         * manual/macros.texi: Introduce macros to document multi
14900         thread, asynchronous signal and asynchronous cancellation
14901         safety properties.
14902         * manual/intro.texi: Introduce the properties themselves.
14904 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14906         * sysdeps/sh/sh4/Makefile: New file.
14908 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14910         * math/gen-libm-test.pl ($srcdir): New variable.
14911         ($auto_input): Use it.
14913 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14915         [BZ #16506]
14916         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14917         access beyond array bounds when parsing netgroups file.
14919         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14920         the old buffer before realloc.
14922 2014-01-27  Allan McRae  <allan@archlinux.org>
14924         * po/fr.po: Update French translation from translation project.
14926 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14928         * sysdeps/sh/libm-test-ulps: Regenerate.
14930 2014-01-24  David S. Miller  <davem@davemloft.net>
14932         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14934 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14936         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14937         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14939 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14941         [BZ #16474]
14942         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14943         string pointers after reallocation.
14945 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14947         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14948         __SH4A__ instead of __SH_FPU_ANY__.
14950 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14952         * sysdeps/sh/fpu_control.h: New file.
14953         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14954         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14955         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14956         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14957         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14958         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14959         * sysdeps/sh/sys/ucontext.h: Remove.
14960         * sysdeps/sh/sys: Remove directory.
14962 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14964         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14965         s390/sys/ucontext.h.
14966         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14967         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14969 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14971         [BZ #15605]
14972         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14974 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14976         [BZ#16431]
14977         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14978         Adjust the vDSO correctly for internal calls.
14979         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14981 2014-01-20  Allan McRae  <allan@archlinux.org>
14983         * po/ca.po: Update Catalan translation from translation project.
14985 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
14987         * sysdeps/s390/sotruss-lib.c: New file.
14989 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14991         [BZ#16430]
14992         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14993         (__GI___gettimeofday): Alias for a different internal symbol to avoid
14994         local calls issues by not having a PLT stub required for IFUNC calls.
14995         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14997 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
14999         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15000         * math/test-fpucw-static.c: Likewise.
15002 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004         [BZ #16453]
15005         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15007 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15009         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15010         implementation for powerpc.
15012 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15014         [BZ #14782]
15015         * sysdeps/posix/system.c (__libc_system): Do not enable
15016         asynchronous cancellation.
15018 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15020         [BZ #16427]
15021         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15022         handling only for numbers special also in the IEEE case.
15024 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15026         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15028 2014-01-11  Allan McRae  <allan@archlinux.org>
15030         * po/bg.po: Update Bulgarian translation from translation project.
15032         * po/de.po: Update German translation from translation project.
15034 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15036         * sysdeps/generic/gcc-compat.h: New file.
15038 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15040         * benchtests/asin-inputs: Correct slow inputs.
15041         * benchtests/acos-inputs: Likewise.
15043 2014-01-10  Allan McRae  <allan@archlinux.org>
15045         * po:sv.po: Update Swedish translation from translation project.
15047         * po/vi.po: Update Vietnamese translation from translation project.
15049         * po/eo.po: Update Esperanto translation from translation project.
15051         * po/cs.po: Update Czech translation from translation project.
15053         * po/nl.po: Update Dutch translation from translation project.
15055         * po/pl.po: Update Polish translation from translation project.
15057         * po/ru.po: Update Russian translation from translation project.
15059         * po/uk.po: Update Ukrainian translation from translation project.
15061 2014-01-08  Brooks Moses  <bmoses@google.com>
15063         * elf/dl-load.c: Fix comment typo.
15065 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15067         * po/header.pot: Rename to...
15068         * po/pot.header: ... this.
15069         * po/Makefile: Use pot.header.
15071 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15072             Maxim Kuvyrkov  <maxim@kugelworks.com>
15074         [BZ #16394]
15075         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15076         SRC and DEST against LEN.
15078 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15080         [BZ #16414]
15081         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15082         implementation.
15083         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15085 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15089 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15091         [BZ #16408]
15092         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15093         for large positive arguments.
15095 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15097         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15099         * math/auto-libm-test-in: Mark various tests with
15100         xfail-rounding:ldbl-128ibm.
15101         * math/auto-libm-test-out: Regenerated.
15103         [BZ #16407]
15104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15105         Increase overflow threshold.
15107 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15109         [BZ #14286]
15110         * stdio-common/vfprintf.c: Check for integer overflow.
15112 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15114         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15115         the first argument and return value of __tls_get_addr_internal.
15117 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15119         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15120         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15122 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15124         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15125         * sysdeps/s390/rtld-global-offsets.sym: New file.
15126         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15127         GLIBC_2.19 symbol.
15128         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15129         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15130         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15131         ... this.
15132         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15133         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15134         ... this.
15135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15136         Regenerate.
15137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15138         Regenerate.
15139         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15140         halfs of GPRs for high_gprs contexts.
15141         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15142         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15143         field.
15144         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15145         uc_flags field.
15146         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15147         64 bit versions:
15148         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15149         for high GPRs (uc_high_gprs) and for future extensions
15150         (__reserved).
15151         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15152         for future extensions (__reserved).
15153         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15154         64 bit versions:
15155         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15156         SC_HIGHGPRS offset definition.
15157         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15158         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15160         * Versions.def: Add GLIBC_2.19 for libpthread.
15161         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15162         siglongjmp for libpthread with GLIBC_2.19 symver.
15163         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15164         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15165         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15166         * sysdeps/s390/__longjmp.c: New file.
15167         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15168         * sysdeps/s390/longjmp.c: New file.
15169         * sysdeps/s390/setjmp.S: New file.
15170         * sysdeps/s390/sigjmp.S: New file.
15171         * sysdeps/s390/v1-longjmp.c: New file.
15172         * sysdeps/s390/v1-setjmp.h: New file.
15173         * sysdeps/s390/v1-sigjmp.c: New file.
15174         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15175         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15176         GLIBC_2.19 version.
15177         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15178         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15179         versioned symbols for ____longjmp_chk.
15180         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15181         Likewise.
15182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15183         Regenerate.
15184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15185         Regenerate.
15186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15187         Regenerate.
15188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15189         Regenerate.
15190         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15191         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15192         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15193         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15194         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15195         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15196         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15197         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15198         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15199         * sysdeps/s390/rtld-__longjmp.c: New file.
15200         * sysdeps/s390/rtld-setjmp.S: New file.
15202 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15204         [BZ #16400]
15205         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15206         Return -__logl (x) for small positive arguments without evaluating
15207         a polynomial.
15209 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15211         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15212         Rename to ...
15213         (__ptrace_peeksiginfo_args): ... this.
15214         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15215         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15216         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15218 2014-01-06  Allan McRae  <allan@archlinux.org>
15220         * inet/netinet/in.h: Fix typo in comment.
15222 2014-01-05  Andreas Jaeger  <aj@suse.de>
15224         * sysdeps/i386/fpu/libm-test-ulps: Update.
15226 2014-01-05  Allan McRae  <allan@archlinux.org>
15228         * po/libc.pot: Regenerated.
15230         * malloc/memusagestat.c: Fix gettext call formatting.
15232 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15234         * nscd/nscd.c: Improve usage() output.
15236 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15238         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15239         * sysdeps/unix/sysv/linux/configure: Regenerated.
15240         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15241         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15243 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #16390]
15246         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15247         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15249 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15251         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15252         extra tokens at end of #undef directive.
15253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15254         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15255         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15257 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15259         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15261         * math/auto-libm-test-in: Mark various tests with
15262         xfail-rounding:ldbl-128ibm.
15263         * math/auto-libm-test-out: Regenerated.
15265 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15267         [BZ #16386]
15268         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15269         numbers with subnormal high part when calculating exponent.
15271         [BZ #16385]
15272         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15273         fabs.
15275         [BZ #16384]
15276         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15277         M_LN2l.
15278         (__ieee754_acoshl): Use __log1pl not __log1p.
15280 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15282         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15283         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15284         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15285         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15286         (reused_arena, arena_get2): Convert to GNU style.
15287         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15288         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15289         (memalign_check, __malloc_set_state): Likewise.
15290         * malloc/mallocbug.c (main): Likewise.
15291         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15292         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15293         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15294         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15295         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15296         (__posix_memalign, malloc_info): Likewise.
15297         * malloc/malloc.h: Likewise.
15298         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15299         (mallochook, memalignhook, reallochook, mabort): Likewise.
15300         * malloc/mcheck.h: Likewise.
15301         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15302         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15303         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15304         * malloc/morecore.c (__default_morecore): Likewise.
15305         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15306         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15307         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15308         (print_and_abort): Likewise.
15309         * malloc/obstack.h: Likewise.
15310         * malloc/set-freeres.c (__libc_freeres): Likewise.
15311         * malloc/tst-mallocstate.c (main): Likewise.
15312         * malloc/tst-mtrace.c (main): Likewise.
15313         * malloc/tst-realloc.c (do_test): Likewise.
15315 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15317         [BZ #16366]
15318         * nscd/netgroupcache.c (do_notfound): New function.
15319         (addgetnetgrentX): Use it.
15321         [BZ # 16365]
15322         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15323         NSS_STATUS_NOTFOUND.
15325 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15327         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15330 2014-01-01  Allan McRae  <allan@archlinux.org>
15332         * scripts/update-copyrights: Update configure input file suffix.
15334         * NEWS: Update copyright year.
15335         * catgets/gencat.c: Likewise.
15336         * csu/version.c: Likewise.
15337         * debug/catchsegv.sh: Likewise.
15338         * debug/pcprofiledump.c: Likewise.
15339         * debug/xtrace.sh: Likewise.
15340         * elf/ldconfig.c: Likewise.
15341         * elf/ldd.bash.in: Likewise.
15342         * elf/pldd.c: Likewise.
15343         * elf/sotruss.ksh: Likewise.
15344         * elf/sprof.c: Likewise.
15345         * iconv/iconv_prog.c: Likewise.
15346         * iconv/iconvconfig.c: Likewise.
15347         * locale/programs/locale.c: Likewise.
15348         * locale/programs/localedef.c: Likewise.
15349         * login/programs/pt_chown.c: Likewise.
15350         * malloc/memusage.sh: Likewise.
15351         * malloc/memusagestat.c: Likewise.
15352         * malloc/mtrace.pl: Likewise.
15353         * manual/libc.texinfo: Likewise.
15354         * nscd/nscd.c: Likewise.
15355         * nss/getent.c: Likewise.
15356         * nss/makedb.c: Likewise.
15357         * posix/getconf.c: Likewise.
15358         * scripts/test-installation.pl: Likewise.
15360         * All files with FSF copyright notices: Update copyright dates
15361         using scripts/update-copyrights.
15362         * intl/plural.c: Regenerated.
15363         * locale/programs/charmap-kw.h: Likewise.
15364         * locale/programs/locfile-kw.h: Likewise.
15366 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15368         * sysdeps/unix/sysv/linux/configure: Regenerated.
15369         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15370         the linux/fanotify.h header.
15371         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15372         HAVE_LINUX_FANOTIFY_H is defined.
15374 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15376         * benchtests/cos-inputs: New inputs.
15377         * benchtests/sin-inputs: Likewise.
15379         * benchtests/atan-inputs: New inputs. Fix name of multiple
15380         precision fallback inputs.
15382         * benchtests/atanh-inputs: New inputs.
15383         * benchtests/tanh-inputs: Likewise.
15385         * benchtests/acosh-inputs: New inputs.
15386         * benchtests/asinh-inputs: Likewise.
15388         * benchtests/cosh-inputs: New inputs.
15389         * benchtests/sinh-inputs: Likewise.
15391         * benchtests/acos-inputs: Add more inputs.
15392         * benchtests/asin-inputs: Likewise.
15394 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15396         [BZ #16375]
15397         * manual/arith.texi: Fix spelling.
15398         * manual/charset.texi: Likewise.
15399         * manual/errno.texi: Likewise.
15400         * manual/filesys.texi: Likewise.
15401         * manual/lang.texi: Likewise.
15402         * manual/llio.texi: Likewise.
15403         * manual/locale.texi: Likewise.
15404         * manual/message.texi: Likewise.
15405         * manual/resource.texi: Likewise.
15406         * manual/search.texi: Likewise.
15407         * manual/setjmp.texi: Likewise.
15408         * manual/stdio.texi: Likewise.
15409         * manual/string.texi: Likewise.
15410         * manual/sysinfo.texi: Likewise.
15411         * manual/time.texi: Likewise.
15413 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15415         * po/sl.po: New file.
15417 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15419         * .gitignore: Add core/.gdbinit/.gdb_history.
15421 2013-12-27  Allan McRae  <allan@archlinux.org>
15423         [BZ #16369]
15424         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15425         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15427 2013-12-24  Brooks Moses  <bmoses@google.com>
15429         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15430         all compilers that claim C++98 compliance, not just GCC.
15431         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15432         Likewise.
15434 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15436         * NEWS: Restore accidentally deleted bug-fix entries.
15438 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15439             Ondřej Bílka  <neleai@seznam.cz>
15441         [BZ #15073]
15442         * malloc/malloc.c (_int_free): Perform sanity check only if we
15443         have_lock.
15445 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15447         [BZ #12986]
15448         * manual/stdio.texi (String Input Conversions): Clarify that character
15449         classes are not supported.
15451 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15455 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15457         [BZ #16337]
15458         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15459         Calculate results for small negative arguments directly rather
15460         than using reflection formula with special underflow handling.
15462         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15463         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15464         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15465         (fchflags): Likewise.
15466         (revoke): Likewise.
15467         (setlogin): Likewise.
15468         (sigaltstack): Likewise.
15469         (wait4): Likewise.
15470         (sigblock): Remove.
15471         (sigsetmask): Likewise.
15472         (wait3): Likewise.
15473         (waitpid): Likewise.
15474         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15475         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15476         file.
15477         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15478         * sysdeps/unix/bsd/Makefile: ... here.
15479         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15480         * sysdeps/unix/bsd/Versions: ... here.
15481         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15482         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15483         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15484         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15485         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15486         * sysdeps/unix/bsd/sigblock.c: ... here.
15487         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15488         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15489         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15490         * sysdeps/unix/bsd/sigvec.c: ... here.
15491         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15492         * sysdeps/unix/bsd/tcdrain.c: ... here.
15493         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15494         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15495         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15496         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15497         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15498         * sysdeps/unix/bsd/wait.c: ... here.
15499         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15500         * sysdeps/unix/bsd/wait3.c: ... here.
15501         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15502         * sysdeps/unix/bsd/waitpid.c: ... here.
15504 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15506         [BZ #16356]
15507         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15508         round-to-nearest for [!USE_AS_EXPM1L].
15509         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15510         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15511         more tests of exp and exp10.  Expect some exp10 tests to miss
15512         exceptions or fail in directed rounding modes.
15513         * math/auto-libm-test-out: Regenerated.
15514         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15515         (exp10_test_tonearest): New function.
15516         (exp10_towardzero_test_data): New array.
15517         (exp10_test_towardzero): New function.
15518         (exp10_downward_test_data): New array.
15519         (exp10_test_downward): New function.
15520         (exp10_upward_test_data): New array.
15521         (exp10_test_upward): New function.
15522         (main): Call the new functions.
15523         * sysdeps/i386/fpu/libm-test-ulps: Update.
15524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15526 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15528         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15529         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15530         * math/auto-libm-test-out: Regenerated.
15531         * math/libm-test.inc (acosh_test_data): Add more tests.
15532         (atanh_test_data): Likewise.
15533         (ceil_test_data): Likewise.
15534         (copysign_test_data): Likewise.
15535         * sysdeps/i386/fpu/libm-test-ulps: Update.
15536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15538         * timezone/checktab.awk: Update from tzcode 2013i.
15539         * timezone/private.h: Likewise.
15540         * timezone/scheck.c: Likewise.
15541         * timezone/tzfile.h: Likewise.
15542         * timezone/tzselect.ksh: Likewise.
15543         * timezone/zdump.c: Likewise.
15544         * timezone/zic.c: Likewise.
15546         * math/auto-libm-test-in: Add tests of cpow.
15547         * math/auto-libm-test-out: Regenerated.
15548         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15549         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15550         mpc_cc_c.
15551         (func_calc_desc): Add mpc_cc_c union field.
15552         (test_functions): Add cpow.
15553         (special_fill_2pi): New function.
15554         (special_real_inputs): Add 2pi.
15555         (calc_generic_results): Handle mpc_cc_c.
15556         * sysdeps/i386/fpu/libm-test-ulps: Update.
15557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15559         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15560         csqrt, ctan and ctanh.
15561         * math/auto-libm-test-out: Regenerated.
15562         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15563         (TEST_COND_x86): Likewise.
15564         (ccos_test_data): Use AUTO_TESTS_c_c.
15565         (ccosh_test_data): Likewise.
15566         (cexp_test_data): Likewise.
15567         (clog_test_data): Likewise.
15568         (csqrt_test_data): Likewise.
15569         (ctan_test_data): Likewise.
15570         (ctan_tonearest_test_data): Likewise.
15571         (ctan_towardzero_test_data): Likewise.
15572         (ctan_downward_test_data): Likewise.
15573         (ctan_upward_test_data): Likewise.
15574         (ctanh_test_data): Likewise.
15575         (ctanh_tonearest_test_data): Likewise.
15576         (ctanh_towardzero_test_data): Likewise.
15577         (ctanh_downward_test_data): Likewise.
15578         (ctanh_upward_test_data): Likewise.
15579         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15580         mpc_c_c.
15581         (func_calc_desc): Add mpc_c_c union field.
15582         (FUNC_mpc_c_c): New macro.
15583         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15584         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15585         ctanh.
15586         (special_fill_min_subnorm_p120): New function.
15587         (special_real_inputs): Add min_subnorm_p120.
15588         (calc_generic_results): Handle mpc_c_c.
15589         * sysdeps/i386/fpu/libm-test-ulps: Update.
15590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15592 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15594         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15595         (do_sin_slow): New functions.
15596         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15597         (cslow2, csloww1, csloww2): Use the new functions.
15599         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15600         Use M to change sign of result instead of X.  Assume X is
15601         positive.
15602         (csloww1): Likewise.
15603         (__sin): Adjust.
15604         (__cos): Adjust.
15606         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15607         arguments A and DA.
15608         (__sin): Adjust.
15609         (__cos): Likewise.
15611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15612         (__cos): Likewise.
15613         (sloww1): Don't adjust sign of DX.
15614         (csloww1): Likewise.
15615         (sloww2): Use X directly and don't adjust sign of DX.
15616         (csloww2): Likewise.
15618 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15620         * math/auto-libm-test-in: Add tests of cabs and carg.
15621         * math/auto-libm-test-out: Regenerated.
15622         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15623         (carg_test_data): Likewise.
15624         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15625         mpc_c_f.
15626         (func_calc_desc): Add mpc_c_f union field.
15627         (test_functions): Add cabs and carg.
15628         (calc_generic_results): Handle mpc_c_f.
15630         * sysdeps/powerpc/powerpc32/libgcc-compat.S
15631         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15632         as a macro and a compat symbol.
15633         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15634         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15635         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15636         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15637         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15638         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15639         not use .hidden.
15640         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15641         Likewise.
15642         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15643         Likewise.
15644         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15645         Likewise.
15646         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15647         Likewise.
15648         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15649         Likewise.
15650         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15651         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15652         from GLIBC_2.3.2.
15654 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15658 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15660         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15661         trailing whitespace removed.
15662         * scripts/config.guess: Update to version 2013-11-29.
15663         * scripts/config.sub: Update to version 2013-10-01.
15665         * math/auto-libm-test-in: Add tests of sincos.
15666         * math/auto-libm-test-out: Regenerated.
15667         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15668         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15669         mpfr_f_11.
15670         (func_calc_desc): Add mpfr_f_11 union field.
15671         (test_functions): Add sincos.
15672         (calc_generic_results): Handle mpfr_f_11.
15673         * sysdeps/i386/fpu/libm-test-ulps: Update.
15674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15676 2013-12-19  Andreas Schwab  <schwab@suse.de>
15678         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15679         CALL_MCOUNT.
15680         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15681         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15682         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15684 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15686         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15687         * sysdeps/i386/fpu/libm-test-ulps: Update.
15688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15690         [BZ #16293]
15691         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15692         round-to-nearest mode when using frndint.
15693         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15694         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15696         Likewise.
15697         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15698         sinh test to fail.
15699         * math/auto-libm-test-out: Regenerated.
15700         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15701         (TEST_COND_x86): Likewise.
15702         (expm1_tonearest_test_data): New array.
15703         (expm1_test_tonearest): New function.
15704         (expm1_towardzero_test_data): New array.
15705         (expm1_test_towardzero): New function.
15706         (expm1_downward_test_data): New array.
15707         (expm1_test_downward): New function.
15708         (expm1_upward_test_data): New array.
15709         (expm1_test_upward): New function.
15710         (main): Run the new test functions.
15711         * sysdeps/i386/fpu/libm-test-ulps: Update.
15712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15714         * include/features.h: Update comment documenting feature test
15715         macros.  Mention _DEFAULT_SOURCE in comment.
15716         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15717         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15718         _BSD_SOURCE and _SVID_SOURCE.
15719         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15720         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15721         !_SVID_SOURCE]: Likewise.
15722         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15723         (__USE_POSIX_IMPLICITLY): Define.
15724         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15725         (_POSIX_SOURCE): Undefine and redefine.
15726         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15727         (_POSIX_C_SOURCE): Likewise.
15728         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15729         (Feature Test Macros): Update documentation of default features.
15731 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15733         * benchtests/Makefile: Add bench-strtok.
15734         * benchtests/bench-strtok.c: New file: strtok benchtest.
15736 2013-12-19  Allan McRae  <allan@archlinux.org>
15738         * manual/install.texi: Suppress menu for plain text output.
15739         * INSTALL: Regenerated.
15741 2013-12-18  Brooks Moses  <bmoses@google.com>
15743         [BZ #15846]
15744         * misc/getauxval.c: Include errno.h.
15745         (__getauxval): Set errno to ENOENT if the requested type is not
15746         found.
15747         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15748         don't declare with __attribute_const__.
15749         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15750         * manual/startup.texi: Document that getauxval sets errno.
15752 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15754         * math/auto-libm-test-in: Add tests of jn and yn.
15755         * math/auto-libm-test-out: Regenerated.
15756         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15757         (yn_test_data): Likewise.
15758         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15759         mpfr_if_f.
15760         (func_calc_desc): Add mpfr_if_f union field.
15761         (FUNC_mpfr_if_f): New macro.
15762         (test_functions): Add jn and yn.
15763         (calc_generic_results): Assert type of second input for
15764         mpfr_ff_f.  Handle mpfr_if_f.
15765         (output_for_one_input_case): Disable all checking for arguments
15766         fitting floating-point types in case of an integer argument.
15767         * sysdeps/i386/fpu/libm-test-ulps: Update.
15768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15771         Don't expect fegetround reference in libm.so.
15773 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15775         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15776         $(config-cflags-nofma).
15778 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15780         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15781         * math/auto-libm-test-out: Regenerated.
15783         [BZ #16338]
15784         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15785         to determine exponent and adjust argument to have exponent of -1.
15786         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15787         log2.
15788         * math/auto-libm-test-out: Regenerated.
15789         * sysdeps/i386/fpu/libm-test-ulps: Update.
15790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15792 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15794         * manual/probes.texi: Remove cases when per-thread arenas are
15795         disabled.
15797 2013-12-18  Andreas Schwab  <schwab@suse.de>
15799         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15800         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15801         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15802         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15803         * sysdeps/i386/i686/multiarch/Makefile: Update.
15804         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15806 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15808         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15809         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15811 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15813         [BZ #15968]
15814         Support TZ transition times < 00:00:00.
15815         This is needed for version-3 tz-format files; it supports time
15816         stamps past 2037 for America/Godthab (the only entry in the tz
15817         database for which this change is relevant).
15818         * manual/time.texi (TZ Variable): Document transition times
15819         from -167:59:59 through -00:00:01.
15820         * time/tzset.c (tz_rule): Time of day is now signed.
15821         (__tzset_parse_tz): Parse negative time of day.
15823         Document TZ transition times >= 25:00:00.
15824         * manual/time.texi (TZ Variable): Document transition times from
15825         25:00:00 through 167:59:59.  These are already supported, and this
15826         support will help with version-3 tz-format files.
15828         * manual/time.texi (TZ Variable): Modernize North America example
15829         to reflect current (i.e., 2007-and-later) daylight saving rules.
15831         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15833 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15835         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15836         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15837         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15839         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15840         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15841         * sysdeps/unix/bsd/clock.c: Likewise.
15842         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15843         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15844         * sysdeps/unix/bsd/init-posix.c: Likewise.
15845         * sysdeps/unix/bsd/poll.c: Likewise.
15846         * sysdeps/unix/bsd/ptsname.c: Likewise.
15847         * sysdeps/unix/bsd/seekdir.c: Likewise.
15848         * sysdeps/unix/bsd/setegid.c: Likewise.
15849         * sysdeps/unix/bsd/seteuid.c: Likewise.
15850         * sysdeps/unix/bsd/setgid.c: Likewise.
15851         * sysdeps/unix/bsd/setrgid.c: Likewise.
15852         * sysdeps/unix/bsd/setruid.c: Likewise.
15853         * sysdeps/unix/bsd/setsid.c: Likewise.
15854         * sysdeps/unix/bsd/setuid.c: Likewise.
15855         * sysdeps/unix/bsd/sigaction.c: Likewise.
15856         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15857         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15858         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15859         * sysdeps/unix/bsd/telldir.c: Likewise.
15860         * sysdeps/unix/bsd/times.c: Likewise.
15861         * sysdeps/unix/bsd/usleep.c: Likewise.
15863         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15864         ($(objpfx)libbsd-compat.a): Remove rule.
15866         * include/features.h (__FAVOR_BSD): Do not define.
15867         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15868         features conflicting with POSIX.
15869         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15870         (_BSD_SOURCE): Remove description of not being a subset of other
15871         feature test macros.
15872         * manual/job.texi (getpgrp): Do not document BSD version.
15873         (getpgid): Do not document by reference to BSD getpgrp.
15874         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15875         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15876         * signal/signal.h [__FAVOR_BSD]: Likewise.
15877         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15878         instead of making contents conditional on [__FAVOR_BSD].
15879         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15881 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15885 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15887         [BZ #16314]
15888         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15889         values below 2**-450, not 2**-500.
15890         * math/auto-libm-test-in: Don't allow spurious underflow from
15891         hypot.
15892         * math/auto-libm-test-out: Regenerated.
15894         [BZ #16316]
15895         [BZ #16330]
15896         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15897         values of ha and hb and sort them after adjusting subnormal
15898         arguments.
15899         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15900         Likewise.
15901         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15902         values of ea and eb and sort them after adjusting subnormal
15903         arguments.
15904         * math/auto-libm-test-in: Do not expect some hypot tests of
15905         subnormals to fail.  Add more hypot tests.
15906         * math/auto-libm-test-out: Regenerated.
15908 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15910         [BZ #13304]
15911         * sysdeps/sh/s_fma.c: New file.
15912         * sysdeps/sh/s_fmaf.c: New file.
15913         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15914         version.
15915         * sysdeps/sh/Implies: Add sh/soft-fp.
15917 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15919         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15920         level of indirection to members `objname', `errstring', `malloced'.
15921         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15922         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15923         it as the __longjmp argument (just pass 1 instead).
15924         (_dl_catch_error): Initialize C with argument pointers and address of
15925         volatile local ERRCODE rather than copying values out of C at return.
15927 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15929         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15930         * math/auto-libm-test-out: Regenerated.
15931         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15932         (hypot_test_data): Likewise.
15933         (pow_test_data): Likewise.
15934         (pow_tonearest_test_data): Likewise.
15935         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15936         mpfr_ff_f.
15937         (func_calc_desc): Add mpfr_ff_f union field.
15938         (FUNC_mpfr_ff_f): New macro.
15939         (test_functions): Add atan2, hypot and pow.
15940         (special_fill_min): New function.
15941         (special_fill_minus_min): Likewise.
15942         (special_fill_min_subnorm): Likewise.
15943         (special_fill_minus_min_subnorm): Likewise.
15944         (special_real_inputs): Add min, -min, min_subnorm and
15945         -min_subnorm.
15946         (calc_generic_results): Handle mpfr_ff_f.
15947         * sysdeps/i386/fpu/libm-test-ulps: Update.
15948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15950 2013-12-16  Will Newton  <will.newton@linaro.org>
15952         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15953         (Aligned Memory Blocks): Add documentation for aligned_alloc
15954         and suggest it as an alternative to posix_memalign.
15955         (Hooks for Malloc): Document __memalign_hook is also called
15956         for aligned_alloc.  (Summary of Malloc): Add summary for
15957         aligned alloc.  Document __memalign_hook is also called
15958         for aligned_alloc.
15960 2013-12-16  Will Newton  <will.newton@linaro.org>
15962         * manual/memory.texi (Malloc Examples): Clarify default
15963         alignment documentation.  Suggest posix_memalign rather
15964         than memalign or valloc.
15965         (Aligned Memory Blocks): Remove suggestion to use memalign
15966         or valloc.  Remove obsolete comment about BSD.
15967         Document memalign errno values and mark the function obsolete.
15968         Document posix_memalign returned error codes.  Mark valloc
15969         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15970         called for posix_memalign and valloc.
15971         (Summary of Malloc): Add posix_memalign to function summary.
15972         __memalign_hook is also called for posix_memalign and valloc.
15974 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15976         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15977         TAYLOR_SIN.
15978         (__sin): Adjust.
15979         (__cos): Likewise.
15980         (sloww): Use mynumber union.  Expand ternary operator into
15981         if-else statements.
15982         (cslow): use mynumber union.
15984 2013-12-16  Allan McRae  <allan@archlinux.org>
15986         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15987         * configure: Regenerated.
15989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15991         [BZ #14120]
15992         * configure.ac: Added --enable-maintainer-mode. Check for
15993         autoconf when enabled.
15994         * configure: Regenerated.
15996         * nscd/nscd.service: New file.
15997         * nscd/nscd.tmpfiles: New file.
15999 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16001         [BZ #12100]
16002         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16003         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16004         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16005         (strstr): Add __strstr_sse2_unaligned ifunc.
16006         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16007         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16008         (strcasestr): Remove __strcasestr_sse42 ifunc.
16009         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16013 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16015         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16016         * sysdeps/sh/bits/fenv.h: ... here.
16017         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16019 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16021         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16024         hypotf multiarch implementations.
16025         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16026         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16027         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16028         multiarch hypot for PPC64.
16029         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16030         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16031         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16032         multiarch hypotf for PPC64.
16034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16035         modff multiarch implementations.
16036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16039         multiarch modf for PPC64.
16040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16043         multiarch modff for PPC64.
16045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16046         and logl multiarch implementations.
16047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16050         multiarch logb for PPC64.
16051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16054         multiarch logb for PPC64.
16055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16058         multiarch logb for PPC64.
16060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16061         isinff multiarch implementation.
16062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16063         file.
16064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16066         multiarch isinf for PPC64.
16067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16068         file.
16069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16070         multiarch isinff for PPC64.
16072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16073         finitef multiarch implementation.
16074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16075         file.
16076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16078         multiarch finite for PPC64.
16079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16080         file.
16081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16082         multiarch finitef for PPC64.
16084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16085         lrint multiarch implementation.
16086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16087         file.
16088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16090         multiarch llrint for PPC64.
16091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16092         multiarch lrint for PPC64.
16094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16095         copysignf multiarch implementation.
16096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16097         file.
16098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16099         file.
16100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16101         multiarch copysign for PPC64.
16102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16103         multiarch copysignf for PPC64.
16105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16106         multiarch implementation.
16107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16108         file.
16109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16110         file.
16111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16112         file.
16113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16114         file.
16115         multiarch llround for PPC64.
16116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16117         multiarch trunc for PPC64.
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16119         multiarch truncf for PPC64.
16121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16122         multiarch implementation.
16123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16124         file.
16125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16126         file.
16127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16128         file.
16129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16130         file.
16131         multiarch llround for PPC64.
16132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16133         multiarch round for PPC64.
16134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16135         multiarch roundf for PPC64.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16138         multiarch implementation.
16139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16140         file.
16141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16142         file.
16143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16144         file.
16145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16146         file.
16147         multiarch llround for PPC64.
16148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16149         multiarch floor for PPC64.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16151         multiarch floorf for PPC64.
16153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16154         multiarch implementation.
16155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16156         file.
16157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16158         file.
16159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16160         file.
16161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16162         file.
16163         multiarch llround for PPC64.
16164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16165         multiarch ceil for PPC64.
16166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16167         multiarch ceilf for PPC64.
16169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16170         multiarch implementation.
16171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16172         file.
16173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16174         file.
16175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16176         file.
16177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16178         multiarch llround for PPC64.
16179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16180         multiarch lround for PPC64.
16182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16183         multiarch implementation.
16184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16187         file.
16188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16191         multiarch isnan for PPC64.
16192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16193         multiarch isnanf for PPC64.
16195         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16196         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16197         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16198         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16199         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16202         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16203         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16204         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16205         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16208         multiarch implementations.
16209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16210         (__libc_ifunc_impl_list): Likewise.
16211         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16212         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16214         multiarch stpcpy for PPC64.
16216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16217         multiarch implementations.
16218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16219         (__libc_ifunc_impl_list): Likewise.
16220         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16221         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16222         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16223         multiarch strcpy for PPC64.
16225         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16226         redefine function name.
16227         (_wordcopy_fwd_dest_aligned): Likewise.
16228         (_wordcopy_bwd_aligned): Likewise.
16229         (_wordcopy_bwd_dest_aligned): Likewise.
16230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16231         multiarch implementations.
16232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16233         (__libc_ifunc_impl_list): Likewise.
16234         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16235         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16236         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16237         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16238         multiarch wcscpy for PPC64.
16240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16241         multiarch implementations.
16242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16243         (__libc_ifunc_impl_list): Likewise.
16244         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16245         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16246         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16247         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16248         multiarch wcscpy for PPC64.
16250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16251         multiarch implementations.
16252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16253         (__libc_ifunc_impl_list): Likewise.
16254         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16255         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16256         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16257         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16258         multiarch wcsrchr for PPC64.
16260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16261         multiarch implementations.
16262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16263         (__libc_ifunc_impl_list): Likewise.
16264         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16265         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16266         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16267         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16268         multiarch wcschr for PPC64.
16270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16271         multiarch implementations.
16272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16273         (__libc_ifunc_impl_list): Likewise.
16274         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16275         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16276         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16277         multiarch strchrnul for PPC64.
16279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16280         implementations.
16281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16282         (__libc_ifunc_impl_list): Likewise.
16283         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16284         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16285         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16286         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16287         strchr for PPC64.
16289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16290         implementations.
16291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16292         (__libc_ifunc_impl_list): Likewise.
16293         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16294         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16295         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16296         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16297         strncmp for PPC64.
16299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16300         multiarch implementations.
16301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16302         (__libc_ifunc_impl_list): Likewise.
16303         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16304         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16305         strncasecmp for PPC64.
16306         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16307         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16308         multiarch strncasecmp_l for PPC64.
16310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16311         multiarch implementations.
16312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16313         (__libc_ifunc_impl_list): Likewise.
16314         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16315         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16316         multiarch strcasecmp for PPC64.
16317         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16318         file.
16319         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16320         multiarch strcasecmp_l for PPC64.
16322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16323         implementations.
16324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16325         (__libc_ifunc_impl_list): Likewise.
16326         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16327         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16328         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16329         strnlen for PPC64.
16331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16332         implementations.
16333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16334         (__libc_ifunc_impl_list): Likewise.
16335         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16336         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16337         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16338         strlen for PPC64.
16340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16341         implementations.
16342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16343         (__libc_ifunc_impl_list): Likewise.
16344         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16345         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16346         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16347         rawmemrchr for PPC64.
16349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16350         implementation.
16351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16352         (__libc_ifunc_impl_list): Likewise.
16353         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16354         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16355         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16356         memrchr for PPC64.
16358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16359         implementation.
16360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16361         (__libc_ifunc_impl_list): Likewise.
16362         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16363         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16364         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16365         memchr for PPC64.
16367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16368         implementation.
16369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16370         (__libc_ifunc_impl_list): Likewise.
16371         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16372         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16373         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16374         mempcpy for PPC64.
16376         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16377         avoid cretion of __bzero symbol.
16378         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16379         Likewise.
16380         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16381         Likewise.
16382         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16383         Likewise.
16384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16385         multiarch implementations.
16386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16387         (__libc_ifunc_impl_list): Likewise.
16388         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16389         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16390         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16391         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16392         bzero for PPC32.
16393         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16394         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16395         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16396         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16397         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16398         memset for PPC64.
16399         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16401         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16403         implementations.
16404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16405         (__libc_ifunc_impl_list): Likewise.
16406         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16407         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16408         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16409         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16410         memcmp for PPC64.
16412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16413         multiarch for POWER/PPC64.
16414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16415         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16416         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16417         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16418         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16419         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16420         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16421         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16422         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16423         memcpy for PPC64.
16425         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16426         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16427         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16428         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16429         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16430         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16431         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16432         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16433         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16434         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16435         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16436         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16437         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16438         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16439         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16448 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16450         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16452 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         * benchtests/Makefile (bench): Add exp2 and log2.
16455         (LDLIBS-bench-exp2): Add -lm.
16456         (LDLIBS-bench-log2): Likewise.
16457         * benchtests/exp2-inputs: New inputs file.
16458         * benchtests/log2-inputs: New inputs file.
16459         * benchtests/log-inputs: Add new inputs.
16460         * benchtests/tan-inputs: Likewise.
16462 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16464         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16465         definition...
16466         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16467         (csloww2): ... from here.
16469         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16470         instead of structures.
16471         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16472         (POLYNOMIAL): Likewise.
16473         (TAYLOR_SLOW): Likewise.
16474         (__sin): Likewise.
16475         (__cos): Likewise.
16476         (slow1): Likewise.
16477         (slow2): Likewise.
16478         (sloww): Likewise.
16479         (sloww1); Likewise.
16480         (sloww2): Likewise.
16481         (bsloww1): Likewise.
16482         (bsloww2): Likewise.
16483         (cslow2): Likewise.
16484         (csloww): Likewise.
16485         (csloww1): Likewise.
16486         (csloww2): Likewise.
16488 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16490         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16491         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16492         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16493         * malloc/hooks.c (realloc_check): Likewise.
16495         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16496         * malloc/arena.c: Remove PER_THREAD conditional.
16497         [!PER_THREAD]: Remove code.
16498         (ptmalloc_unlock_all2): Likewise.
16499         (ptmalloc_init): Likewise.
16500         (_int_new_arena): Likewise.
16501         (arena_get2): Likewise.
16502         * malloc/hooks.c (__malloc_get_state): Likewise.
16503         (__malloc_set_state): Likewise.
16504         * malloc/malloc.c: Likewise.
16505         (struct malloc_state): Likewise.
16506         (struct malloc_par): Likewise.
16507         (__libc_realloc): Likewise.
16508         (__libc_mallopt): Likewise.
16510 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16512         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16514 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16516         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16517         macro to a function.  Check for zero perturb_byte.
16518         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16520         * malloc/malloc.c: (force_reg): Remove.
16521         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16522         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16523         force_reg by atomic_forced_read.
16524         * malloc/arena.c (ptmalloc_init): Likewise.
16525         * malloc/hooks.c (top_check): Likewise.
16527 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16531 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16535 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16537         * math/auto-libm-test-in: Add tests of lgamma.
16538         * math/auto-libm-test-out: Regenerated.
16539         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16540         (M_LOG_2_SQRT_PIl): Likewise.
16541         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16542         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16543         mpfr_f_f1.
16544         (func_calc_desc): Add mpfr_f_f1 union field.
16545         (ARGS1): New macro.
16546         (ARGS2): Likewise.
16547         (ARGS3): Likewise.
16548         (ARGS4): Likewise.
16549         (RET1): Likewise.
16550         (RET2): Likewise.
16551         (CALC): Likewise.
16552         (FUNC): Likewise.
16553         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16554         (test_functions): Add lgamma.
16555         (calc_generic_results): Handle mpfr_f_f1.
16556         * sysdeps/i386/fpu/libm-test-ulps: Update.
16557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16559 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16561         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16562         __mpn_add_n for PowerPC64/POWER7.
16563         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16564         __mpn_sub_n for PowerPC64/POWER7.
16566         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16567         __mpn_addmul_1 for PowerPC64.
16568         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16569         __mpn_submul_1 for PowerPC64.
16570         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16571         for PowerPC64.
16572         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16573         for PowerPC64.
16575 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
16577         [BZ #15089]
16578         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16580 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16582         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16584         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16585         add multiarch folders.
16586         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16587         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16588         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16589         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16590         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16591         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16592         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16593         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16594         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16595         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16596         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16605         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16607         New file.
16608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16609         New file.
16610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16611         multiarch __ieee754_hypot for PowerPC32.
16612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16613         New file.
16614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16615         New file.
16616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16617         multiarch __ieee754_hypotf for PowerPC32.
16619         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16620         long_double_symbol only if __logbl is defined.
16621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16622         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16623         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16624         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16626         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16627         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16628         path for implementation.
16629         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16630         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16632         logb, and logbl multiarch implementations for PowerPC32.
16633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16634         file.
16635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16636         file.
16637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16638         multiarch logb for PowerPC32.
16639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16640         file.
16641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16642         file.
16643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16644         multiarch logbf for PowerPC32.
16645         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16647         file.
16648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16649         multiarch logbl implementation for PowerPC32.
16651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16652         and modff multiarch implementations.
16653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16654         New file.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16656         New file.
16657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16658         multiarch modf for PowerPC32.
16659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16660         New file.
16661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16662         New file.
16663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16664         multiarch modff for PowerPC32.
16666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16667         and lrintf multiarch implementations.
16668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16669         New file.
16670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16671         New file.
16672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16673         multiarch lrint for PowerPC32.
16674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16675         file: multiarch lrintf for PowerPC32.
16677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16678         and lroundf multiarch implementations.
16679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16680         New file.
16681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16682         New file.
16683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16684         New file.
16685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16686         multiarch lround for PowerPC32.
16687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16688         file: multiarch lroundf for PowerPC32.
16690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16691         copysign and copysignf multiarch implementations.
16692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16693         New file.
16694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16695         New file.
16696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16697         file: multiarch copysign for PowerPC32.
16698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16699         file: multiarch copysignf for PowerPC32.
16701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16702         and truncf multiarch implementations.
16703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16704         New file.
16705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16706         file.
16707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16708         multiarch trunc for PowerPC32.
16709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16710         New file.
16711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16712         New file.
16713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16714         multiarch truncf for PowerPC32.
16716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16717         and roundf multiarch implementations.
16718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16719         New file.
16720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16721         file.
16722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16723         multiarch round for PowerPC32.
16724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16725         New file.
16726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16727         New file.
16728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16729         multiarch roundf for PowerPC32.
16731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16732         and floorf multiarch implementations.
16733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16734         New file.
16735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16736         file.
16737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16738         multiarch floor for PowerPC32.
16739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16740         New file.
16741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16742         New file.
16743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16744         multiarch floorf for PowerPC32.
16746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16747         and ceilf multiarch implementations.
16748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16749         New file.
16750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16751         file.
16752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16753         multiarch ceil for PowerPC32.
16754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16755         New file.
16756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16757         file.
16758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16759         multiarch ceilf for PowerPC32.
16761         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16762         is defined.
16763         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16764         FINITEF is defined.
16765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16766         and finitef multiarch implementations.
16767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16768         New file.
16769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16770         file.
16771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16772         multiarch finite for PowerPC32.
16773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16774         New file.
16775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16776         file: multiarch finitef for PowerPC32.
16778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16779         and isinff multiarch implementations.
16780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16781         file.
16782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16783         file.
16784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16785         multiarch isinf for PowerPC32.
16786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16787         New file.
16788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16789         multiarch isinff for PowerPC32.
16791         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16792         alias when __isnan is defined.
16793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16794         and isnanf multiarch implementations.
16795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16796         file.
16797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16798         file.
16799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16800         file.
16801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16802         file.
16803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16804         multiarch isnan for PowerPC32.
16805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16806         New file.
16807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16808         New file.
16809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16810         multiarch isnanf for PowerPC32.
16812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16813         and sqrtf multiarch implementations.
16814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16815         file.
16816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16817         file.
16818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16819         multiarch sqrt for PowerPC32.
16820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16821         file.
16822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16823         file.
16824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16825         multiarch sqrtf for PowerPC32.
16827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16828         and llroundf multiarch implementations.
16829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16830         New file.
16831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16832         New file.
16833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16834         New file.
16835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16836         file: multiarch llround for PowerPC32.
16837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16838         file: multiarch llroundf for PowerPC32.
16840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16841         multiarch PowerPC32 fpu implementations.
16842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16843         New file.
16844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16845         New file.
16846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16847         multiarch llrint for PowerPC32.
16848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16849         New file.
16850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16851         New file.
16852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16853         file.
16855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16857         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16858         file.
16859         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16860         file.
16861         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16862         file.
16863         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16864         multiarch wordcopy for PPC32.
16865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16866         wordcopy objects.
16867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16868         (__libc_ifunc_impl_list): Likewise.
16869         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16870         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16871         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16872         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16873         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16874         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16876         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16878         file.
16879         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16880         file.
16881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16882         file.
16883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16884         multiarch wcscpy for PPC32.
16885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16886         multiarch objects.
16887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16888         (__libc_ifunc_impl_list): Likewise.
16889         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16890         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16891         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16892         sysdeps/powerpc/power6/wcscpy.c.
16894         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16896         file.
16897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16898         file.
16899         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16900         file.
16901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16902         multiarch wcsrchr for PPC32.
16903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16904         multiarch objects.
16905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16906         (__libc_ifunc_impl_list): Likewise.
16907         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16908         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16909         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16910         sysdeps/powerpc/power6/wcsrchr.c.
16912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16913         file.
16914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16915         file.
16916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16917         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16918         multiarch wcschr for PPc32.
16919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16920         multiarch objects.
16921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16922         (__libc_ifunc_impl_list): Likewise.
16923         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16924         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16925         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16926         sysdeps/powerpc/power6/wcschr.c.
16928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16929         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16930         file.
16931         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16932         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16933         file: multiarch strchr for PPC32.
16934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16935         multiarch objects.
16936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16937         (__libc_ifunc_impl_list): Likewise.
16939         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16940         name.
16941         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16942         file.
16943         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16944         file.
16945         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16946         multiarch strchrnul for PPC32.
16947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16948         multiarch objects.
16949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16950         (__libc_ifunc_impl_list): Likewise.
16952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16953         file.
16954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16955         multiarch strncasecmp for PPC32.
16956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16957         file.
16958         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16959         multiarch strncasecmp_l for PPC32.
16960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16961         strncasecmp multiarch objects.
16962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16963         (__libc_ifunc_impl_list): Likewise.
16965         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16966         file.
16967         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16968         multiarch strncasecmp for PPC32.
16969         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16970         New file.
16971         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16972         multiarch strcasecmp_l for PPC32.
16973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16974         multiarch objects.
16975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16976         (__libc_ifunc_impl_list): Likewise.
16978         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16979         file.
16980         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16981         file.
16982         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16983         multiarch strncmp for PPC32.
16984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16985         multiarch objects.
16986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16987         (__libc_ifunc_impl_list): Likewise.
16989         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16990         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16991         file.
16992         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16993         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16995         multiarch objects.
16996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16997         (__libc_ifunc_impl_list): Likewise.
16999         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17000         file.
17001         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17002         file.
17003         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17005         multiarch objects.
17006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17007         (__libc_ifunc_impl_list): Likewise.
17009         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17010         file.
17011         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17012         file.
17013         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17014         multiarch rawmemchr for PPC32.
17015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17016         multiarch objects.
17017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17018         (__libc_ifunc_impl_list): Likewise.
17020         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17021         file.
17022         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17023         file.
17024         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17025         file: memrchr multiarch for PPC32.
17026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17027         multiarch objects.
17028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17029         (__libc_ifunc_impl_list): Likewise.
17031         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17032         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17033         file.
17034         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17035         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17036         multiarch memchr for PPC32.
17037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17038         multiarch objects.
17039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17040         (__libc_ifunc_impl_list): Likewise.
17042         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17043         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17044         file.
17045         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17046         file.
17047         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17048         file: multiarch mempcpy for PPC32.
17049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17050         multiarch objects.
17051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17052         (__libc_ifunc_impl_list): Likewise.
17054         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17055         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17056         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17057         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17058         multiarch bzero for PPC32.
17059         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17060         file.
17061         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17062         file.
17063         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17064         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17065         file: multiarch memset for PPC32.
17066         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17068         memset multiarch objects.
17069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17070         (__libc_ifunc_impl_list): Likewise.
17072         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17073         file.
17074         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17076         memcmp for PPC32.
17077         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17079         multiarch objects.
17080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17081         (__libc_ifunc_impl_list): Likewise.
17083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17085         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17086         file.
17087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17088         file.
17089         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17090         file.
17091         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17092         multiarch memcpy for PPC32.
17093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17094         multiarch objects.
17095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17096         (__libc_ifunc_impl_list): Likewise.
17098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17099         support multiarch for POWER/PPC32.
17100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17101         Likewise.
17102         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17104         Implies file to make multiarch folder appers before the fpu and
17105         default folder for power4 configuration.
17107 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17109         * scripts/bench.pl: Append volatile keyword to type.
17111 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17113         * sysdeps/sh/sotruss-lib.c: New file.
17114         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17116 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17120 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17122         [BZ #6810]
17123         * math/w_tgamma.c: Include <errno.h>.
17124         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17125         * math/w_tgammaf.c: Include <errno.h>.
17126         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17127         * math/w_tgammal.c: Include <errno.h>.
17128         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17129         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17130         underflow.  Add more tgamma tests.
17131         * math/auto-libm-test-out: Regenerated.
17132         * sysdeps/i386/fpu/libm-test-ulps: Update.
17133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17135         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17136         sin, sinh, tan, tanh, tgamma, y0 and y1.
17137         * math/auto-libm-test-out: Regenerated.
17138         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17139         (TEST_COND_x86): Likewise.
17140         (M_E2l): Remove macro.
17141         (M_E3l): Likewise.
17142         (M_2_SQRT_PIl): Likewise.
17143         (M_SQRT_PIl): Likewise.
17144         (M_1_DIV_El): Likewise.
17145         (log_test_data): Use AUTO_TESTS_f_f.
17146         (log10_test_data): Likewise.
17147         (log1p_test_data): Likewise.
17148         (log2_test_data): Likewise.
17149         (sin_test_data): Likewise.
17150         (sin_tonearest_test_data): Likewise.
17151         (sin_towardzero_test_data): Likewise.
17152         (sin_downward_test_data): Likewise.
17153         (sin_upward_test_data): Likewise.
17154         (sinh_test_data): Likewise.
17155         (sinh_tonearest_test_data): Likewise.
17156         (sinh_towardzero_test_data): Likewise.
17157         (sinh_downward_test_data): Likewise.
17158         (sinh_upward_test_data): Likewise.
17159         (tan_test_data): Likewise.
17160         (tan_tonearest_test_data): Likewise.
17161         (tan_towardzero_test_data): Likewise.
17162         (tan_downward_test_data): Likewise.
17163         (tan_upward_test_data): Likewise.
17164         (tanh_test_data): Likewise.
17165         (tgamma_test_data): Likewise.
17166         (y0_test_data): Likewise.
17167         (y1_test_data): Likewise.
17168         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17169         (special_real_inputs): Add pi/4.
17170         * sysdeps/i386/fpu/libm-test-ulps: Update.
17171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17173 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17175         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17176         "longjmp_target" static probes.
17177         (__longjmp): Rename to __longjmp_symbol.
17178         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17179         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17180         on which longjmp to generate.
17181         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17182         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17183         probe.
17184         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17185         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17186         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17187         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17188         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17189         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17191         __longjmp_symbol based on which __longjmp to generate.
17192         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17193         probe.
17194         (setjmp): Rename to setjmp_symbol.
17195         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17196         (_setjmp): Rename to _setjmp_symbol.
17197         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17198         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17199         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17200         which setjmp to generate.
17201         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17202         "longjmp_target" static probes.
17204 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17206         * benchtests/README: Add note about output arguments.
17207         * benchtests/bench-sincos.c: Remove file.
17208         * benchtests/sincos-inputs: New file.
17209         * scripts/bench.pl: Identify output arguments and define
17210         static variables for them.
17212         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17214         [BZ #15941]
17215         * Makefile (INSTALL): Add install-plain.texi as the primary
17216         dependency.
17217         * manual/install-plain.texi: New file.
17218         * manual/install.texi: Include node directive only for
17219         non-plaintext output.
17221 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17223         * stdlib/longlong.h: Update from GCC.
17225         [BZ #6807]
17226         [BZ #15901]
17227         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17228         * math/w_j0f.c (y0f): Likewise.
17229         * math/w_j0l.c (__y0l): Likewise.
17230         * math/w_j1.c (y1): Likewise.
17231         * math/w_j1f.c (y1f): Likewise.
17232         * math/w_j1l.c (__y1l): Likewise
17233         * math/w_jn.c (yn): Likewise.
17234         * math/w_jnf.c (ynf): Likewise.
17235         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17236         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17237         value for Bessel function domain errors outside _SVID_ mode.
17238         Adjust sign of return value for yn (negative integer, 0).
17239         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17240         by zero in return for negative x and set sign appropriately for
17241         negative n.
17242         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17243         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17244         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17245         expectations in error cases.
17246         (y1_test_data): Likewise.
17247         (yn_test_data): Likewise.
17248         * sysdeps/i386/fpu/libm-test-ulps: Update.
17249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17251 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17253         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17254         "64" to "64-v1".  Add "64-v2".
17255         (abi-64-options): Rename to ...
17256         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17257         (abi-64-condition): Rename to ...
17258         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17259         (abi-64-ld-soname): Rename to ...
17260         (abi-64-v1-ld-soname): ... this.
17261         (abi-64-v2-options): Define.
17262         (abi-64-v2-condition): Likewise.
17263         (abi-64-v2-ld-soname): Likewise.
17264         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17265         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17270 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17271             Alan Modra  <amodra@gmail.com>
17273         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17274         New versions for use with the ELFv2 ABI.
17275         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17276         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17277         declaration.
17278         (struct La_ppc64v2_retval): Likewise.
17279         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17280         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17281         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17282         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17283         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17284         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17285         Do not save or restore CR.
17286         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17287         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17288         return values for ELFv2 ABI.  Fix location of FPR return registers.
17289         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17290         updated values for _CALL_ELF == 2.
17291         (La_regs, La_retval, int_retval): Likewise.
17293 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17295         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17296         (FRAME_MIN_SIZE_PARM): Likewise.
17297         (FRAME_BACKCHAIN): Likewise.
17298         (FRAME_CR_SAVE): Likewise.
17299         (FRAME_LR_SAVE): Likewise.
17300         (FRAME_TOC_SAVE): Likewise.
17301         (FRAME_PARM_SAVE): Likewise.
17302         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17303         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17304         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17305         (call_mcount_parm_offset): New macro.
17306         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17307         (PROF): Use symbolic stack frame offsets.
17308         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17309         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17310         Redefine in terms of FRAME_MIN_SIZE.
17311         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17312         (_dl_profile_resolve): Likewise.  Update comment.
17313         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17314         symbols stack frame offsets.
17315         (__sigsetjmp): Likewise.
17316         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17317         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17318         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17319         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17322         (FRAME_BACKCHAIN): Remove.
17323         (FRAME_CR_SAVE): Likewise.
17324         (FRAME_LR_SAVE): Likewise.
17325         (FRAME_COMPILER_DW): Likewise.
17326         (FRAME_LINKER_DW): Likewise.
17327         (FRAME_TOC_SAVE): Likewise.
17328         (FRAME_PARM_SAVE): Likewise.
17329         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17330         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17331         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17333         (CHECK_SP): Use symbolic stack frame offsets.
17334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17335         zone" instead of caller's parameter save area for temp storage.
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17337         Likewise.  Also, use symbolic stack frame offsets.
17338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17339         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17340         our own stack frame instead of the caller's.
17341         (__socket): Use symbolic stack frame offsets.
17343 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17344             Alan Modra  <amodra@gmail.com>
17346         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17347         Define.
17348         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17349         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17350         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17351         New function.
17352         (elf_machine_fixup_plt): Call it.
17353         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17354         reloc arguments.
17355         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17356         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17357         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17358         r2 before calling target.
17360 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17361             Alan Modra  <amodra@gmail.com>
17363         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17364         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17365         versions of macros to support ELFv2 ABI.
17366         (LOCALENTRY): New macro.
17367         (ENTRY, EALIGN): Use it.
17368         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17369         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17370         fall through into ENTRY entry point.
17371         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17372         Only define if _CALL_ELF != 2.
17374         (elf_machine_matches_host): Verify ABI version matches.
17375         (RTLD_START): Use LOCALENTRY.
17376         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17377         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17378         (PLT_ENTRY_WORDS): New macro.
17379         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17380         (elf_machine_runtime_setup): Support ELFv2 ABI.
17381         (elf_machine_fixup_plt): Likewise.
17382         (elf_machine_plt_conflict): Likewise.
17383         (resolve_ifunc): Likewise.
17384         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17385         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17388         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17390         (makecontext): Support ELFv2 ABI.
17391         * elf/elf.h (EF_PPC64_ABI): Define.
17393 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17395         * sysdeps/powerpc/powerpc64/sysdep.h
17396         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17397         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17398         (ENTRY) [ASSEMBLER]: ... but instead here ...
17399         (EALIGN) [ASSEMBLER]: ... and here.
17400         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17401         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17402         (ENTRY_2) [!ASSEMBLER]: Use it.
17403         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17404         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17405         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17406         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17407         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17409         Use PPC64_LOAD_FUNCPTR.
17411         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17413 2013-12-04  Alan Modra  <amodra@gmail.com>
17415         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17416         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17417         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17418         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17421         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17422         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17423         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17424         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17425         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17427 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17430         (__makecontext): Fix incorrect CFI when backtracing out of
17431         context created via makecontext.
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17433         (__setcontext): Fix incorrect CFI during switch to new context.
17434         (__novec_setcontext): Likewise.
17436 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17438         [BZ #4772]
17439         * time/strptime_l.c (__strptime_internal): Allow modifiers
17440         in strptime.
17441         * time/tst-strptime.c (day_tests): Add testcase.
17443 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17445         * scripts/bench.pl: Skip over blank lines.
17447 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17449         [BZ #926]
17450         * manual/time.texi (Calendar Time): Clarify what timezone functions
17451         use.
17453 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17457 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17459         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17460         implementation.
17461         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17462         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17463         * debug/memset_chk.c (__memset_chk): Likewise.
17464         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17465         * debug/strncpy_chk.c: Likewise.
17467 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17469         [BZ #15268]
17470         [BZ #15425]
17471         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17472         (__ieee754_exp): For possibly underflowing results, check size of
17473         result and force underflow exception if required.
17474         * math/auto-libm-test-in: Add more tests of exp.
17475         * math/auto-libm-test-out: Regenerated.
17476         * sysdeps/i386/fpu/libm-test-ulps: Update.
17477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17479         [BZ #16283]
17480         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17481         * math/w_exp2f.c (__exp2f): Likewise.
17482         * math/w_exp2l.c (__exp2l): Likewise.
17483         * math/auto-libm-test-in: Do not allow missing errno on exp2
17484         underflow.
17485         * math/auto-libm-test-out: Regenerated.
17487 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17489         [BZ #16274]
17490         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17491         handle filename validation.
17492         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17493         (do_open): Delete.
17495 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17497         [BZ #6786]
17498         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17499         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17500         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17501         <float.h>.
17502         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17503         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17504         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17506         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17507         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17508         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17509         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17510         Add more erfc tests.
17511         * math/auto-libm-test-out: Regenerated.
17512         * sysdeps/i386/fpu/libm-test-ulps: Update.
17513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17515         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17516         exp2, expm1, j0 and j1.
17517         * math/auto-libm-test-out: Regenerated.
17518         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17519         (erfc_test_data): Likewise.
17520         (exp_test_data): Likewise.
17521         (exp_tonearest_test_data): Likewise.
17522         (exp_towardzero_test_data): Likewise.
17523         (exp_downward_test_data): Likewise.
17524         (exp_upward_test_data): Likewise.
17525         (exp10_test_data): Likewise.
17526         (exp2_test_data): Likewise.
17527         (expm1_test_data): Likewise.
17528         (j0_test_data): Likewise.
17529         (j1_test_data): Likewise.
17530         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17531         (input_flag_type): Add flag_xfail_rounding.
17532         (input_flags): Add xfail-rounding.
17533         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17534         (output_for_one_input_case): Handle flag_xfail_rounding.
17535         * sysdeps/i386/fpu/libm-test-ulps: Update.
17536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17538 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17540         [BZ #16289]
17541         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17542         division by 0.
17544 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17546         [BZ #16195]
17547         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17548         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17549         (STAP_PROBE0): New macro.
17550         (STAP_PROBE1): Likewise.
17551         (STAP_PROBE2): Likewise.
17552         (STAP_PROBE3): Likewise.
17553         (STAP_PROBE4): Likewise.
17555 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17557         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17559 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17561         * benchtests/Makefile (bench): Add sqrt.
17562         (LDLIBS-bench-sqrt): New.
17563         * benchtests/sqrt-input: New.
17565 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17567         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17568         (GAIH_EAI): Likewise.
17569         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17570         (gaih_inet): Likewise.
17571         (getaddrinfo): Don't use GAIH_EAI.
17573         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17574         (struct gaih): Remove definition.
17576 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17578         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17579         Use HERRNOP directly.
17581 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17585 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
17587         * math/gen-auto-libm-tests.c (test_functions): Add more
17588         single-argument functions.
17589         (special_fill_pi_2): New function.
17590         (special_fill_minus_pi_2): Likewise.
17591         (special_fill_pi_6): Likewise.
17592         (special_fill_minus_pi_6): Likewise.
17593         (special_fill_pi_3): Likewise.
17594         (special_fill_2pi_3): Likewise.
17595         (special_fill_e): Likewise.
17596         (special_fill_1_e): Likewise.
17597         (special_fill_e_minus_1): Likewise.
17598         (special_real_inputs): Add more special inputs.
17599         (output_for_one_input_case): Do not require ERANGE on underflow to
17600         zero if round-to-nearest result does not underflow to zero, unless
17601         exact results required.
17602         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17603         atan, atanh, cbrt, cos and cosh.
17604         * math/auto-libm-test-out: Regenerated.
17605         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17606         (acos_tonearest_test_data): Likewise.
17607         (acos_towardzero_test_data): Likewise.
17608         (acos_downward_test_data): Likewise.
17609         (acos_upward_test_data): Likewise.
17610         (acosh_test_data): Likewise.
17611         (asin_test_data): Likewise.
17612         (asin_tonearest_test_data): Likewise.
17613         (asin_towardzero_test_data): Likewise.
17614         (asin_upward_test_data): Likewise.
17615         (asinh_test_data): Likewise.
17616         (atan_test_data): Likewise.
17617         (atanh_test_data): Likewise.
17618         (cbrt_test_data): Likewise.
17619         (cos_test_data): Likewise.
17620         (cos_tonearest_test_data): Likewise.
17621         (cos_towardzero_test_data): Likewise.
17622         (cos_downward_test_data): Likewise.
17623         (cos_upward_test_data): Likewise.
17624         (cosh_test_data): Likewise.
17625         (cosh_tonearest_test_data): Likewise.
17626         (cosh_towardzero_test_data): Likewise.
17627         (cosh_downward_test_data): Likewise.
17628         (cosh_upward_test_data): Likewise.
17629         * sysdeps/i386/fpu/libm-test-ulps: Update.
17630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17632 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
17634         [BZ #6787]
17635         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17636         * math/w_exp10f.c (__exp10f): Likewise.
17637         * math/w_exp10l.c (__exp10l): Likewise.
17638         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17639         errno settings in existing tests.
17641         [BZ #14032]
17642         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17643         precision control set to double precision.
17644         * sysdeps/i386/fpu/w_sqrt.c: New file.
17645         * math/auto-libm-test-in: Add more tests.
17646         * math/auto-libm-test-out: Update.
17648         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17649         (sqrt_test_tonearest): New function.
17650         (sqrt_towardzero_test_data): New variable.
17651         (sqrt_test_towardzero): New function.
17652         (sqrt_downward_test_data): New variable.
17653         (sqrt_test_downward): New function.
17654         (sqrt_upward_test_data): New variable.
17655         (sqrt_test_upward): New function.
17656         (main): Call the new functions.
17658         * math/gen-auto-libm-tests.c: New file.
17659         * math/auto-libm-test-in: Likewise.
17660         * math/auto-libm-test-out: New generated file.
17661         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17662         variables.
17663         (%beautify): Add generated representations of zero.
17664         (top level): Set $auto_input and call parse_auto_input.
17665         (beautify): Remove trailing "f" from hex float constants.
17666         (parse_args): Handle XFAIL_TEST.
17667         (convert_condition): New function.
17668         (or_value): Likewise.
17669         (or_cond_value): Likewise.
17670         (generate_testfile): Handle AUTO_TESTS_* lines.
17671         (parse_auto_input): New function.
17672         * math/libm-test.inc (XFAIL_TEST): New macro.
17673         (ERRNO_UNCHANGED): Update value.
17674         (ERRNO_EDOM): Likewise.
17675         (ERRNO_ERANGE): Likewise.
17676         (IGNORE_RESULT): Likewise.
17677         (TEST_COND_flt_32): New macro.
17678         (TEST_COND_dbl_64): Likewise.
17679         (TEST_COND_ldbl_96_intel): Likewise.
17680         (TEST_COND_ldbl_96_m68k): Likewise.
17681         (TEST_COND_ldbl_128): Likewise.
17682         (TEST_COND_ldbl_128ibm): Likewise.
17683         (TEST_COND_long32): Likewise.
17684         (TEST_COND_long64): Likewise.
17685         (TEST_COND_before_rounding): Likewise.
17686         (TEST_COND_after_rounding): Likewise.
17687         (enable_test): Handle XFAIL_TEST flag.
17688         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17689         with finite results.
17690         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17691         auto-libm-test-out.
17693 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17694             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17696         [BZ #16214]
17697         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17698         __tls_get_addr_internal instead of __tls_get_offset in order to
17699         avoid GOT pointer dependency.  Make rtld export
17700         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17701         __tls_get_addr since we are a __tls_get_offset platform.
17702         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17703         GOT pointer being set up before.
17704         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17706 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17708         * manual/math.texi (Errors in Math Functions): Document accuracy
17709         goals.
17711         [BZ #15004]
17712         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17713         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17714         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17715         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17716         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17717         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17718         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17719         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17721         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17722         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17723         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17729         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17730         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17731         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17732         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17733         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17734         Likewise.
17735         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17736         Likewise.
17737         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17738         Likewise.
17739         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17740         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17741         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17742         atomic-feupdateenv and flt-rounds.
17743         * sysdeps/powerpc/nofpu/Versions (libc): Add
17744         __atomic_feholdexcept, __atomic_feclearexcept,
17745         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17746         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17747         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17748         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17749         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17750         here.
17751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17752         Update.
17754         * manual/arith.texi (FP Exceptions): Document that exceptions may
17755         not be raised when matherr is used.
17756         (Math Error Reporting): Document overflow in directed rounding
17757         modes.  Document that errno may not be set when finite values are
17758         returned on overflow.  Document intent to set errno on underflow
17759         only for underflow to zero.
17761         [BZ #16271]
17762         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17763         round-to-nearest then adjust result for other rounding modes.
17764         * include/fenv.h (fegetround): Use libm_hidden_proto.
17765         * math/fegetround.c (fegetround): Use libm_hidden_def.
17766         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17767         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17768         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17769         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17770         Likewise.
17771         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17772         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17773         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17774         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17776 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17778         [BZ #16077]
17779         * nss/Versions (libnss_files): Add
17780         _nss_files_gethostbyname3_r.
17781         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17782         New function.
17783         (HOST_DB_LOOKUP): Remove macro.
17784         (_nss_files_gethostbyname_r): Implement function without the
17785         HOST_DB_LOOKUP macro.
17786         (_nss_files_gethostbyname2_r): Likewise.
17788 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17790         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17792 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17794         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17795         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17796         warning.
17798 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17800         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17801         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17802         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17803         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17804         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17805         __fe_nomask_env_priv and attribute_hidden.
17806         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17807         (libc_feupdateenv_test_ppc): Likewise.
17808         (libc_feresetround_ppc): Likewise.
17809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17810         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17811         compat_symbol macro.
17812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17813         (__fe_nomask_env): Likewise.
17814         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17816 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17818         * string/Makefile: Remove ifunc tests.
17819         * string/test-string.h: Define TEST_IFUNC.
17820         * string/test-bcopy-ifunc.c: Remove.
17821         * string/test-bzero-ifunc.c: Likewise.
17822         * string/test-memccpy-ifunc.c: Likewise.
17823         * string/test-memchr-ifunc.c: Likewise.
17824         * string/test-memcmp-ifunc.c: Likewise.
17825         * string/test-memcpy-ifunc.c: Likewise.
17826         * string/test-memmem-ifunc.c: Likewise.
17827         * string/test-memmove-ifunc.c: Likewise.
17828         * string/test-mempcpy-ifunc.c: Likewise.
17829         * string/test-memrchr-ifunc.c: Likewise.
17830         * string/test-memset-ifunc.c: Likewise.
17831         * string/test-rawmemchr-ifunc.c: Likewise.
17832         * string/test-stpcpy-ifunc.c: Likewise.
17833         * string/test-stpncpy-ifunc.c: Likewise.
17834         * string/test-strcasecmp-ifunc.c: Likewise.
17835         * string/test-strcasestr-ifunc.c: Likewise.
17836         * string/test-strcat-ifunc.c: Likewise.
17837         * string/test-strchr-ifunc.c: Likewise.
17838         * string/test-strchrnul-ifunc.c: Likewise.
17839         * string/test-strcmp-ifunc.c: Likewise.
17840         * string/test-strcpy-ifunc.c: Likewise.
17841         * string/test-strcspn-ifunc.c: Likewise.
17842         * string/test-strlen-ifunc.c: Likewise.
17843         * string/test-strncasecmp-ifunc.c: Likewise.
17844         * string/test-strncat-ifunc.c: Likewise.
17845         * string/test-strncmp-ifunc.c: Likewise.
17846         * string/test-strncpy-ifunc.c: Likewise.
17847         * string/test-strnlen-ifunc.c: Likewise.
17848         * string/test-strpbrk-ifunc.c: Likewise.
17849         * string/test-strrchr-ifunc.c: Likewise.
17850         * string/test-strspn-ifunc.c: Likewise.
17851         * string/test-strstr-ifunc.c: Likewise.
17853 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17855         * benchtests/Makefile: Remove ifunc tests.
17856         * benchtests/bench-string.h: Define TEST_IFUNC.
17857         * benchtests/bench-bcopy-ifunc.c: Remove.
17858         * benchtests/bench-bzero-ifunc.c: Likewise.
17859         * benchtests/bench-memccpy-ifunc.c: Likewise.
17860         * benchtests/bench-memchr-ifunc.c: Likewise.
17861         * benchtests/bench-memcmp-ifunc.c: Likewise.
17862         * benchtests/bench-memcpy-ifunc.c: Likewise.
17863         * benchtests/bench-memmem-ifunc.c: Likewise.
17864         * benchtests/bench-memmove-ifunc.c: Likewise.
17865         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17866         * benchtests/bench-memrchr-ifunc.c: Likewise.
17867         * benchtests/bench-memset-ifunc.c: Likewise.
17868         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17869         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17870         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17871         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17872         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17873         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17874         * benchtests/bench-strcat-ifunc.c: Likewise.
17875         * benchtests/bench-strchr-ifunc.c: Likewise.
17876         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17877         * benchtests/bench-strcmp-ifunc.c: Likewise.
17878         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17879         * benchtests/bench-strcpy-ifunc.c: Likewise.
17880         * benchtests/bench-strcspn-ifunc.c: Likewise.
17881         * benchtests/bench-strlen-ifunc.c: Likewise.
17882         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17883         * benchtests/bench-strncat-ifunc.c: Likewise.
17884         * benchtests/bench-strncmp-ifunc.c: Likewise.
17885         * benchtests/bench-strncpy-ifunc.c: Likewise.
17886         * benchtests/bench-strnlen-ifunc.c: Likewise.
17887         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17888         * benchtests/bench-strrchr-ifunc.c: Likewise.
17889         * benchtests/bench-strsep-ifunc.c: Likewise.
17890         * benchtests/bench-strspn-ifunc.c: Likewise.
17891         * benchtests/bench-strstr-ifunc.c: Likewise.
17893 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17895         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17897 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17899         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17900         * rt/aio.h: Likewise.
17901         * sysdeps/gnu/bits/utmp.h: Likewise.
17902         * sysdeps/gnu/bits/utmpx.h: Likewise.
17903         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17904         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17905         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17906         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17907         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17908         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17909         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17910         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17911         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17912         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17913         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17914         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17915         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17917         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17918         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17919         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17920         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17921         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17922         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17923         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17924         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17925         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17926         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17927         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17929         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17930         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17931         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17932         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17933         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17934         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17935         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17936         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17937         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17938         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17939         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17940         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17941         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17942         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17943         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17944         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17946 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17948         [BZ #16245]
17949         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17950         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17952 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17954         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17955         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17956         Likewise.
17958 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17960         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17961         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17962         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17963         (__fesetround): Remove define.
17964         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17965         rounding and exceptions handling.
17966         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17967         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17968         (__fe_nomask_env): Likewise.
17969         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17970         __fegetround instead of fegetround.
17971         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17972         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17974 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17976         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17977         it's there.
17979         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17981 2013-11-21  Meador Inge  <meadori@codesourcery.com>
17983         [BZ #11157]
17984         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17985         (encrypt_r): Likewise.
17986         * malloc/obstack.h (obstack_free): Likewise.
17987         * posix/unistd.h (encrypt): Likewise.
17989 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
17991         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17992         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17993         DL_CALL_DT_FINI() that call the functions directly.
17994         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17995         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17996         * elf/dl-fini.c: Likewise.
17998 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18000         * malloc/hooks.c (memalign_check): Add alignment rounding.
18001         * malloc/malloc.c (_mid_memalign): New function.
18002         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18003         Implement by calling _mid_memalign.
18004         * manual/probes.texi (Memory Allocation Probes): Remove
18005         memory_valloc_retry and memory_pvalloc_retry.
18007 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18009         * locale/programs/locarchive.c (open_archive): Add const
18010         qualifier to ARCHIVEFNAME and copy default fname to
18011         DEFAULT_FNAME.
18013         [BZ #15601]
18014         * libio/tst-widetext.input: Rename Oriya to Odia.
18015         * locale/iso-639.def: Likewise.
18017         * manual/probes.texi (Mathematical Function Probes): Add
18018         documentation for sin, cos, asin and acos probes.
18019         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18020         (__sin32): Add slowasin probe.
18021         (__cos32): Add slowacos probe.
18022         (__mpsin): Add slowsin probe.
18023         (__mpcos): Add slowcos probe.
18025 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18027         [BZ #15483]
18028         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18029         thread-local __sim_exceptions_thread and global
18030         __sim_exceptions_global.
18031         (__sim_disabled_exceptions): Change to thread-local
18032         __sim_disabled_exceptions_thread and global
18033         __sim_disabled_exceptions_global.
18034         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18035         and global __sim_round_mode_global.
18036         (__simulate_exceptions): Use thread-local floating-point state and
18037         set global state from it as needed.
18038         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18039         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18040         __sim_round_mode_thread.
18041         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18042         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18043         and global __sim_exceptions_global.
18044         (__sim_disabled_exceptions): Change to thread-local
18045         __sim_disabled_exceptions_thread and global
18046         __sim_disabled_exceptions_global.
18047         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18048         and global __sim_round_mode_global.
18049         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18050         (SIM_SET_GLOBAL): Likewise.
18051         * sysdeps/powerpc/soft-fp/sfp-machine.h
18052         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18053         __sim_round_mode_thread.
18054         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18055         __sim_disabled_exceptions_thread.
18056         (__sim_exceptions): Change to __sim_exceptions_thread.
18057         (__sim_disabled_exceptions): Change to
18058         __sim_disabled_exceptions_thread.
18059         (__sim_round_mode): Change to __sim_round_mode_thread.
18060         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18061         thread-local floating-point state and set global state from it as
18062         needed.
18063         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18064         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18065         (__sim_disabled_exceptions): Remove extern declaration.
18066         (feenableexcept): Use thread-local floating-point state and set
18067         global state from it as needed.
18068         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18069         extern declaration.
18070         (__sim_disabled_exceptions): Likewise.
18071         (__sim_round_mode): Likewise.
18072         (__fegetenv): Use thread-local floating-point state.
18073         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18074         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18075         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18076         floating-point state and set global state from it as needed.
18077         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18078         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18079         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18080         Likewise.
18081         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18082         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18083         Likewise.
18084         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18085         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18086         Use __sim_round_mode_thread.
18087         * math/test-fenv-tls.c: New file.
18088         * math/Makefile (tests): Add test-fenv-tls.
18089         ($(objpfx)test-fenv-tls): Depend on
18090         $(common-objpfx)nptl/libpthread.so.
18092 2013-11-19  Andreas Schwab  <schwab@suse.de>
18094         * locale/programs/locale.c (show_info): Decode wordarray elements.
18095         * locale/categories.def (LC_MONETARY): Add element for
18096         _NL_MONETARY_CRNCYSTR.
18097         * locale/C-monetary.c (conversion_rate): New variable.
18098         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18099         element.
18101 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18103         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18104         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18106 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18108         * elf/Makefile (tst-auxv): New test.
18109         * elf/tst-auxv.c: New
18110         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18112 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18114         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18115         (hidden_proto): Caller changed.
18116         (hidden_tls_proto): New macro.
18117         (libc_hidden_tls_proto): Likewise.
18118         (rtld_hidden_tls_proto): Likewise.
18119         (libm_hidden_tls_proto): Likewise.
18120         (libresolv_hidden_tls_proto): Likewise.
18121         (librt_hidden_tls_proto): Likewise.
18122         (libdl_hidden_tls_proto): Likewise.
18123         (libnss_files_hidden_tls_proto): Likewise.
18124         (libnsl_hidden_tls_proto): Likewise.
18125         (libnss_nisplus_hidden_tls_proto): Likewise.
18126         (libutil_hidden_tls_proto): Likewise.
18128 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18130         [BZ #10253]
18131         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18132         (decompose_rpath): Defer expansion to fillin_rpath.
18133         (_dl_init_paths): Pass linkmap to fillin_rpath.
18135 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18137         * benchtests/Makefile: Add strsep.
18138         * benchtests/bench-strsep.c: New file: strsep benchtest.
18139         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18141 2013-11-18  Andreas Schwab  <schwab@suse.de>
18143         * locale/programs/locale.c (show_info) [case byte]: Check for
18144         '\377' instead of '\177'.
18145         * locale/C-monetary.c (not_available): Always use "\377".
18146         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18147         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18148         detect unavailable sign_posn locale elements.
18149         * locale/localeconv.c (__localeconv): For grouping and
18150         mon_grouping handle "\177" and "\377" like no grouping.
18151         (INT_ELEM): New macro.  Use it to set all numeric members.
18152         * locale/programs/ld-monetary.c (monetary_read)
18153         <tok_mon_grouping>: Normalize single -1 to the empty string.
18154         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18155         Likewise.
18157 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18159         [BZ #16055]
18160         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18161         when we match (nil).
18162         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18164 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18166         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18167         (NO_TEST_INLINE): Update value.
18168         (ERRNO_UNCHANGED): Likewise.
18169         (ERRNO_EDOM): Likewise.
18170         (ERRNO_ERANGE): Likewise.
18171         (IGNORE_RESULT): Likewise.
18172         (check_float_internal): Check signs of NaN results if
18173         TEST_NAN_SIGN used.
18174         (check_complex): Pass TEST_NAN_SIGN flag through to second
18175         check_float_internal call.
18176         (copysign_test_data): Add tests with quiet NaNs as second
18177         argument.  Use TEST_NAN_SIGN.
18178         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18179         TEST_NAN_SIGN.
18180         (signbit_test_data): Add tests of quiet NaN argument.
18181         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18183         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18184         $ignore_result.
18185         (parse_args): Handle function results specified as IGNORE.
18186         * math/libm-test.inc (IGNORE_RESULT): New macro.
18187         (check_float_internal): Do not check numerical result if flag
18188         IGNORE_RESULT set.
18189         (check_complex): Pass through IGNORE_RESULT to second
18190         check_float_internal call.
18191         (check_int): Do not check numerical result if flag IGNORE_RESULT
18192         set.
18193         (check_long): Likewise.
18194         (check_bool): Likewise.
18195         (check_longlong): Likewise.
18196         (lrint_test_data): Add tests of infinite and NaN arguments.
18197         (lrint_tonearest_test_data): Likewise.
18198         (lrint_towardzero_test_data): Likewise.
18199         (lrint_downward_test_data): Likewise.
18200         (lrint_upward_test_data): Likewise.
18201         (llrint_test_data): Likewise.
18202         (llrint_tonearest_test_data): Likewise.
18203         (llrint_towardzero_test_data): Likewise.
18204         (llrint_downward_test_data): Likewise.
18205         (llrint_upward_test_data): Likewise.
18206         (lround_test_data): Likewise.
18207         (llround_test_data): Likewise.
18209         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18210         (ERRNO_UNCHANGED): Update value.
18211         (ERRNO_EDOM): Likewise.
18212         (ERRNO_ERANGE): Likewise.
18213         (NO_TEST_INLINE_FLOAT): New macro.
18214         (NO_TEST_INLINE_DOUBLE): Likewise.
18215         (enable_test): New function.
18216         (RUN_TEST_f_f): Check enable_test before running test.
18217         (RUN_TEST_2_f): Likewise.
18218         (RUN_TEST_fff_f): Likewise.
18219         (RUN_TEST_c_f): Likewise.
18220         (RUN_TEST_f_f1): Likewise.
18221         (RUN_TEST_fF_f1): Likewise.
18222         (RUN_TEST_fI_f1): Likewise.
18223         (RUN_TEST_ffI_f1): Likewise.
18224         (RUN_TEST_c_c): Likewise.
18225         (RUN_TEST_cc_c): Likewise.
18226         (RUN_TEST_f_i): Likewise.
18227         (RUN_TEST_f_i_tg): Likewise.
18228         (RUN_TEST_ff_i_tg): Likewise.
18229         (RUN_TEST_f_b): Likewise.
18230         (RUN_TEST_f_b_tg): Likewise.
18231         (RUN_TEST_f_l): Likewise.
18232         (RUN_TEST_f_L): Likewise.
18233         (RUN_TEST_fFF_11): Likewise.
18234         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18235         conditionals.
18236         (cosh_test_data): Likewise.
18237         (exp_test_data): Likewise.
18238         (expm1_test_data): Likewise.
18239         (hypot_test_data): Likewise.
18240         (pow_test_data): Likewise.
18241         (sinh_test_data): Likewise.
18242         (tanh_test_data): Likewise.
18243         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18244         flags argument.
18246         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18247         tests with quiet NaN input and output.
18248         (acosh_test_data): Likewise.
18249         (asin_test_data): Likewise.
18250         (asinh_test_data): Likewise.
18251         (atan_test_data): Likewise.
18252         (atanh_test_data): Likewise.
18253         (atan2_test_data): Likewise.
18254         (cbrt_test_data): Likewise.
18255         (cos_test_data): Likewise.
18256         (cosh_test_data): Likewise.
18257         (erf_test_data): Likewise.
18258         (erfc_test_data): Likewise.
18259         (exp_test_data): Likewise.
18260         (exp10_test_data): Likewise.
18261         (exp2_test_data): Likewise.
18262         (expm1_test_data): Likewise.
18263         (hypot_test_data): Likewise.
18264         (j0_test_data): Likewise.
18265         (j1_test_data): Likewise.
18266         (jn_test_data): Likewise.
18267         (lgamma_test_data): Likewise.
18268         (log_test_data): Likewise.
18269         (log10_test_data): Likewise.
18270         (log1p_test_data): Likewise.
18271         (log2_test_data): Likewise.
18272         (pow_test_data): Likewise.
18273         (scalb_test_data): Likewise.
18274         (sin_test_data): Likewise.
18275         (sincos_test_data): Likewise.
18276         (sinh_test_data): Likewise.
18277         (tan_test_data): Likewise.
18278         (tanh_test_data): Likewise.
18279         (tgamma_test_data): Likewise.
18280         (y0_test_data): Likewise.
18281         (y1_test_data): Likewise.
18282         (yn_test_data): Likewise.
18284         [BZ #16167]
18285         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18286         argument being NaN and avoid computations with second argument in
18287         that case.
18288         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18289         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18290         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18292 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18294         * locale/iso-639.def: Add Chitwani Tharu (the).
18296 2013-11-14  Andreas Schwab  <schwab@suse.de>
18298         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18299         word instead of empty string.
18301 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18304         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18306         (__fe_nomask_env): Likewise.
18308 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18310         * benchtests/bench-timing.h: Include time.h.
18312 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18314         [BZ #15997]
18315         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18316         to 3.4.0 for x32.
18317         * sysdeps/unix/sysv/linux/configure: Regenerated.
18319 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18321         [BZ #16151]
18322         * stdlib/strtod_l.c (round_and_return): Do not consider
18323         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18324         exponent one less than half the least subnormal exponent.
18325         * stdlib/test-strtod-round-data: Add more tests.
18326         * stdlib/tst-strtod-round.c (tests): Regenerated.
18328 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18330         [BZ #14143]
18331         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18332         (__fe_mask_env): Likewise.
18333         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18334         libm_hidden_proto and add function prototype.
18335         (__fe_mask_env): Add function prototype.
18336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18337         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18339         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18341         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18343 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18345         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18346         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18348 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18350         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18351         of htab_find_slot().
18353 2013-11-11  David S. Miller  <davem@davemloft.net>
18355         [BZ #16150]
18356         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18357         symbol in the non-vis3 case in static builds.
18358         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18359         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18360         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18361         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18363 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18365         [BZ #387]
18366         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18367         it is empty.
18369 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18371         * benchtests/Makefile: Add bench-strtod.
18372         * benchtests/bench-strtod.c: New file: strtod benchtest
18374 2013-11-11  Andreas Schwab  <schwab@suse.de>
18376         [BZ #16153]
18377         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18378         terminating NUL in key length.
18380 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18382         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18383         Add artificial ODP entry for vDSO symbol for PPC64.
18384         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18385         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18387 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18389         [BZ #15374]
18390         * nss/getent.c (services_keys): Recognize services starting with digit.
18392 2013-11-06  David S. Miller  <davem@davemloft.net>
18394         [BZ #15985]
18395         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18396         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18398 2013-11-06  Will Newton  <will.newton@linaro.org>
18400         * manual/memory.texi (Malloc Examples): Remove register
18401         keyword from examples.
18403 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18405         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18407 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18409         [BZ #6981]
18410         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18411         depending on [__GCC_IEC_559 > 0].
18412         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18413         depending on [__GCC_IEC_559_COMPLEX > 0].
18415 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18417         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18418         to iso-639.def.
18420 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18422         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18424 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18426         [BZ #16112]
18427         * malloc/malloc (malloc_info): Do not handle first bin as
18428         special case.
18430 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18432         * locale/iso-639.def: Add Central Nahuatl (nhn).
18434 2013-11-01  Bruno Haible  <bruno@clisp.org>
18436         [BZ #7003]
18437         * manual/math.texi (BSD Random): Specify range upper bound as
18438         in POSIX.
18440 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18442         * locale/iso-639.def: Add Meadow Mari (mhr).
18444 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18446         [BZ #14752], [BZ #15763]
18447         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18448         Validate name.
18449         * rt/tst_shm.c: Add test for escaping directory.
18451 2013-10-31  Andreas Schwab  <schwab@suse.de>
18453         [BZ #15917]
18454         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18455         followed by 'x' as part of digit sequence.
18456         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18458 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18460         [BZ #16037]
18461         * configure.ac: allow GNU Make 4.0 and greater.
18462         * configure: Regenerated.
18464 2013-10-30  Will Newton  <will.newton@linaro.org>
18466         [BZ #16038]
18467         * malloc/hooks.c (memalign_check): Limit alignment to the
18468         maximum representable power of two.
18469         * malloc/malloc.c (__libc_memalign): Likewise.
18470         * malloc/tst-memalign.c (do_test): Add test for very
18471         large alignment values.
18472         * malloc/tst-posix_memalign.c (do_test): Likewise.
18474 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18476         [BZ #11087]
18477         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18478         (munmap_chunk): Likewise.
18479         (mremap_chunk): Likewise.
18481 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18483         [BZ #15799]
18484         * stdlib/div.c (div): Remove obsolete code.
18485         * stdlib/ldiv.c (ldiv): Likewise.
18486         * stdlib/lldiv.c (lldiv): Likewise.
18488 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18490         [BZ #16071]
18491         * nss/nss_files/files-XXX.c (get_contents_ret): New
18492         enumerator.
18493         (get_contents): New function.
18494         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18496 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18498         * configure.in: Moved to ...
18499         * configure.ac: ... here. Change reference to configure.in
18500         to configure.ac.
18501         * sysdeps/arm/preconfigure.ac: ... here.
18502         configure.in to configure.ac.
18503         * sysdeps/gnu/configure.in: Moved to ...
18504         * sysdeps/gnu/configure.ac: ... here.
18505         * sysdeps/i386/configure.in: Moved to ...
18506         * sysdeps/i386/configure.ac: ... here.
18507         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18508         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18509         * sysdeps/mach/configure.in: Moved to ...
18510         * sysdeps/mach/configure.ac: ... here.
18511         * sysdeps/mach/hurd/configure.in: Moved to ...
18512         * sysdeps/mach/hurd/configure.ac: ... here.
18513         * sysdeps/powerpc/configure.in: Moved to ...
18514         * sysdeps/powerpc/configure.ac: ... here.
18515         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18516         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18517         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18518         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18519         * sysdeps/s390/s390-32/configure.in: Moved to ...
18520         * sysdeps/s390/s390-32/configure.ac: ... here.
18521         * sysdeps/s390/s390-64/configure.in: Moved to ...
18522         * sysdeps/s390/s390-64/configure.ac: ... here.
18523         * sysdeps/sh/configure.in: Moved to ...
18524         * sysdeps/sh/configure.ac: ... here.
18525         * sysdeps/sparc/configure.in: Moved to ...
18526         * sysdeps/sparc/configure.ac: ... here.
18527         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18528         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18529         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18530         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18531         * sysdeps/x86_64/configure.in: Moved to ...
18532         * sysdeps/x86_64/configure.ac: ... here.
18533         * sysdeps/x86_64/preconfigure.in: Moved to ...
18534         * sysdeps/x86_64/preconfigure.ac: ... here.
18535         * aclocal.m4: Change reference to configure.in to configure.ac.
18536         * config.h.in: Likewise.
18537         * manual/install.texi: Likewise.
18538         * manual/maint.texi: Likewise.
18539         * Makefile: Likewise.
18540         * malloc/Makefile: Likewise.
18541         * nscd/Makefile: Likewise.
18542         * Makeconfig: Change reference to configure.in and
18543         preconfigure.in to configure.ac and preconfigure.ac
18544         respectively.
18545         * INSTALL: Regenerated.
18546         * configure: Likewise.
18547         * sysdeps/gnu/configure: Likewise.
18548         * sysdeps/i386/configure: Likewise.
18549         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18550         * sysdeps/mach/configure: Likewise.
18551         * sysdeps/mach/hurd/configure: Likewise.
18552         * sysdeps/powerpc/configure: Likewise.
18553         * sysdeps/powerpc/powerpc32/configure: Likewise.
18554         * sysdeps/powerpc/powerpc64/configure: Likewise.
18555         * sysdeps/s390/s390-32/configure: Likewise.
18556         * sysdeps/s390/s390-64/configure: Likewise.
18557         * sysdeps/sh/configure: Likewise.
18558         * sysdeps/sparc/configure: Likewise.
18559         * sysdeps/unix/sysv/linux/configure: Likewise.
18560         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18561         * sysdeps/x86_64/configure: Likewise.
18562         * sysdeps/x86_64/preconfigure: Likewise.
18564 2013-10-29  Andreas Schwab  <schwab@suse.de>
18566         * stdio-common/Makefile (tst-swscanf-ENV): Define.
18568 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18570         * benchtests/pow-inputs: Add new inputs.
18572         * benchtests/exp-inputs: Add new inputs.
18574         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18575         conditional check for return value.
18576         (__cos32): Likewise.
18578 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18580         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18581         to provide a boost for large inputs with word alignment.
18582         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18583         implementation based on optimized PPC64 strcpy.
18584         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18585         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18586         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18587         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18589 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18591         [BZ #2801]
18592         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18594 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18596         [BZ #14876]
18597         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18598         * time/tst-strptime.c (day_tests): Add testcase.
18600 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18602         [BZ #14029]
18603         * manual/pattern.texi: Acknowledge that fnmatch can fail.
18605 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
18607         [BZ #16074]
18608         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18609         MAP_FAILED on error.
18611 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613         [BZ #16072]
18614         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18615         heap for large requests.
18617 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
18619         [BZ #9954]
18620         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18621         result if the result has no associated interface.
18622         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18623         interface for all 127.X.Y.Z addresses.
18625 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
18627         * locale/iso-639.def: Add Ligurian (lij)
18629 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
18631         [BZ #15825]
18632         * sunrpc/rpc_main.c: Document rpcgen -5.
18634 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18636         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18638 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18640         [BZ #10278]
18641         * posix/glob.c: Match only directories when trailing slash is present.
18642         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18643         (main): Add testcase.
18645 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18647         [BZ #15670]
18648         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18650 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18652         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18653         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18654         AUTH_DES and cindex for FIPS 140-2.
18655         (DES Encryption): Add cindex FIPS 46-3.
18657         * locale/locarchive.h (struct locarhandle): Add fname.
18658         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18659         if an optional argument was specified to --list-archive,
18660         otherwise NULL.
18661         * locale/programs/locarchive.c (show_archive_content): Take new
18662         argument fname and pass it via ah.fname to open_archive.
18663         * locale/programs/localedef.h: Update decl.
18664         (open_archive): If AH->fname is non-null, open that file
18665         rather than the default file name, and don't ignore ENOENT.
18666         (create_archive): Set AH.fname to NULL.
18667         (delete_locales_from_archive): Likewise.
18668         (add_locales_to_archive): Likewise.
18669         * locale/programs/locfile.c (write_all_categories): Likewise.
18671 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18672             Aldy Hernandez  <aldyh@redhat.com>
18674         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18675         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18676         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18677         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18678         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18679         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18680         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18681         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18682         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18683         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18684         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18685         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18686         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18687         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18688         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18689         Likewise.
18690         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18691         Likewise.
18692         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18693         Likewise.
18694         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18695         Likewise.
18696         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18697         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18698         Likewise.
18699         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18700         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18701         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18702         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18703         Likewise.
18704         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18705         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18706         * sysdeps/powerpc/preconfigure: Likewise.
18707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18708         Likewise.
18709         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18710         Replace contents of file by #include of <fenv_libc.h>.
18711         * sysdeps/powerpc/soft-fp/sfp-machine.h
18712         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18713         and <sys/prctl.h>.
18714         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18715         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18716         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18717         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18718         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18719         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18721         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18722         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18723         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18725         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18727         Allow copysignl PLT reference to be missing.
18729 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18730             Joseph Myers  <joseph@codesourcery.com
18732         [BZ #15948]
18733         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18734         single character.
18735         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18737 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18739         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18740         * elf/tst-tls1.c: Likewise.
18741         * elf/tst-tls10.h: Likewise.
18742         * elf/tst-tls14.c: Likewise.
18743         * elf/tst-tls2.c: Likewise.
18744         * elf/tst-tls3.c: Likewise.
18745         * elf/tst-tls4.c: Likewise.
18746         * elf/tst-tls5.c: Likewise.
18747         * elf/tst-tls6.c: Likewise.
18748         * elf/tst-tls7.c: Likewise.
18749         * elf/tst-tls8.c: Likewise.
18750         * elf/tst-tls9.c: Likewise.
18751         * elf/tst-tlsmod1.c: Likewise.
18752         * elf/tst-tlsmod13.c: Likewise.
18753         * elf/tst-tlsmod13a.c: Likewise.
18754         * elf/tst-tlsmod14a.c: Likewise.
18755         * elf/tst-tlsmod16a.c: Likewise.
18756         * elf/tst-tlsmod16b.c: Likewise.
18757         * elf/tst-tlsmod2.c: Likewise.
18758         * elf/tst-tlsmod3.c: Likewise.
18759         * elf/tst-tlsmod4.c: Likewise.
18760         * elf/tst-tlsmod5.c: Likewise.
18761         * elf/tst-tlsmod6.c: Likewise.
18763 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18765         [BZ #12486]
18766         * malloc/malloc.c: remove checks for statistics.
18768 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18770         [BZ #15277]
18771         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18772         * inet/tst-network.c: Add testcase.
18774 2013-10-17  Andreas Schwab  <schwab@suse.de>
18776         [BZ #15218]
18777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18778         to determine canonical name.
18780 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18782         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18783         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18784         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18785         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18786         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18787         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18788         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18789         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18790         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18791         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18792         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18793         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18794         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18795         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18796         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18797         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18799         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18800         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18801         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18802         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18803         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18804         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18805         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18806         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18807         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18808         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18809         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18810         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18811         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18812         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18814         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18815         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18816         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18817         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18818         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18819         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18820         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18821         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18822         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18823         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18824         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18825         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18826         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18827         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18828         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18829         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18830         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18831         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18832         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18833         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18834         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18835         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18836         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18837         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18838         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18839         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18841 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18843         [BZ #16041]
18844         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18845         make result into a quiet NaN.
18847 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18849         * soft-fp/adddf3.c: Fix horizontal whitespace.
18850         * soft-fp/addsf3.c: Likewise.
18851         * soft-fp/addtf3.c: Likewise.
18852         * soft-fp/divdf3.c: Likewise.
18853         * soft-fp/divsf3.c: Likewise.
18854         * soft-fp/divtf3.c: Likewise.
18855         * soft-fp/double.h: Likewise.
18856         * soft-fp/eqdf2.c: Likewise.
18857         * soft-fp/eqsf2.c: Likewise.
18858         * soft-fp/eqtf2.c: Likewise.
18859         * soft-fp/extenddftf2.c: Likewise.
18860         * soft-fp/extended.h: Likewise.
18861         * soft-fp/extendsfdf2.c: Likewise.
18862         * soft-fp/extendsftf2.c: Likewise.
18863         * soft-fp/extendxftf2.c: Likewise.
18864         * soft-fp/fixdfdi.c: Likewise.
18865         * soft-fp/fixdfsi.c: Likewise.
18866         * soft-fp/fixdfti.c: Likewise.
18867         * soft-fp/fixsfdi.c: Likewise.
18868         * soft-fp/fixsfsi.c: Likewise.
18869         * soft-fp/fixsfti.c: Likewise.
18870         * soft-fp/fixtfdi.c: Likewise.
18871         * soft-fp/fixtfsi.c: Likewise.
18872         * soft-fp/fixtfti.c: Likewise.
18873         * soft-fp/fixunsdfdi.c: Likewise.
18874         * soft-fp/fixunsdfsi.c: Likewise.
18875         * soft-fp/fixunsdfti.c: Likewise.
18876         * soft-fp/fixunssfdi.c: Likewise.
18877         * soft-fp/fixunssfsi.c: Likewise.
18878         * soft-fp/fixunssfti.c: Likewise.
18879         * soft-fp/fixunstfdi.c: Likewise.
18880         * soft-fp/fixunstfsi.c: Likewise.
18881         * soft-fp/fixunstfti.c: Likewise.
18882         * soft-fp/floatdidf.c: Likewise.
18883         * soft-fp/floatdisf.c: Likewise.
18884         * soft-fp/floatditf.c: Likewise.
18885         * soft-fp/floatsidf.c: Likewise.
18886         * soft-fp/floatsisf.c: Likewise.
18887         * soft-fp/floatsitf.c: Likewise.
18888         * soft-fp/floattidf.c: Likewise.
18889         * soft-fp/floattisf.c: Likewise.
18890         * soft-fp/floattitf.c: Likewise.
18891         * soft-fp/floatundidf.c: Likewise.
18892         * soft-fp/floatundisf.c: Likewise.
18893         * soft-fp/floatunditf.c: Likewise.
18894         * soft-fp/floatunsidf.c: Likewise.
18895         * soft-fp/floatunsisf.c: Likewise.
18896         * soft-fp/floatunsitf.c: Likewise.
18897         * soft-fp/floatuntidf.c: Likewise.
18898         * soft-fp/floatuntisf.c: Likewise.
18899         * soft-fp/floatuntitf.c: Likewise.
18900         * soft-fp/fmadf4.c: Likewise.
18901         * soft-fp/fmasf4.c: Likewise.
18902         * soft-fp/fmatf4.c: Likewise.
18903         * soft-fp/gedf2.c: Likewise.
18904         * soft-fp/gesf2.c: Likewise.
18905         * soft-fp/getf2.c: Likewise.
18906         * soft-fp/ledf2.c: Likewise.
18907         * soft-fp/lesf2.c: Likewise.
18908         * soft-fp/letf2.c: Likewise.
18909         * soft-fp/muldf3.c: Likewise.
18910         * soft-fp/mulsf3.c: Likewise.
18911         * soft-fp/multf3.c: Likewise.
18912         * soft-fp/negdf2.c: Likewise.
18913         * soft-fp/negsf2.c: Likewise.
18914         * soft-fp/negtf2.c: Likewise.
18915         * soft-fp/op-1.h: Likewise.
18916         * soft-fp/op-2.h: Likewise.
18917         * soft-fp/op-4.h: Likewise.
18918         * soft-fp/op-8.h: Likewise.
18919         * soft-fp/op-common.h: Likewise.
18920         * soft-fp/quad.h: Likewise.
18921         * soft-fp/single.h: Likewise.
18922         * soft-fp/soft-fp.h: Likewise.
18923         * soft-fp/sqrtdf2.c: Likewise.
18924         * soft-fp/sqrtsf2.c: Likewise.
18925         * soft-fp/sqrttf2.c: Likewise.
18926         * soft-fp/subdf3.c: Likewise.
18927         * soft-fp/subsf3.c: Likewise.
18928         * soft-fp/subtf3.c: Likewise.
18929         * soft-fp/truncdfsf2.c: Likewise.
18930         * soft-fp/trunctfdf2.c: Likewise.
18931         * soft-fp/trunctfsf2.c: Likewise.
18932         * soft-fp/trunctfxf2.c: Likewise.
18933         * soft-fp/unorddf2.c: Likewise.
18934         * soft-fp/unordsf2.c: Likewise.
18935         * soft-fp/unordtf2.c: Likewise.
18937 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18939         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18940         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18942 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18944         * elf/dl-libc.c: Clear initfini list after freeing.
18946 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18948         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18949         * soft-fp/addsf3.c: Likewise.
18950         * soft-fp/addtf3.c: Likewise.
18951         * soft-fp/divdf3.c: Likewise.
18952         * soft-fp/divsf3.c: Likewise.
18953         * soft-fp/divtf3.c: Likewise.
18954         * soft-fp/double.h: Likewise.
18955         * soft-fp/eqdf2.c: Likewise.
18956         * soft-fp/eqsf2.c: Likewise.
18957         * soft-fp/eqtf2.c: Likewise.
18958         * soft-fp/extenddftf2.c: Likewise.
18959         * soft-fp/extended.h: Likewise.
18960         * soft-fp/extendsfdf2.c: Likewise.
18961         * soft-fp/extendsftf2.c: Likewise.
18962         * soft-fp/extendxftf2.c: Likewise.
18963         * soft-fp/fixdfdi.c: Likewise.
18964         * soft-fp/fixdfsi.c: Likewise.
18965         * soft-fp/fixdfti.c: Likewise.
18966         * soft-fp/fixsfdi.c: Likewise.
18967         * soft-fp/fixsfsi.c: Likewise.
18968         * soft-fp/fixsfti.c: Likewise.
18969         * soft-fp/fixtfdi.c: Likewise.
18970         * soft-fp/fixtfsi.c: Likewise.
18971         * soft-fp/fixtfti.c: Likewise.
18972         * soft-fp/fixunsdfdi.c: Likewise.
18973         * soft-fp/fixunsdfsi.c: Likewise.
18974         * soft-fp/fixunsdfti.c: Likewise.
18975         * soft-fp/fixunssfdi.c: Likewise.
18976         * soft-fp/fixunssfsi.c: Likewise.
18977         * soft-fp/fixunssfti.c: Likewise.
18978         * soft-fp/fixunstfdi.c: Likewise.
18979         * soft-fp/fixunstfsi.c: Likewise.
18980         * soft-fp/fixunstfti.c: Likewise.
18981         * soft-fp/floatdidf.c: Likewise.
18982         * soft-fp/floatdisf.c: Likewise.
18983         * soft-fp/floatditf.c: Likewise.
18984         * soft-fp/floatsidf.c: Likewise.
18985         * soft-fp/floatsisf.c: Likewise.
18986         * soft-fp/floatsitf.c: Likewise.
18987         * soft-fp/floattidf.c: Likewise.
18988         * soft-fp/floattisf.c: Likewise.
18989         * soft-fp/floattitf.c: Likewise.
18990         * soft-fp/floatundidf.c: Likewise.
18991         * soft-fp/floatundisf.c: Likewise.
18992         * soft-fp/floatunsidf.c: Likewise.
18993         * soft-fp/floatunsisf.c: Likewise.
18994         * soft-fp/floatuntidf.c: Likewise.
18995         * soft-fp/floatuntisf.c: Likewise.
18996         * soft-fp/floatuntitf.c: Likewise.
18997         * soft-fp/fmadf4.c: Likewise.
18998         * soft-fp/fmasf4.c: Likewise.
18999         * soft-fp/fmatf4.c: Likewise.
19000         * soft-fp/gedf2.c: Likewise.
19001         * soft-fp/gesf2.c: Likewise.
19002         * soft-fp/getf2.c: Likewise.
19003         * soft-fp/ledf2.c: Likewise.
19004         * soft-fp/lesf2.c: Likewise.
19005         * soft-fp/letf2.c: Likewise.
19006         * soft-fp/muldf3.c: Likewise.
19007         * soft-fp/mulsf3.c: Likewise.
19008         * soft-fp/multf3.c: Likewise.
19009         * soft-fp/negdf2.c: Likewise.
19010         * soft-fp/negsf2.c: Likewise.
19011         * soft-fp/negtf2.c: Likewise.
19012         * soft-fp/op-1.h: Likewise.
19013         * soft-fp/op-2.h: Likewise.
19014         * soft-fp/op-4.h: Likewise.
19015         * soft-fp/op-8.h: Likewise.
19016         * soft-fp/op-common.h: Likewise.
19017         * soft-fp/quad.h: Likewise.
19018         * soft-fp/single.h: Likewise.
19019         * soft-fp/soft-fp.h: Likewise.
19020         * soft-fp/sqrtdf2.c: Likewise.
19021         * soft-fp/sqrtsf2.c: Likewise.
19022         * soft-fp/sqrttf2.c: Likewise.
19023         * soft-fp/subdf3.c: Likewise.
19024         * soft-fp/subsf3.c: Likewise.
19025         * soft-fp/subtf3.c: Likewise.
19026         * soft-fp/truncdfsf2.c: Likewise.
19027         * soft-fp/trunctfdf2.c: Likewise.
19028         * soft-fp/trunctfsf2.c: Likewise.
19029         * soft-fp/trunctfxf2.c: Likewise.
19030         * soft-fp/unorddf2.c: Likewise.
19031         * soft-fp/unordsf2.c: Likewise.
19032         * soft-fp/unordtf2.c: Likewise.
19034 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19036         [BZ #15672]
19037         * misc/error.c (error_tail): Fix possible buffer overflow.
19039 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19041         [BZ #13028]
19042         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19043         address.
19045 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19047         [BZ #832]
19048         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19049         testing pipefail option.
19051 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19053         * soft-fp/double.h: Indent preprocessor directives inside #if.
19054         * soft-fp/extended.h: Likewise.
19055         * soft-fp/op-2.h: Likewise.
19056         * soft-fp/op-4.h: Likewise.
19057         * soft-fp/op-common.h: Likewise.
19058         * soft-fp/quad.h: Likewise.
19059         * soft-fp/single.h: Likewise.
19060         * soft-fp/soft-fp.h: Likewise.
19062 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19064         * iconv/iconv_prog.c: Fix typos.
19065         * stdio-common/psiginfo-data.h: Likewise.
19067 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19069         [BZ #15764]
19070         * locale/setlocale.c: Fix typo.
19072 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19074         [BZ #16036]
19075         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19076         signaling NaN arguments.
19077         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19078         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19080         [BZ #14910]
19081         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19082         unordered operands.
19083         * soft-fp/gesf2.c (__gesf2): Likewise.
19084         * soft-fp/getf2.c (__getf2): Likewise.
19085         * soft-fp/ledf2.c (__ledf2): Likewise.
19086         * soft-fp/lesf2.c (__lesf2): Likewise.
19087         * soft-fp/letf2.c (__letf2): Likewise.
19089         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19090         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19091         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19092         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19093         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19094         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19095         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19096         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19097         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19098         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19099         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19100         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19101         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19102         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19103         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19104         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19105         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19106         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19107         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19108         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19109         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19110         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19111         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19112         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19113         * soft-fp/floattidf.c (__floattidf): Likewise.
19114         * soft-fp/floattisf.c (__floattisf): Likewise.
19115         * soft-fp/floattitf.c (__floattitf): Likewise.
19116         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19117         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19118         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19119         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19120         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19121         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19122         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19123         * soft-fp/gesf2.c (__gesf2): Likewise.
19124         * soft-fp/getf2.c (__getf2): Likewise.
19125         * soft-fp/ledf2.c (__ledf2): Likewise.
19126         * soft-fp/lesf2.c (__lesf2): Likewise.
19127         * soft-fp/letf2.c (__letf2): Likewise.
19129         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19130         Undefine and redefine.
19131         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19132         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19133         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19134         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19135         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19136         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19137         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19138         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19139         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19140         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19141         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19142         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19143         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19144         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19145         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19147         [BZ #16032]
19148         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19149         without decrementing exponent if mantissa >= that for the
19150         denominator, not >.
19151         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19152         denominator, not >.  Decrement exponent in < case instead of
19153         incrementing in >= case.
19154         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19155         without decrementing exponent if mantissa >= that for the
19156         denominator, not >.
19158         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19159         computing saturated result for unsigned overflow.
19161 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19162             Jeff Law  <law@redhat.com>
19164         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19165         (atan2Mp): Add systemtap probe marker.
19166         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19167         (__ieee754_log): Add systemtap probe marker.
19168         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19169         (atanMp): Add systemtap probe marker.
19170         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19171         (tanMp): Add systemtap probe marker.
19172         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19173         (__slowexp): Add systemtap probe marker.
19174         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19175         (__slowpow): Add systemtap probe marker.
19176         * manual/probes.texi: Document probes.
19178 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19180         [BZ #15362]
19181         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19182         written.
19183         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19184         written.
19185         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19186         written to buffer but not flushed.
19187         * libio/iofwrite_u.c:  Likewise.
19188         * libio/iopadn.c:  Return bytes returned even if EOF was
19189         encountered.
19190         * libio/iowpadn.c:  Likewise.
19191         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19192         if _IO_padn does not write the whole buffer.
19193         [!COMPILE_WPRINTF] (PAD): Likewise.
19195 2013-10-10  David S. Miller  <davem@davemloft.net>
19197         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19198         directory block.
19200 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19202         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19203         instead of FSF address.
19204         * soft-fp/fixdfti.c: Likewise.
19205         * soft-fp/fixsfti.c: Likewise.
19206         * soft-fp/fixtfti.c: Likewise.
19207         * soft-fp/fixunsdfti.c: Likewise.
19208         * soft-fp/fixunssfti.c: Likewise.
19209         * soft-fp/fixunstfti.c: Likewise.
19210         * soft-fp/floattidf.c: Likewise.
19211         * soft-fp/floattisf.c: Likewise.
19212         * soft-fp/floattitf.c: Likewise.
19213         * soft-fp/floatuntidf.c: Likewise.
19214         * soft-fp/floatuntisf.c: Likewise.
19215         * soft-fp/floatuntitf.c: Likewise.
19216         * soft-fp/trunctfxf2.c: Likewise.
19218         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19219         * soft-fp/fixdfti.c: Likewise.
19220         * soft-fp/fixsfti.c: Likewise.
19221         * soft-fp/fixtfti.c: Likewise.
19222         * soft-fp/fixunsdfti.c: Likewise.
19223         * soft-fp/fixunssfti.c: Likewise.
19224         * soft-fp/fixunstfti.c: Likewise.
19225         * soft-fp/floattidf.c: Likewise.
19226         * soft-fp/floattisf.c: Likewise.
19227         * soft-fp/floattitf.c: Likewise.
19228         * soft-fp/floatuntidf.c: Likewise.
19229         * soft-fp/floatuntisf.c: Likewise.
19230         * soft-fp/floatuntitf.c: Likewise.
19231         * soft-fp/trunctfxf2.c: Likewise.
19233 2013-10-10  David S. Miller  <davem@davemloft.net>
19235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19237 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19239         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19240         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19241         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19242         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19243         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19244         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19245         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19247         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19248         for NaNs before doing comparisons on argument.
19249         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19250         Likewise.
19252 2013-10-10  Will Newton  <will.newton@linaro.org>
19254         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19255         passed to _int_memalign does not overflow.
19257 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19259         * scripts/bench.pl: Add include-sources directive.
19260         * benchtests/README: Update documentation.
19262 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19264         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19265         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19266         instead of FP_INIT_ROUNDMODE.
19267         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19268         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19270         [BZ #16034]
19271         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19272         copy class of input value.
19273         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19274         not handle exceptions.
19275         * soft-fp/negsf2.c (__negsf2): Likewise.
19276         * soft-fp/negtf2.c (__negtf2): Likewise.
19277         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19279 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19281         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19282         semicolon.  From Linux kernel.
19284 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19286         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19288 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19290         [BZ #156]
19291         * manual/socket.texi: Added statement about buffer
19292         for gethostbyname2_r.
19294 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19296         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19297         Use .p2align directive instead, throughout.
19298         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19299         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19300         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19301         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19302         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19303         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19304         * sysdeps/x86_64/strchr.S: Likewise.
19305         * sysdeps/x86_64/strrchr.S: Likewise.
19307 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19309         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19311         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19313         * sysdeps/generic/math_private.h (__mpsin1): Remove
19314         declaration.
19315         (__mpcos1): Likewise.
19316         (__mpsin): New argument __range_reduce.
19317         (__mpcos): Likewise.
19318         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19319         (slow): Use __mpsin and __mpcos.
19320         (slow1): Likewise.
19321         (slow2): Likewise.
19322         (sloww): Likewise.
19323         (sloww1): Likewise.
19324         (sloww2): Likewise.
19325         (bsloww): Likewise.
19326         (bsloww1): Likewise.
19327         (bsloww2): Likewise.
19328         (cslow2): Likewise.
19329         (csloww): Likewise.
19330         (csloww1): Likewise.
19331         (csloww2): Likewise.
19332         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19333         range_reduce.  Merge in __mpsin1.
19334         (__mpcos): Likewise.
19335         (__mpsin1): Remove.
19336         (__mpcos1): Likewise.
19338 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19340         * locale/loadlocale.c (_nl_intern_locale_data): Use
19341         LOCFILE_ALIGNED_P.
19342         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19343         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19344         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19345         obstack data is appropriately aligned.
19346         (obstack_int32_grow_fast): Likewise.
19347         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19348         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19349         (add_locale_uint32_array): Likewise.
19351 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19353         * benchtests/Makefile: Remove ARGLIST and RET variables.
19354         ($(objpfx)bench-%.c): Pass only function name to the script.
19355         * benchtests/README: Update documentation.
19356         * benchtests/acos-inputs: Add new directives.
19357         * benchtests/acosh-inputs: Likewise.
19358         * benchtests/asin-inputs: Likewise.
19359         * benchtests/asinh-inputs: Likewise.
19360         * benchtests/atan-inputs: Likewise.
19361         * benchtests/atanh-inputs: Likewise.
19362         * benchtests/cos-inputs: Likewise.
19363         * benchtests/cosh-inputs: Likewise.
19364         * benchtests/exp-inputs: Likewise.
19365         * benchtests/log-inputs: Likewise.
19366         * benchtests/pow-inputs: Likewise.
19367         * benchtests/rint-inputs: Likewise.
19368         * benchtests/sin-inputs: Likewise.
19369         * benchtests/sinh-inputs: Likewise.
19370         * benchtests/tan-inputs: Likewise.
19371         * benchtests/tanh-inputs: Likewise.
19372         * scripts/bench.pl: Add support for new directives.
19374 2013-10-07  Alan Modra  <amodra@gmail.com>
19376         * README: Fix careless merge.
19378 2013-10-05  Alan Modra  <amodra@gmail.com>
19380         * NEWS: Mention powerpc64le support and bugs fixed.
19381         * README: Both big-endian and little-endian powerpc64 supported.
19383 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19385         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19386         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19387         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19388         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19390 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19392         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19393         match prototype.
19395 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19397         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19398         Move -mhard-float appending from
19399         ports/sysdeps/powerpc/powerpc32/Makefile.
19400         [$(with-fp) = yes] (ASFLAGS): Likewise.
19401         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19402         * sysdeps/powerpc/nofpu: Move directory from
19403         ports/sysdeps/powerpc/nofpu.
19404         * sysdeps/powerpc/soft-fp: Move directory from
19405         ports/sysdeps/powerpc/soft-fp.
19406         * sysdeps/powerpc/powerpc32/405: Move directory from
19407         ports/sysdeps/powerpc/powerpc32/405.
19408         * sysdeps/powerpc/powerpc32/440: Move directory from
19409         ports/sysdeps/powerpc/powerpc32/440.
19410         * sysdeps/powerpc/powerpc32/464: Move directory from
19411         ports/sysdeps/powerpc/powerpc32/464.
19412         * sysdeps/powerpc/powerpc32/476: Move directory from
19413         ports/sysdeps/powerpc/powerpc32/476.
19414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19415         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19417         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19419         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19421         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19423         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19424         * README: Update for powerpc-*-linux-gnu software floating point
19425         support in libc.
19427         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19428         case to powerpc/powerpc32*.
19429         * sysdeps/unix/sysv/linux/configure: Regenerated.
19431         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19432         (_FPU_MASK_OM): Define as 0x04.
19433         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19434         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19435         0x00c10080.
19436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19437         0x0000003c.
19438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19441         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19442         getcontext_e500.
19443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19444         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19445         setcontext_e500.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19447         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19448         and setcontext_e500.
19450 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19452         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19454 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19456         * manual/threads.texi (Default Thread Attributes): Fix typo.
19458 2013-10-04  Will Newton  <will.newton@linaro.org>
19460         * malloc/Makefile: Add tst-memalign.
19461         * malloc/tst-memalign.c: New file.
19463         * malloc/tst-posix_memalign.c: Add comments.
19464         (do_test): Add comments and call free on all potentially
19465         allocated pointers. Add space after cast.
19467         * malloc/tst-pvalloc.c: Add comments.
19468         (do_test): Add comments and call free on all potentially
19469         allocated pointers. Remove duplicate check for NULL pointer.
19470         Add space after cast.
19472         * malloc/tst-valloc.c: Add comments.
19473         (do_test): Add comments and call free on all potentially
19474         allocated pointers. Remove duplicate check for NULL pointer.
19475         Add space after cast.
19477 2013-10-04  Alan Modra  <amodra@gmail.com>
19479         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19480         Use stdint types in rather than __attribute__((mode())).
19481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19483 2013-10-04  Alan Modra  <amodra@gmail.com>
19485         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19486         Correct handling of unaligned relocs for little-endian.
19487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19489 2013-10-04  Alan Modra  <amodra@gmail.com>
19491         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19492         * configure: Regenerate.
19493         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19494         * shlib-versions: Likewise.
19496 2013-10-04  Alan Modra  <amodra@gmail.com>
19498         * string/tester.c (test_memrchr): Increment reported test cycle.
19500 2013-10-04  Alan Modra  <amodra@gmail.com>
19502         * string/test-memcpy.c (do_one_test): When reporting errors, print
19503         string address and don't overrun end of string.
19505 2013-10-04  Alan Modra  <amodra@gmail.com>
19507         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19508         insrdi.  Make better use of reg selection to speed exit slightly.
19509         Schedule entry path a little better.  Remove useless "are we done"
19510         checks on entry to main loop.  Handle wrapping around zero address.
19511         Correct main loop count.  Handle single left-over word from main
19512         loop inline rather than by using loop_small.  Remove extra word
19513         case in loop_small caused by wrong loop count.  Add little-endian
19514         support.
19515         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19516         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19517         cache hint.
19518         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19519         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19520         support.  Avoid rlwimi.
19521         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19523 2013-10-04  Alan Modra  <amodra@gmail.com>
19525         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19526         insrdi.  Formatting.
19527         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19528         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19529         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19530         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19531         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19532         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19534 2013-10-04  Alan Modra  <amodra@gmail.com>
19536         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19537         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19538         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19539         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19540         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19541         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19542         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19543         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19544         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19545         use of regs.  Use power7 mtocrf.  Tidy function tails.
19547 2013-10-04  Alan Modra  <amodra@gmail.com>
19549         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19550         Formatting.  Consistently use rXXX register defines or rN defines.
19551         Use early exit labels that avoid restoring unused non-volatile regs.
19552         Make cr field use more consistent with rWORDn compares.  Rename
19553         regs used as shift registers for unaligned loop, using rN defines
19554         for short lifetime/multiple use regs.
19555         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19556         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19557         addi 1,1,64 to pop stack frame.  Simplify return value code.
19558         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19560 2013-10-04  Alan Modra  <amodra@gmail.com>
19562         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19563         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19564         rather than rlwimi.
19565         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19566         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19567         little-endian support.  Correct typos.
19568         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
19569         rather than rlwimi.
19570         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
19571         in loop and entry code to keep "and." results.
19572         (strchr): Add little-endian support.  Comment.  Move cntlzd
19573         earlier in tail.
19574         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19576 2013-10-04  Alan Modra  <amodra@gmail.com>
19578         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19579         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19580         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19581         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19583 2013-10-04  Alan Modra  <amodra@gmail.com>
19585         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19586         (rTMP): Define as r11.
19587         (strcmp): Add little-endian support.  Optimise tail.
19588         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19589         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19590         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19591         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19592         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19593         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19594         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19596 2013-10-04  Alan Modra  <amodra@gmail.com>
19598         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19599         little-endian support.  Remove unnecessary "are we done" tests.
19600         Handle "s" wrapping around zero and extremely large "size".
19601         Correct main loop count.  Handle single left-over word from main
19602         loop inline rather than by using small_loop.  Correct comments.
19603         Delete "zero" tail, use "end_max" instead.
19604         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19606 2013-10-04  Alan Modra  <amodra@gmail.com>
19608         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19609         support.  Don't branch over align.
19610         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19611         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19612         support.  Rearrange tmp reg use to suit.  Comment.
19613         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19615 2013-10-04  Alan Modra  <amodra@gmail.com>
19617         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19619 2013-10-04  Alan Modra  <amodra@gmail.com>
19621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19622         conditional form of branch and link when obtaining pc.
19623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19625 2013-10-04  Alan Modra  <amodra@gmail.com>
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19628         HIWORD/LOWORD.
19629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19632 2013-10-04  Alan Modra  <amodra@gmail.com>
19634         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19635         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19636         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19637         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19638         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19639         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19640         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19641         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19642         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19643         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19645 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19646             Alistair Popple <alistair@ozlabs.au.ibm.com>
19647             Alan Modra <amodra@gmail.com>
19649         [BZ #15723]
19650         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19651         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19652         _dl_hwcap access for little-endian.
19653         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19654         destroy vmx regs when saving unaligned.
19655         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19656         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19657         destroy vmx regs when saving unaligned.
19659 2013-10-04  Alan Modra  <amodra@gmail.com>
19661         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19662         Don't use a union to pack hi/low value.
19664 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19666         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19667         for little-endian.
19668         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19670         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19671         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19672         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19674 2013-10-04  Alan Modra  <amodra@gmail.com>
19676         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19677         constants to usual value for .cst8 section, and remove redundant
19678         high address load.
19679         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19680         constant for 0x1p52.  Load little-endian words of double from
19681         correct stack offsets.
19683 2013-10-04  Alan Modra  <amodra@gmail.com>
19685         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19686         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19687         words of double from correct stack offsets.
19688         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19689         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19690         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19691         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19692         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19693         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19694         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19695         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19696         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19697         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19698         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19699         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19700         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19701         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19702         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19703         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19704         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19706 2013-10-04  Alan Modra  <amodra@gmail.com>
19708         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19709         64-bit int/double union.
19710         (_FPU_SETCW): Likewise.
19711         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19712         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19714 2013-10-04  Alan Modra  <amodra@gmail.com>
19716         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19717         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19719 2013-10-04  Alan Modra  <amodra@gmail.com>
19721         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19722         use vector int constants.
19723         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19725 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19727         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19728         array with long long.
19729         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19730         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19731         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19732         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19733         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19734         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19735         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19736         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19737         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19738         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19739         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19740         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19741         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19743 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19745         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19746         (__signbit): Likewise.  Correct for little-endian.
19747         (__signbitl): Call __signbit.
19748         (lrint): Correct for little-endian.
19749         (lrintf): Call lrint.
19751 2013-10-04  Alan Modra  <amodra@gmail.com>
19753         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19754         union 32-bit int array member with 64-bit int array.
19755         (t515, tm256): Double rather than long double.
19756         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19758 2013-10-04  Alan Modra  <amodra@gmail.com>
19760         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19761         Delete.
19762         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19764         version of math_ldbl.h.
19766 2013-10-04  Alan Modra  <amodra@gmail.com>
19768         [BZ #15734], [BZ #15735]
19769         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19770         all uses of ieee875 long double macros and unions.  Simplify test
19771         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19772         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19773         normalize after ldbl_extract_mantissa, and don't add hidden bit
19774         already handled.  Don't treat low word of ieee854 mantissa like
19775         low word of IBM long double and mask off bit when testing for
19776         zero.
19777         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19778         all uses of ieee875 long double macros and unions.  Simplify tests
19779         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19780         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19781         two1022, instead use their values.  Recognise that tests for large
19782         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19783         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19784         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19785         test for 0.0L and nan.  Correct negation.
19786         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19787         ieee875 long double macros and unions.  Correct output for large
19788         magnitude x.  Correct absolute value calculation.
19789         (__erfcl): Likewise.
19790         * math/libm-test.inc: Add tests for errors discovered in IBM long
19791         double versions of fmodl, remainderl, erfl and erfcl.
19793 2013-10-04  Alan Modra  <amodra@gmail.com>
19795         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19796         all uses of ieee854 long double macros and unions.  Simplify tests
19797         for long doubles that are fully specified by the high double.
19798         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19799         Likewise.
19800         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19801         Remove dead code too.
19802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19803         (__ieee754_ynl): Likewise.
19804         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19805         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19806         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19807         Remove dead code too.
19808         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19809         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19810         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19811         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19812         Simplify.
19813         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19814         Simplify.
19815         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19816         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19817         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19818         Comment on variable precision.
19819         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19820         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19821         Likewise.
19822         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19823         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19824         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19825         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19826         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19828 2013-10-04  Alan Modra  <amodra@gmail.com>
19830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19831         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19832         all uses of ieee854 long double macros and unions.
19833         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19834         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19835         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19836         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19837         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19838         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19839         Likewise.
19840         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19841         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19842         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19843         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19844         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19845         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19846         Simplify sign and nan test too.
19847         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19848         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19849         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19850         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19851         Likewise.
19852         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19853         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19854         Likewise.
19855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19856         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19857         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19858         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19859         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19860         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19862 2013-10-04  Alan Modra  <amodra@gmail.com>
19864         * stdio-common/printf_size.c (__printf_size): Don't use
19865         union ieee854_long_double in fpnum union.
19866         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19867         signbit macro to retrieve sign from long double.
19868         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19869         retrieve sign from long double.
19870         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19871         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19872         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19873         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19874         * math/test-misc.c (main): Don't use union ieee854_long_double.
19876 2013-10-04  Alan Modra  <amodra@gmail.com>
19878         [BZ #15680]
19879         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19880         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19881         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19882         calculation.  Remove unnecessary test for denormal exponent.
19883         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19884         Correct handling of denormals.  Avoid undefined shift behaviour.
19885         Correct normalisation of low mantissa when low double is denormal.
19886         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19887         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19888         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19889         Correct normalisation of low mantissa.  Test for overflow of high
19890         mantissa and normalise.
19891         (ldbl_nearbyint): Use more readable constant for two52.
19892         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19893         (__mpn_construct_long_double): Fix test for overflow of high
19894         mantissa and correct normalisation.  Avoid undefined shift.
19896 2013-10-04  Alan Modra  <amodra@gmail.com>
19898         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19899         (union ibm_extended_long_double): Define as an array of ieee754_double.
19900         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19901         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19902         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19903         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19904         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19905         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19906         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19907         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19908         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19909         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19910         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19912 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19914         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19915         page size instead of calling getpagesize.
19917         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19918         (LOCFILE_ALIGN_MASK): Likewise.
19919         (LOCFILE_ALIGN_UP): Likewise.
19920         (LOCFILE_ALIGNED_P): Likewise.
19921         * locale/programs/ld-collate.c (collate_output): Use the new
19922         macros instead of __alignof__ (int32_t).
19923         * locale/weight.h (findidx): Likewise.
19925 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19927         [BZ #431]
19928         * manual/string.texi: Fix strncat and wcsncat.
19930 2013-10-03  Brooks Moses  <bmoses@google.com>
19932         [BZ #15915]
19933         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19934         * Makerules: ...here, and adjust associated comments.
19936 2013-10-02  Will Newton  <will.newton@linaro.org>
19938         * malloc/Makefile: Add tst-pvalloc.
19939         * malloc/tst-pvalloc.c: New file.
19941 2013-10-02  Will Newton  <will.newton@linaro.org>
19943         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19944         improve test coverage.
19946 2013-10-02  Will Newton  <will.newton@linaro.org>
19948         * malloc/Makefile: Add tst-posix_memalign.
19949         * malloc/tst-posix_memalign.c: New file.
19951 2013-10-01  Eric Blake  <eblake@redhat.com>
19953         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19954         Use __THROWNL rather than __THROW on static functions.
19956 2013-09-30  Petr Machata  <pmachata@redhat.com>
19958         * elf/elf.h (R_AARCH64_ABS16): New macro.
19959         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19960         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19961         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19962         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19963         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19964         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19965         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19966         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19967         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19968         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19969         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19970         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19971         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19972         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19973         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19974         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19975         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19976         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19977         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19978         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19979         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19980         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19981         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19982         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19983         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19984         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19985         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19986         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19987         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19988         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19989         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19990         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19991         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19992         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19993         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19994         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19995         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19996         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19997         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19998         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19999         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20000         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20001         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20002         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20003         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20004         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20005         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20006         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20007         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20008         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20009         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20010         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20011         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20012         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20013         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20014         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20015         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20016         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20017         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20018         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20019         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20020         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20021         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20022         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20023         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20024         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20025         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20026         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20027         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20028         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20029         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20030         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20031         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20032         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20033         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20034         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20035         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20036         (R_AARCH64_TLSDESC_LDR): Likewise.
20037         (R_AARCH64_TLSDESC_ADD): Likewise.
20038         (R_AARCH64_TLSDESC_CALL): Likewise.
20040 2013-09-30  Andreas Schwab  <schwab@suse.de>
20042         [BZ #15048]
20043         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20044         the nss database lookup.
20045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20048 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20050         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20052 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20054         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20055         ${Bash-specific parameter/pattern/string} parameter expansion.
20056         * sysdeps/unix/make-syscalls.sh: Likewise.
20058 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20060         * sysdeps/sh/stackguard-macros.h: New file.
20062 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20066         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20067         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20069         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20071 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20073         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20074         Fix thread ID register.
20076 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20078         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20079         [POSIX || UNIX98]: Require rather than permitting all symbols from
20080         <time.h>.
20081         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20082         element of struct sched_param.
20083         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20084         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20085         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20086         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20087         constant.
20089 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20091         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20092         argument calculation.
20094 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20096         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20097         Expect macro.
20098         [POSIX] (pthread_attr_t): Do not require type.
20099         [POSIX] (pthread_cond_t): Likewise.
20100         [POSIX] (pthread_condattr_t): Likewise.
20101         [POSIX] (pthread_key_t): Likewise.
20102         [POSIX] (pthread_mutex_t): Likewise.
20103         [POSIX] (pthread_mutexattr_t): Likewise.
20104         [POSIX] (pthread_once_t): Likewise.
20105         [POSIX] (pthread_t): Likewise.
20106         [POSIX-based standards] (pthread_atfork): Expect function.
20108 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20109             Richard Sandiford  <richard@codesourcery.com>
20111         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20112         (swap_endianness_p): New extern variable.
20113         (set_big_endian): New inline function.
20114         (maybe_swap_uint32): Likewise.
20115         (maybe_swap_uint32_array): Likewise.
20116         (maybe_swap_uint32_obstack): Likewise.
20117         * locale/programs/locfile.c: Include <stdbool.h>.
20118         (swap_endianness_p): New variable.
20119         (add_locale_uint32): Call maybe_swap_uint32.
20120         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20121         (write_locale_data): Call maybe_swap_uint32_array.
20122         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20123         maybe_swap_uint32.
20124         (obstack_int32_grow_fast): Likewise.
20125         (output_weightwc): Call maybe_swap_uint32_obstack.
20126         (collate_output): Likewise.
20127         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20128         (OPT_LITTLE_ENDIAN): Likewise.
20129         (options): Add --little-endian and --big-endian options.
20130         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20131         * locale/programs/locarchive.c: Include "locfile.h".
20132         (GET): New macro.
20133         (SET): Likewise.
20134         (INC): Likewise.
20135         (create_archive): Use the new macros to access fields of
20136         structures directly mapped from or written to locale archives.
20137         (oldlocrecentcmp): Likewise.
20138         (enlarge_archive): Likewise.
20139         (insert_name): Likewise.
20140         (add_alias): Likewise.
20141         (add_locale): Likewise.
20142         (delete_locales_from_archive): Likewise.
20143         (show_archive_content): Likewise.
20144         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20145         locale data.
20147 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20149         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20150         http://www.gnu.org/doc/freemanuals.texi.
20151         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20153 2013-09-24  Will Newton  <will.newton@linaro.org>
20155         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20156         macro.
20158 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20160         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20161         unsigned char.
20163 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20165         * manual/threads.texi (POSIX Threads): Fix a typo.
20167 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20169         [BZ #14547]
20170         * string/tst-strcoll-overflow.c: New test case.
20171         * string/Makefile (xtests): Add tst-strcoll-overflow.
20172         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20173         cache if string sizes may cause integer overflow.
20175         [BZ #14547]
20176         * string/strcoll_l.c (coll_seq): New members rule, idx,
20177         save_idx and back_us.
20178         (get_next_seq_nocache): New function.
20179         (do_compare_nocache): New function.
20180         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20181         when malloc fails.
20183 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20185         [BZ #15754]
20186         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20187         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20188         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20190         [BZ #15754]
20191         * elf/Makefile (tests): Add tst-ptrguard1.
20192         (tests-static): Add tst-ptrguard1-static.
20193         (tst-ptrguard1-ARGS): Define.
20194         (tst-ptrguard1-static-ARGS): Define.
20195         * elf/tst-ptrguard1.c: New file.
20196         * elf/tst-ptrguard1-static.c: New file.
20197         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20198         * sysdeps/i386/stackguard-macros.h: Likewise.
20199         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20200         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20201         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20202         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20203         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20204         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20206 2013-09-23  Hector Marco  <hecmargi@upv.es>
20207             Ismael Ripoll  <iripoll@disca.upv.es>
20208             Carlos O'Donell  <carlos@redhat.com>
20210         [BZ #15754]
20211         * sysdeps/generic/stackguard-macros.h: Define
20212         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20213         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20214         Define __pointer_chk_guard_local.
20215         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20216         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20218 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20220         [BZ #15859]
20221         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20223 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20225         * include/string.h (__ffs): Declare as hidden.
20226         * string/ffs.c (__ffs): Define as hidden.
20227         * sysdeps/i386/ffs.c (__ffs): Likewise.
20228         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20229         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20230         * sysdeps/s390/ffs.c (__ffs): Likewise.
20231         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20233 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20235         * NEWS: Mention malloc probes.
20237         * malloc/arena.c (new_heap): New memory_heap_new probe.
20238         (grow_heap): New memory_heap_more probe.
20239         (shrink_heap): New memory_heap_less probe.
20240         (heap_trim): New memory_heap_free probe.
20241         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20242         (systrim): New memory_sbrk_less probe.
20243         * manual/probes.texi: Document them.
20245         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20246         * manual/probes.texi: Document it.
20248         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20249         (__libc_realloc): Add memory_realloc_retry probe.
20250         (__libc_memalign): Add memory_memalign_retry probe.
20251         (__libc_valloc): Add memory_valloc_retry probe.
20252         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20253         (__libc_calloc): Add memory_calloc_retry probe.
20254         * manual/probes.texi: Document them.
20256         * malloc/arena.c (get_free_list): Add probe
20257         memory_arena_reuse_free_list.
20258         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20259         and memory_arena_reuse.
20260         (arena_get2) [!PER_THREAD]: Likewise.
20261         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20262         memory_arena_reuse_realloc.
20263         * manual/probes.texi: Document them.
20265         * malloc/malloc.c (__libc_free): Add
20266         memory_mallopt_free_dyn_thresholds probe.
20267         (__libc_mallopt): Add multiple memory_mallopt probes.
20268         * manual/probes.texi: Document them.
20270         * malloc/malloc.c: Include stap-probe.h.
20271         (__libc_mallopt): Add memory_mallopt probe.
20272         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20273         * manual/probes.texi: New.
20274         * manual/Makefile (chapters): Add probes.
20275         * manual/threads.texi: Set next node.
20277 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20279         [BZ #15963, #13985]
20280         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20281         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20282         Add `Chinese' to `nan' entry name.
20284 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20286         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20287         (POLYNOMIAL): Likewise.
20288         (TAYLOR_SINCOS): Likewise.
20289         (TAYLOR_SLOW): Likewise.
20290         (__sin): Use TAYLOR_SINCOS.
20291         (__cos): Likewise.
20292         (slow): Use TAYLOR_SLOW.
20293         (sloww): Likewise.
20294         (bsloww): Likewise.
20295         (csloww): Likewise.
20297 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20299         * stdlib/strtod_l.c: Fix buffer overrun.
20301 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20303         * benchtests/Makefile (bench): Add sincos.
20304         * benchtests/bench-sincos.c: New file.
20306         * math/libm-test.inc (cos_test_data): New test inputs.
20307         (sin_test_data): Likewise.
20309         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20310         macro.
20311         (__sin): Use it.
20312         (__cos): Likewise.
20313         (slow1): Likewise.
20314         (slow2): Likewise.
20315         (sloww1): Likewise.
20316         (sloww2): Likewise.
20317         (bsloww1): Likewise.
20318         (bsloww2): Likewise.
20319         (cslow2): Likewise.
20320         (csloww1): Likewise.
20321         (csloww2): Likewise.
20323         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20324         function.
20325         (__sin): Use it.
20326         (__cos): Likewise.
20328         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20329         gotos.
20330         (__cos): Likewise.
20332 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20334         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20335         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20336         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20337         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20338         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20339         * elf/cache.c (print_entry): Handle the new cache flags.
20341 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20342             Aldy Hernandez  <aldyh@redhat.com>
20344         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20345         Change condition to [_SOFT_FLOAT].
20346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20358         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20361         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20362         declaration.
20364 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20366         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20367         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20368         (__longjmp): Use LOAD_GP to load saved GPRs.
20369         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20370         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20371         (__sigsetjmp): Use SAVE_GP to save GPRs.
20373         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20374         Do not append -msoft-float.
20375         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20377 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20379         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20381 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20383         [BZ #15966]
20384         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20385         (_FPU_GETCW): Use initial "__" on variable and field names but not
20386         on macro parameter name.
20387         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20388         parentheses around reference to macro parameter.
20390 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20392         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20393         prototype.
20394         (ctype_startup): Use uint32_t in cast and sizeof for
20395         ctype->charnames.
20397 2013-09-11  Jia Liu  <proljc@gmail.com>
20399         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20400         __daddr_t_defined.
20401         [__FreeBSD__]: Likewise.
20403 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20406         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20407         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20408         (strchr): Remove __strchr_sse42 ifunc selection.
20409         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20410         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20412 2013-09-11  Will Newton  <will.newton@linaro.org>
20414         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20415         parameter to RES. Remove hardcoded 1000 value.
20416         * benchtests/bench-skeleton.c (main): Pass RES parameter
20417         to TIMING_INIT and multiply result by 1000.
20419 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20423 2013-09-11  Andreas Schwab  <schwab@suse.de>
20425         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20426         if not defined.
20427         (O_TMPFILE) [__USE_GNU]: Define.
20428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20429         Define.
20431 2013-09-11  Will Newton  <will.newton@linaro.org>
20433         [BZ #15857]
20434         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20435         does not overflow.
20437 2013-09-11  Will Newton  <will.newton@linaro.org>
20439         [BZ #15856]
20440         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20441         does not overflow.
20443 2013-09-11  Will Newton  <will.newton@linaro.org>
20445         [BZ #15855]
20446         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20447         does not overflow.
20449 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20451         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20452         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20453         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20454         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20455         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20457 2013-09-10  Allan McRae  <allan@archlinux.org>
20459         [BZ #15748]
20460         * manual/arith.texi (Parsing of Floats): Clarify
20461         cross-reference.
20463         [BZ #15849]
20464         * manual/install.texi (Running make install): Mention
20465         --enable-pt-chown.
20466         * INSTALL: Regenerated.
20468 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20470         * csu/init-first.c (_init): Remove the !SHARED condition around
20471         FPU control word initialization.
20472         * elf/dl-support.c (_dl_fpu_control): New variable.
20473         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20474         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20475         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20476         * math/test-fpucw-static.c: New file.
20477         * math/test-fpucw-ieee.c: New file.
20478         * math/test-fpucw-ieee-static.c: New file.
20479         * math/Makefile (tests): Add `test-fpucw-ieee' and
20480         `$(tests-static)'.
20481         (tests-static): New variable.
20482         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20483         dependency to...
20484         [($(build-shared),yes)]
20485         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20486         ... this.
20487         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20488         New dependency.
20490 2013-09-09  Allan McRae  <allan@archlinux.org>
20492         [BZ #15939]
20493         * manual/string.texi (Collation Functions): Fix typo in
20494         strcoll example.
20495         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20497         [BZ #15893]
20498         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20500         [BZ #15892]
20501         * libio/memstream.c (open_memstream): Fix memory leak.
20502         * libio/wmemstream.c (open_wmemstream): Likewise.
20504         [BZ #15895]
20505         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20507 2013-09-09  Will Newton  <will.newton@linaro.org>
20509         * malloc/Makefile: Add tst-realloc to tests.
20510         * malloc/tst-realloc.c: New file.
20512 2013-09-09  Allan McRae  <allan@archlinux.org>
20514         [BZ #15844]
20515         * COPYING: Update from GNU website to fix FSF address.
20516         * COPYING.LIB: Likewise.
20518 2013-09-06  David S. Miller  <davem@davemloft.net>
20520         * po/zh_TW.po: Update Chinese (traditional) translation from
20521         translation project.
20523 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20524             Joseph Myers  <joseph@codesourcery.com>
20526         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20527         "localeinfo.h".
20528         (obstack_chunk_alloc): New macro.
20529         (obstack_chunk_free): Likewise.
20530         (record_offset): New function.
20531         (init_locale_data): Likewise.
20532         (align_locale_data): Likewise.
20533         (add_locale_empty): Likewise.
20534         (add_locale_raw_data): Likewise.
20535         (add_locale_raw_obstack): Likewise.
20536         (add_locale_string): Likewise.
20537         (add_locale_wstring): Likewise.
20538         (add_locale_uint32): Likewise.
20539         (add_locale_uint32_array): Likewise.
20540         (add_locale_char): Likewise.
20541         (start_locale_structure): Likewise.
20542         (end_locale_structure): Likewise.
20543         (start_locale_prelude): Likewise.
20544         (end_locale_prelude): Likewise.
20545         (write_locale_data): Take locale_file structure rather than an
20546         iovec.
20547         * locale/programs/locfile.h: Include "obstack.h".
20548         (struct locale_file): Change to store locale file contents instead
20549         of header.
20550         (init_locale_data): New prototype.
20551         (align_locale_data): Likewise.
20552         (add_locale_empty): Likewise.
20553         (add_locale_raw_data): Likewise.
20554         (add_locale_raw_obstack): Likewise.
20555         (add_locale_string): Likewise.
20556         (add_locale_wstring): Likewise.
20557         (add_locale_uint32): Likewise.
20558         (add_locale_uint32_array): Likewise.
20559         (add_locale_char): Likewise.
20560         (start_locale_structure): Likewise.
20561         (end_locale_structure): Likewise.
20562         (start_locale_prelude): Likewise.
20563         (end_locale_prelude): Likewise.
20564         (write_locale_data): Update prototype.
20565         * locale/programs/3level.h (struct TABLE): Remove result field.
20566         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20567         Use new locale_file interface.
20568         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20569         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20570         * locale/programs/ld-address.c (address_output): Use new
20571         locale_file interface.
20572         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20573         NO_ADD_LOCALE.
20574         (collate_finish): Don't call collseq_table_finalize.
20575         (collate_output): Use new locale_file interface.
20576         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20577         in file.
20578         (NO_FINALIZE): Change to NO_ADD_LOCALE.
20579         (TABLE): Move defines earlier in file.
20580         (ELEMENT): Likewise.
20581         (DEFAULT): Likewise.
20582         (wctrans_table_add): Move macro and inline function earlier in
20583         file.
20584         (struct wctype_table): Move type earlier in file.
20585         (add_locale_wctype_table): New static prototype.
20586         (struct locale_ctype_t): Use logical types instead of struct iovec
20587         pointers for members.
20588         (ctype_output): Use new locale_file interface.
20589         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
20590         new locale_file interface.
20591         (allocate_arrays): Update for use of new locale_file interface.
20592         * locale/programs/ld-identification.c (identification_output): Use
20593         new locale_file interface.
20594         * locale/programs/ld-measurement.c (measurement_output): Likewise.
20595         * locale/programs/ld-messages.c (messages_output): Likewise.
20596         * locale/programs/ld-monetary.c (monetary_output): Likewise.
20597         * locale/programs/ld-name.c (name_output): Likewise.
20598         * locale/programs/ld-numeric.c (numeric_output): Likewise.
20599         * locale/programs/ld-paper.c (paper_output): Likewise.
20600         * locale/programs/ld-telephone.c (telephone_output): Likewise.
20601         * locale/programs/ld-time.c (time_output): Likewise.
20603 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20605         * benchtests/Makefile: Add memrchr benchmark.
20606         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20607         benchmark as memrchr.
20608         * benchtests/bench-memrchr-ifunc.c: New file.
20609         * benchtests/bench-memrchr.c: New file.
20611 2013-09-06   Will Newton  <will.newton@linaro.org>
20613         * benchtests/Makefile (string-bench): Add memcpy.
20615 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
20616             Cong Wang  <amwang@redhat.com>
20618         [BZ #15850]
20619         * sysdeps/unix/sysv/linux/bits/in.h
20620         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20621         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20622         before __USE_KERNEL_IPV6_DEFS uses.
20623         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20624         IPPROTO_BEETPH.
20625         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20626         sockaddr_in6, or ipv6_mreq.
20628 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20630         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20631         memory access for final bytes in some large inputs.
20632         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20634 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20636         * string/test-memrchr.c: New file.
20637         * string/test-memrchr-ifunc.c: New file.
20638         * string/Makefile: Add new memrchr testcase.
20640 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20642         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20643         fanotify_init returns EPERM.
20645 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20647         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20648         errors.
20649         (top level): Treat second token from macro or constant entries for
20650         allowed headers as allowed.
20651         * include/complex.h: Condition internal declarations on
20652         [!_ISOMAC].
20653         * include/fenv.h: Condition include of <stdbool.h> and internal
20654         declarations on [!_ISOMAC].
20656 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20658         [BZ #15923]
20659         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20661 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20663         * configure.in (--enable-versioning): Remove configure option.
20664         (libc_cv_asm_symver_directive): Remove configure test.
20665         (libc_cv_ld_version_script_option): Likewise.
20666         (VERSIONING): Remove variable and AC_SUBST.
20667         (DO_VERSIONING): Remove AC_DEFINE.
20668         * configure: Regenerated.
20669         * config.h.in (DO_VERSIONING): Remove macro.
20670         * Makerules [$(versioning) = yes]: Change conditionals to
20671         [$(build-shared) = yes].
20672         * config.make.in (versioning): Remove variable.
20673         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20674         [$(build-shared) = yes].
20675         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20676         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20677         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20678         [$(build-shared) = yes].
20679         * extra-lib.mk [$(versioning) = yes]: Likewise.
20680         * hurd/Makefile [$(versioning) = yes]: Likewise.
20681         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20682         [SHARED].
20683         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20684         [SHARED].
20685         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20686         [SHARED && !NO_HIDDEN].
20687         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20688         [SHARED].
20689         [SHARED && DO_VERSIONING]: Likewise..
20690         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20691         [$(build-shared) = yes].
20692         * manual/install.texi (--disable-versioning): Remove
20693         documentation.
20694         * INSTALL: Regenerated.
20695         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20696         to [SHARED].
20697         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20698         [$(build-shared) = yes].
20699         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20700         * sysdeps/i386/i686/multiarch/strstr-c.c
20701         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20702         [SHARED && !NO_HIDDEN].
20703         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20704         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20705         * sysdeps/powerpc/powerpc32/dl-machine.c
20706         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20707         * sysdeps/powerpc/powerpc32/sysdep.h
20708         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20709         to [SHARED && PIC && !NO_HIDDEN].
20710         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20711         conditional to [SHARED].
20713 2013-09-04   Will Newton  <will.newton@linaro.org>
20715         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20716         * benchtests/bench-string.h: Include bench-timing.h instead
20717         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20718         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20719         call to HP_TIMING_DIFF_INIT.
20720         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20721         instead of hp-timing.h macros.
20722         * benchtests/bench-memchr.c: Likewise.
20723         * benchtests/bench-memcmp.c: Likewise.
20724         * benchtests/bench-memcpy.c: Likewise.
20725         * benchtests/bench-memmem.c: Likewise.
20726         * benchtests/bench-memmove.c: Likewise.
20727         * benchtests/bench-memset.c: Likewise.
20728         * benchtests/bench-rawmemchr.c: Likewise.
20729         * benchtests/bench-strcasecmp.c: Likewise.
20730         * benchtests/bench-strcasestr.c: Likewise.
20731         * benchtests/bench-strcat.c: Likewise.
20732         * benchtests/bench-strchr.c: Likewise.
20733         * benchtests/bench-strcmp.c: Likewise.
20734         * benchtests/bench-strcpy.c: Likewise.
20735         * benchtests/bench-strcpy_chk.c: Likewise.
20736         * benchtests/bench-strlen.c: Likewise.
20737         * benchtests/bench-strncasecmp.c: Likewise.
20738         * benchtests/bench-strncat.c: Likewise.
20739         * benchtests/bench-strncmp.c: Likewise.
20740         * benchtests/bench-strncpy.c: Likewise.
20741         * benchtests/bench-strnlen.c: Likewise.
20742         * benchtests/bench-strpbrk.c: Likewise.
20743         * benchtests/bench-strrchr.c: Likewise.
20744         * benchtests/bench-strspn.c: Likewise.
20745         * benchtests/bench-strstr.c: Likewise.
20747 2013-09-04  Will Newton  <will.newton@linaro.org>
20749         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20751 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20753         [BZ #15427]
20754         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20755         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20756         * math/libm-test.inc (lgamma_test_data): Add more tests.
20757         * sysdeps/i386/fpu/libm-test-ulps: Update.
20758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20762         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20764         Add ifunc.
20765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20766         Add strcmp-sse2-unaligned
20767         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20769 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20771         * Versions.def (libc): Add GLIBC_2.19.
20773 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20775         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20776         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20778 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20780         [BZ #14155]
20781         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20782         intermediate calculations in recurrence.
20783         (__ieee754_ynf): Likewise.
20784         * math/libm-test.inc (jn_test_data): Do not allow spurious
20785         underflow exception.  Add more tests.
20786         (yn_test_data): Add more tests.
20787         * sysdeps/i386/fpu/libm-test-ulps: Update.
20788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20790 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20792         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20794 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20796         * csu/init-first.c: Fix then/than typos.
20797         * locale/programs/ld-collate.c: Likewise.
20798         * locale/programs/linereader.h: Likewise.
20799         * manual/charset.texi: Likewise.
20800         * manual/filesys.texi: Likewise.
20801         * manual/stdio.texi: Likewise.
20802         * manual/string.texi: Likewise.
20803         * stdlib/fmtmsg.c: Likewise.
20804         * sysdeps/i386/stpncpy.S: Likewise.
20805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20806         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20807         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20808         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20810 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20812         * elf/dl-open.c: Fix typos.
20813         * iconvdata/gbbig5.c: Likewise.
20814         * iconvdata/iso-2022-jp.c: Likewise.
20815         * iconv/gconv_int.h: Likewise.
20816         * iconv/loop.c: Likewise.
20817         * nis/rpcsvc/nis.h: Likewise.
20818         * resolv/ns_name.c: Likewise.
20819         * stdio-common/vfscanf.c: Likewise.
20820         * streams/stropts.h: Likewise.
20821         * sunrpc/rpc_thread.c: Likewise.
20822         * sysdeps/i386/strpbrk.S: Likewise.
20823         * sysdeps/ieee754/k_standard.c: Likewise.
20824         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20825         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20826         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20827         * sysdeps/mach/hurd/profil.c: Likewise.
20828         * sysdeps/s390/dl-procinfo.h: Likewise.
20829         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20830         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20831         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20832         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20833         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20835 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20837         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20840 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20842         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20843         aix specific files.
20844         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20845         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20846         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20847         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20848         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20849         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20850         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20851         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20853 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20854             Roland McGrath  <roland@hack.frob.com>
20856         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20857         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20859 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20861         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20862         __executable_start symbol instead of _start.
20864 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20866         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20867         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20868         Move macros to...
20869         * sysdeps/gnu/ldsodefs.h: ... this new file.
20871         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20872         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20873         instead of ELFOSABI_LINUX.
20875         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20876         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20877         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20878         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20879         Likewise.
20880         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20881         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20882         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20883         Likewise.
20884         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20885         (ibm_extended_long_double): Add ieee_nan member.
20886         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20887         (do_test): New function.
20889         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20890         TEST_TRUNC.
20891         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20892         functions, renamed from truncdfsf_test, trunctfsf_test,
20893         trunctfdf_test.
20894         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20895         functions.
20896         (do_test): Run all these.
20898 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20900         * argp/argp-help.c: Fix typos.
20901         * argp/argp-parse.c: Likewise.
20902         * debug/backtracesyms.c: Likewise.
20903         * elf/elf.h: Likewise.
20904         * malloc/malloc.c: Likewise.
20905         * nis/nis_print.c: Likewise.
20906         * resolv/res_comp.c: Likewise.
20907         * stdlib/stdlib.h: Likewise.
20908         * sunrpc/clnt_tcp.c: Likewise.
20909         * sunrpc/clnt_udp.c: Likewise.
20910         * sunrpc/clnt_unix.c: Likewise.
20911         * sysdeps/unix/bsd/ptsname.c: Likewise.
20912         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20913         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20915         Likewise.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20917         Likewise.
20918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20919         Likewise.
20920         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20922 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20924         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20927 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20929         [BZ #15897]
20930         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20931         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20932         ($(objpfx)bug-dl-leaf): New rule.
20933         ($(objpfx)bug-dl-leaf.so): Likewise.
20934         ($(objpfx)bug-dl-leaf.out): Likewise.
20935         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20936         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20937         * dlfcn/bug-dl-leaf.c: New test.
20938         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20939         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20940         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20941         (dlclose): Likewise.
20942         (dlmopen): Likewise.
20944 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20946         * include/netdb.h [!_ISOMAC]:
20947         Don't include <tls.h>.
20948         (h_errno, __libc_h_errno): Move declaration and macros out of
20949         [_LIBC_REENTRANT].
20951         * include/resolv.h [_RESOLV_H_]:
20952         Don't include <tls.h>.
20953         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20954         * resolv/res_libc.c: Don't include <tls.h>.
20955         (_res): Use __attribute__ ((nocommon)) in place of
20956         __attribute__ ((section (".bss"))).
20958         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20959         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20961         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20963         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20964         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20966         * resolv/res_mkquery.c: Include <sys/time.h>.
20968         * inet/ifreq.c: Moved to ...
20969         * sysdeps/unix/ifreq.c: ... here.
20970         * inet/ifreq.c: New file, true stub version.
20972         * socket/sa_len.c: New file.
20973         * socket/Makefile (aux): Add it.
20974         * sysdeps/unix/sysv/linux/Makefile
20975         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20976         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20977         and #include <socket/sa_len.c>.
20978         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20979         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20981         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20982         * bits/socket.h: ... here.
20984         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20985         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20986         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20988 2013-08-27  Andreas Schwab  <schwab@suse.de>
20990         [BZ #15736]
20991         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20992         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20993         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20994         * string/test-strcasecmp.c (test_main): Run tests in several
20995         locales.
20996         * string/test-strncasecmp.c (test_main): Likewise.
20998         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20999         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21000         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21002         (__strncasecmp_ssse3) [PIC]: Likewise.
21004 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21006         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21008         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21009         instead of explicitly declaring xdecrypt.
21010         * nis/nss_nis/nis-publickey.c: Likewise.
21012 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21014         [BZ #15890]
21015         * nscd/aicache.c: Include res_hconf.h.
21016         (addhstaiX): Initialize res_hconf.
21018 2013-08-26  Andreas Schwab  <schwab@suse.de>
21020         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21021         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21023 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21025         * nscd/aicache.c (addhstaiX): Fix indentation.
21027 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21029         * configure.ac: Quote $build_pt_chown test.
21030         * configure: Regenerated.
21032 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21034         [BZ #15532]
21035         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21036         * math/s_cexpf.c (__cexpf): Likewise.
21037         * math/s_cexpl.c (__cexpl): Likewise.
21038         * math/libm-test.inc (cexp_test_data): Correct expected return
21039         value for NaN + i0.  Add another test.
21041 2013-08-22  David S. Miller  <davem@davemloft.net>
21043         * po/ca.po: Update Catalan translation from translation project.
21044         * po/uk.po: Add Ukrainian translations from translation project.
21046 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21048         [BZ #15797]
21049         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21050         is infinite, not alongside NaN test.
21051         * math/s_fdimf.c (__fdimf): Likewise.
21052         * math/s_fdiml.c (__fdiml): Likewise.
21053         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21054         errno is unchanged.
21056 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21058         * argp/argp-help.c: Fix typos.
21059         * crypt/speeds.c: Likewise.
21060         * csu/check_fds.c: Likewise.
21061         * elf/dl-load.c: Likewise.
21062         * elf/dl-open.c: Likewise.
21063         * elf/reldep3.c: Likewise.
21064         * elf/reldep.c: Likewise.
21065         * elf/sprof.c: Likewise.
21066         * iconv/iconv_charmap.c: Likewise.
21067         * iconv/skeleton.c: Likewise.
21068         * iconv/strtab.c: Likewise.
21069         * io/lockf64.c: Likewise.
21070         * libio/libioP.h: Likewise.
21071         * resolv/gai_notify.c: Likewise.
21072         * resolv/ns_name.c: Likewise.
21073         * resolv/ns_samedomain.c: Likewise.
21074         * resolv/res_send.c: Likewise.
21075         * stdlib/random.c: Likewise.
21076         * sunrpc/rpc/xdr.h: Likewise.
21077         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21078         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21079         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21080         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21081         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21082         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21084         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21085         * sysdeps/mach/hurd/check_fds.c: Likewise.
21086         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21087         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21088         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21090         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21091         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21092         * sysdeps/pthread/aio_notify.c: Likewise.
21093         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21094         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21095         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21096         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21097         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21099 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21101         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21102         version if bit_Slow_SSE4_2 is set.
21103         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21104         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21106 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21108         [BZ #15867]
21109         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21110         trampoline stack frame information.
21111         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21112         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21113         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21114         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21115         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21116         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21117         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21118         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21119         sa_flags value.
21120         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21121         interrupting a syscall and set with option SA_SIGINFO.
21123 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21125         [BZ #15531]
21126         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21127         argument is infinite.
21128         * math/s_cprojf.c (__cprojf): Likewise.
21129         * math/s_cprojl.c (__cprojl): Likewise.
21130         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21131         * math/libm-test.inc (cproj_test_data): Add more tests.
21133         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21135         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21136         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21137         size.  Use __ffs to determine corresponding shift.
21139 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21140             Roland McGrath  <roland@hack.frob.com>
21142         * Makefile (INSTALL): Remove trailing blank lines from output of
21143         makeinfo.
21145 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21147         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21148         Align 32 bit compat elf_greg to 8 bytes.
21150 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21152         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21154 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21156         * string/strcoll_l.c (coll_seq): New structure.
21157         (get_next_seq_cached): New function.
21158         (get_next_seq): New function.
21159         (do_compare): New function.
21160         (STRCOLL): Use GNU style definition.  Simplify implementation
21161         by using get_next_seq, get_next_seq_cached and do_compare.
21163 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21165         [BZ #14699]
21166         CVE-2013-4237
21167         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21168         member.
21169         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21170         member.
21171         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21172         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21173         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21174         conditional.
21175         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21176         GETDENTS_64BIT_ALIGNED.
21177         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21178         * manual/filesys.texi (Reading/Closing Directory): Document
21179         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21180         strongly.
21181         * manual/conf.texi (Limits for Files): Add portability note to
21182         NAME_MAX, PATH_MAX.
21183         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21185 2013-08-13  Andreas Schwab  <schwab@suse.de>
21187         [BZ #15749]
21188         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21189         of fabs.
21190         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21191         LDBL_MAX_EXP >= 16384]: Add tests for it.
21193 2013-08-12  David S. Miller  <davem@davemloft.net>
21195         * version.h (RELEASE): Set to "development".
21196         (VERSION): Set to "2.18.90".
21197         * NEWS: Add 2.19 section.
21199 2013-08-03  David S. Miller  <davem@davemloft.net>
21201         * po/ko.po: Update Korean translation from translation project.
21203 2013-08-01  David S. Miller  <davem@davemloft.net>
21205         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21206         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21207         Bilka.
21209 2013-07-30  David S. Miller  <davem@davemloft.net>
21211         * po/fr.po: Update French translation from translation project.
21213 2013-07-28  David S. Miller  <davem@davemloft.net>
21215         * po/cs.po: Update Czech translation from translation project.
21217         * po/sv.po: Update Swedish translation from translation project.
21219 2013-07-27  David S. Miller  <davem@davemloft.net>
21221         * po/eo.po: Update Esperanto translation from translation project.
21223         * po/vi.po: Update Vietnamese translation from translation project.
21225         * po/de.po: Update German translation from translation project.
21227 2013-07-26  David S. Miller  <davem@davemloft.net>
21229         * po/bg.po: Update Bulgarian translation from translation project.
21231         * po/nl.po: Update Dutch translation from translation project.
21232         * po/pl.po: Update Polish translation from translation project.
21233         * po/ru.po: Update Russian translation from translation project.
21235 2013-07-24  David S. Miller  <davem@davemloft.net>
21237         * po/libc.pot: Update.
21239 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21241         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21242         variable page size.
21243         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21244         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21245         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21247 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21249         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21251 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21252             Andreas Schwab  <schwab@suse.de>
21253             Roland McGrath  <roland@hack.frob.com>
21254             Joseph Myers  <joseph@codesourcery.com>
21255             Carlos O'Donell  <carlos@redhat.com>
21257         [BZ #15755]
21258         * config.h.in: Define HAVE_PT_CHOWN.
21259         * config.make.in (build-pt-chown): New variable.
21260         * configure.in (--enable-pt_chown): New configure option.
21261         * configure: Regenerate.
21262         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21263         build-pt-chown is enabled.
21264         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21265         pt_chown to fix pty ownership.
21266         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21267         CLOSE_ALL_FDS.
21268         * manual/install.texi (Configuring and compiling): Mention
21269         --enable-pt_chown. Add @findex for grantpt.
21270         * INSTALL: Regenerate.
21272 2013-07-20  David S. Miller  <davem@davemloft.net>
21274         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21275         difference between 32-bit and 64-bit.
21277 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21279         [BZ #15711]
21280         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21281         Avoid system header dependency with -ffreestanding.
21282         ($(objpfx)bits/syscall%d): Likewise.
21284 2013-07-13  David S. Miller  <davem@davemloft.net>
21286         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21287         underflows from atanl/atan2l due to bug 15319.
21288         (casinh_test_data): Likewise.
21290 2013-07-07  David S. Miller  <davem@davemloft.net>
21292         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21294 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21296         * sysdeps/i386/fpu/libm-test-ulps: Update.
21297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21299 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21301         * configure.in (--enable-lock-elision): Fix message text.
21302         * INSTALL: Regenerate.
21303         * configure: Regenerate.
21305 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21309 2013-07-03  Andreas Jaeger  <aj@suse.de>
21311         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21312         define.
21313         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21314         (ptrace_peeksiginfo_args): Add.
21315         (__ptrace_peeksiginfo_flags): Add.
21316         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21318         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21320 2013-07-03  Allan McRae  <allan@archlinux.org>
21322         * sysdeps/i386/fpu/libm-test-ulps: Update.
21324 2013-07-02  David S. Miller  <davem@davemloft.net>
21326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21328 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21332 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21334         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21337 2013-07-02  Andi Kleen <ak@linux.intel.com>
21339         * config.h.in (ENABLE_LOCK_ELISION): Add.
21340         * configure.in (--enable-lock-elision): Add option.
21341         * manual/install.texi: Document --enable lock elision.
21342         * configure: Regenerate
21343         * INSTALL: Regenerate.
21345 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21347         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21348         SSE4.2 strcasecmp for libc.a.
21349         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21351 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21353         [BZ #13304]
21354         * soft-fp/op-common.h (_FP_FMA): New macro.
21355         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21356         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21357         (_FP_MUL_MEAT_1_imm): ... here.
21358         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21359         (_FP_MUL_MEAT_1_wide): ... here.
21360         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21361         (_FP_MUL_MEAT_1_hard): ... here.
21362         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21363         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21364         (_FP_MUL_MEAT_2_wide): ... here.
21365         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21366         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21367         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21368         (_FP_MUL_MEAT_2_gmp): ... here.
21369         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21370         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21371         (_FP_MUL_MEAT_4_wide): ... here.
21372         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21373         (_FP_MUL_MEAT_4_gmp): ... here.
21374         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21375         (_FP_WFRACBITS_DW_S): Likewise.
21376         (_FP_WFRACXBITS_DW_S): Likewise.
21377         (_FP_HIGHBIT_DW_S): Likewise.
21378         (FP_FMA_S): Likewise.
21379         (_FP_FRAC_HIGH_DW_S): Likewise.
21380         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21381         (_FP_WFRACBITS_DW_D): Likewise.
21382         (_FP_WFRACXBITS_DW_D): Likewise.
21383         (_FP_HIGHBIT_DW_D): Likewise.
21384         (FP_FMA_D): Likewise.
21385         (_FP_FRAC_HIGH_DW_D): Likewise.
21386         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21387         (_FP_WFRACBITS_DW_E): Likewise.
21388         (_FP_WFRACXBITS_DW_E): Likewise.
21389         (_FP_HIGHBIT_DW_E): Likewise.
21390         (FP_FMA_E): Likewise.
21391         (_FP_FRAC_HIGH_DW_E): Likewise.
21392         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21393         (_FP_WFRACBITS_DW_Q): Likewise.
21394         (_FP_WFRACXBITS_DW_Q): Likewise.
21395         (_FP_HIGHBIT_DW_Q): Likewise.
21396         (FP_FMA_Q): Likewise.
21397         (_FP_FRAC_HIGH_DW_Q): Likewise.
21398         * soft-fp/fmasf4.c: New file.
21399         * soft-fp/fmadf4.c: Likewise.
21400         * soft-fp/fmatf4.c: Likewise.
21402 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21405         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21406         Silvermont.
21407         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21408         macro.
21409         (index_Slow_SSE4_2): Likewise.
21410         (index_Prefer_PMINUB_for_stringop): Likewise.
21411         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21412         bit_Slow_SSE4_2 is set.
21413         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21414         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21416 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21418         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21419         rtld_global._dl_hwcap2.
21420         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21421         POWER8.
21422         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21423         POWER8 feature descriptions defined in _dl_hwcap2.
21424         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21425         string handling for POWER8 feature bits.
21426         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21427         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21428         _dl_powerpc_cap_flags.
21429         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21430         * sysdeps/powerpc/rtld-global-offsets.sym
21431         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21432         _dl_hwcap2 in the rtld_global_ro structure.
21434 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21436         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21437         hardware capabilities in support of AT_HWCAP2.
21438         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21439         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21440         GLRO(dl_hwcap2).
21441         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21442         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21443         explicitly the unknown a_type display mechanism is used.
21444         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21445         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21446         struct member.
21447         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21448         to macro prototype for AT_HWCAP2 support.
21449         * sysdeps/i386/dl-procinfo.h: Likewise.
21450         * sysdeps/s390/dl-procinfo.h: Likewise.
21451         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21452         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21453         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21454         return -1 for unknown a_type display fallback.
21455         * sysdeps/sparc/dl-procinfo.h: Likewise.
21456         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21457         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21459 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21461         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21462         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21464 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21466         [BZ #12492]
21467         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21468         mprotect making __stack_prot writable.
21470 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21471             Joseph Myers  <joseph@codesourcery.com>
21473         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21474         as being properly aligned.
21476 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21478         * dlfcn/modstatic5.c: New file.
21479         * dlfcn/tststatic5.c: New file.
21480         * dlfcn/Makefile (tests): Add tststatic5.
21481         (tests-static): Likewise.
21482         (modules-names): Add modstatic5.
21483         (tststatic5-ENV): New variable.
21484         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21486         [BZ #15022]
21487         * elf/dl-support.c (_dl_main_map): New variable.
21488         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21489         (_dl_nns, _dl_load_adds): Set to 1.
21490         (_dl_initial_searchlist): Refer to _dl_main_map.
21491         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21492         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21493         call to _dl_get_origin.
21494         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21495         around call_map.
21496         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21497         * dlfcn/modstatic3.c: New file.
21498         * dlfcn/tststatic3.c: New file.
21499         * dlfcn/tststatic4.c: New file.
21500         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21501         (tests-static): Likewise.
21502         (modules-names): Add modstatic3.
21503         (tststatic3-ENV, tststatic4-ENV): New variables.
21504         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21505         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21507 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21509         * configure.in (CC): Require GCC version 4.4 or later.
21510         * configure: Regenerated.
21511         * manual/install.texi (Tools for Compilation): Update GCC version
21512         requirement.
21513         * INSTALL: Regenerated.
21515 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21517         [BZ #15674]
21518         * string/test-memcmp.c (check2): New.
21519         (main): Call check2.
21521         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21523 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21525         [BZ #15022]
21526         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21527         over to...
21528         (dl_open_worker) [!SHARED]: ... here.
21530 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21532         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21534 2013-06-25  Richard Henderson  <rth@redhat.com>
21536         * locale/programs/locarchive.c: Include <libc-internal.h>
21538 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21540         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21541         trailing whitespace removed.
21543 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21545         [BZ #10283]
21546         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21547         * locale/programs/locarchive.c: Include libc-mmap.h.
21548         (prepare_address_space): Take two new outputs (the mmap base and len).
21549         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21550         values.
21551         (create_archive): Declare new mmap base and len values for
21552         prepare_address_space, and store the result in ah.
21553         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21554         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21555         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21556         Declare new mmap base and len values for
21557         prepare_address_space, and store the result in new_ah.
21558         (open_archive): Declare new mmap base and len values for
21559         prepare_address_space, and store the result in ah.
21560         (close_archive): If ah->mmap_base is not NULL, use that and
21561         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21562         * sysdeps/generic/libc-mmap.h: New file.
21564 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21566         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21567         (ALIGN_UP): Likewise.
21568         (PTR_ALIGN_DOWN): Likewise.
21569         (PTR_ALIGN_UP): Likewise.
21571 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21573         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21574         entry mapped to PPC_PLATFORM_POWER8.
21575         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21576         POWER8.
21577         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21578         (_dl_string_platform): Add case for exporting platform position for
21579         POWER8.
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21581         search path to sysdeps/powerpc/powerpc32/power8 directory.
21582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21583         search path to sysdeps/powerpc/powerpc64/power8 directory.
21584         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21585         power7 directories.
21586         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21587         power7 directories.
21589 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21591         * INSTALL: Regenerate.
21593         * nscd/connections.c (nscd_init): Fix comment.
21595 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
21597         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21599         [BZ #15667]
21600         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21601         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21603 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21605         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21606         DL_DST_REQ_STATIC.
21607         (DL_DST_REQ_STATIC): Remove macro.
21609 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
21611         [BZ #7006]
21612         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21613         with a shift of 0 bits.
21615 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21617         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21618         $(tststatic-ENV).
21620 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21622         [BZ #15655]
21623         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21625 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21627         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21628         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21629         accepts -fno-tree-loop-distribute-patterns.
21630         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21631         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21632         recursive call.
21633         * string/memset.c (memset): Likewise.
21634         * string/test-memmove.c (simple_memmove): Disable loop transformation
21635         to library calls.
21636         * string/test-memset.c (simple_memset): Likewise.
21637         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21638         * benchtests/bench-memset.c (simple_memset): Likewise.
21639         * configure: Regenerated.
21641 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21643         * math/test-misc.c (main): Ignore fesetround failure when failures
21644         of subsequent rounding tests would be ignored.
21646         [BZ #15654]
21647         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21648         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21649         * math/fegetenv.c (__fegetenv): Return 0.
21650         * math/fegetexcept.c (fegetexcept): Return 0.
21651         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21652         FE_TONEAREST.
21653         * math/feholdexcpt.c (feholdexcept): Return 0.
21654         * math/fesetenv.c (__fesetenv): Return 0.
21655         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21656         argument FE_TONEAREST.
21657         * math/feupdateenv.c (__feupdateenv): Return 0.
21658         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21660 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21662         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21663         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21664         ($(objpfx)rtld-%.os rules): Use them.
21666 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21668         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21669         fields.
21671 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21673         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21674         length of target pattern, then descending length of dependency pattern.
21675         * configure.in (AWK): Require gawk 3.1.2 or newer.
21676         * manual/install.texi (Tools for Compilation): Say that we do.
21677         * configure: Regenerated.
21679         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21680         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21681         * scripts/sysd-rules.awk: ... this new script.
21682         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21683         than a glob-style pattern.
21685 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21687         * math/test-misc.c (main): Do not treat incorrectly rounded
21688         conversions as failure unless ROUNDING_TESTS passes.
21690 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21692         [BZ #15631]
21693         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21694         restore exception state around main square root computation, then
21695         check for inexactness explicitly.
21697         * math/libm-test.inc (fma_test_data): Add another test.
21699 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21701         * manual/threads.texi (Non-POSIX Extensions): New document
21702         node.  Document pthread_getattr_default_np and
21703         pthread_setattr_default_np.
21705         * Versions.def (libpthread): Add GLIBC_2.18.
21706         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21708         Likewise.
21709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21710         Likewise.
21711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21712         Likewise.
21713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21714         Likewise.
21715         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21716         Likewise.
21717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21718         Likewise.
21719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21720         Likewise.
21721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21722         Likewise.
21723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21724         Likewise.
21726 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21729         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21731 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21732             H.J. Lu  <hjl.tools@gmail.com>
21734         [BZ #15627]
21735         * sysdeps/x86_64/rtld-memset.c: Remove file.
21736         * sysdeps/x86_64/rtld-memset.S: New file.
21738 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21740         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21741         (test_in_one_mode): Take arguments for whether the rounding mode
21742         is supported for each floating-point type.
21743         (do_test): Pass new arguments to test_in_one_mode using
21744         ROUNDING_TESTS.
21746 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21748         * posix/tst-waitid.c (do_test): Distinguish different instances of
21749         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21750         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21751         before entering the kernel for waitpid.
21753 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21755         * NEWS: Fix note on clock function precision.  Text by Roland
21756         McGrath.
21758 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21760         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21761         it into place only when and if the sanity check passes.
21763 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21765         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21766         output for whether conversion result is exact.  Take argument
21767         indicating whether type is IBM long double.
21768         (round_for_all): Change need_exact field to ibm_ld.
21769         * stdlib/tst-strtod-round.c (struct exactness): New type.
21770         (struct test): Change bool ld_ok field to struct exactness exact.
21771         (TEST): Update all definitions for change to field.
21772         (tests): Regenerate array contents.
21773         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21774         field value.  Check for IBM long double here.
21775         (do_test): Update calls to test_in_one_mode.
21777 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21779         [BZ #12515]
21780         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21781         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21783 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21785         [BZ #15605]
21786         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21787         generated by the compiler on loop optimizations.
21788         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21789         general definitions.
21791 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21793         * math/bug-nextafter.c: Include <math-tests.h>.
21794         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21795         the relevant type.
21796         * math/bug-nexttoward.c: Include <math-tests.h>.
21797         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21798         the relevant type.
21799         * math/test-misc.c: Include <math-tests.h>.
21800         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21801         the relevant type.
21803 2013-06-12  Andreas Jaeger  <aj@suse.de>
21805         * po/ia.po: Update Interlingua translation from translation
21806         project.
21808 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21810         * include/fenv.h: Include stdbool.h.
21811         (struct rm_ctx): New structure.
21812         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21813         Define macro.
21814         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21815         (SET_RESTORE_ROUNDF): Likewise.
21816         (SET_RESTORE_ROUNDL): Likewise.
21817         (SET_RESTORE_ROUND_NOEX): Likewise.
21818         (SET_RESTORE_ROUND_NOEXF): Likewise.
21819         (SET_RESTORE_ROUND_NOEXL): Likewise.
21820         (SET_RESTORE_ROUND_53BIT): Likewise.
21821         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21822         (libc_feresetround_noexf_ctx): Likewise.
21823         (libc_feresetround_noexl_ctx): Likewise.
21824         (libc_feholdsetround_53bit_ctx): Likewise.
21825         (libc_feresetround_53bit_ctx): Likewise.
21826         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21827         (libc_feholdexcept_setround_sse_ctx): New function.
21828         (libc_fesetenv_sse_ctx): Likewise.
21829         (libc_feupdateenv_sse_ctx): Likewise.
21830         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21831         (libc_feholdexcept_setround_387_ctx): Likewise.
21832         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21833         (libc_feholdsetround_387_prec_ctx): Likewise.
21834         (libc_feholdsetround_387_ctx): Likewise.
21835         (libc_feholdsetround_387_53bit_ctx): Likewise.
21836         (libc_feholdsetround_sse_ctx): Likewise.
21837         (libc_feresetround_sse_ctx): Likewise.
21838         (libc_feresetround_387_ctx): Likewise.
21839         (libc_feupdateenv_387_ctx): Likewise.
21840         (libc_feholdexcept_setroundf_ctx): Define macro.
21841         (libc_fesetenvf_ctx): Likewise.
21842         (libc_feupdateenvf_ctx): Likewise.
21843         (libc_feholdsetroundf_ctx): Likewise.
21844         (libc_feresetroundf_ctx): Likewise.
21845         (libc_feholdexcept_setround_ctx): Likewise.
21846         (libc_fesetenv_ctx): Likewise.
21847         (libc_feupdateenv_ctx): Likewise.
21848         (libc_feholdsetround_ctx): Likewise.
21849         (libc_feresetround_ctx): Likewise.
21850         (libc_feholdexcept_setroundl_ctx): Likewise.
21851         (libc_feupdateenvl_ctx): Likewise.
21852         (libc_feholdsetroundl_ctx): Likewise.
21853         (libc_feresetroundl_ctx): Likewise.
21854         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21855         (libc_feresetround_53bit_ctx): Likewise.
21857 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859         * locale/iso-639.def: Convert to UTF-8.
21861 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21863         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21864         (EXCEPTION_TESTS_double): Likewise.
21865         (EXCEPTION_TESTS_long_double): Likewise.
21866         (EXCEPTION_TESTS): Likewise.
21867         * math/libm-test.inc (test_exceptions): Only test exceptions if
21868         EXCEPTION_TESTS (FLOAT).
21870 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21872         * benchtests/Makefile (string-bench): Add strcpy_chk and
21873         stpcpy_chk.
21874         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21875         * benchtests/bench-stpcpy_chk.c: New file.
21876         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21877         * benchtests/bench-strcpy_chk.c: New file.
21878         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21879         code.
21880         (do_test): Likewise.
21882 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21884         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21885         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21886         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21887         with tabs where appropriate.
21888         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21889         dl-procinfo.h.
21890         [PPC_PLATFORM_PPC440]: Likewise.
21891         [PPC_PLATFORM_PPC464]: Likewise.
21892         [PPC_PLATFORM_PPC476]: Likewise.
21893         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21894         ppc464, and ppc476 platform strings merging from ports/
21895         dl-procinfo.h.
21897 2013-06-11  Andreas Schwab  <schwab@suse.de>
21899         [BZ #14991]
21900         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21901         (from_ucs4_idx): Regenerate.
21902         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21903         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21904         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21905         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21906         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21907         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21908         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21909         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21910         from FROM_LOOP and TO_LOOP specific macros.
21911         (BODY): Handle combining characters.
21912         * iconvdata/BIG5HKSCS.irreversible: Update.
21913         * iconvdata/BIG5HKSCS.precomposed: New file.
21914         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21915         characters.
21916         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21918 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920         * include/sys/time.h: Fix indentation and add copyright header.
21922         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21923         (do_test): Likewise.
21924         * string/test-memchr.c (do_one_test): Likewise.
21925         (do_test): Likewise.
21926         * string/test-memcmp.c (do_one_test): Likewise.
21927         (do_test): Likewise.
21928         * string/test-memcpy.c (do_one_test): Likewise.
21929         (do_test): Likewise.
21930         * string/test-memmem.c (do_one_test): Likewise.
21931         (do_test): Likewise.
21932         (do_random_tests): Likewise.
21933         * string/test-memmove.c (do_one_test): Likewise.
21934         (do_test): Likewise.
21935         * string/test-memset.c (do_one_test): Likewise.
21936         (do_test): Likewise.
21937         * string/test-rawmemchr.c (do_one_test): Likewise.
21938         (do_test): Likewise.
21939         * string/test-strcasecmp.c (do_one_test): Likewise.
21940         (do_test): Likewise.
21941         * string/test-strcasestr.c (do_one_test): Likewise.
21942         (do_test): Likewise.
21943         * string/test-strcat.c (do_one_test): Likewise.
21944         (do_test): Likewise.
21945         * string/test-strchr.c (do_one_test): Likewise.
21946         (do_test): Likewise.
21947         * string/test-strcmp.c (do_one_test): Likewise.
21948         (do_test): Likewise.
21949         * string/test-strcpy.c (do_one_test): Likewise.
21950         (do_test): Likewise.
21951         * string/test-string.h: Likewise.
21952         (test_init): Likewise.
21953         * string/test-strlen.c (do_one_test): Likewise.
21954         (do_test): Likewise.
21955         * string/test-strncasecmp.c (do_one_test): Likewise.
21956         (do_test): Likewise.
21957         * string/test-strncat.c (do_one_test): Likewise.
21958         (do_test): Likewise.
21959         * string/test-strncmp.c (do_one_test): Likewise.
21960         (do_test_limit): Likewise.
21961         (do_test): Likewise.
21962         * string/test-strncpy.c (do_one_test): Likewise.
21963         (do_test): Likewise.
21964         * string/test-strnlen.c (do_one_test): Likewise.
21965         (do_test): Likewise.
21966         * string/test-strpbrk.c (do_one_test): Likewise.
21967         (do_test): Likewise.
21968         * string/test-strrchr.c (do_one_test): Likewise.
21969         (do_test): Likewise.
21970         * string/test-strspn.c (do_one_test): Likewise.
21971         (do_test): Likewise.
21972         * string/test-strstr.c (do_one_test): Likewise.
21973         (do_test): Likewise.
21975         * benchtests/Makefile (string-bench): Add string benchmarks.
21976         * benchtests/bench-bcopy-ifunc.c: New file.
21977         * benchtests/bench-bcopy.c: New file.
21978         * benchtests/bench-bzero-ifunc.c: New file.
21979         * benchtests/bench-bzero.c: New file.
21980         * benchtests/bench-memccpy-ifunc.c: New file.
21981         * benchtests/bench-memccpy.c: New file.
21982         * benchtests/bench-memchr-ifunc.c: New file.
21983         * benchtests/bench-memchr.c: New file.
21984         * benchtests/bench-memcmp-ifunc.c: New file.
21985         * benchtests/bench-memcmp.c: New file.
21986         * benchtests/bench-memmem-ifunc.c: New file.
21987         * benchtests/bench-memmem.c: New file.
21988         * benchtests/bench-memmove-ifunc.c: New file.
21989         * benchtests/bench-memmove.c: New file.
21990         * benchtests/bench-mempcpy-ifunc.c: New file.
21991         * benchtests/bench-mempcpy.c: New file.
21992         * benchtests/bench-memset-ifunc.c: New file.
21993         * benchtests/bench-memset.c: New file.
21994         * benchtests/bench-rawmemchr-ifunc.c: New file.
21995         * benchtests/bench-rawmemchr.c: New file.
21996         * benchtests/bench-stpcpy-ifunc.c: New file.
21997         * benchtests/bench-stpcpy.c: New file.
21998         * benchtests/bench-stpncpy-ifunc.c: New file.
21999         * benchtests/bench-stpncpy.c: New file.
22000         * benchtests/bench-strcasecmp-ifunc.c: New file.
22001         * benchtests/bench-strcasecmp.c: New file.
22002         * benchtests/bench-strcasestr-ifunc.c: New file.
22003         * benchtests/bench-strcasestr.c: New file.
22004         * benchtests/bench-strcat-ifunc.c: New file.
22005         * benchtests/bench-strcat.c: New file.
22006         * benchtests/bench-strchr-ifunc.c: New file.
22007         * benchtests/bench-strchr.c: New file.
22008         * benchtests/bench-strchrnul-ifunc.c: New file.
22009         * benchtests/bench-strchrnul.c: New file.
22010         * benchtests/bench-strcmp-ifunc.c: New file.
22011         * benchtests/bench-strcmp.c: New file.
22012         * benchtests/bench-strcpy-ifunc.c: New file.
22013         * benchtests/bench-strcpy.c: New file.
22014         * benchtests/bench-strcspn-ifunc.c: New file.
22015         * benchtests/bench-strcspn.c: New file.
22016         * benchtests/bench-strlen-ifunc.c: New file.
22017         * benchtests/bench-strlen.c: New file.
22018         * benchtests/bench-strncasecmp-ifunc.c: New file.
22019         * benchtests/bench-strncasecmp.c: New file.
22020         * benchtests/bench-strncat-ifunc.c: New file.
22021         * benchtests/bench-strncat.c: New file.
22022         * benchtests/bench-strncmp-ifunc.c: New file.
22023         * benchtests/bench-strncmp.c: New file.
22024         * benchtests/bench-strncpy-ifunc.c: New file.
22025         * benchtests/bench-strncpy.c: New file.
22026         * benchtests/bench-strnlen-ifunc.c: New file.
22027         * benchtests/bench-strnlen.c: New file.
22028         * benchtests/bench-strpbrk-ifunc.c: New file.
22029         * benchtests/bench-strpbrk.c: New file.
22030         * benchtests/bench-strrchr-ifunc.c: New file.
22031         * benchtests/bench-strrchr.c: New file.
22032         * benchtests/bench-strspn-ifunc.c: New file.
22033         * benchtests/bench-strspn.c: New file.
22034         * benchtests/bench-strstr-ifunc.c: New file.
22035         * benchtests/bench-strstr.c: New file.
22037         * benchtests/Makefile: Disable parallel execution of targets.
22038         (string-bench): Add memcpy.
22039         (benchset): New variable to store a list of benchmark sets.
22040         (bench-func): Renamed from bench.
22041         (bench-set): New target.
22042         (bench): Depend on bench-func and bench-set.
22043         * benchtests/README: Add section on benchmark sets.
22044         * benchtests/bench-memcpy-ifunc.c: New file.
22045         * benchtests/bench-memcpy.c: New file.
22046         * benchtests/bench-string.h: New file.
22048 2013-06-11  Andreas Schwab  <schwab@suse.de>
22050         [BZ #15577]
22051         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22052         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22053         values in the triple.
22054         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22055         terminator in the group key.
22057 2013-06-11  Andreas Jaeger  <aj@suse.de>
22059         * po/zh_TW.po: Update Chinese (traditional) translation from
22060         translation project.
22062 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22064         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22065         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22066         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22067         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22068         (clock_getcpuclockid): Likewise.
22069         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22070         Add weak_alias and libc_hidden_def.
22071         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22072         * rt/clock_gettime.c (clock_gettime): Rename to
22073         __clock_gettime.  Add weak_alias and libc_hidden_def.
22074         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22075         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22076         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22077         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22078         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22079         Likewise.
22080         * rt/clock_settime.c (clock_settime): Rename to
22081         __clock_settime.  Add weak_alias and libc_hidden_def.
22082         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22084 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22086         * mach/err_boot.sub: Remove trailing whitespace.
22087         * mach/err_ipc.sub: Likewise.
22088         * mach/err_mach.sub: Likewise.
22090         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22091         (ROUNDING_TESTS_double): Likewise.
22092         (ROUNDING_TESTS_long_double): Likewise.
22093         (ROUNDING_TESTS): Likewise.
22094         * math/libm-test.inc: Include <math-tests.h>.
22095         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22096         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22097         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22098         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22100 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22102         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22103         of assigning.
22105 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22107         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22108         otherwise empty TRANS lines.
22109         * sysdeps/gnu/errlist.c: Regenerated.
22111         * catgets/gencat.c (error_print): Use (void) in function
22112         definition.
22113         * crypt/crypt_util.c (__init_des): Likewise.
22114         * crypt/speeds.c (Stop): Likewise.
22115         (main): Likewise.
22116         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22117         * inet/ruserpass.c (token): Likewise.
22118         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22119         * intl/localealias.c (extend_alias_table): Likewise.
22120         * intl/plural-exp.c (init_germanic_plural): Likewise.
22121         * libio/fcloseall.c (__fcloseall): Likewise.
22122         * libio/genops.c (_IO_flush_all): Likewise.
22123         (_IO_flush_all_linebuffered): Likewise.
22124         (_IO_cleanup): Likewise.
22125         (_IO_iter_begin): Likewise.
22126         (_IO_iter_end): Likewise.
22127         (_IO_list_lock): Likewise.
22128         (_IO_list_unlock): Likewise.
22129         (_IO_list_resetlock): Likewise.
22130         * libio/getchar.c (getchar): Likewise.
22131         * libio/getchar_u.c (getchar_unlocked): Likewise.
22132         * libio/getwchar.c (getwchar): Likewise.
22133         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22134         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22135         * login/getpt.c (__getpt): Likewise.
22136         * login/tst-utmp.c (main): Likewise.
22137         * malloc/hooks.c (__malloc_check_init): Likewise.
22138         * malloc/malloc.c (__malloc_stats): Likewise.
22139         * malloc/mtrace.c (tr_break): Likewise.
22140         (mtrace): Likewise.
22141         (muntrace): Likewise.
22142         * misc/fstab.c (endfsent): Likewise.
22143         * misc/getclktck.c (__getclktck): Likewise.
22144         * misc/getdtsz.c (__getdtablesize): Likewise.
22145         * misc/gethostid.c (gethostid): Likewise.
22146         * misc/getpagesize.c (__getpagesize): Likewise.
22147         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22148         (__get_nprocs): Likewise.
22149         (__get_phys_pages): Likewise.
22150         (__get_avphys_pages): Likewise.
22151         * misc/getttyent.c (getttyent): Likewise.
22152         (setttyent): Likewise.
22153         (endttyent): Likewise.
22154         * misc/getusershell.c (getusershell): Likewise.
22155         (endusershell): Likewise.
22156         (setusershell): Likewise.
22157         (initshells): Likewise.
22158         * misc/hsearch.c (__hdestroy): Likewise.
22159         * misc/sync.c (sync): Likewise.
22160         * misc/syslog.c (closelog_internal): Likewise.
22161         (closelog): Likewise.
22162         * misc/ttyslot.c (ttyslot): Likewise.
22163         * misc/vhangup.c (vhangup): Likewise.
22164         * posix/fork.c (__fork): Likewise.
22165         * posix/getegid.c (__getegid): Likewise.
22166         * posix/geteuid.c (__geteuid): Likewise.
22167         * posix/getgid.c (__getgid): Likewise.
22168         * posix/getpid.c (__getpid): Likewise.
22169         * posix/getppid.c (__getppid): Likewise.
22170         * posix/getuid.c (__getuid): Likewise.
22171         * posix/pause.c (pause): Likewise.
22172         * posix/setpgrp.c (setpgrp): Likewise.
22173         * posix/setsid.c (__setsid): Likewise.
22174         * posix/test-vfork.c (noop): Likewise.
22175         * resolv/gethnamaddr.c (_endhtent): Likewise.
22176         (_gethtent): Likewise.
22177         (ht_endhostent): Likewise.
22178         (gethostent): Likewise.
22179         (dns_service): Likewise.
22180         * stdlib/drand48.c (drand48): Likewise.
22181         * stdlib/lrand48.c (lrand48): Likewise.
22182         * stdlib/mrand48.c (mrand48): Likewise.
22183         * stdlib/rand.c (rand): Likewise.
22184         * stdlib/random.c (__random): Likewise.
22185         * stdlib/setenv.c (clearenv): Likewise.
22186         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22187         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22188         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22189         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22190         (__get_nprocs): Likewise.
22191         (__get_phys_pages): Likewise.
22192         (__get_avphys_pages): Likewise.
22193         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22194         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22195         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22196         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22197         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22198         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22199         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22200         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22201         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22202         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22203         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22204         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22205         * sysdeps/posix/clock.c (clock): Likewise.
22206         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22207         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22208         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22209         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22210         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22211         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22212         (__get_nprocs_conf): Likewise.
22213         (__get_phys_pages): Likewise.
22214         (__get_avphys_pages): Likewise.
22215         * time/clock.c (clock): Likewise.
22216         * time/tzset.c (__tzname_max): Likewise.
22218 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22220         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22221         (__bswap_32): Do not use "register".
22222         * crypt/crypt.c (_ufc_doit_r): Likewise.
22223         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22224         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22225         * gmon/gmon.c (__monstartup): Likewise.
22226         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22227         * hurd/hurdmalloc.c (more_memory): Likewise.
22228         (malloc): Likewise.
22229         (free): Likewise.
22230         (realloc): Likewise.
22231         (malloc_fork_prepare): Likewise.
22232         (malloc_fork_parent): Likewise.
22233         (malloc_fork_child): Likewise.
22234         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22235         (_svcauth_des): Likewise.
22236         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22237         * inet/inet_net.c (inet_network): Likewise.
22238         * inet/inet_netof.c (inet_netof): Likewise.
22239         * inet/rcmd.c (__validuser2_sa): Likewise.
22240         * io/fts.c (fts_open): Likewise.
22241         (fts_load): Likewise.
22242         (fts_close): Likewise.
22243         (fts_read): Likewise.
22244         (fts_children): Likewise.
22245         (fts_build): Likewise.
22246         (fts_stat): Likewise.
22247         (fts_sort): Likewise.
22248         (fts_alloc): Likewise.
22249         (fts_lfree): Likewise.
22250         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22251         (_IO_file_xsgetn): Likewise.
22252         (_IO_file_xsgetn_mmap): Likewise.
22253         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22254         (_IO_cookie_write): Likewise.
22255         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22256         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22257         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22258         * malloc/obstack.c (_obstack_begin): Likewise.
22259         (_obstack_begin_1): Likewise.
22260         (_obstack_newchunk): Likewise.
22261         (_obstack_allocated_p): Likewise.
22262         (obstack_free): Likewise.
22263         (_obstack_memory_used): Likewise.
22264         * misc/getttyent.c (getttynam): Likewise.
22265         (getttyent): Likewise.
22266         (skip): Likewise.
22267         (value): Likewise.
22268         * misc/getusershell.c (initshells): Likewise.
22269         * misc/syslog.c (__vsyslog_chk): Likewise.
22270         * misc/ttyslot.c (ttyslot): Likewise.
22271         * nis/nis_hash.c (__nis_hash): Likewise.
22272         * posix/fnmatch_loop.c (FCT): Likewise.
22273         * posix/getconf.c (print_all): Likewise.
22274         (main): Likewise.
22275         * posix/getopt.c (exchange): Likewise.
22276         * posix/glob.c (globfree): Likewise.
22277         (prefix_array): Likewise.
22278         (__glob_pattern_type): Likewise.
22279         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22280         (NS_GET32): Likewise.
22281         (NS_PUT16): Likewise.
22282         (NS_PUT32): Likewise.
22283         * resolv/gethnamaddr.c (getanswer): Likewise.
22284         (gethostbyname2): Likewise.
22285         (gethostbyaddr): Likewise.
22286         (_gethtent): Likewise.
22287         (_gethtbyname2): Likewise.
22288         (_gethtbyaddr): Likewise.
22289         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22290         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22291         * resolv/res_init.c (__res_vinit): Likewise.
22292         (net_mask): Likewise.
22293         * resolv/res_mkquery.c (outchar): Likewise.
22294         (PRINT): Likewise.
22295         * stdio-common/printf_fp.c (outchar): Likewise.
22296         (PRINT): Likewise.
22297         * stdio-common/printf_fphex.c (outchar): Likewise.
22298         (PRINT): Likewise.
22299         * stdio-common/printf_size.c (outchar): Likewise.
22300         (PRINT): Likewise.
22301         * stdio-common/test_rdwr.c (main): Likewise.
22302         * stdio-common/tfformat.c (matches): Likewise.
22303         * stdio-common/vfprintf.c (outchar): Likewise.
22304         (printf_unknown): Likewise.
22305         (buffered_vfprintf): Likewise.
22306         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22307         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22308         (ReadFile): Likewise.
22309         * stdlib/qsort.c (SWAP): Likewise.
22310         (_quicksort): Likewise.
22311         * stdlib/setenv.c (__add_to_environ): Likewise.
22312         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22313         * stdlib/strtol_l.c (__strtol_l): Likewise.
22314         * stdlib/tst-strtod.c (main): Likewise.
22315         * stdlib/tst-strtol.c (main): Likewise.
22316         * stdlib/tst-strtoll.c (main): Likewise.
22317         * string/bits/string2.h (__strcmp_cc): Likewise.
22318         (__strcmp_cg): Likewise.
22319         (__strcspn_c1): Likewise.
22320         (__strcspn_c2): Likewise.
22321         (__strcspn_c3): Likewise.
22322         (__strspn_c1): Likewise.
22323         (__strspn_c2): Likewise.
22324         (__strspn_c3): Likewise.
22325         (__strsep_1c): Likewise.
22326         (__strsep_2c): Likewise.
22327         (__strsep_3c): Likewise.
22328         * string/memccpy.c (__memccpy): Likewise.
22329         * string/stpcpy.c (__stpcpy): Likewise.
22330         * string/strcmp.c (strcmp): Likewise.
22331         * string/strrchr.c (strrchr): Likewise.
22332         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22333         Likewise.
22334         * sysdeps/mach/hurd/getcwd.c
22335         (_hurd_canonicalize_directory_name_internal): Likewise.
22336         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22337         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22338         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22339         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22340         Likewise, in both definitions.
22341         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22342         definitions.
22343         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22344         64] (__bswap_64): Likewise.
22345         * time/test_time.c (main): Likewise.
22346         * time/tzfile.c (__tzfile_read): Likewise.
22347         (__tzfile_compute): Likewise.
22348         * time/tzset.c (__tzset_parse_tz): Likewise.
22349         (tzset_internal): Likewise.
22350         (compute_change): Likewise.
22351         * wcsmbs/wcscat.c (__wcscat): Likewise.
22352         * wcsmbs/wcschr.c (wcschr): Likewise.
22353         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22354         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22355         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22356         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22357         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22358         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22359         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22360         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22361         * wcsmbs/wmemset.c (wmemset): Likewise.
22363 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22365         * scripts/config.guess: Update to version 2013-05-16.
22366         * scripts/config.sub: Update to version 2013-04-24.
22367         * scripts/install-sh: Update to version 2011-11-20.07.
22368         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22369         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22371 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22373         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22374         * elf/sln.c: Likewise.
22375         * hurd/hurd/ioctl.h: Likewise.
22376         * hurd/hurdmalloc.c: Likewise.
22377         * hurd/xattr.c: Likewise.
22378         * include/shlib-compat.h: Likewise.
22379         * inet/ruserpass.c: Likewise.
22380         * libio/iofgets_u.c: Likewise.
22381         * libio/iofgetws_u.c: Likewise.
22382         * locale/programs/ld-identification.c: Likewise.
22383         * locale/programs/ld-time.c: Likewise.
22384         * mach/msg-destroy.c: Likewise.
22385         * nss/nss_files/files-netgrp.c: Likewise.
22386         * resolv/res_data.c: Likewise.
22387         * soft-fp/op-1.h: Likewise.
22388         * soft-fp/op-2.h: Likewise.
22389         * soft-fp/op-4.h: Likewise.
22390         * soft-fp/op-common.h: Likewise.
22391         * stdio-common/printf_fphex.c: Likewise.
22392         * stdlib/strtod_l.c: Likewise.
22393         * sunrpc/rpc/clnt.h: Likewise.
22394         * sysdeps/generic/framestate.c: Likewise.
22395         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22396         * sysdeps/i386/bsd-setjmp.S: Likewise.
22397         * sysdeps/i386/__longjmp.S: Likewise.
22398         * sysdeps/i386/setjmp.S: Likewise.
22399         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22400         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22401         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22402         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22403         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22404         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22405         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22406         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22407         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22408         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22409         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22410         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22411         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22412         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22413         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22414         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22415         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22416         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22417         * sysdeps/ieee754/support.c: Likewise.
22418         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22419         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22420         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22421         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22422         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22423         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22424         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22425         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22426         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22427         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22428         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22429         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22430         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22431         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22432         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22433         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22434         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22437 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22439         * posix/transbug.c: Remove executable mode.
22441 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22443         * crypt/speeds.c: Remove trailing whitespace.
22444         * dlfcn/default.c: Likewise.
22445         * elf/ifuncdep2.c: Likewise.
22446         * elf/ifuncmain1.c: Likewise.
22447         * elf/ifuncmain1vis.c: Likewise.
22448         * elf/testobj.h: Likewise.
22449         * elf/tst-stackguard1.c: Likewise.
22450         * gmon/sys/gmon.h: Likewise.
22451         * hurd/hurdmsg.c: Likewise.
22452         * hurd/new-fd.c: Likewise.
22453         * hurd/ports-get.c: Likewise.
22454         * iconvdata/ibm1008_420.c: Likewise.
22455         * inet/tst-getni1.c: Likewise.
22456         * inet/tst-getni2.c: Likewise.
22457         * libio/ioungetc.c: Likewise.
22458         * libio/wfiledoalloc.c: Likewise.
22459         * manual/libm-err-tab.pl: Likewise.
22460         * math/w_dremf.c: Likewise.
22461         * misc/ftruncate.c: Likewise.
22462         * posix/bug-glob2.c: Likewise.
22463         * posix/tst-pcre.c: Likewise.
22464         * posix/wait4.c: Likewise.
22465         * resolv/README: Likewise.
22466         * resolv/res_debug.h: Likewise.
22467         * resolv/tst-inet_ntop.c: Likewise.
22468         * setjmp/bug269-setjmp.c: Likewise.
22469         * soft-fp/extended.h: Likewise.
22470         * soft-fp/op-1.h: Likewise.
22471         * soft-fp/op-2.h: Likewise.
22472         * soft-fp/op-4.h: Likewise.
22473         * soft-fp/op-8.h: Likewise.
22474         * soft-fp/testit.c: Likewise.
22475         * stdio-common/bug16.c: Likewise.
22476         * stdlib/random.c: Likewise.
22477         * sunrpc/rpcsvc/rquota.x: Likewise.
22478         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22479         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22481         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22482         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22483         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22484         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22485         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22486         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22487         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22488         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22489         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22490         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22491         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22492         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22493         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22494         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22495         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22496         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22497         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22498         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22499         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22500         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22501         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22502         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22503         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22504         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22506         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22507         * sysdeps/ieee754/s_lib_version.c: Likewise.
22508         * sysdeps/mach/hurd/check_fds.c: Likewise.
22509         * sysdeps/mach/hurd/getsockname.c: Likewise.
22510         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22511         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22512         * sysdeps/powerpc/bits/link.h: Likewise.
22513         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22514         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22515         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22516         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22517         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22518         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22519         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22520         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22521         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22522         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22523         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22524         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22525         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22526         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22527         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22528         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22529         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22530         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22531         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22532         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22533         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22534         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22535         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22536         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22537         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22538         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22539         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22540         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22541         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22542         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22544         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22545         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22546         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22547         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22548         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22549         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22550         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22551         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22552         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22553         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22554         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22555         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22556         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22557         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22558         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22559         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22560         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22561         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22562         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22563         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22564         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22565         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22566         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22567         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22568         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22569         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22570         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22571         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22572         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22573         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22574         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22575         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22576         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22577         * sysdeps/powerpc/sysdep.h: Likewise.
22578         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22579         * sysdeps/s390/s390-64/sub_n.S: Likewise.
22580         * sysdeps/sh/dl-trampoline.S: Likewise.
22581         * sysdeps/sh/memset.S: Likewise.
22582         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22583         * sysdeps/sh/strlen.S: Likewise.
22584         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22585         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22586         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22587         * sysdeps/sparc/sparc32/rem.S: Likewise.
22588         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22589         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22590         * sysdeps/sparc/sparc32/strchr.S: Likewise.
22591         * sysdeps/sparc/sparc32/udiv.S: Likewise.
22592         * sysdeps/sparc/sparc32/urem.S: Likewise.
22593         * sysdeps/sparc/sparc64/add_n.S: Likewise.
22594         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22595         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22596         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22597         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22598         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22599         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22600         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22601         * sysdeps/unix/bsd/times.c: Likewise.
22602         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22603         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22607         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22608         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22609         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22610         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22611         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22612         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22613         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22614         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22615         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22616         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22617         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22618         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22619         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22620         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22621         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22622         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22623         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22624         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22625         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22626         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22627         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22628         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22629         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22630         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22631         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22632         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22633         * sysdeps/x86_64/strcspn.S: Likewise.
22635 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22637         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22638         generated file.  Regenerate properly from gen-translit.pl.
22639         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22640         locale/C-translit.h.
22642 2013-06-05  Andreas Schwab  <schwab@suse.de>
22644         [BZ #15100]
22645         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22646         week as 6 instead of -1.
22647         * time/tst-strptime.c (day_tests): Add test case.
22649 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22651         * sysdeps/generic/math_private.h
22652         (libc_feholdexcept_setround_53bit): Replace with
22653         libc_feholdsetround_53bit.
22654         (libc_feupdateenv_53bit): Replace with
22655         libc_feresetround_53bit.
22656         (SET_RESTORE_ROUND_53BIT): Adjust.
22658 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22660         * string/test-strchrnul.c: Add copyright header.
22662         * posix/tst-getaddrinfo4.c: Increase test timeout.
22664 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22666         [BZ #15536]
22667         * math/libm-test.inc (MAX_EXP): Remove
22668         (MIN_EXP): Define.
22669         (ulp): Use MIN_EXP - MANT_DIG.
22670         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22672 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22674         * po/be.po: Revert last change.
22675         * po/zh_CN.po: Likewise.
22676         * po/header.pot: Likewise.
22678 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22680         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22681         link-libc-deps to empty as target-specific variable.
22682         * Makerules (link-libc-args): New variable.
22683         (libc-for-link): Likewise.
22684         (link-libc-deps): Likewise.
22685         (lib%.so): Depend on $(link-libc-deps).  Link with
22686         $(link-libc-args).
22687         (build-module): Link with $(link-libc-args).
22688         (build-module-asneeded): Likewise.
22689         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22690         list of objects.
22691         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22692         target-specific variable.
22693         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22694         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22695         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22696         libc.
22697         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22698         libc and ld.so.
22699         ($(objpfx)libpcprofile.so): Likewise.
22700         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22701         libc_nonshared.a.
22702         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22703         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22704         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22705         $(link-libc-deps).
22706         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22707         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22708         * login/Makefile ($(objpfx)libutil.so): Likewise.
22709         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22710         * math/Makefile ($(objpfx)libm.so): Likewise.
22711         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22712         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22713         variable instead of depending directly on libc.
22714         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22715         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22716         $(link-libc-deps).
22717         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22718         libc.
22719         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22720         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22721         ($(objpfx)libanl.so): Likewise.
22722         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22723         ld.so.
22724         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22725         $(link-libc-deps).
22726         * sysdeps/i386/fpu/Makefile: Remove file.
22727         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22728         ($(objpfx)libm.so): Remove dependency on ld.so.
22730 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22732         [BZ # 15553]
22733         * nis/yp_xdr.c (XDRMAXNAME): Define.
22734         (XDRMAXRECORD): Define.
22735         (xdr_domainname): Use XDRMAXNAME.
22736         (xdr_mapname): Likewise.
22737         (xdr_peername): Likewise.
22738         (xdr_keydat): Use XDRMAXRECORD.
22739         (xdr_valdat): Likewise.
22741 2013-05-30  Jeff Law  <law@redhat.com>
22743         [BZ #14256]
22744         * manual/errno.texi (ESTALE): Update to account for more than
22745         just NFS file systems.
22746         * sysdeps/gnu/errlist.c: Regenerated.
22748 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22750         [BZ #15465]
22751         * elf/Makefile (tests): Add tst-null-argv.
22752         (modules-names):  Add tst-null-argv-lib.
22753         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22754         (tst-null-argv-ENV): Set environment for tst-null-argv.
22755         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22756         (RTLD_PROGNAME): New macro.
22757         * elf/tst-null-argv.c: New test case.
22758         * elf/tst-null-argv-lib.c: Library for test case.
22759         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22760         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22761         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22762         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22763         * elf/dl-init.c (call_init): Likewise.
22764         (_dl_init): Likewise.
22765         * elf/dl-load.c (print_search_path): Likewise.
22766         (_dl_map_object): Likewise.
22767         * elf/dl-lookup.c (do_lookup_x): Likewise.
22768         (add_dependency): Likewise.
22769         (_dl_lookup_symbol_x): Likewise.
22770         (_dl_debug_bindings): Likewise.
22771         * elf/dl-open.c (_dl_show_scope): Likewise.
22772         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22773         * elf/dl-version.c (match_symbol): Likewise.
22774         (_dl_check_map_versions): Likewise.
22775         * elf/rtld.c (dl_main): Likewise.
22776         (print_unresolved): Use RTLD_PROGNAME.
22777         (print_missing_version): Likewise.
22778         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22779         (elf_machine_rela): Likewise.
22780         * sysdeps/powerpc/powerpc32/dl-machine.c
22781         (__process_machine_rela): Likewise.
22782         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22783         Likewise.
22784         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22785         Likewise.
22786         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22787         Likewise.
22788         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22789         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22790         Likewise.
22791         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22792         Likewise.
22793         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22795 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22797         * po/be.po: Add descriptive title.
22798         * po/zh_CN.po: Likewise.
22799         * po/header.pot: Likewise.
22801 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22803         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22804         error message.
22805         (enlarge_archive): Likewise.
22807 2013-05-28  Ben North  <ben@redfrontdoor.org>
22809         * manual/arith.texi (frexp): It is the magnitude of the return
22810         value which lies in [0.5, 1), not the return value itself.
22812 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22816 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22818         * stdio-common/bug26.c (main): Correct fscanf template.
22820         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22821         declare _dl_skip_args.
22823         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22824         Don't declare.
22826         * manual/platform.texi: Add missing @end deftypefun.
22828 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22830         [BZ #15529]
22831         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22832         bit of mantissa of 2^16382.
22833         * math/libm-test.inc (hypot_test_data): Add more tests.
22835         * math/libm-test.inc: Add drem and pow10 to list of tested
22836         functions.
22837         (pow10_test): New function.
22838         (drem_test): Likewise.
22839         (drem_test_tonearest): Likewise.
22840         (drem_test_towardzero): Likewise.
22841         (drem_test_downward): Likewise.
22842         (drem_test_upward): Likewise.
22843         (main): Call the new functions.
22845         * math/libm-test.inc (finite_test_data): Remove.
22846         (finite_test): Run tests from isfinite_test_data.
22847         (gamma_test_data): Remove.
22848         (gamma_test): Run tests from lgamma_test_data.
22849         * sysdeps/i386/fpu/libm-test-ulps: Update.
22850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22852 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22854         * manual/platform.texi: Add PowerPC PPR function set documentation.
22855         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22856         implementation.
22858 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22860         * math/libm-test.inc (MAX_EXP): Define.
22861         (ULPDIFF): Define.
22862         (ulp): New function.
22863         (check_float_internal): Use ULPDIFF.
22864         (cpow_test): Disable failing test.
22865         (check_ulp): Test ulp() implemetnation.
22866         (main): Call check_ulp before starting tests.
22868 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22870         * math/gen-libm-test.pl (generate_testfile): Do not handle
22871         START_DATA and END_DATA.
22872         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22873         END_DATA.
22874         (acos_tonearest_test_data): Likewise.
22875         (acos_towardzero_test_data): Likewise.
22876         (acos_downward_test_data): Likewise.
22877         (acos_upward_test_data): Likewise.
22878         (acosh_test_data): Likewise.
22879         (asin_test_data): Likewise.
22880         (asin_tonearest_test_data): Likewise.
22881         (asin_towardzero_test_data): Likewise.
22882         (asin_downward_test_data): Likewise.
22883         (asin_upward_test_data): Likewise.
22884         (asinh_test_data): Likewise.
22885         (atan_test_data): Likewise.
22886         (atanh_test_data): Likewise.
22887         (atan2_test_data): Likewise.
22888         (cabs_test_data): Likewise.
22889         (cacos_test_data): Likewise.
22890         (cacosh_test_data): Likewise.
22891         (carg_test_data): Likewise.
22892         (casin_test_data): Likewise.
22893         (casinh_test_data): Likewise.
22894         (catan_test_data): Likewise.
22895         (catanh_test_data): Likewise.
22896         (cbrt_test_data): Likewise.
22897         (ccos_test_data): Likewise.
22898         (ccosh_test_data): Likewise.
22899         (ceil_test_data): Likewise.
22900         (cexp_test_data): Likewise.
22901         (cimag_test_data): Likewise.
22902         (clog_test_data): Likewise.
22903         (clog10_test_data): Likewise.
22904         (conj_test_data): Likewise.
22905         (copysign_test_data): Likewise.
22906         (cos_test_data): Likewise.
22907         (cos_tonearest_test_data): Likewise.
22908         (cos_towardzero_test_data): Likewise.
22909         (cos_downward_test_data): Likewise.
22910         (cos_upward_test_data): Likewise.
22911         (cosh_test_data): Likewise.
22912         (cosh_tonearest_test_data): Likewise.
22913         (cosh_towardzero_test_data): Likewise.
22914         (cosh_downward_test_data): Likewise.
22915         (cosh_upward_test_data): Likewise.
22916         (cpow_test_data): Likewise.
22917         (cproj_test_data): Likewise.
22918         (creal_test_data): Likewise.
22919         (csin_test_data): Likewise.
22920         (csinh_test_data): Likewise.
22921         (csqrt_test_data): Likewise.
22922         (ctan_test_data): Likewise.
22923         (ctan_tonearest_test_data): Likewise.
22924         (ctan_towardzero_test_data): Likewise.
22925         (ctan_downward_test_data): Likewise.
22926         (ctan_upward_test_data): Likewise.
22927         (ctanh_test_data): Likewise.
22928         (ctanh_tonearest_test_data): Likewise.
22929         (ctanh_towardzero_test_data): Likewise.
22930         (ctanh_downward_test_data): Likewise.
22931         (ctanh_upward_test_data): Likewise.
22932         (erf_test_data): Likewise.
22933         (erfc_test_data): Likewise.
22934         (exp_test_data): Likewise.
22935         (exp_tonearest_test_data): Likewise.
22936         (exp_towardzero_test_data): Likewise.
22937         (exp_downward_test_data): Likewise.
22938         (exp_upward_test_data): Likewise.
22939         (exp10_test_data): Likewise.
22940         (exp2_test_data): Likewise.
22941         (expm1_test_data): Likewise.
22942         (fabs_test_data): Likewise.
22943         (fdim_test_data): Likewise.
22944         (finite_test_data): Likewise.
22945         (floor_test_data): Likewise.
22946         (fma_test_data): Likewise.
22947         (fma_towardzero_test_data): Likewise.
22948         (fma_downward_test_data): Likewise.
22949         (fma_upward_test_data): Likewise.
22950         (fmax_test_data): Likewise.
22951         (fmin_test_data): Likewise.
22952         (fmod_test_data): Likewise.
22953         (fpclassify_test_data): Likewise.
22954         (frexp_test_data): Likewise.
22955         (gamma_test_data): Likewise.
22956         (hypot_test_data): Likewise.
22957         (ilogb_test_data): Likewise.
22958         (isfinite_test_data): Likewise.
22959         (isgreater_test_data): Likewise.
22960         (isgreaterequal_test_data): Likewise.
22961         (isinf_test_data): Likewise.
22962         (isless_test_data): Likewise.
22963         (islessequal_test_data): Likewise.
22964         (islessgreater_test_data): Likewise.
22965         (isnan_test_data): Likewise.
22966         (isnormal_test_data): Likewise.
22967         (issignaling_test_data): Likewise.
22968         (isunordered_test_data): Likewise.
22969         (j0_test_data): Likewise.
22970         (j1_test_data): Likewise.
22971         (jn_test_data): Likewise.
22972         (ldexp_test_data): Likewise.
22973         (lgamma_test_data): Likewise.
22974         (lrint_test_data): Likewise.
22975         (lrint_tonearest_test_data): Likewise.
22976         (lrint_towardzero_test_data): Likewise.
22977         (lrint_downward_test_data): Likewise.
22978         (lrint_upward_test_data): Likewise.
22979         (llrint_test_data): Likewise.
22980         (llrint_tonearest_test_data): Likewise.
22981         (llrint_towardzero_test_data): Likewise.
22982         (llrint_downward_test_data): Likewise.
22983         (llrint_upward_test_data): Likewise.
22984         (log_test_data): Likewise.
22985         (log10_test_data): Likewise.
22986         (log1p_test_data): Likewise.
22987         (log2_test_data): Likewise.
22988         (logb_test_data): Likewise.
22989         (logb_downward_test_data): Likewise.
22990         (lround_test_data): Likewise.
22991         (llround_test_data): Likewise.
22992         (modf_test_data): Likewise.
22993         (nearbyint_test_data): Likewise.
22994         (nextafter_test_data): Likewise.
22995         (nexttoward_test_data): Likewise.
22996         (pow_test_data): Likewise.
22997         (pow_tonearest_test_data): Likewise.
22998         (pow_towardzero_test_data): Likewise.
22999         (pow_downward_test_data): Likewise.
23000         (pow_upward_test_data): Likewise.
23001         (remainder_test_data): Likewise.
23002         (remainder_tonearest_test_data): Likewise.
23003         (remainder_towardzero_test_data): Likewise.
23004         (remainder_downward_test_data): Likewise.
23005         (remainder_upward_test_data): Likewise.
23006         (remquo_test_data): Likewise.
23007         (rint_test_data): Likewise.
23008         (rint_tonearest_test_data): Likewise.
23009         (rint_towardzero_test_data): Likewise.
23010         (rint_downward_test_data): Likewise.
23011         (rint_upward_test_data): Likewise.
23012         (round_test_data): Likewise.
23013         (scalb_test_data): Likewise.
23014         (scalbn_test_data): Likewise.
23015         (scalbln_test_data): Likewise.
23016         (signbit_test_data): Likewise.
23017         (sin_test_data): Likewise.
23018         (sin_tonearest_test_data): Likewise.
23019         (sin_towardzero_test_data): Likewise.
23020         (sin_downward_test_data): Likewise.
23021         (sin_upward_test_data): Likewise.
23022         (sincos_test_data): Likewise.
23023         (sinh_test_data): Likewise.
23024         (sinh_tonearest_test_data): Likewise.
23025         (sinh_towardzero_test_data): Likewise.
23026         (sinh_downward_test_data): Likewise.
23027         (sinh_upward_test_data): Likewise.
23028         (sqrt_test_data): Likewise.
23029         (tan_test_data): Likewise.
23030         (tan_tonearest_test_data): Likewise.
23031         (tan_towardzero_test_data): Likewise.
23032         (tan_downward_test_data): Likewise.
23033         (tan_upward_test_data): Likewise.
23034         (tanh_test_data): Likewise.
23035         (tgamma_test_data): Likewise.
23036         (trunc_test_data): Likewise.
23037         (y0_test_data): Likewise.
23038         (y1_test_data): Likewise.
23039         (yn_test_data): Likewise.
23040         (significand_test_data): Likewise.
23042         * math/gen-libm-test.pl (@functions): Remove variable.
23043         (generate_testfile): Don't handle START and END lines.
23044         * math/libm-test.inc (START): New macro.
23045         (END): Likewise.
23046         (END_COMPLEX): Likewise.
23047         (acos_test): Use END macro without arguments.
23048         (acos_test_tonearest): Likewise.
23049         (acos_test_towardzero): Likewise.
23050         (acos_test_downward): Likewise.
23051         (acos_test_upward): Likewise.
23052         (acosh_test): Likewise.
23053         (asin_test): Likewise.
23054         (asin_test_tonearest): Likewise.
23055         (asin_test_towardzero): Likewise.
23056         (asin_test_downward): Likewise.
23057         (asin_test_upward): Likewise.
23058         (asinh_test): Likewise.
23059         (atan_test): Likewise.
23060         (atanh_test): Likewise.
23061         (atan2_test): Likewise.
23062         (cabs_test): Likewise.
23063         (cacos_test): Use END_COMPLEX macro without arguments.
23064         (cacosh_test): Likewise.
23065         (carg_test): Use END macro without arguments.
23066         (casin_test): Use END_COMPLEX macro without arguments.
23067         (casinh_test): Likewise.
23068         (catan_test): Likewise.
23069         (catanh_test): Likewise.
23070         (cbrt_test): Use END macro without arguments.
23071         (ccos_test): Use END_COMPLEX macro without arguments.
23072         (ccosh_test): Likewise.
23073         (ceil_test): Use END macro without arguments.
23074         (cexp_test): Use END_COMPLEX macro without arguments.
23075         (cimag_test): Use END macro without arguments.
23076         (clog_test): Use END_COMPLEX macro without arguments.
23077         (clog10_test): Likewise.
23078         (conj_test): Likewise.
23079         (copysign_test): Use END macro without arguments.
23080         (cos_test): Likewise.
23081         (cos_test_tonearest): Likewise.
23082         (cos_test_towardzero): Likewise.
23083         (cos_test_downward): Likewise.
23084         (cos_test_upward): Likewise.
23085         (cosh_test): Likewise.
23086         (cosh_test_tonearest): Likewise.
23087         (cosh_test_towardzero): Likewise.
23088         (cosh_test_downward): Likewise.
23089         (cosh_test_upward): Likewise.
23090         (cpow_test): Use END_COMPLEX macro without arguments.
23091         (cproj_test): Likewise.
23092         (creal_test): Use END macro without arguments.
23093         (csin_test): Use END_COMPLEX macro without arguments.
23094         (csinh_test): Likewise.
23095         (csqrt_test): Likewise.
23096         (ctan_test): Likewise.
23097         (ctan_test_tonearest): Likewise.
23098         (ctan_test_towardzero): Likewise.
23099         (ctan_test_downward): Likewise.
23100         (ctan_test_upward): Likewise.
23101         (ctanh_test): Likewise.
23102         (ctanh_test_tonearest): Likewise.
23103         (ctanh_test_towardzero): Likewise.
23104         (ctanh_test_downward): Likewise.
23105         (ctanh_test_upward): Likewise.
23106         (erf_test): Use END macro without arguments.
23107         (erfc_test): Likewise.
23108         (exp_test): Likewise.
23109         (exp_test_tonearest): Likewise.
23110         (exp_test_towardzero): Likewise.
23111         (exp_test_downward): Likewise.
23112         (exp_test_upward): Likewise.
23113         (exp10_test): Likewise.
23114         (exp2_test): Likewise.
23115         (expm1_test): Likewise.
23116         (fabs_test): Likewise.
23117         (fdim_test): Likewise.
23118         (finite_test): Likewise.
23119         (floor_test): Likewise.
23120         (fma_test): Likewise.
23121         (fma_test_towardzero): Likewise.
23122         (fma_test_downward): Likewise.
23123         (fma_test_upward): Likewise.
23124         (fmax_test): Likewise.
23125         (fmin_test): Likewise.
23126         (fmod_test): Likewise.
23127         (fpclassify_test): Likewise.
23128         (frexp_test): Likewise.
23129         (gamma_test): Likewise.
23130         (hypot_test): Likewise.
23131         (ilogb_test): Likewise.
23132         (isfinite_test): Likewise.
23133         (isgreater_test): Likewise.
23134         (isgreaterequal_test): Likewise.
23135         (isinf_test): Likewise.
23136         (isless_test): Likewise.
23137         (islessequal_test): Likewise.
23138         (islessgreater_test): Likewise.
23139         (isnan_test): Likewise.
23140         (isnormal_test): Likewise.
23141         (issignaling_test): Likewise.
23142         (isunordered_test): Likewise.
23143         (j0_test): Likewise.
23144         (j1_test): Likewise.
23145         (jn_test): Likewise.
23146         (ldexp_test): Likewise.
23147         (lgamma_test): Likewise.
23148         (lrint_test): Likewise.
23149         (lrint_test_tonearest): Likewise.
23150         (lrint_test_towardzero): Likewise.
23151         (lrint_test_downward): Likewise.
23152         (lrint_test_upward): Likewise.
23153         (llrint_test): Likewise.
23154         (llrint_test_tonearest): Likewise.
23155         (llrint_test_towardzero): Likewise.
23156         (llrint_test_downward): Likewise.
23157         (llrint_test_upward): Likewise.
23158         (log_test): Likewise.
23159         (log10_test): Likewise.
23160         (log1p_test): Likewise.
23161         (log2_test): Likewise.
23162         (logb_test): Likewise.
23163         (logb_test_downward): Likewise.
23164         (lround_test): Likewise.
23165         (llround_test): Likewise.
23166         (modf_test): Likewise.
23167         (nearbyint_test): Likewise.
23168         (nextafter_test): Likewise.
23169         (nexttoward_test): Likewise.
23170         (pow_test): Likewise.
23171         (pow_test_tonearest): Likewise.
23172         (pow_test_towardzero): Likewise.
23173         (pow_test_downward): Likewise.
23174         (pow_test_upward): Likewise.
23175         (remainder_test): Likewise.
23176         (remainder_test_tonearest): Likewise.
23177         (remainder_test_towardzero): Likewise.
23178         (remainder_test_downward): Likewise.
23179         (remainder_test_upward): Likewise.
23180         (remquo_test): Likewise.
23181         (rint_test): Likewise.
23182         (rint_test_tonearest): Likewise.
23183         (rint_test_towardzero): Likewise.
23184         (rint_test_downward): Likewise.
23185         (rint_test_upward): Likewise.
23186         (round_test): Likewise.
23187         (scalb_test): Likewise.
23188         (scalbn_test): Likewise.
23189         (scalbln_test): Likewise.
23190         (signbit_test): Likewise.
23191         (sin_test): Likewise.
23192         (sin_test_tonearest): Likewise.
23193         (sin_test_towardzero): Likewise.
23194         (sin_test_downward): Likewise.
23195         (sin_test_upward): Likewise.
23196         (sincos_test): Likewise.
23197         (sinh_test): Likewise.
23198         (sinh_test_tonearest): Likewise.
23199         (sinh_test_towardzero): Likewise.
23200         (sinh_test_downward): Likewise.
23201         (sinh_test_upward): Likewise.
23202         (sqrt_test): Likewise.
23203         (tan_test): Likewise.
23204         (tan_test_tonearest): Likewise.
23205         (tan_test_towardzero): Likewise.
23206         (tan_test_downward): Likewise.
23207         (tan_test_upward): Likewise.
23208         (tanh_test): Likewise.
23209         (tgamma_test): Likewise.
23210         (trunc_test): Likewise.
23211         (y0_test): Likewise.
23212         (y1_test): Likewise.
23213         (yn_test): Likewise.
23214         (significand_test): Likewise.
23216 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23218         [BZ #15381]
23219         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23221 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23223         [BZ #14894]
23224         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23225         __ppc_mdoio and __ppc_mdoom.
23226         * manual/platform.texi: Document new functions __ppc_yield,
23227         __ppc_mdoio and __ppc_mdoom.
23229 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23231         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23232         (main): Mention "tls" pseudo-hwcap is legacy.
23233         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23235 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23237         * math/gen-libm-test.pl (parse_args): Output only string of
23238         arguments as text for test name, not full call or descriptions of
23239         tests for extra outputs.
23240         (generate_testfile): Do not pass function name to parse_args.
23241         Generate this_func variable from START.
23242         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23243         field to arg_str.
23244         (struct test_ff_f_data): Likewise.
23245         (test_ff_f_data_nexttoward): Likewise.
23246         (struct test_fi_f_data): Likewise.
23247         (struct test_fl_f_data): Likewise.
23248         (struct test_if_f_data): Likewise.
23249         (struct test_fff_f_data): Likewise.
23250         (struct test_c_f_data): Likewise.
23251         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23252         (struct test_fF_f1_data): Likewise.
23253         (struct test_ffI_f1_data): Likewise.
23254         (struct test_c_c_data): Rename test_name field to arg_str.
23255         (struct test_cc_c_data): Likewise.
23256         (struct test_f_i_data): Likewise.
23257         (struct test_ff_i_data): Likewise.
23258         (struct test_f_l_data): Likewise.
23259         (struct test_f_L_data): Likewise.
23260         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23261         and extra2_name.
23262         (COMMON_TEST_SETUP): New macro.
23263         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23264         (COMMON_TEST_CLEANUP): Likewise.
23265         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23266         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23267         macros.
23268         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23269         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23270         macros.
23271         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23272         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23273         cleanup macros.
23274         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23275         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23276         macros.
23277         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23278         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23279         macros.
23280         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23281         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23282         cleanup macros.
23283         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23284         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23285         cleanup macros.
23286         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23287         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23288         cleanup macros.
23289         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23290         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23291         macros.
23292         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23293         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23294         macros.
23295         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23296         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23297         macros.
23298         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23299         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23300         cleanup macros.
23301         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23302         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23303         cleanup macros.
23304         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23305         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23306         macros.
23307         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23308         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23309         cleanup macros.
23310         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23311         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23312         macros.
23313         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23314         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23315         macros.
23316         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23317         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23318         cleanup macros.
23319         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23321 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23323         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23324         to _sifields.sigfault.
23325         (si_addr_lsb): Define new macro.
23326         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23327         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23328         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23330 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23332         [BZ #15441]
23333         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23334         returns -1.
23335         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23336         null return -1.
23337         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23338         loading the domain.
23340 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23342         * math/gen-libm-test.pl (parse_args): Do not include expected
23343         result in test name.
23344         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23345         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23346         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23347         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23348         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23353         * benchtests/Makefile: Sort function entries.
23355         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23356         tanh, asinh, acosh, atanh.
23357         * benchtests/acos-inputs: New file.
23358         * benchtests/acosh-inputs: New file.
23359         * benchtests/asin-inputs: New file.
23360         * benchtests/asinh-inputs: New file.
23361         * benchtests/atanh-inputs: New file.
23362         * benchtests/cosh-inputs: New file.
23363         * benchtests/log-inputs: New file.
23364         * benchtests/sinh-inputs: New file.
23365         * benchtests/tanh-inputs: New file.
23367 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23369         [BZ #15339]
23370         * posix/tst-getaddrinfo4.c: New test.
23371         * posix/Makefile (tests): Add it.
23373 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23375         [BZ #15339]
23376         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23377         when no services were used.
23378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23379         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23381 2013-05-21  Andreas Schwab  <schwab@suse.de>
23383         [BZ #15014]
23384         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23385         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23386         successful.
23387         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23388         redundant variable declarations and reallocation of buffer when
23389         parsing as IPv6 address.  Always set NSS status when called from
23390         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23391         buffer too small.  Correct computation of needed size.
23392         * nss/Makefile (tests): Add test-digits-dots.
23393         * nss/test-digits-dots.c: New test.
23395 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23397         * benchtests/Makefile: Remove instructions for adding
23398         benchmark tests.
23399         * benchtests/README: New file to explain how to execute and
23400         enhance the benchmark tests.
23402 2013-05-21  Andreas Schwab  <schwab@suse.de>
23404         [BZ #15493]
23405         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23406         * setjmp/tst-sigsetjmp.c: New test.
23408 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23410         * sysdeps/x86_64/memset.S (memset): New implementation.
23411         (__bzero): Likewise.
23412         (__memset_tail): New function.
23414 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23416         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23417         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23418         __memcpy_sse2_unaligned ifunc selection.
23419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23420         Add memcpy-sse2-unaligned.S.
23421         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23422         Add: __memcpy_sse2_unaligned.
23424 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23426         [BZ #15490]
23427         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23428         math_force_eval before restoring floating-point envrionment.
23429         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23430         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23431         Likewise.
23432         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23433         <math_private.h>.
23434         (__nearbyintl): Use math_force_eval before restoring
23435         floating-point environment.
23436         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23438         * math/gen-libm-test.pl (special_functions): Remove.
23439         (parse_args): Don't handle TEST_extra.  Handle functions with no
23440         return value.
23441         * math/libm-test.inc (struct test_sincos_data): Replace with
23442         struct test_fFF_11_data.
23443         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23444         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23445         (sincos_test_data): Change element type to struct
23446         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23447         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23448         RUN_TEST_LOOP_sincos.
23449         * math/README.libm-test: Don't mention special handling of
23450         individual functions.
23451         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23452         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23453         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23454         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23455         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23458         * math/gen-libm-test.pl (get_variable): Remove function.
23459         (parse_args): Don't show pointer parameters to call in test
23460         names.  Use "extra output N" in test names for extra outputs
23461         rather than naming variables.
23463 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23465         [BZ #15488]
23466         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23467         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23468         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23469         double tests.
23470         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23471         disable.
23472         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23473         check_long_double.
23475         * math/gen-libm-test.pl (@tests): Remove variable.
23476         ($count): Likewise.
23477         (new_test): Remove function.
23478         (show_exceptions): New function.
23479         (special_functions): Use show_exceptions instead of new_test.
23480         (parse_args): Likewise.
23481         (generate_testfile): Pass only function name in generated call to
23482         print_max_error or print_complex_max_error.
23483         (get_ulps): Do not handle complex tests specially.
23484         (output_test): Rename to ...
23485         (get_all_ulps_for_test): ... this.  Return a string rather than
23486         printing to a file.  Require ulps to be present.
23487         (output_ulps): Generate arrays rather than #defines.
23488         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23489         (struct ulp_data): New type.
23490         (BUILD_COMPLEX_ULP): Remove macro.
23491         (compare_ulp_data): New function.
23492         (find_ulps): Likewise.
23493         (find_test_ulps): Likewise.
23494         (find_function_ulps): Likewise.
23495         (find_complex_function_ulps): Likewise.
23496         (print_max_error): Determine allowed ulps using
23497         find_function_ulps.
23498         (print_complex_max_error): Determine allowed ulps using
23499         find_complex_function_ulps.
23500         (check_float_internal): Determine max ulps using find_test_ulps.
23501         (check_float): Do not take max_ulp parameter.  Update call to
23502         check_float_internal.
23503         (check_complex): Likewise.
23504         (check_int): Do not take max_ulp parameter.
23505         (check_long): Likewise.
23506         (check_bool): Likewise.
23507         (check_longlong): Likewise.
23508         (struct test_f_f_data): Remove max_ulp field.
23509         (struct test_ff_f_data): Likewise.
23510         (struct test_ff_f_data_nexttoward): Likewise.
23511         (struct test_fi_f_data): Likewise.
23512         (struct test_fl_f_data): Likewise.
23513         (struct test_if_f_data): Likewise.
23514         (struct test_fff_f_data): Likewise.
23515         (struct test_c_f_data): Likewise.
23516         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23517         (struct test_fF_f1_data): Likewise.
23518         (struct test_ffI_f1_data): Likewise.
23519         (struct test_c_c_data): Remove max_ulp field.
23520         (struct test_cc_c_data): Likewise.
23521         (struct test_f_i_data): Likewise.
23522         (struct test_ff_i_data): Likewise.
23523         (struct test_f_l_data): Likewise.
23524         (struct test_f_L_data): Likewise.
23525         (struct test_sincos_data): Likewise.
23526         (RUN_TEST_f_f): Do not handle ulps.
23527         (RUN_TEST_LOOP_f_f): Likewise.
23528         (RUN_TEST_2_f): Likewise.
23529         (RUN_TEST_LOOP_2_f): Likewise.
23530         (RUN_TEST_fff_f): Likewise.
23531         (RUN_TEST_LOOP_fff_f): Likewise.
23532         (RUN_TEST_c_f): Likewise.
23533         (RUN_TEST_LOOP_c_f): Likewise.
23534         (RUN_TEST_f_f1): Likewise.
23535         (RUN_TEST_LOOP_f_f1): Likewise.
23536         (RUN_TEST_fF_f1): Likewise.
23537         (RUN_TEST_LOOP_fF_f1): Likewise.
23538         (RUN_TEST_fI_f1): Likewise.
23539         (RUN_TEST_LOOP_fI_f1): Likewise.
23540         (RUN_TEST_ffI_f1): Likewise.
23541         (RUN_TEST_LOOP_ffI_f1): Likewise.
23542         (RUN_TEST_c_c): Likewise.
23543         (RUN_TEST_LOOP_c_c): Likewise.
23544         (RUN_TEST_cc_c): Likewise.
23545         (RUN_TEST_LOOP_cc_c): Likewise.
23546         (RUN_TEST_f_i): Likewise.
23547         (RUN_TEST_LOOP_f_i): Likewise.
23548         (RUN_TEST_f_i_tg): Likewise.
23549         (RUN_TEST_LOOP_f_i_tg): Likewise.
23550         (RUN_TEST_ff_i_tg): Likewise.
23551         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23552         (RUN_TEST_f_b): Likewise.
23553         (RUN_TEST_LOOP_f_b): Likewise.
23554         (RUN_TEST_f_b_tg): Likewise.
23555         (RUN_TEST_LOOP_f_b_tg): Likewise.
23556         (RUN_TEST_f_l): Likewise.
23557         (RUN_TEST_LOOP_f_l): Likewise.
23558         (RUN_TEST_f_L): Likewise.
23559         (RUN_TEST_LOOP_f_L): Likewise.
23560         (RUN_TEST_sincos): Likewise.
23561         (RUN_TEST_LOOP_sincos): Likewise.
23563 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23565         [BZ #15480]
23566         [BZ #15485]
23567         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23568         main case of finite arguments, set rounding mode to FE_TONEAREST
23569         and discard exceptions.
23570         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23571         exceptions.
23572         (remainder_tonearest_test_data): New variable.
23573         (remainder_test_tonearest): New function.
23574         (remainder_towardzero_test_data): New variable.
23575         (remainder_test_towardzero): New function.
23576         (remainder_downward_test_data): New variable.
23577         (remainder_test_downward): New function.
23578         (remainder_upward_test_data): New variable.
23579         (remainder_test_upward): New function.
23580         (main): Call the new test functions.
23582         * math/libm-test.inc (struct test_f_f1_data): Remove field
23583         extra_init.
23584         (struct test_fF_f1_data): Likewise.
23585         (struct test_ffI_f1_data): Likewise.
23586         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
23587         based on value of EXTRA_EXPECTED.
23588         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23589         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
23590         EXTRA_VAR based on value of EXTRA_EXPECTED.
23591         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23592         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
23593         EXTRA_VAR based on value of EXTRA_EXPECTED.
23594         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23595         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
23596         EXTRA_VAR based on value of EXTRA_EXPECTED.
23597         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23598         * math/gen-libm-test.pl (parse_args): Don't output initializers
23599         for extra output values.
23601         * math/libm-test.inc (check_int): Expect result to be exactly
23602         equal to expected value and do not handle ulps.
23603         (check_long): Likewise.
23604         (check_longlong): Likewise.
23606         * math/libm-test.inc (ceil_test_data): Test for "inexact"
23607         exceptions.
23608         (cimag_test_data): Likewise.
23609         (conj_test_data): Likewise.
23610         (copysign_test_data): Likewise.
23611         (cproj_test_data): Likewise.
23612         (creal_test_data): Likewise.
23613         (fabs_test_data): Likewise.
23614         (fdim_test_data): Likewise.
23615         (finite_test_data): Likewise.
23616         (floor_test_data): Likewise.
23617         (fmax_test_data): Likewise.
23618         (fmin_test_data): Likewise.
23619         (fmod_test_data): Likewise.
23620         (fpclassify_test_data): Likewise.
23621         (frexp_test_data): Likewise.
23622         (ilogb_test_data): Likewise.
23623         (isfinite_test_data): Likewise.
23624         (isgreater_test_data): Likewise.
23625         (isgreaterequal_test_data): Likewise.
23626         (isinf_test_data): Likewise.
23627         (isless_test_data): Likewise.
23628         (islessequal_test_data): Likewise.
23629         (islessgreater_test_data): Likewise.
23630         (isnan_test_data): Likewise.
23631         (isnormal_test_data): Likewise.
23632         (issignaling_test_data): Likewise.
23633         (isunordered_test_data): Likewise.
23634         (ldexp_test_data): Likewise.
23635         (lrint_test_data): Likewise.
23636         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23637         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23638         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23639         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23640         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23641         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23642         test input.
23643         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23644         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23645         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23646         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23647         that test input.
23648         (lrint_downward_test_data): Test for "inexact" exceptions.
23649         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23650         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23651         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23652         test input.
23653         (lrint_upward_test_data): Test for "inexact" exceptions.
23654         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23655         test input.
23656         (llrint_test_data): Test for "inexact" exceptions.
23657         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23658         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23659         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23660         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23661         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23662         (llrint_downward_test_data): Test for "inexact" exceptions.
23663         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23664         (llrint_upward_test_data): Test for "inexact" exceptions.
23665         (logb_test_data): Likewise.
23666         (logb_downward_test_data): Likewise.
23667         (nextafter_test_data): Likewise.
23668         (nexttoward_test_data): Likewise.
23669         (remainder_test_data): Likewise.
23670         (remquo_test_data): Likewise.
23671         (scalbn_test_data): Likewise.
23672         (scalbln_test_data): Likewise.
23673         (signbit_test_data): Likewise.
23674         (sqrt_test_data): Likewise.
23675         (significand_test_data): Likewise.
23677 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23679         [BZ #15424]
23680         * benchtests/bench-modf.c (struct args): Mark arg0 as
23681         volatile.
23682         * scripts/bench.pl: Mark members of struct args as volatile.
23684 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23686         [BZ # 15497]
23687         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23688         negative infinity on POWER6 or lower.
23689         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23691 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23693         [BZ #15442]
23694         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23695         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23696         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23697         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23698         (_FP_SETQNAN): New macro.
23699         (_FP_SETQNAN_SEMIRAW): Likewise.
23700         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23701         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23702         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23703         (FP_EXTEND): Use _FP_FRAC_SNANP.
23704         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23705         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23706         into account.
23707         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23708         New macro.
23709         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23710         Likewise.
23712 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23714         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23715         with DIVIDE_BY_ZERO_EXCEPTION.
23716         (gamma_test_data): Likewise.
23717         (lgamma_test_data): Likewise.
23718         (log_test_data): Likewise.
23719         (log10_test_data): Likewise.
23720         (log2_test_data): Likewise.
23721         (tgamma_test_data): Likewise.
23723         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23724         (acos_test_tonearest): Likewise.
23725         (acos_test_towardzero): Likewise.
23726         (acos_test_downward): Likewise.
23727         (acos_test_upward): Likewise.
23728         (acosh_test): Likewise.
23729         (asin_test): Likewise.
23730         (asin_test_tonearest): Likewise.
23731         (asin_test_towardzero): Likewise.
23732         (asin_test_downward): Likewise.
23733         (asin_test_upward): Likewise.
23734         (asinh_test): Likewise.
23735         (atan_test): Likewise.
23736         (atanh_test): Likewise.
23737         (atan2_test): Likewise.
23738         (cabs_test): Likewise.
23739         (cacos_test): Likewise.
23740         (cacosh_test): Likewise.
23741         (casin_test): Likewise.
23742         (casinh_test): Likewise.
23743         (catan_test): Likewise.
23744         (catanh_test): Likewise.
23745         (cbrt_test): Likewise.
23746         (ccos_test): Likewise.
23747         (ccosh_test): Likewise.
23748         (cexp_test): Likewise.
23749         (clog_test): Likewise.
23750         (clog10_test): Likewise.
23751         (cos_test): Likewise.
23752         (cos_test_tonearest): Likewise.
23753         (cos_test_towardzero): Likewise.
23754         (cos_test_downward): Likewise.
23755         (cos_test_upward): Likewise.
23756         (cosh_test): Likewise.
23757         (cosh_test_tonearest): Likewise.
23758         (cosh_test_towardzero): Likewise.
23759         (cosh_test_downward): Likewise.
23760         (cosh_test_upward): Likewise.
23761         (cpow_test): Likewise.
23762         (csin_test): Likewise.
23763         (csinh_test): Likewise.
23764         (csqrt_test): Likewise.
23765         (ctan_test): Likewise.
23766         (ctan_test_tonearest): Likewise.
23767         (ctan_test_towardzero): Likewise.
23768         (ctan_test_downward): Likewise.
23769         (ctan_test_upward): Likewise.
23770         (ctanh_test): Likewise.
23771         (ctanh_test_tonearest): Likewise.
23772         (ctanh_test_towardzero): Likewise.
23773         (ctanh_test_downward): Likewise.
23774         (ctanh_test_upward): Likewise.
23775         (erf_test): Likewise.
23776         (erfc_test): Likewise.
23777         (exp_test): Likewise.
23778         (exp_test_tonearest): Likewise.
23779         (exp_test_towardzero): Likewise.
23780         (exp_test_downward): Likewise.
23781         (exp_test_upward): Likewise.
23782         (exp10_test): Likewise.
23783         (exp2_test): Likewise.
23784         (expm1_test): Likewise.
23785         (fmod_test): Likewise.
23786         (gamma_test): Likewise.
23787         (hypot_test): Likewise.
23788         (j0_test): Likewise.
23789         (j1_test): Likewise.
23790         (jn_test): Likewise.
23791         (lgamma_test): Likewise.
23792         (log_test): Likewise.
23793         (log10_test): Likewise.
23794         (log1p_test): Likewise.
23795         (log2_test): Likewise.
23796         (logb_test_downward): Likewise.
23797         (pow_test): Likewise.
23798         (pow_test_tonearest): Likewise.
23799         (pow_test_towardzero): Likewise.
23800         (pow_test_downward): Likewise.
23801         (pow_test_upward): Likewise.
23802         (remainder_test): Likewise.
23803         (remquo_test): Likewise.
23804         (sin_test): Likewise.
23805         (sin_test_tonearest): Likewise.
23806         (sin_test_towardzero): Likewise.
23807         (sin_test_downward): Likewise.
23808         (sin_test_upward): Likewise.
23809         (sincos_test): Likewise.
23810         (sinh_test): Likewise.
23811         (sinh_test_tonearest): Likewise.
23812         (sinh_test_towardzero): Likewise.
23813         (sinh_test_downward): Likewise.
23814         (sinh_test_upward): Likewise.
23815         (sqrt_test): Likewise.
23816         (tan_test): Likewise.
23817         (tan_test_tonearest): Likewise.
23818         (tan_test_towardzero): Likewise.
23819         (tan_test_downward): Likewise.
23820         (tan_test_upward): Likewise.
23821         (tanh_test): Likewise.
23822         (tgamma_test): Likewise.
23823         (y0_test): Likewise.
23824         (y1_test): Likewise.
23825         (yn_test): Likewise.
23827         * math/gen-libm-test.pl (adjust_arg): Remove function.
23828         (special_function): Remove argument $in_func.  Only handle
23829         generating output for tables of tests, not inside functions.
23830         (parse_args): Likewise.
23831         (generate_testfile): Remove variable $in_func.  Update call to
23832         parse_args.
23833         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23834         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23835         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23836         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23837         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23838         (MAX_VALUE_INIT): Rename macro to max_value.
23839         (MIN_VALUE_INIT): Rename macro to min_value.
23840         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23841         (plus_zero): Remove variable.
23842         (minus_zero): Likewise.
23843         (plus_infty): Likewise.
23844         (minus_infty): Likewise.
23845         (qnan_value): Likewise.
23846         (max_value): Likewise.
23847         (min_value): Likewise.
23848         (min_subnorm_value): Likewise.
23850 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23852         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23853         uint64_t or uint32_t usage.
23854         * crypt/sha256-block.c: Likewise.
23855         * crypt/sha256-crypt.c: Likewise.
23856         * crypt/sha256.c: Likewise.
23857         * crypt/sha512-block.c: Likewise.
23858         * crypt/sha512-crypt.c: Likewise.
23859         * crypt/sha512.c: Likewise.
23860         * debug/backtrace-tst.c: Likewise.
23861         * debug/pcprofiledump.c: Likewise.
23862         * elf/cache.c: Likewise.
23863         * elf/dl-cache.c: Likewise.
23864         * elf/dl-misc.c: Likewise.
23865         * elf/dl-profile.c: Likewise.
23866         * elf/dl-support.c: Likewise.
23867         * elf/ldconfig.c: Likewise.
23868         * elf/sprof.c: Likewise.
23869         * iconv/dummy-repertoire.c: Likewise.
23870         * iconv/iconv_charmap.c: Likewise.
23871         * iconv/skeleton.c: Likewise.
23872         * iconvdata/8bit-generic.c: Likewise.
23873         * iconvdata/cp737.h: Likewise.
23874         * iconvdata/cp775.h: Likewise.
23875         * iconvdata/ibm1008.h: Likewise.
23876         * iconvdata/ibm1025.h: Likewise.
23877         * iconvdata/ibm1046.h: Likewise.
23878         * iconvdata/ibm1097.h: Likewise.
23879         * iconvdata/ibm1112.h: Likewise.
23880         * iconvdata/ibm1122.h: Likewise.
23881         * iconvdata/ibm1123.h: Likewise.
23882         * iconvdata/ibm1124.h: Likewise.
23883         * iconvdata/ibm1129.h: Likewise.
23884         * iconvdata/ibm1130.h: Likewise.
23885         * iconvdata/ibm1132.h: Likewise.
23886         * iconvdata/ibm1133.h: Likewise.
23887         * iconvdata/ibm1137.h: Likewise.
23888         * iconvdata/ibm1140.h: Likewise.
23889         * iconvdata/ibm1141.h: Likewise.
23890         * iconvdata/ibm1142.h: Likewise.
23891         * iconvdata/ibm1143.h: Likewise.
23892         * iconvdata/ibm1144.h: Likewise.
23893         * iconvdata/ibm1145.h: Likewise.
23894         * iconvdata/ibm1146.h: Likewise.
23895         * iconvdata/ibm1147.h: Likewise.
23896         * iconvdata/ibm1148.h: Likewise.
23897         * iconvdata/ibm1149.h: Likewise.
23898         * iconvdata/ibm1153.h: Likewise.
23899         * iconvdata/ibm1154.h: Likewise.
23900         * iconvdata/ibm1155.h: Likewise.
23901         * iconvdata/ibm1156.h: Likewise.
23902         * iconvdata/ibm1157.h: Likewise.
23903         * iconvdata/ibm1158.h: Likewise.
23904         * iconvdata/ibm1160.h: Likewise.
23905         * iconvdata/ibm1161.h: Likewise.
23906         * iconvdata/ibm1162.h: Likewise.
23907         * iconvdata/ibm1163.h: Likewise.
23908         * iconvdata/ibm1164.h: Likewise.
23909         * iconvdata/ibm1166.h: Likewise.
23910         * iconvdata/ibm1167.h: Likewise.
23911         * iconvdata/ibm12712.h: Likewise.
23912         * iconvdata/ibm1390.h: Likewise.
23913         * iconvdata/ibm1399.h: Likewise.
23914         * iconvdata/ibm16804.h: Likewise.
23915         * iconvdata/ibm4517.h: Likewise.
23916         * iconvdata/ibm4899.h: Likewise.
23917         * iconvdata/ibm4909.h: Likewise.
23918         * iconvdata/ibm4971.h: Likewise.
23919         * iconvdata/ibm5347.h: Likewise.
23920         * iconvdata/ibm803.h: Likewise.
23921         * iconvdata/ibm856.h: Likewise.
23922         * iconvdata/ibm901.h: Likewise.
23923         * iconvdata/ibm902.h: Likewise.
23924         * iconvdata/ibm9030.h: Likewise.
23925         * iconvdata/ibm9066.h: Likewise.
23926         * iconvdata/ibm921.h: Likewise.
23927         * iconvdata/ibm922.h: Likewise.
23928         * iconvdata/ibm9448.h: Likewise.
23929         * iconvdata/isiri-3342.h: Likewise.
23930         * iconvdata/jis0201.h: Likewise.
23931         * include/link.h: Likewise.
23932         * include/netdb.h: Likewise.
23933         * inet/check_native.c: Likewise.
23934         * inet/check_pf.c: Likewise.
23935         * inet/getipv4sourcefilter.c: Likewise.
23936         * inet/getnameinfo.c: Likewise.
23937         * inet/getsourcefilter.c: Likewise.
23938         * inet/htonl.c: Likewise.
23939         * inet/setipv4sourcefilter.c: Likewise.
23940         * inet/setsourcefilter.c: Likewise.
23941         * inet/test-inet6_opt.c: Likewise.
23942         * inet/tst-network.c: Likewise.
23943         * locale/C-collate.c: Likewise.
23944         * locale/C-ctype.c: Likewise.
23945         * locale/C-time.c: Likewise.
23946         * locale/C-translit.h: Likewise.
23947         * locale/loadarchive.c: Likewise.
23948         * locale/programs/3level.h: Likewise.
23949         * locale/programs/charmap.c: Likewise.
23950         * locale/programs/charmap.h: Likewise.
23951         * locale/programs/ld-address.c: Likewise.
23952         * locale/programs/ld-collate.c: Likewise.
23953         * locale/programs/ld-ctype.c: Likewise.
23954         * locale/programs/ld-identification.c: Likewise.
23955         * locale/programs/ld-measurement.c: Likewise.
23956         * locale/programs/ld-messages.c: Likewise.
23957         * locale/programs/ld-monetary.c: Likewise.
23958         * locale/programs/ld-name.c: Likewise.
23959         * locale/programs/ld-numeric.c: Likewise.
23960         * locale/programs/ld-paper.c: Likewise.
23961         * locale/programs/ld-telephone.c: Likewise.
23962         * locale/programs/ld-time.c: Likewise.
23963         * locale/programs/linereader.c: Likewise.
23964         * locale/programs/locale.c: Likewise.
23965         * locale/programs/locarchive.c: Likewise.
23966         * locale/programs/locfile.h: Likewise.
23967         * locale/programs/repertoire.c: Likewise.
23968         * locale/programs/simple-hash.c: Likewise.
23969         * locale/programs/simple-hash.h: Likewise.
23970         * malloc/memusage.c: Likewise.
23971         * malloc/memusagestat.c: Likewise.
23972         * nis/nis_defaults.c: Likewise.
23973         * nis/nis_hash.c: Likewise.
23974         * nis/nis_print.c: Likewise.
23975         * nis/nis_xdr.c: Likewise.
23976         * nscd/connections.c: Likewise.
23977         * nscd/hstcache.c: Likewise.
23978         * nscd/nscd_gethst_r.c: Likewise.
23979         * nscd/nscd_getserv_r.c: Likewise.
23980         * nscd/nscd_helper.c: Likewise.
23981         * nscd/servicescache.c: Likewise.
23982         * nss/makedb.c: Likewise.
23983         * nss/nss_db/db-XXX.c: Likewise.
23984         * nss/nss_db/db-initgroups.c: Likewise.
23985         * nss/nss_db/db-netgrp.c: Likewise.
23986         * nss/nss_files/files-network.c: Likewise.
23987         * nss/nss_files/files-parse.c: Likewise.
23988         * posix/bug-regex5.c: Likewise.
23989         * posix/fnmatch_loop.c: Likewise.
23990         * posix/regcomp.c: Likewise.
23991         * posix/regexec.c: Likewise.
23992         * posix/tst-rfc3484-2.c: Likewise.
23993         * posix/tst-rfc3484-3.c: Likewise.
23994         * posix/tst-rfc3484.c: Likewise.
23995         * resolv/nss_dns/dns-canon.c: Likewise.
23996         * resolv/nss_dns/dns-network.c: Likewise.
23997         * resolv/res_init.c: Likewise.
23998         * resolv/res_mkquery.c: Likewise.
23999         * resolv/tst-aton.c: Likewise.
24000         * stdlib/cxa_atexit.c: Likewise.
24001         * stdlib/cxa_finalize.c: Likewise.
24002         * stdlib/gen-fpioconst.c: Likewise.
24003         * stdlib/strtol_l.c: Likewise.
24004         * string/tst-endian.c: Likewise.
24005         * sunrpc/auth_des.c: Likewise.
24006         * sunrpc/clnt_udp.c: Likewise.
24007         * sunrpc/rtime.c: Likewise.
24008         * sunrpc/svcauth_des.c: Likewise.
24009         * sunrpc/xdr.c: Likewise.
24010         * sunrpc/xdr_intXX_t.c: Likewise.
24011         * sunrpc/xdr_rec.c: Likewise.
24012         * sysdeps/generic/ldconfig.h: Likewise.
24013         * sysdeps/generic/ldsodefs.h: Likewise.
24014         * sysdeps/generic/memusage.h: Likewise.
24015         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24016         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24017         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24018         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24019         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24020         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24021         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24022         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24023         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24024         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24025         * sysdeps/posix/getaddrinfo.c: Likewise.
24026         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24027         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24028         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24029         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24030         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24031         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24032         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24033         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24034         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24035         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24036         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24037         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24038         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24039         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24040         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24041         * sysdeps/x86_64/dl-tls.h: Likewise.
24042         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24043         * time/alt_digit.c: Likewise.
24044         * time/era.c: Likewise.
24045         * wcsmbs/tst-c16c32-1.c: Likewise.
24047 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24049         * math/libm-test.inc (struct test_sincos_data): New type.
24050         (RUN_TEST_LOOP_sincos): New macro.
24051         (sincos_test_data): New variable.
24052         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24054 2013-05-16  Richard Henderson  <rth@redhat.com>
24056         * math/atest-exp2.c (LIMB64): New macro.
24057         (CONSTSZ): New macro.
24058         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24059         (hexdig): Move ...
24060         (print_mpn_fp): ... to function scope.
24061         (read_mpn_hex): Remove.
24062         (get_log2): Remove.
24063         (exp2_mpn): Use mp_log2.
24064         (main): Use mp_exp1.
24066 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24068         * math/libm-test.inc: Remove comment about not testing "inexact"
24069         exceptions.
24070         (INEXACT_EXCEPTION): New macro.
24071         (NO_INEXACT_EXCEPTION): Likewise.
24072         (INVALID_EXCEPTION_OK): Update value.
24073         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24074         (OVERFLOW_EXCEPTION_OK): Likewise.
24075         (UNDERFLOW_EXCEPTION_OK): Likewise.
24076         (IGNORE_ZERO_INF_SIGN): Likewise.
24077         (ERRNO_UNCHANGED): Likewise.
24078         (ERRNO_EDOM): Likewise.
24079         (ERRNO_ERANGE): Likewise.
24080         (test_exceptions): Handle testing "inexact" exceptions.
24081         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24082         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24083         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24084         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24085         INEXACT_EXCEPTION.
24086         (rint_towardzero_test_data): Likewise.
24087         (rint_downward_test_data): Likewise.
24088         (rint_upward_test_data): Likewise.
24090         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24091         with OVERFLOW_EXCEPTION.
24092         (exp10_test_data): Likewise.
24093         (exp2_test_data): Likewise.
24094         (expm1_test_data): Likewise.
24095         (lgamma_test_data): Likewise.
24096         (pow_test_data): Likewise.
24097         (tgamma_test_data): Likewise.
24098         (yn_test_data): Remove duplicate test of overflow.
24100         * math/libm-test.inc (struct test_cc_c_data): New type.
24101         (RUN_TEST_LOOP_cc_c): New macro.
24102         (cpow_test_data): New variable.
24103         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24105         * math/libm-test.inc (struct test_f_L_data): New type.
24106         (RUN_TEST_LOOP_f_L): New macro.
24107         (llrint_test_data): New variable.
24108         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24109         (llrint_tonearest_test_data): New variable.
24110         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24111         (llrint_towardzero_test_data): New variable.
24112         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24113         (llrint_downward_test_data): New variable.
24114         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24115         (llrint_upward_test_data): New variable.
24116         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24117         (llround_test_data): New variable.
24118         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24120 2013-05-13  Peter Collingbourne  <pcc@google.com>
24122         * math/atest-exp2.c (get_log2): Remove const attribute.
24124 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24126         * math/libm-test.inc (struct test_f_l_data): New type.
24127         (RUN_TEST_LOOP_f_l): New macro.
24128         (lrint_test_data): New variable.
24129         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24130         (lrint_tonearest_test_data): New variable.
24131         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24132         (lrint_towardzero_test_data): New variable.
24133         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24134         (lrint_downward_test_data): New variable.
24135         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24136         (lrint_upward_test_data): New variable.
24137         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24138         (lround_test_data): New variable.
24139         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24141 2013-05-15  Peter Collingbourne  <pcc@google.com>
24143         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24144         (EXTRACT_WORDS64) Use where appropriate.
24145         (INSERT_WORDS64) Likewise.
24147         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24148         constraints with x constraints.
24149         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24151         * malloc/obstack.c (_obstack_compat): Add initializer.
24153 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24155         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24156         si_trapno and add si_addr_lsb to _sifields.sigfault.
24157         (si_trapno): Remove macro.
24158         (si_addr_lsb): Define new macro.
24159         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24161 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24163         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24164         instead of TEST_f_l.
24165         (llrint_test_tonearest): Likewise.
24166         (llrint_test_towardzero): Likewise.
24167         (llrint_test_downward): Likewise.
24168         (llrint_test_upward): Likewise.
24169         (llround_test): Likewise.
24171         * math/libm-test.inc (struct test_f_i_data): Add comment.
24172         (RUN_TEST_LOOP_f_b): New macro.
24173         (RUN_TEST_LOOP_f_b_tg): Likewise.
24174         (finite_test_data): New variable.
24175         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24176         (isfinite_test_data): New variable.
24177         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24178         (isinf_test_data): New variable.
24179         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24180         (isnan_test_data): New variable.
24181         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24182         (isnormal_test_data): New variable.
24183         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24184         (issignaling_test_data): New variable.
24185         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24186         (signbit_test_data): New variable.
24187         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24189         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24190         with INVALID_EXCEPTION.
24191         (acosh_test_data): Likewise.
24192         (asin_test_data): Likewise.
24193         (atanh_test_data): Likewise.
24194         (fmod_test_data): Likewise.
24195         (log_test_data): Likewise.
24196         (log10_test_data): Likewise.
24197         (log2_test_data): Likewise.
24198         (pow_test_data): Likewise.
24199         (sqrt_test_data): Likewise.
24200         (y0_test_data): Likewise.
24201         (y1_test_data): Likewise.
24202         (yn_test_data): Likewise.
24204         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24205         function contents.
24207         * math/libm-test.inc (struct test_ff_i_data): New type.
24208         (RUN_TEST_LOOP_ff_i_tg): New macro.
24209         (isgreater_test_data): New variable.
24210         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24211         (isgreaterequal_test_data): New variable.
24212         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24213         (isless_test_data): New variable.
24214         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24215         (islessequal_test_data): New variable.
24216         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24217         (islessgreater_test_data): New variable.
24218         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24219         (isunordered_test_data): New variable.
24220         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24222 2013-05-14  David S. Miller  <davem@davemloft.net>
24224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24226 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24228         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24230         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24231         extra_test to int.
24232         (struct test_f_i_data): Change type of max_ulp to int.
24234         * math/libm-test.inc (test_ffI_f1_data): New type.
24235         (RUN_TEST_LOOP_ffI_f1): New macro.
24236         (remquo_test_data): New variable.
24237         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24239         * setjmp/tst-setjmp-fp.c: New file.
24240         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24241         (link-libm): New variable.
24242         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24244         * math/libm-test.inc (struct test_f_i_data): New type.
24245         (RUN_TEST_LOOP_f_i): New macro.
24246         (RUN_TEST_LOOP_f_i_tg): Likewise.
24247         (fpclassify_test_data): New variable.
24248         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24249         (ilogb_test_data): New variable.
24250         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24252         * math/libm-test.inc (scalbln_test): Correct function name in END
24253         call.
24255         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24256         (RUN_TEST_LOOP_fI_f1): New macro.
24257         (frexp_test_data): New variable.
24258         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24260         * math/libm-test.inc (struct test_fF_f1_data): New type.
24261         (RUN_TEST_LOOP_fF_f1): New macro.
24262         (modf_test_data): New variable.
24263         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24265         * math/libm-test.inc (struct test_f_f1_data): New type.
24266         (RUN_TEST_LOOP_f_f1): New macro.
24267         (gamma_test_data): New variable.
24268         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24269         (lgamma_test_data): New variable.
24270         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24272 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24274         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24275         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24276         (main): Comment "tls" pseudo-hwcap.
24278 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24280         * math/libm-test.inc (struct test_fl_f_data): New type.
24281         (RUN_TEST_LOOP_fl_f): New variable.
24282         (scalbln_test_data): New variable.
24283         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24285         * math/libm-test.inc (struct test_fi_f_data): New type.
24286         (RUN_TEST_LOOP_fi_f): New macro.
24287         (ldexp_test_data): New variable.
24288         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24289         (scalbn_test_data): New variable.
24290         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24292         * math/libm-test.inc (struct test_c_f_data): New type.
24293         (RUN_TEST_LOOP_c_f): New macro.
24294         (cabs_test_data): New variable.
24295         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24296         (carg_test_data): New variable.
24297         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24298         (cimag_test_data): New variable.
24299         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24300         (creal_test_data): New variable.
24301         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24303         * math/libm-test.inc (struct test_if_f_data): New type.
24304         (RUN_TEST_LOOP_if_f): New macro.
24305         (jn_test_data): New variable.
24306         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24307         (yn_test_data): New variable.
24308         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24310         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24312 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24314         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24315         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24317 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24319         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24320         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24321         (bench-deps): Add bench-timing.h.
24322         * benchtests-bench-skeleton.c: Include bench-timing.h.
24323         (main): Use TIMING_* macros instead of clock_gettime.
24324         * benchtests/bench-timing.h: New file.
24326         [BZ #14582]
24327         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24328         Renamed from _LIB_VERSION.
24329         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24331 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24333         * math/libm-test.inc (struct test_fff_f_data): New type.
24334         (RUN_TEST_LOOP_fff_f): New macro.
24335         (fma_test_data): New variable.
24336         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24337         (fma_towardzero_test_data): New variable.
24338         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24339         (fma_downward_test_data): New variable.
24340         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24341         (fma_upward_test_data): New variable.
24342         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24344         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24345         (struct test_c_c_data): New type.
24346         (RUN_TEST_LOOP_c_c): New macro.
24347         (cacos_test_data): New variable.
24348         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24349         (cacosh_test_data): New variable.
24350         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24351         (casin_test_data): New variable.
24352         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24353         (casinh_test_data): New variable.
24354         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24355         (catan_test_data): New variable.
24356         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24357         (catanh_test_data): New variable.
24358         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24359         (ccos_test_data): New variable.
24360         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24361         (ccosh_test_data): New variable.
24362         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24363         (cexp_test_data): New variable.
24364         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24365         (clog_test_data): New variable.
24366         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24367         (clog10_test_data): New variable.
24368         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24369         (conj_test_data): New variable.
24370         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24371         (cproj_test_data): New variable.
24372         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24373         (csin_test_data): New variable.
24374         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24375         (csinh_test_data): New variable.
24376         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24377         (csqrt_test_data): New variable.
24378         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24379         (ctan_test_data): New variable.
24380         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24381         (ctan_tonearest_test_data): New variable.
24382         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24383         (ctan_towardzero_test_data): New variable.
24384         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24385         (ctan_downward_test_data): New variable.
24386         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24387         (ctan_upward_test_data): New variable.
24388         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24389         (ctanh_test_data): New variable.
24390         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24391         (ctanh_tonearest_test_data): New variable.
24392         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24393         (ctanh_towardzero_test_data): New variable.
24394         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24395         (ctanh_downward_test_data): New variable.
24396         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24397         (ctanh_upward_test_data): New variable.
24398         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24399         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24400         of BUILD_COMPLEX.
24402         * math/libm-test.inc (struct test_ff_f_data): New type.
24403         (struct test_ff_f_data_nexttoward): Likewise.
24404         (RUN_TEST_LOOP_2_f): New macro.
24405         (RUN_TEST_LOOP_ff_f): Likewise.
24406         (atan2_test_data): New variable.
24407         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24408         (copysign_test_data): New variable.
24409         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24410         (fdim_test_data): New variable.
24411         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24412         (fmax_test_data): New variable.
24413         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24414         (fmin_test_data): New variable.
24415         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24416         (fmod_test_data): New variable.
24417         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24418         (hypot_test_data): New variable.
24419         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24420         (nextafter_test_data): New variable.
24421         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24422         (nexttoward_test_data): New variable.
24423         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24424         (pow_test_data): New variable.
24425         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24426         (pow_tonearest_test_data): New variable.
24427         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24428         (pow_towardzero_test_data): New variable.
24429         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24430         (pow_downward_test_data): New variable.
24431         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24432         (pow_upward_test_data): New variable.
24433         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24434         (remainder_test_data): New variable.
24435         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24436         (scalb_test_data): New variable.
24437         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24438         * sysdeps/i386/fpu/libm-test-ulps: Update.
24440 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24442         * math/libm-test.inc (fma_test): Use max_value instead of local
24443         variable fltmax.
24444         (nextafter_test): Likewise.
24446         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24447         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24448         (acos_downward_test_data): New variable.
24449         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24450         (acos_upward_test_data): New variable.
24451         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24452         (acosh_test_data): New variable.
24453         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24454         (asin_test_data): New variable.
24455         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24456         (asin_tonearest_test_data): New variable.
24457         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24458         (asin_towardzero_test_data): New variable.
24459         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24460         (asin_downward_test_data): New variable.
24461         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24462         (asin_upward_test_data): New variable.
24463         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24464         (asinh_test_data): New variable.
24465         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24466         (atan_test_data): New variable.
24467         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24468         (atanh_test_data): New variable.
24469         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24470         (cbrt_test_data): New variable.
24471         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24472         (ceil_test_data): New variable.
24473         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24474         (cos_test_data): New variable.
24475         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24476         (cos_tonearest_test_data): New variable.
24477         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24478         (cos_towardzero_test_data): New variable.
24479         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24480         (cos_downward_test_data): New variable.
24481         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24482         (cos_upward_test_data): New variable.
24483         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24484         (cosh_test_data): New variable.
24485         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24486         (cosh_tonearest_test_data): New variable.
24487         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24488         (cosh_towardzero_test_data): New variable.
24489         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24490         (cosh_downward_test_data): New variable.
24491         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24492         (cosh_upward_test_data): New variable.
24493         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24494         (erf_test_data): New variable.
24495         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24496         (erfc_test_data): New variable.
24497         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24498         (exp_test_data): New variable.
24499         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24500         (exp_tonearest_test_data): New variable.
24501         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24502         (exp_towardzero_test_data): New variable.
24503         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24504         (exp_downward_test_data): New variable.
24505         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24506         (exp_upward_test_data): New variable.
24507         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24508         (exp10_test_data): New variable.
24509         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24510         (exp2_test_data): New variable.
24511         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24512         (expm1_test_data): New variable.
24513         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24514         (fabs_test_data): New variable.
24515         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24516         (floor_test_data): New variable.
24517         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24518         (j0_test_data): New variable.
24519         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24520         (j1_test_data): New variable.
24521         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24522         (log_test_data): New variable.
24523         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24524         (log10_test_data): New variable.
24525         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24526         (log1p_test_data): New variable.
24527         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24528         (log2_test_data): New variable.
24529         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24530         (logb_test_data): New variable.
24531         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24532         (logb_downward_test_data): New variable.
24533         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24534         (nearbyint_test_data): New variable.
24535         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24536         (rint_test_data): New variable.
24537         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24538         (rint_tonearest_test_data): New variable.
24539         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24540         (rint_towardzero_test_data): New variable.
24541         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24542         (rint_downward_test_data): New variable.
24543         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24544         (rint_upward_test_data): New variable.
24545         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24546         (round_test_data): New variable.
24547         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24548         (sin_test_data): New variable.
24549         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24550         (sin_tonearest_test_data): New variable.
24551         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24552         (sin_towardzero_test_data): New variable.
24553         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24554         (sin_downward_test_data): New variable.
24555         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24556         (sin_upward_test_data): New variable.
24557         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24558         (sinh_test_data): New variable.
24559         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24560         (sinh_tonearest_test_data): New variable.
24561         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24562         (sinh_towardzero_test_data): New variable.
24563         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24564         (sinh_downward_test_data): New variable.
24565         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24566         (sinh_upward_test_data): New variable.
24567         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24568         (sqrt_test_data): New variable.
24569         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24570         (tan_test_data): New variable.
24571         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24572         (tan_tonearest_test_data): New variable.
24573         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24574         (tan_towardzero_test_data): New variable.
24575         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24576         (tan_downward_test_data): New variable.
24577         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24578         (tan_upward_test_data): New variable.
24579         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24580         (tanh_test_data): New variable.
24581         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24582         (tgamma_test_data): New variable.
24583         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24584         (trunc_test_data): New variable.
24585         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24586         (y0_test_data): New variable.
24587         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24588         (y1_test_data): New variable.
24589         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24590         (significand_test_data): New variable.
24591         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24593 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
24595         [BZ #12387]
24596         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24598 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24600         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24602 2013-05-10  Andreas Jaeger  <aj@suse.de>
24604         [BZ #15448]
24605         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24606         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24608 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24610         * math/gen-libm-test.pl (adjust_arg): New function.
24611         (special_functions): Handle generating output in both functions
24612         and arrays.
24613         (parse_args): Likewise.
24614         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
24615         $in_func argument to parse_args.
24616         * math/libm-test.inc (struct test_f_f_data): New type.
24617         (IF_ROUND_INIT_): New macro.
24618         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24619         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24620         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24621         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24622         (ROUND_RESTORE_): Likewise.
24623         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24624         (ROUND_RESTORE_FE_TONEAREST): Likewise.
24625         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24626         (ROUND_RESTORE_FE_UPWARD): Likewise.
24627         (RUN_TEST_LOOP_f_f): New macro.
24628         (acos_test_data): New variable.
24629         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24630         (acos_tonearest_test_data): New variable.
24631         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24633 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24635         * benchtests/bench-skeleton.c (startup): Fix coding style.
24637 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24639         [BZ #6809]
24640         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24641         negative infinity argument.
24642         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24643         negative infinity argument.
24644         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24645         negative infinity argument.
24646         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24647         domain errors.
24649 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24651         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24652         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24653         * iconv/iconv_prog.c (main): Likewise.
24654         * locale/programs/charmap-dir.c (charmap_readdir)
24655         (fopen_uncompressed): Likewise.
24656         * locale/programs/locfile.c (siblings_uncached)
24657         (write_locale_data): Use lstat64 instead of lstat.
24658         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24659         stat.
24661 2013-05-10  Andreas Jaeger  <aj@suse.de>
24663         [BZ #15395]
24664         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24665         localization.
24666         Include <locale.h>.
24668 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24670         * elf/dl-close.c (_dl_close_worker): Add comments.
24672 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24674         [BZ #15359]
24675         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24676         high part of pi/2.
24677         (__ieee754_rem_pio2l): Update comments.
24679         [BZ #15429]
24680         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24681         high part of pi/2.
24682         (__ieee754_rem_pio2l): Update comments.
24684         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24685         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24687         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24688         M_PI_4l.
24690         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24691         (M_PI_34_LOG10El): Likewise.
24692         (M_PI2_LOG10El): Likewise.
24693         (M_PI4_LOG10El): Likewise.
24694         (M_PI_LOG10El): Likewise.
24696 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24700 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24702         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24703         (MINUS_ZERO_INIT): Likewise.
24704         (PLUS_INFTY_INIT): Likewise.
24705         (MINUS_INFTY_INIT): Likewise.
24706         (QNAN_VALUE_INIT): Likewise.
24707         (MAX_VALUE_INIT): Likewise.
24708         (MIN_VALUE_INIT): Likewise.
24709         (MIN_SUBNORM_VALUE_INIT): Likewise.
24710         (plus_zero): Initialize with PLUS_ZERO_INIT.
24711         (minus_zero): Initialize with MINUS_ZERO_INIT.
24712         (plus_infty): Initialize with PLUS_INFTY_INIT.
24713         (minus_infty): Initialize with MINUS_INFTY_INIT.
24714         (qnan_value): Initialize with QNAN_VALUE_INIT.
24715         (max_value): Initialize with MAX_VALUE_INIT.
24716         (min_value): Initialize with MIN_VALUE_INIT.
24717         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24719         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24720         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24721         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24722         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24724         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24725         (RUN_TEST_2_f): Likewise.
24726         (RUN_TEST_ff_f): Likewise.
24727         (RUN_TEST_fi_f): Likewise.
24728         (RUN_TEST_fl_f): Likewise.
24729         (RUN_TEST_fff_f): Likewise.
24730         (RUN_TEST_c_f): Likewise.
24731         (RUN_TEST_f_f1): Likewise.
24732         (RUN_TEST_fF_f1): Likewise.
24733         (RUN_TEST_fI_f1): Likewise.
24734         (RUN_TEST_ffI_f1): Likewise.
24735         (RUN_TEST_c_c): Likewise.
24736         (RUN_TEST_cc_c): Likewise.
24737         (RUN_TEST_f_i): Likewise.
24738         (RUN_TEST_f_i_tg): Likewise.
24739         (RUN_TEST_ff_i_tg): Likewise.
24740         (RUN_TEST_f_b): Likewise.
24741         (RUN_TEST_f_b_tg): Likewise.
24742         (RUN_TEST_f_l): Likewise.
24743         (RUN_TEST_f_L): Likewise.
24744         (RUN_TEST_sincos): Likewise.
24745         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24746         whether to show exceptions.  Do not include ");\n" in return
24747         value.
24748         (special_functions): Output call to RUN_TEST_sincos instead of
24749         check_float calls.  Update calls to new_test.
24750         (parse_args): Output call to single RUN_TEST_* macro instead of
24751         check_* calls and other assignments.  Update calls to new_test.
24753         [BZ #2546]
24754         [BZ #2560]
24755         [BZ #5159]
24756         [BZ #15426]
24757         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24758         input to result for tgamma overflow.
24759         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24760         (gamma_coeff): New variable.
24761         (NCOEFF): New macro.
24762         (gamma_positive): New function.
24763         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24764         underflow here.  Use gamma_positive instead of exp (lgamma) for
24765         other arguments.
24766         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24767         (gamma_coeff): New variable.
24768         (NCOEFF): New macro.
24769         (gammaf_positive): New function.
24770         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24771         underflow here.  Use gamma_positive instead of exp (lgamma) for
24772         other arguments.
24773         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24774         (gamma_coeff): New variable.
24775         (NCOEFF): New macro.
24776         (gammal_positive): New function.
24777         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24778         underflow here.  Use gamma_positive instead of exp (lgamma) for
24779         other arguments.
24780         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24781         (gamma_coeff): New variable.
24782         (NCOEFF): New macro.
24783         (gammal_positive): New function.
24784         (__ieee754_gammal_r): Handle positive infinity, overflow and
24785         underflow here.  Handle NaN the same as positive infinity.  Remove
24786         check x < 0xffffffff for negative integers.  Use gamma_positive
24787         instead of exp (lgamma) for other arguments.
24788         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24789         (gamma_coeff): New variable.
24790         (NCOEFF): New macro.
24791         (gammal_positive): New function.
24792         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24793         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24794         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24795         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24796         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24797         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24798         * sysdeps/generic/math_private.h (__gamma_productf): New
24799         prototype.
24800         (__gamma_product): Likewise.
24801         (__gamma_productl): Likewise.
24802         * math/Makefile (libm-calls): Add gamma_product.
24803         * math/libm-test.inc (tgamma_test): Add more tests.
24804         * sysdeps/i386/fpu/libm-test-ulps: Update.
24805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24807 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24809         * benchtests/bench-skeleton.c (main): Preheat CPU.
24811 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24813         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24815 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24817         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24818         and _dl_skip_args_internal.
24820 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24822         * manual/message.texi (Message Translation): Talk about users.
24823         Message to key mapping impacts design.
24825 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24827         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24829         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24831         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24832         * sysdeps/wordsize-64/glob64.c: ... here.
24834         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24835         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24836         New macros.
24838         * debug/getlogin_r_chk.c: Moved to ...
24839         * login/getlogin_r_chk.c: ... here.
24840         * debug/Makefile (routines): Move getlogin_r_chk to ...
24841         * login/Makefile (routines): ... here.
24842         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24843         * login/Versions (libc: GLIBC_2.4): ... here.
24845         * io/poll.c (__poll): Renamed from poll.
24846         Add libc_hidden_def.
24847         (poll): Define as weak alias.
24849         * debug/ptsname_r_chk.c: Moved to ...
24850         * login/ptsname_r_chk.c: ... here.
24851         * debug/Makefile (routines): Move ptsname_r_chk to ...
24852         * login/Makefile (routines): ... here.
24853         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24854         * login/Versions (libc: GLIBC_2.4): ... here.
24856         * posix/getlogin.c: Moved to ...
24857         * login/getlogin.c: ... here.
24858         * posix/getlogin_r.c: Moved to ...
24859         * login/getlogin_r.c: ... here.
24860         * posix/getlogin_r.c: Moved to ...
24861         * login/getlogin_r.c: ... here.
24862         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24863         * login/Makefile (routines): ... here.
24864         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24865         * login/Versions (libc: GLIBC_2.0): ... here.
24867         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24868         (setrlimit): Define as weak alias.
24870         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24871         Call __ names for open, ftruncate, and close.
24872         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24873         (truncate): Define as weak alias.
24875 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24877         * math/gen-libm-test.pl (parse_args): Initialize x before each
24878         test of frexp, modf and remquo.
24880         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24881         test signgam value.
24883 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24885         [BZ #15418]
24886         [BZ #15419]
24887         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24888         internal tests.
24889         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24891 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24893         * elf/dl-writev.h: New file.
24894         * elf/dl-misc.c: Include it.
24895         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24896         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24898 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24900         * math/libm-test.inc (noXFails): Remove variable.
24901         (noXPasses): Likewise.
24902         (BUILD_COMPLEX_INT): Remove macro.
24903         (print_screen): Remove xfail argument.
24904         (print_screen_max_error): Likewise.
24905         (update_stats): Likewise.
24906         (print_max_error): Likewise.  Update calls to other affected
24907         functions.
24908         (print_complex_max_error): Likewise.
24909         (test_single_exception): Update calls to print_screen.
24910         (test_single_errno): Likewise.
24911         (check_float_internal): Remove xfail argument.  Update calls to
24912         other affected functions.
24913         (check_float): Likewise.
24914         (check_complex): Likewise.
24915         (check_int): Likewise.
24916         (check_long): Likewise.
24917         (check_bool): Likewise.
24918         (check_longlong): Likewise.
24919         (main): Don't print noXFails and noXPasses.
24920         * math/gen-libm-test.pl (top level): Don't mention expected
24921         failure handling in comment.
24922         (new_test): Don't handle expected failures.
24923         (parse_args): Don't mention expected failure handling in comment.
24924         (generate_testfile): Don't handle expected failures.
24925         (parse_ulps): Likewise.
24926         (print_ulps_file): Likewise.
24927         (get_failure): Remove function.
24928         (output_test): Don't handle expected failures.
24929         * make/README.libm-test: Don't mention expected failure handling.
24931         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24932         (minus_zero): Likewise.
24933         (plus_infty): Likewise.
24934         (minus_infty): Likewise.
24935         (qnan_value): Likewise.
24936         (max_value): Likewise.
24937         (min_value): Likewise.
24938         (min_subnorm_value): Likewise.
24939         (initialize): Do not initialize those variables dynamically.
24941 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24943         * io/open.c (__open_2): Moved to ...
24944         * io/open_2.c: ... this new file.
24945         * io/open64.c (__open64_2): Moved to ...
24946         * io/open64_2.c: ... this new file.
24947         * io/openat.c (__openat_2): Moved to ...
24948         * io/openat_2.c: ... this new file.
24949         * io/openat64.c (__openat64_2): Moved to ...
24950         * io/openat64_2.c: ... this new file.
24951         * io/Makefile (routines): Add them.
24952         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24953         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24954         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24955         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24956         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24957         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24958         (__openat64): Add hidden_ver.
24959         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24960         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24962         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24963         Separately conditionalize setting of GLRO(dl_sysinfo) so
24964         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24965         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24967 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24969         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24971         definition.
24972         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24973         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24974         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24975         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24976         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24978 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24980         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24981         test signgam value.
24983         * math/libm-test.inc (hypot_test): Do not use
24984         IGNORE_ZERO_INF_SIGN.
24986 2013-05-03  Andreas Jaeger  <aj@suse.de>
24988         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24989         Linux 3.9.
24990         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24991         (PF_MAX): Adjust for VSOCK change.
24993 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24997 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
24999         [BZ #15264]
25000         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25001         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25002         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25004 2013-05-02  David S. Miller  <davem@davemloft.net>
25006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25008 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25010         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25012 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25014         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25016 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25018         [BZ #14952]
25019         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25020         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25021         Use __attribute__ ((__gnu_inline__)).
25022         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25023         Don't use __attribute__ ((__gnu_inline__)).
25025 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25027         [BZ #15423]
25028         * math/s_catan.c (__catan): Handle small real or imaginary part of
25029         input specially to avoid spurious underflow.
25030         * math/s_catanf.c (__catanf): Likewise.
25031         * math/s_catanh.c (__catanh): Likewise.
25032         * math/s_catanhf.c (__catanhf): Likewise.
25033         * math/s_catanhl.c (__catanhl): Likewise.
25034         * math/s_catanl.c (__catanl): Likewise.
25035         * math/libm-test.inc (catan_test): Add more tests.
25036         (catanh_test): Likewise.
25037         * sysdeps/i386/fpu/libm-test-ulps: Update.
25038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25040 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25044 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25046         [BZ #15416]
25047         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25048         accurately for denominator in atan2.
25049         * math/s_catanf.c (__catanf): Likewise.
25050         * math/s_catanh.c (__catanh): Likewise.
25051         * math/s_catanhf.c (__catanhf): Likewise.
25052         * math/s_catanhl.c (__catanhl): Likewise.
25053         * math/s_catanl.c (__catanl): Likewise.
25054         * math/libm-test.inc (catan_test): Add more tests.
25055         (catanh_test): Likewise.
25056         * sysdeps/i386/fpu/libm-test-ulps: Update.
25057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25059 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25061         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25063         * benchtests/Makefile (bench): Remove slow benchmarks.
25064         * benchtests/atan-inputs: Add slow benchmark inputs.
25065         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25066         (BENCH_FUNC): Accept variant offset.
25067         (VARIANT): Define.
25068         * benchtests/bench-skeleton.c (main): Run benchmark for each
25069         variant.
25070         * benchtests/cos-inputs: Add slow benchmark inputs.
25071         * benchtests/exp-inputs: Likewise.
25072         * benchtests/pow-inputs: Likewise.
25073         * benchtests/sin-inputs: Likewise.
25074         * benchtests/slowatan-inputs: Remove.
25075         * benchtests/slowatan.c: Remove.
25076         * benchtests/slowcos-inputs: Remove.
25077         * benchtests/slowcos.c: Remove.
25078         * benchtests/slowexp-inputs: Remove.
25079         * benchtests/slowexp.c: Remove.
25080         * benchtests/slowpow-inputs: Remove.
25081         * benchtests/slowpow.c: Remove.
25082         * benchtests/slowsin-inputs: Remove.
25083         * benchtests/slowsin.c: Remove.
25084         * benchtests/slowtan-inputs: Remove.
25085         * benchtests/slowtan.c: Remove.
25086         * benchtests/tan-inputs: Add slow benchmark inputs.
25087         * scripts/bench.pl: Parse comments and directives.
25089         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25090         in CPPFLAGS.
25091         ($(objpfx)bench-%.c): Remove *-ITER.
25092         * benchtests/bench-modf.c: Remove definition of ITER.
25093         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25094         (main): Loop for DURATION seconds instead of fixed number of
25095         iterations.
25096         * scripts/bench.pl: Don't expect iterations in parameters.
25098 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25100         * io/fchdir.c (__fchdir): Renamed from fchdir.
25101         (fchdir): Define as weak alias.
25103 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25105         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25106         (ERRNO_EDOM): Likewise.
25107         (ERRNO_ERANGE): Likewise.
25108         (noErrnoTests): New variable.
25109         (init_max_error): Set errno to 0.
25110         (test_single_errno): New function.
25111         (test_errno): Likewise.
25112         (check_float_internal): Call test_errno.  Set errno to 0.
25113         (check_complex): Refer to errno tests in comment.
25114         (check_int): Call test_errno.  Set errno to 0.
25115         (check_long): Likewise.
25116         (check_bool): Likewise.
25117         (check_longlong): Likewise.
25118         (cos_test): Use ERRNO_* flags for errno tests instead of
25119         check_int.
25120         (expm1_test): Likewise.
25121         (fmod_test): Likewise.
25122         (ilogb_test): Likewise.
25123         (lgamma_test): Likewise.
25124         (pow_test): Likewise.
25125         (remainder_test): Likewise.
25126         (sin_test): Likewise.
25127         (tan_test): Likewise.
25128         (yn_test): Likewise.
25129         (initialize): Set errno to 0.
25130         (main): Print number of errno tests.
25131         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25133 2013-04-29  Andreas Jaeger  <aj@suse.de>
25135         [BZ #15084]
25136         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25137         and RES_USEVC.
25139         [BZ #15085]
25140         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25141         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25142         unimplemented.
25144         [BZ #15380]
25145         * stdlib/random.c (__initstate): Return NULL if
25146         __initstate fails.
25148         [BZ #15086]
25149         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25150         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25151         RES_SNGLKUPREOP.
25153 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25157 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25159         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25160         of individual tests.
25161         (casin_test): Likewise.
25162         (casinh_test): Likewise.
25164 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25166         [BZ #15409]
25167         * math/s_catan.c (__catan): Handle arguments with large real or
25168         imaginary part separately without squaring.
25169         * math/s_catanf.c (__catanf): Likewise.
25170         * math/s_catanh.c (__catanh): Likewise.
25171         * math/s_catanhf.c (__catanhf): Likewise.
25172         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25173         and redefine.
25174         (__catanhl): Handle arguments with large real or imaginary part
25175         separately without squaring.
25176         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25177         and redefine.
25178         (__catanl): Handle arguments with large real or imaginary part
25179         separately without squaring.
25180         * math/libm-test.inc (catan_test): Add more tests.
25181         (catanh_test): Likewise.
25182         * sysdeps/i386/fpu/libm-test-ulps: Update.
25183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25185 2013-04-27  Andreas Jaeger  <aj@suse.de>
25187         [BZ #15007]
25188         * stdlib/stdlib.h: Update guards for qecvt.
25189         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25190         <stdlib.h>.
25192 2013-04-27  Allan McRae  <allan@archlinux.org>
25194         * sysdeps/i386/fpu/libm-test-ulps: Update.
25196 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25198         [BZ #15406]
25199         * math/s_catan.c: Include <float.h>.
25200         (__catan): Ensure underflow exception occurs for underflowed
25201         result.
25202         * math/s_catanf.c: Include <float.h>.
25203         (__catanf): Ensure underflow exception occurs for underflowed
25204         result.
25205         * math/s_catanh.c: Include <float.h>.
25206         (__catanh): Ensure underflow exception occurs for underflowed
25207         result.
25208         * math/s_catanhf.c: Include <float.h>.
25209         (__catanhf): Ensure underflow exception occurs for underflowed
25210         result.
25211         * math/s_catanhl.c: Include <float.h>.
25212         (__catanhl): Ensure underflow exception occurs for underflowed
25213         result.
25214         * math/s_catanl.c: Include <float.h>.
25215         (__catanl): Ensure underflow exception occurs for underflowed
25216         result.
25217         * math/libm-test.inc (catan_test): Add more tests.
25218         (catanh_test): Likewise.
25220         [BZ #15405]
25221         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25222         underflowed result.
25223         * math/s_ccoshf.c (__ccoshf): Likewise.
25224         * math/s_ccoshl.c (__ccoshl): Likewise.
25225         * math/s_csin.c (__csin): Likewise.
25226         * math/s_csinf.c (__csinf): Likewise.
25227         * math/s_csinh.c (__csinh): Likewise.
25228         * math/s_csinhf.c (__csinhf): Likewise.
25229         * math/s_csinhl.c (__csinhl): Likewise.
25230         * math/s_csinl.c (__csinl): Likewise.
25231         * math/libm-test.inc (ccos_test): Add more tests.
25232         (ccosh_test): Likewise.
25233         (csin_test): Likewise.
25234         (csinh_test): Likewise.
25236 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25238         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25239         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25240         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25241         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25242         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25243         powerpc/power5+/fpu folders.
25244         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25247 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25251 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25253         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25254         additions to variable.
25255         [$(config-machine) = x86_64] (modules-names): Likewise.
25256         ($(objpfx)tst-audit3): Remove dependency.
25257         ($(objpfx)tst-audit3.out): Likewise.
25258         ($(objpfx)tst-audit4): Likewise.
25259         ($(objpfx)tst-audit4.out): Likewise.
25260         ($(objpfx)tst-audit5): Likewise.
25261         ($(objpfx)tst-audit5.out): Likewise.
25262         ($(objpfx)tst-audit6): Likewise.
25263         ($(objpfx)tst-audit6.out): Likewise.
25264         ($(objpfx)tst-audit7): Likewise.
25265         ($(objpfx)tst-audit7.out): Likewise.
25266         (tst-audit3-ENV): Remove variable.
25267         (tst-audit4-ENV): Likewise.
25268         (tst-audit5-ENV): Likewise.
25269         (tst-audit6-ENV): Likewise.
25270         (tst-audit7-ENV): Likewise.
25271         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25272         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25273         addition to variable.
25274         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25275         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25276         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25277         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25278         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25279         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25280         tst-audit3, tst-audit4 and tst-audit5.
25281         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25282         tst-audit6 and tst-audit7.
25283         [$(subdir) = elf] (modules-names): Add audit modules for those
25284         tests.
25285         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25286         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25287         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25288         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25289         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25290         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25291         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25292         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25293         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25294         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25295         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25296         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25297         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25298         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25299         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25300         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25301         Likewise.
25302         [$(subdir) = elf && $(config-cflags-avx) = yes]
25303         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25304         [$(subdir) = elf && $(config-cflags-avx) = yes]
25305         (CFLAGS-tst-auditmod4a.c): Likewise.
25306         [$(subdir) = elf && $(config-cflags-avx) = yes]
25307         (CFLAGS-tst-auditmod4b.c): Likewise.
25308         [$(subdir) = elf && $(config-cflags-avx) = yes]
25309         (CFLAGS-tst-auditmod6b.c): Likewise.
25310         [$(subdir) = elf && $(config-cflags-avx) = yes]
25311         (CFLAGS-tst-auditmod6c.c): Likewise.
25312         [$(subdir) = elf && $(config-cflags-avx) = yes]
25313         (CFLAGS-tst-auditmod7b.c): Likewise.
25314         * elf/tst-audit3.c: Move to ...
25315         * sysdeps/x86_64/tst-audit3.c: ... here.
25316         * elf/tst-audit4.c: Move to ...
25317         * sysdeps/x86_64/tst-audit4.c: ... here.
25318         * elf/tst-audit5.c: Move to ...
25319         * sysdeps/x86_64/tst-audit5.c: ... here.
25320         * elf/tst-audit6.c: Move to ...
25321         * sysdeps/x86_64/tst-audit6.c: ... here.
25322         * elf/tst-audit7.c: Move to ...
25323         * sysdeps/x86_64/tst-audit7.c: ... here.
25324         * elf/tst-auditmod3a.c: Move to ...
25325         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25326         * elf/tst-auditmod3b.c: Move to ...
25327         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25328         * elf/tst-auditmod4a.c: Move to ...
25329         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25330         * elf/tst-auditmod4b.c: Move to ...
25331         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25332         * elf/tst-auditmod5a.c: Move to ...
25333         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25334         * elf/tst-auditmod5b.c: Move to ...
25335         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25336         * elf/tst-auditmod6a.c: Move to ...
25337         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25338         * elf/tst-auditmod6b.c: Move to ...
25339         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25340         * elf/tst-auditmod6c.c: Move to ...
25341         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25342         * elf/tst-auditmod7a.c: Move to ...
25343         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25344         * elf/tst-auditmod7b.c: Move to ...
25345         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25347 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25349         [BZ #15366]
25350         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25351         define unconditionally.
25352         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25353         define unconditionally.
25354         (INT8_C, INT16_C, etc.): Likewise.
25356 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25358         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25359         __ehdr_start with hidden visibility.
25361         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25363 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25365         * math/libm-test.inc (cos_test): Use accurate hex constants.
25366         (sincost_test): Likewise.
25368 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25370         * math/libm-test.inc (catan_test): Add more tests.
25371         (catanh_test): Likewise.
25373         * math/s_catanf.c (__catanf): Use suffixed floating-point
25374         constants.
25375         * math/s_catanhf.c (__catanhf): Likewise.
25376         * math/s_catanhl.c (__catanhl): Likewise.
25377         * math/s_catanl.c (__catanl): Likewise.
25379         [BZ #15394]
25380         * math/s_catan.c (__catan): Calculate imaginary part of result
25381         with log1p not log unless computing log of number close to 0.
25382         * math/s_catanf.c (__catanf): Likewise.
25383         * math/s_catanl.c (__catanl): Likewise.
25384         * math/s_catanh.c (__catanh): Calculate real part of result with
25385         log1p not log unless computing log of number close to 0.
25386         * math/s_catanhf.c (__catanhf): Likewise.
25387         * math/s_catanhl.c (__catanhl): Likewise.
25388         * math/libm-test.inc (catan_test): Add more tests.
25389         (catanh_test): Likewise.
25390         * sysdeps/i386/fpu/libm-test-ulps: Update.
25391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25393 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25395         * benchtests/Makefile: Mention files in which fast and slow
25396         paths of math functions are implemented.
25398 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25400         * sysdeps/posix/timespec_get.c: New file.
25402 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25404         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25405         POWER.
25406         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25407         for POWER.
25408         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25409         powerpc/power5/fpu folders.
25410         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25411         * benchtests/Makefile: Add modf testcase.
25412         * benchtests/bench-modf.c: New file: Benchmark test for mo
25414 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25416         [BZ #14888]
25417         * time/Makefile (tests): Add tst-strptime-whitespace.
25418         * time/strptime_l.c (get_number): Use ISSPACE.
25419         (__strptime_internal): Likewise.
25420         * time/tst-strptime-whitespace.c: New test case.
25422 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25424         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25425         member.
25426         (_nss_files_init): Set it here.
25428 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25430         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25431         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25432         unsigned.
25434 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25436         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25438 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25440         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25441         size just once.
25443 2013-04-21  David S. Miller  <davem@davemloft.net>
25445         * po/ru.po: Update Russion translation from translation project.
25447 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25449         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25450         and setfsgid.
25452 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25454         * configure.in: Remove i386 configure warning. Remove i386 case.
25455         * configure: Regenerate.
25456         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25457         Add example to error message.
25458         * sysdeps/i386/configure: Regenerate.
25460 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25462         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25463         slowtan.
25464         * benchtests/cos-inputs: New file.
25465         * benchtests/slowcos-inputs: New file.
25466         * benchtests/slowcos.c: New file.
25467         * benchtests/slowtan-inputs: New file.
25468         * benchtests/slowtan.c: New file.
25469         * benchtests/tan-inputs: New file.
25471 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25473         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25474         considered kosher.
25476 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25478         * benchtests/Makefile: Include cppflags-iterator.mk to add
25479         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25481         * Makefile.in (bench-clean): New target.
25482         * benchtests/Makefile (bench-clean): Likewise.
25484 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25486         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25488 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25490         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25492 2013-04-15  Andreas Schwab  <schwab@suse.de>
25494         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25496         * nscd/pwdcache.c (cache_addpw): Likewise.
25497         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25498         more than recsize.
25500 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25502         * benchtests/Makefile (bench): Write all output to
25503         bench-out.tmp together.
25505 2013-04-15  Andreas Schwab  <schwab@suse.de>
25507         * nscd/nscd.c (main): Don't fork again after closing files.
25509 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25511         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25513         * benchtests/Rules (bench-deps): Collect dependencies into a
25514         single variable.  Add Makefile to dependencies.
25515         ($(objpfx)bench-%.c): Depend on bench-deps.
25517 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25518             Xavier Roche  <roche+kml2@exalead.com>
25520         [BZ #15361]
25521         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25522         just that it's a file descriptor.
25523         * manual/llio.texi (Synchronizing AIO Operations): Update description
25524         for EBADF error from aio_fsync.
25526 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25528         * Rules (bench): Move target definition...
25529         * benchtests/Makefile: ... here.
25531 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25533         * math/libm-test.inc (cos_test): Fix PI/2 test.
25534         (sincos_test): Likewise.
25535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25536         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25538 2013-04-11  Andreas Schwab  <schwab@suse.de>
25540         [BZ #13988]
25541         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25542         accept exponent character only when digits were seen.
25543         * stdio-common/Makefile (tests): Add bug26.
25544         * stdio-common/bug26.c: New file.
25546         [BZ #14293]
25547         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25548         non-freeable.
25550 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25552         * Makeconfig (rtld-prefix): Define built linker prefix.
25553         * Rules (run-bench): Use it.
25554         * math/Makefile (run-regen-ulps): Likewise.
25556         * Rules (bench): Remove eval.
25558 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25559             Roland McGrath  <roland@hack.frob.com>
25560             Ondrej Bilka  <neleai@seznam.cz>
25562         [BZ #15346]
25563         * time/getdate.c: Include ctype.h and alloca.h.
25564         (__getdate_r): Trim leading and trailing spaces of input.
25565         * time/tst-getdate.c (tests): Add tests with leading and
25566         trailing spaces.
25568 2013-04-08  Roland McGrath  <roland@hack.frob.com>
25570         [BZ #14280]
25571         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25572         when computing value.
25574 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25576         * math/README.libm-test (How can I generate "libm-test-ulps"?):
25577         Use testrun.sh to run libm tests.
25579         [BZ #15309]
25580         * elf/dl-open.c (dl_open_worker): memset all of seen array.
25582 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
25584         [BZ #15264]
25585         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25587 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25589         * Makefile.in (regen-ulps): New target.
25590         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25591         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25592         [ifneq (no,$(PERL)] (regen-ulps): New target.
25593         [ifeq (no,$(PERL)] (regen-ulps): New target.
25594         * math/libm-test.inc (ulps_file_name): Define.
25595         (output_dir): New variable.
25596         (options): Add "output-dir" option.
25597         (parse_opt): Handle 'o' case.
25598         (main): If output_dir is non-NULL use it as a prefix
25599         otherwise use "".
25600         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25602 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25604         [BZ #10060, #10062]
25605         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25606         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25607         fail configure if __sync_val_compare_and_swap is not inlined.
25608         * sysdeps/i386/configure: Regenerate.
25609         * configure.in: Build for i686 when configured for i386.
25610         * configure: Regenerate.
25611         * README: Remove i386 reference.
25613 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25615         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25616         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25618 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25620         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25621         (lmsnanval): New variables.
25622         (F): Add conversion tests.
25623         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25624         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25626         * stdio-common/tstdiomisc.c (F): Properly collect individual
25627         tests' results.
25629         [BZ #14686, #15336]
25630         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25631         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25632         Instead, use input NaN values or generate a qNaN by arithmetic
25633         operation.  Also fix bugs to comply with the standard.
25634         * math/libm-test.inc (remainder_test): Add more tests.
25636         [BZ #15335, #15342]
25637         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25639         input NaN values or generate a qNaN by arithmetic operation.
25641         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25642         unreachable code.
25644         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25645         definitions.
25647 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25649         [BZ #14478]
25650         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25651         underflowed result.
25652         * math/s_cexpf.c (__cexpf): Likewise.
25653         * math/s_cexpl.c (__cexpl): Likewise.
25654         * math/libm-test.inc (cexp_test): Add more tests.
25656 2013-04-03  Andreas Schwab  <schwab@suse.de>
25658         [BZ #15330]
25659         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25660         order arrays from heap if bigger than alloca cutoff.
25662 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25664         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25665         (SNAN_TESTS_double): Refer to GCC PR56831.
25666         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25667         GCC PR56828.
25669 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25671         * Rules (bench): Move bench.out after the run is complete.
25673         * Rules (bench): Echo currently running benchmark.
25675         * benchtests/Makefile (bench): Add atan and slowatan.
25676         * benchtests/atan-inputs: New file.
25677         * benchtests/slowatan-inputs: New file.
25678         * benchtests/slowatan.c: New file.
25680         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25681         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25682         its value.
25684         [BZ #15305]
25685         * sysdeps/unix/sysv/linux/kernel-features.h
25686         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25687         __ASSUME_XFS_RESTRICTED_CHOWN.
25688         * sysdeps/unix/sysv/linux/pathconf.c
25689         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25690         Save and restore errno.
25692 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25694         [BZ #15327]
25695         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25696         arguments using __kernel_casinh.
25697         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25698         arguments using __kernel_casinhf.
25699         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25700         arguments using __kernel_casinhl.
25701         * math/libm-test.inc (cacosh_test): Add more tests.
25702         * sysdeps/i386/fpu/libm-test-ulps: Update.
25703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25705 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25707         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25710         * bench/Makefile (bench): Add sin and slowsin.
25711         * benchtests/sin-inputs: New file.
25712         * benchtests/slowsin-inputs: New file.
25713         * benchtests/slowsin.c: New file.
25715         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25716         (bench): Add slowexp and slowpow.
25717         (exp-ITER): Increase iterations.
25718         (pow-ITER): Likewise.
25719         * benchtests/exp-inputs: Change input.
25720         * benchtests/pow-inputs: Likewise.
25721         * benchtests/slowexp-inputs: New file.
25722         * benchtests/slowexp.c: New file.
25723         * benchtests/slowpow-inputs: New file.
25724         * benchtests/slowpow.c: New file.
25726 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25728         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25729         instructions.
25730         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25731         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25732         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25733         * benchtests/Makefile: Add rint benchtest.
25734         * benchtests/rint-inputs: Input for rint benchtest.
25736 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25738         * Versions.def (libm): Add GLIBC_2.18.
25739         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25740         hidden libm prototypes.
25741         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25742         * math/Makefile (libm-calls): Add s_issignaling.
25743         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25744         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25745         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25746         declaration.
25747         * math/math.h [__USE_GNU] (issignaling): New macro.
25748         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25749         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25750         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25751         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25752         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25753         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25754         * manual/arith.texi (issignaling): New section.
25755         * manual/libm-err-tab.pl (@all_functions): Update comment.
25756         * math/gen-libm-test.pl (parse_args): Apply special handling for
25757         issignaling.
25758         * math/libm-test.inc (print_float, issignaling_test): New
25759         functions.
25760         (check_float_internal): Add issignaling checks.
25761         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25762         default definition.
25763         * sysdeps/powerpc/math-tests.h: New file.
25764         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25765         tests.
25766         * math/test-snan.c (TEST_FUNC): Likewise.
25768 2013-03-30  David S. Miller  <davem@davemloft.net>
25770         * po/de.po: Update from translation team.
25772 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25774         [BZ #10357]
25775         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25776         imaginary part less than 1.0 and real part less than 0.5
25777         specially.
25778         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25779         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25780         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25781         (cacos_test): Add more tests.
25782         (casin_test): Likewise.
25783         (casinh_test): Likewise.
25784         * sysdeps/i386/fpu/libm-test-ulps: Update.
25785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25787 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25789         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25790         ONE with its value.
25792         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25793         (__pow_mp): Replace ONE and MONE with their values.
25794         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25795         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25796         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25797         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25798         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25799         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25801         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25803         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25804         (__pow_mp): Replace ZERO and MZERO with their values.
25805         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25806         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25807         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25809         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25810         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25811         (__sqr): Likewise.
25813         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25815         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25817 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25819         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25820         Declare with __attribute__ ((weak)).
25821         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25822         Call __call_tls_dtors only if it's not NULL.
25824 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25826         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25827         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25828         magic __ehdr_start linker symbol if it's defined.
25829         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25830         them up here if it was already done.
25832         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25833         (_dl_aux_init): Use const in cast when setting it.
25834         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25835         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25836         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25838         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25839         Declare them here.
25840         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25841         * csu/libc-tls.c: Nor here.
25842         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25844         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25845         (__libc_message): Never call vsyslog.
25847 2013-03-28  Alan Modra  <amodra@gmail.com>
25849         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25850         Define as empty.
25851         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25852         Likewise.
25854 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25856         [BZ #15214]
25857         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25858         underflow.
25859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25861 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25863         [BZ #15304]
25864         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25865         Don't add gid passed as argument.
25867         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25869 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25871         [BZ #15307]
25872         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25873         imaginary part between 1.0 and 1.5 and real part less than 0.5
25874         specially.
25875         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25876         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25877         * math/libm-test.inc (cacos_test): Add more tests.
25878         (casin_test): Likewise.
25879         (casinh_test): Likewise.
25880         * sysdeps/i386/fpu/libm-test-ulps: Update.
25881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25885         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25886         constants.
25887         (norm): Likewise.
25888         (denorm): Likewise.
25889         (__dbl_mp): Likewise.
25890         (add_magnitudes): Likewise.
25891         (sub_magnitudes): Likewise.
25892         (__add): Likewise.
25893         (__sub): Likewise.
25894         (__mul): Likewise.
25895         (__sqr): Likewise.
25896         (__inv): Likewise.
25897         (__dvd): Likewise.
25899         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25900         commented code.
25901         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25902         (__dubcos): Likewise.
25903         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25904         (__ieee754_acos): Likewise.
25905         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25906         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25907         (__exp1): Likewise.
25908         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25910         (log1): Likewise.
25911         (my_log2): Likewise.
25912         (checkint): Likewise.
25913         * sysdeps/ieee754/dbl-64/e_remainder.c
25914         (__ieee754_remainder): Likewise.
25915         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25917         (bsloww): Likewise.
25918         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25920         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25921         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25922         MANTISSA_STORE_T to store computations on mantissa.  Use
25923         macros for rounding and division.
25924         (denorm): Likewise.
25925         (__dbl_mp): Likewise.
25926         (add_magnitudes): Likewise.
25927         (sub_magnitudes): Likewise.
25928         (__mul): Likewise.
25929         (__sqr): Likewise.
25930         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25931         powers of two in terms of TWOPOW macro.
25932         (mp_no): Make type of mantissa as MANTISSA_T.
25933         [!RADIXI]: Define RADIXI.
25934         [!TWO52]: Define TWO52.
25935         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25937 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25939         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25940         llroundl symbol when building for PPC32.
25942 2013-03-24  Mark H Weaver  <mhw@netris.org>
25944         * manual/arith.texi (Normalization Functions): Fix prototypes for
25945         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25947 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25949         [BZ #13889]
25950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25951         high value to check if expl overflow.
25952         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25953         to check for underflow and overflow.
25954         * math/libm-test.inc: Add exp test.
25956 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25958         [BZ #11120]
25959         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25960         with NOT_IN_libc.
25962 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25964         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25965         symbol.
25967 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25969         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25970         wrap blocks consisting of several statements.
25972         * sysdeps/generic/math-tests.h: New file.
25973         * sysdeps/i386/fpu/math-tests.h: Likewise.
25974         * math/test-snan.c: Include it.
25975         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25977 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25979         [BZ #15285]
25980         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25981         (__ieee754_j0l): Do not improve calculations using cos of twice
25982         input for inputs above LDBL_MAX / 2.0L.
25983         (__ieee754_y0l): Likewise.
25984         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25985         (__ieee754_j1l): Do not improve calculations using cos of twice
25986         input for inputs above LDBL_MAX / 2.0L.
25987         (__ieee754_y1l): Likewise.
25988         * math/libm-test.inc (j0_test): Add another test.
25989         (j1_test): Likewise.
25990         (y0_test): Likewise.
25991         (y1_test): Likewise.
25992         * sysdeps/i386/fpu/libm-test-ulps: Update.
25994 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25996         * Rules ($(objpfx)bench-%.c): Include code from a C source
25997         file.
25999 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #15287]
26002         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26003         imaginary part 1.0 and real part less than 0.5 specially.
26004         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26005         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26006         * math/libm-test.inc (cacos_test): Add more tests.
26007         (casin_test): Likewise.
26008         (casinh_test): Likewise.
26009         * sysdeps/i386/fpu/libm-test-ulps: Update.
26010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26012 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26014         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26015         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26017 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26019         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26020         * config.make.in (config-cflags-sse4): Remove variable.
26021         (config-cflags-avx): Likewise.
26022         (config-cflags-sse2avx): Likewise.
26023         (config-cflags-novzeroupper): Likewise.
26024         (config-asflags-i686): Likewise.
26025         (have-mfma4): Likewise.
26026         (have-as-vis3): Likewise.
26027         (MIG): Likewise.
26028         * configure.in (MIG): Do not AC_SUBST.
26029         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26030         (libc_cv_cc_sse4): Do not AC_SUBST.
26031         (libc_cv_cc_avx): Likewise.
26032         (libc_cv_cc_sse2avx): Likewise.
26033         (libc_cv_cc_novzeroupper): Likewise.
26034         (libc_cv_cc_fma4): Likewise.
26035         (libc_cv_as_i686): Likewise.
26036         (libc_cv_sparc_as_vis3): Likewise.
26037         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26038         LIBC_CONFIG_VAR.
26039         (config-asflags-i686): Likewise.
26040         (config-cflags-avx): Likewise.
26041         (config-cflags-sse2avx): Likewise.
26042         (have-mfma4): Likewise.
26043         (config-cflags-novzeroupper): Likewise.
26044         * sysdeps/mach/configure.in (MIG): Likewise.
26045         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26046         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26047         LIBC_CONFIG_VAR.
26048         (config-cflags-avx): Likewise.
26049         (config-cflags-sse2avx): Likewise.
26050         (have-mfma4): Likewise.
26051         (config-cflags-novzeroupper): Likewise.
26052         * configure: Regenerated.
26053         * sysdeps/i386/configure: Likewise.
26054         * sysdeps/mach/configure: Likewise.
26055         * sysdeps/sparc/configure: Likewise.
26056         * sysdeps/x86_64/configure: Likewise.
26058 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26060         [BZ #14812]
26061         * locale/programs/localedef.c (options): Put N_ translation marker
26062         on argument names, not just descriptions.
26064 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26066         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26068 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26070         [BZ #14176]
26071         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26073 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26075         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26076         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26077         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26078         [!BEFORE_ABORT] (before_abort): New function.
26079         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26080         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26081         (writev_for_fatal): New function.
26082         (WRITEV_FOR_FATAL): New macro; call that.
26083         (backtrace_and_maps): New function.
26084         (BEFORE_ABORT): New macro; call that.
26085         (struct str_list): Type removed.
26086         (__libc_message, __libc_fatal): Functions removed.
26087         Include <sysdeps/posix/libc_fatal.c> instead.
26089 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26091         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26092         constants.
26093         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26094         double constants.
26096 2013-03-19  Andreas Schwab  <schwab@suse.de>
26098         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26099         * sysdeps/gnu/configure: Regenerate.
26101         * configure.in: Substitute libc_cv_rtlddir.
26102         * configure: Regenerate.
26103         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26104         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26105         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26106         * elf/Makefile (install-others, CFLAGS-interp.c)
26107         (ldso_install, common-ldd-rewrite): Likewise.
26108         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26109         $(inst_slibdir)/$(rtld-installed-name).
26110         * scripts/rellns-sh: Add -p option.
26111         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26112         for source.
26114 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26116         * manual/nptl.texi: Renamed to ...
26117         * manual/threads.texi: ... this.
26118         * manual/Makefile (chapters): Update.
26120 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26122         [BZ #14812]
26123         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26124         on argument names, not just descriptions.
26125         * malloc/memusagestat.c (options): Likewise.
26126         * nss/getent.c (options): Likewise.
26128 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26130         [BZ #14812]
26131         * iconv/iconv_prog.c (options): Put N_ translation marker
26132         on argument names, not just descriptions.
26133         * iconv/iconvconfig.c (options): Likewise.
26135 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26137         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26138         implementation which is faster on all x86_64 architectures.
26139         Tested on AMD, Intel Nehalem, SNB, IVB.
26140         * sysdeps/x86_64/strnlen.S: Likewise.
26142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26143         Remove all multiarch strlen and strnlen versions.
26144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26145         Remove strlen and strnlen related parts.
26147         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26148         Inline strlen part.
26149         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26151         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26152         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26153         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26154         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26155         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26156         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26158 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26160         * manual/memory.texi (Malloc Tunable Parameters):
26161         Sort parameters alphabetically. Add comments for missing entries.
26163 2013-03-17  David S. Miller  <davem@davemloft.net>
26165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26167 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26169         [BZ #15283]
26170         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26171         for arguments at most half maximum finite value.
26172         * math/libm-test.inc (j0_test): Add more tests.
26173         (j1_test): Likewise.
26174         (y0_test): Likewise.
26175         (y1_test): Likewise.
26176         * sysdeps/i386/fpu/libm-test-ulps: Update.
26177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26179         [BZ #14155]
26180         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26181         1 / x and functions P and Q for arguments above 0x1p256L.
26182         (__ieee754_y0l): Likewise.
26183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26184         (__ieee754_y1l): Likewise.
26185         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26186         (j1_test): Likewise.
26187         (y0_test): Likewise.
26188         (y1_test): Likewise.
26190 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26192         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26193         variable.
26195 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26197         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26198         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26199         zero since it's initialized to EXEC_PAGESIZE.
26201         * sysdeps/unix/sysv/linux/ldsodefs.h
26202         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26203         * sysdeps/generic/ldsodefs.h: ... here.
26205 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26207         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26209         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26210         math/test-snan.c.
26211         * math/test-snan.c: Renamed from
26212         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26213         * math/Makefile (tests): Add test-snan.
26214         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26215         test-powerpc-snan.
26217         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26218         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26219         functions.
26220         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26221         __builtin_nan family of functions.
26222         * math/libm-test.inc (initialize): Initialize qnan_value with
26223         __builtin_nan family of functions.
26224         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26225         Remove variables.
26226         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26227         Remove functions.
26228         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26229         storage class.  Initialize qNaN_var and sNaN_var with
26230         __builtin_nan and __builtin_nans families of functions,
26231         respectively.
26233         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26234         (sqrt_test): Remove duplicate test with qNaN input.
26235         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26236         (round_test, signbit_test, significand_test): Note missing +/-Inf
26237         as well as qNaN tests.
26239         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26240         qNaN_var.  Fix a few strings, too.
26241         * math/libm-test.inc (nan_value): Rename to qnan_value.
26242         * math/gen-libm-test.pl (%beautify): Adjust to that.
26243         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26244         * math/test-misc.c (main): Likewise.
26245         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26246         to __qnan_bytes, and __qnan_union, respectively.
26247         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26248         Likewise.
26249         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26250         and lqnanval, respectively.
26251         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26252         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26253         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26254         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26256         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26257         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26258         doubles.
26260         * math/test-misc.c (main): Fix copy'n'pastos.
26261         * misc/tst-efgcvt.c (special): Likewise.
26263         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26264         Remove declarations.
26266 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26268         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26269         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26270         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26271         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26273 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26276         macro to return vdso values correctly in IFUNC implementations.
26277         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26278         Optimization by using IFUNC.
26280 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26281             Richard Henderson  <rth@redhat.com>
26282             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26284         * Makefile.in (bench): New target.
26285         * NEWS: Mention the benchmark framework.
26286         * Rules (bench): Likewise.
26287         (binaries-bench): Generate binaries for functions to
26288         benchmark.
26289         * benchtests/Makefile: New makefile for benchmark tests.
26290         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26291         programs.
26292         * benchtests/exp-inputs: New input file for EXP function.
26293         * benchtests/pow-inputs: New input file for POW function.
26294         * scripts/bench.pl: New script to generate source files for
26295         benchmark programs.
26297 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26299         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26300         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26301         computations on mantissa.  Use macros for rounding and
26302         division.
26303         (denorm): Likewise.
26304         (__dbl_mp): Likewise.
26305         (add_magnitudes): Likewise.
26306         (sub_magnitudes): Likewise.
26307         (__mul): Likewise.
26308         (__sqr): Likewise.
26309         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26310         powers of two in terms of TWOPOW macro.
26311         (mp_no): Make type of mantissa as MANTISSA_T.
26312         [!RADIXI]: Define RADIXI.
26313         [!TWO52]: Define TWO52.
26314         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26316         * manual/nptl.texi (cindex): Modify threads to pthreads.
26318 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26320         * sysdeps/x86_64/preconfigure: Regenerated.
26322 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26324         [BZ #14155]
26325         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26326         0x1p28 and above.
26327         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26328         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26329         0x1p28 and above.
26330         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26331         * math/libm-test.inc (j0_test): Do not allow one spurious
26332         underflow exception.
26333         (y1_test): Likewise.
26335 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26337         * manual/Makefile (chapters): Add nptl.
26338         * manual/debug.texi (Debugging Support): Add link to Threads
26339         chapter.
26340         * manual/nptl.texi: New file.
26342         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26344 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26346         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26347         for non-NULL pointer before the memory validity test. Pointed
26348         out by Holger Brunck <holger.brunck@keymile.com>.
26350 2013-03-13  Andreas Schwab  <schwab@suse.de>
26352         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26353         instead of .os.
26355 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26357         * timezone/zic.c: Update from tzcode 2013b.
26359 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26361         * manual/install.texi (Configuring and compiling):
26362         Mention i686 and i586.
26363         * INSTALL: Regenerate.
26365 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26367         * sysdeps/init_array/elf-init.c: New file.
26368         * csu/elf-init.c
26369         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26370         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26372         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26373         __gmon_start__ as global, but as static with a .preinit_array pointer.
26374         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26375         * sysdeps/init_array/crti.S: New file, empty except for comments.
26376         * sysdeps/init_array/crtn.S: Likewise.
26378 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26380         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26381         definining bcopy.
26382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26383         Remove Prefer_SSE_for_memop.
26384         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26385         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26386         HAS_PREFER_SSE_FOR_MEMOP.
26387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26388         memset-x86-64.
26389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26390         Remove bzero, memset ifunc support.
26391         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26392         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26393         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26394         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26396 2013-03-11  Andreas Schwab  <schwab@suse.de>
26398         [BZ #15234]
26399         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26400         by SHLIB_COMPAT.
26401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26402         (GLIBC_2.16): Remove pthread_atfork.
26404 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26406         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26407         (ptestcases.h): Likewise.
26409 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26411         * Makeconfig ($(common-objpfx)config.status): Depend on
26412         sysdeps/*/preconfigure{,.in} too.
26414 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26416         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26417         (__free_hook): Use void * instead of __malloc_ptr_t.
26418         (__malloc_hook): Likewise.
26419         (__realloc_hook): Likewise.
26420         (__memalign_hook): Likewise.
26421         (__after_morecore_hook): Likewise.
26422         * malloc/arena.c (save_malloc_hook): Likewise.
26423         (save_free_hook): Likewise.
26424         * malloc/hooks.c (malloc_hook_ini): Likewise.
26425         (realloc_hook_ini): Likewise.
26426         (memalign_hook_ini): Likewise.
26427         * malloc/malloc.c (malloc_hook_ini): Likewise.
26428         (realloc_hook_ini): Likewise.
26429         (memalign_hook_ini): Likewise.
26430         (__free_hook): Likewise.
26431         (__malloc_hook): Likewise.
26432         (__realloc_hook): Likewise.
26433         (__memalign_hook): Likewise.
26434         (__libc_malloc): Likewise.
26435         (__libc_free): Likewise.
26436         (__libc_realloc): Likewise.
26437         (__libc_memalign): Likewise.
26438         (__libc_valloc): Likewise.
26439         (__libc_pvalloc): Likewise.
26440         (__libc_calloc): Likewise.
26441         (__posix_memalign): Likewise.
26442         * malloc/morecore.c (__sbrk): Likewise.
26443         (__default_morecore): Likewise.
26445         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26447         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26448         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26449         __malloc_ptrdiff_t.
26451         * malloc/malloc.h (__malloc_size_t): Remove macro.
26452         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26453         __malloc_size_t.
26454         (old_memalign_hook): Likewise.
26455         (old_realloc_hook): Likewise.
26456         (struct hdr): Likewise.
26457         (flood): Likewise.
26458         (mallochook): Likewise.
26459         (memalignhook): Likewise.
26460         (reallochook): Likewise.
26461         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26462         (tr_old_realloc_hook): Likewise.
26463         (tr_old_memalign_hook): Likewise.
26464         (tr_mallochook): Likewise.
26465         (tr_reallochook): Likewise.
26466         (tr_memalignhook): Likewise.
26468 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26471         default_ldbl_pack and using as default implementation.
26472         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26473         implementation.
26474         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26475         redundant definition.
26476         (ldbl_insert_mantissa): Likewise.
26477         (ldbl_canonicalize): Likewise.
26478         (ldbl_nearbyint): Likewise.
26479         (ldbl_pack): Rename to ldbl_pack_ppc.
26480         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26481         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26482         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26484 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26487         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26488         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26489         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26491         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26492         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26493         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26495 2013-03-07  Andreas Jaeger  <aj@suse.de>
26497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26498         bits/mman-linux.h.
26500 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26502         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26503         Include mpa.h and declare __MPEXP.
26504         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26505         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26506         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26507         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26508         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26509         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26510         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26512         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26513         (__slowpow): Use long double EXPL and LOGL functions to
26514         compute POW.
26515         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26516         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26517         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26518         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26519         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26520         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26523         intermediate variable to calculate exponent.
26524         (__sqr): Likewise.
26525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26526         Likewise.
26527         (__sqr): Likewise.
26529         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26530         [!NO__SQR]: Define __sqr.
26531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26532         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26533         sysdeps/ieee754/dbl-64/mpa.c.
26534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26536         [BZ #12723]
26537         * posix/Makefile (tests): Add tst-pathconf.
26538         * posix/tst-pathconf.c: New test case.
26539         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26540         _PC_PIPE_BUF.
26541         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26543 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26545         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26547 2013-03-06  Andreas Jaeger  <aj@suse.de>
26549         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26550         definition via __MAP_ANONYMOUS.
26552         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26553         it's not part of Linux headers.
26555         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26556         (MAP_HUGE_MASK): Define.
26558         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26559         Define.
26560         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26561         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26562         Define.
26563         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26564         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26565         Define.
26566         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26567         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26568         Define.
26569         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26571         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26572         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26573         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26574         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26575         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26576         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26578         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26579         Handle f2fs.
26581         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26582         Handle f2fs and efivarfs.
26584         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26585         f2fs.
26587         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26588         (EFIVARFS_MAGIC): Add.
26589         (F2FS_LINK_MAX): Add.
26591 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26593         * stdio-common/vfprintf.c: Replace __builtin_expect with
26594         __glibc_unlikely.
26596 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
26598         [BZ #13550]
26599         * sysdeps/generic/bp-sym.h: Remove file.
26600         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26601         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26602         <bp-sym.h> and <bp-asm.h>.
26603         (__longjmp): Don't use BP_SYM.
26604         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26605         and <bp-asm.h>.
26606         (memcpy): Don't use BP_SYM.
26607         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26608         <bp-sym.h> and <bp-asm.h>.
26609         (memcpy): Don't use BP_SYM.
26610         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26611         <bp-asm.h>.
26612         (memcpy): Don't use BP_SYM.
26613         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26614         <bp-asm.h>.
26615         (memset): Don't use BP_SYM.
26616         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26617         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26618         (__bzero): Don't use BP_SYM.
26619         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26620         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26621         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26622         <bp-sym.h> and <bp-asm.h>.
26623         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26624         pointers.
26625         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26626         <bp-sym.h> and <bp-asm.h>.
26627         (memcpy): Don't use BP_SYM.
26628         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26629         <bp-sym.h> and <bp-asm.h>.
26630         (memset): Don't use BP_SYM.
26631         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26632         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26633         (__bzero): Don't use BP_SYM.
26634         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26635         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26636         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26637         <bp-sym.h> and <bp-asm.h>.
26638         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26639         pointers.
26640         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26641         <bp-sym.h> and <bp-asm.h>.
26642         (memcpy): Don't use BP_SYM.
26643         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26644         <bp-sym.h> and <bp-asm.h>.
26645         (memset): Don't use BP_SYM.
26646         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26647         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26648         (__bzero): Don't use BP_SYM.
26649         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26650         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26651         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26652         <bp-sym.h> and <bp-asm.h>.
26653         (__memchr): Don't use BP_SYM.
26654         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26655         <bp-sym.h> and <bp-asm.h>.
26656         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26657         pointers.
26658         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26659         <bp-sym.h> and <bp-asm.h>.
26660         (memcpy): Don't use BP_SYM.
26661         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26662         <bp-sym.h> and <bp-asm.h>.
26663         (__mempcpy): Don't use BP_SYM.
26664         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26665         <bp-sym.h> and <bp-asm.h>.
26666         (__memrchr): Don't use BP_SYM.
26667         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26668         <bp-sym.h> and <bp-asm.h>.
26669         (memset): Don't use BP_SYM.
26670         (__bzero): Likewise.
26671         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26672         <bp-sym.h> and <bp-asm.h>.
26673         (__rawmemchr): Don't use BP_SYM.
26674         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26675         <bp-sym.h> and <bp-asm.h>.
26676         (__STRCMP): Don't use BP_SYM.
26677         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26678         <bp-sym.h> and <bp-asm.h>.
26679         (strchr): Don't use BP_SYM.
26680         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26681         <bp-sym.h> and <bp-asm.h>.
26682         (__strchrnul): Don't use BP_SYM.
26683         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26684         <bp-sym.h> and <bp-asm.h>.
26685         (strlen): Don't use BP_SYM.
26686         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26687         <bp-sym.h> and <bp-asm.h>.
26688         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26689         pointers.
26690         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26691         <bp-sym.h> and <bp-asm.h>.
26692         (__strnlen): Don't use BP_SYM.
26693         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26694         <bp-sym.h> and <bp-asm.h>.
26695         (__GI__setjmp): Don't use BP_SYM.
26696         (_setjmp): Likewise.
26697         (__sigsetjmp): Likewise.
26698         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26699         (L(start_addresses)): Don't use BP_SYM.
26700         (_start): Likewise.
26701         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26702         <bp-asm.h>.
26703         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26704         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26705         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26706         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26707         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26708         <bp-asm.h>.
26709         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26710         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26711         about bounded pointers.
26712         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26713         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26714         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26715         <bp-asm.h>.
26716         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26717         about bounded pointers.  Remove GKM FIXME comments.
26718         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26719         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26720         <bp-asm.h>.
26721         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26722         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26723         Remove GKM FIXME comments.
26724         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26725         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26726         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26727         <bp-asm.h>.
26728         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26729         about bounded pointers.  Remove GKM FIXME comment.
26730         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26731         and <bp-asm.h>.
26732         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26733         pointers.
26734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26735         <bp-sym.h> and <bp-asm.h>.
26736         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26738         <bp-sym.h> and <bp-asm.h>.
26739         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26740         comment.
26742 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26744         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26745         call free(NULL).
26747 2013-03-05  David S. Miller  <davem@davemloft.net>
26749         * po/es.po: Update from translation team.
26751 2013-03-05  Andreas Jaeger  <aj@suse.de>
26753         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26754         <bits/mman-linux.h>.
26755         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26756         is fine.
26757         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26758         <bits/mman-linux.h> to end of file.
26759         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26760         is fine.
26761         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26762         <bits/mman-linux.h> to end of file.
26763         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26764         is fine.
26765         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26766         <bits/mman-linux.h> to end of file.
26768         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26769         (MCL_CURRENT, MCL_FUTURE): Define here.
26771 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26773         [BZ #15232]
26774         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26775         attribute_hidden.
26776         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26778 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26780         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26781         fourth parameter needed for rt_sigprocmask syscall.
26782         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26783         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26784         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26785         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26786         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26787         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26789 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26791         [BZ #13550]
26792         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26793         comment about bounded pointers.
26794         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26795         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26797 2013-03-04  Andreas Jaeger  <aj@suse.de>
26799         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26800         common definitions.
26802         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26803         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26804         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26805         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26806         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26807         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26809 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26811         [BZ #15055]
26812         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26813         __ieee754_sqrl instead of __sqrl.
26815 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26817         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26818         * sysdeps/powerpc/fpu_control.h: ... here.
26819         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26820         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26821         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26822         * sysdeps/powerpc/bits/mathinline.h: ... here.
26824 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26826         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26827         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26828         to just [NEED_DL_SYSINFO_DSO].
26829         * elf/dl-support.c: Likewise.
26830         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26831         * elf/rtld.c (dl_main): Likewise.
26832         * elf/setup-vdso.h (setup_vdso): Likewise.
26833         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26834         * sysdeps/unix/sysv/linux/dl-sysdep.c
26835         (_dl_discover_osversion): Likewise.
26837 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26839         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26840         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26842 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26844         * NEWS: Mention libm performance improvements and non-x86 PI
26845         futex support.
26847         * csu/libc-start.c (__pthread_initialize_minimal): Change
26848         function arguments.
26849         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26851 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26853         [BZ #13550]
26854         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26855         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26856         <bp-sym.h> and <bp-asm.h>.
26857         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26858         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26859         and <bp-asm.h>.
26860         (memcpy): Don't use BP_SYM.
26861         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26862         <bp-asm.h>.
26863         (__mpn_add_n): Don't use BP_SYM.
26864         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26865         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26866         and <bp-asm.h>.
26867         (__mpn_addmul_1): Don't use BP_SYM.
26868         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26869         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26870         <bp-sym.h>.
26871         (_setjmp): Don't use BP_SYM.
26872         (__novmx_setjmp): Likewise.
26873         (__GI__setjmp): Likewise.
26874         (__vmx_setjmp): Likewise.
26875         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26876         <bp-sym.h>.
26877         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26878         (__bzero): Don't use BP_SYM.
26879         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26880         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26881         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26882         <bp-sym.h> and <bp-asm.h>.
26883         (memcpy): Don't use BP_SYM.
26884         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26885         <bp-sym.h> and <bp-asm.h>.
26886         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26887         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26888         <bp-sym.h> and <bp-asm.h>.
26889         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26890         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26891         <bp-asm.h>.
26892         (__mpn_lshift): Don't use BP_SYM.
26893         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26894         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26895         <bp-asm.h>.
26896         (memset): Don't use BP_SYM.
26897         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26898         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26899         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26900         <bp-asm.h>.
26901         (__mpn_mul_1): Don't use BP_SYM.
26902         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26903         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26904         <bp-sym.h> and <bp-asm.h>.
26905         (memcmp): Don't use BP_SYM.
26906         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26907         <bp-sym.h> and <bp-asm.h>.
26908         (memcpy): Don't use BP_SYM.
26909         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26910         <bp-sym.h> and <bp-asm.h>.
26911         (memset): Don't use BP_SYM.
26912         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26913         <bp-sym.h> and <bp-asm.h>.
26914         (strncmp): Don't use BP_SYM.
26915         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26916         <bp-sym.h> and <bp-asm.h>.
26917         (memcpy): Don't use BP_SYM.
26918         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26919         <bp-sym.h> and <bp-asm.h>.
26920         (memset): Don't use BP_SYM.
26921         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26922         <bp-sym.h> and <bp-asm.h>.
26923         (__memchr): Don't use BP_SYM.
26924         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26925         <bp-sym.h> and <bp-asm.h>.
26926         (memcmp): Don't use BP_SYM.
26927         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26928         <bp-sym.h> and <bp-asm.h>.
26929         (memcpy): Don't use BP_SYM.
26930         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26931         <bp-sym.h> and <bp-asm.h>.
26932         (__mempcpy): Don't use BP_SYM.
26933         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26934         <bp-sym.h> and <bp-asm.h>.
26935         (__memrchr): Don't use BP_SYM.
26936         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26937         <bp-sym.h> and <bp-asm.h>.
26938         (memset): Don't use BP_SYM.
26939         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26940         <bp-sym.h> and <bp-asm.h>.
26941         (__rawmemchr): Don't use BP_SYM.
26942         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26943         <bp-sym.h> and <bp-asm.h>.
26944         (__STRCMP): Don't use BP_SYM.
26945         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26946         <bp-sym.h> and <bp-asm.h>.
26947         (strchr): Don't use BP_SYM.
26948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26949         <bp-sym.h> and <bp-asm.h>.
26950         (__strchrnul): Don't use BP_SYM.
26951         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26952         <bp-sym.h> and <bp-asm.h>.
26953         (strlen): Don't use BP_SYM.
26954         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26955         <bp-sym.h> and <bp-asm.h>.
26956         (strncmp): Don't use BP_SYM.
26957         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26958         <bp-sym.h> and <bp-asm.h>.
26959         (__strnlen): Don't use BP_SYM.
26960         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26961         <bp-asm.h>.
26962         (__mpn_rshift): Don't use BP_SYM.
26963         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26964         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26965         <bp-sym.h> and <bp-asm.h>.
26966         (__sigsetjmp): Don't use BP_SYM.
26967         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26968         (L(start_addresses)): Don't use BP_SYM.
26969         (_start): Likewise.
26970         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26971         <bp-asm.h>.
26972         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26973         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26974         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26975         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26976         <bp-asm.h>.
26977         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26978         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26979         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26980         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26981         <bp-asm.h>.
26982         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26983         comments.
26984         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26985         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26986         <bp-asm.h>.
26987         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
26988         FIXME comments.
26989         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26990         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26991         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26992         <bp-asm.h>.
26993         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
26994         comment.
26995         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26996         and <bp-asm.h>.
26997         (strncmp): Don't use BP_SYM,
26998         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26999         <bp-asm.h>.
27000         (__mpn_sub_n): Don't use BP_SYM.
27001         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27002         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27003         and <bp-asm.h>.
27004         (__mpn_submul_1): Don't use BP_SYM.
27005         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27007         <bp-sym.h> and <bp-asm.h>.
27008         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27010         <bp-sym.h> and <bp-asm.h>.
27011         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27012         comment.
27014 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27017         Use ZK to minimize writes to Z.
27018         (sub_magnitudes): Simplify code a bit.
27019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27020         Use ZK to minimize writes to Z.
27021         (sub_magnitudes): Simplify code a bit.
27023 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27025         * csu/gmon-start.c: Add special exception to license text.
27027 2013-02-27  Richard Henderson  <rth@redhat.com>
27029         * scripts/config.guess: Update from config.git.
27030         * scripts/config.sub: Likewise.
27032 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27034         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27036         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27038         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27040         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27042         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27044 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27046         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27047         [$(build-shared = yes].
27049 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27051         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27052         (__mul): Reduce iterations for calculating mantissa.
27054         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27055         MPTWO.
27056         (__mpranred): Likewise.
27058         [BZ #15160]
27059         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27060         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27062 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27064         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27065         Define __attribute__.
27067 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27069         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27070         unused.
27071         * posix/regex_internal.h (__attribute): Remove.
27072         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27073         (re_string_context_at): Likewise.
27074         (bitset_not): Use __attribute__ and mark function as possibly
27075         unused.
27076         (bitset_merge): Likewise.
27077         (bitset_mask): Likewise.
27078         (re_string_char_size_at): Likewise.
27079         (re_string_wchar_at): Likewise.
27080         (re_string_elem_size_at): Likewise.
27082 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27084         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27085         code.
27086         (cc32): Likewise.
27088         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27089         (__acr): Likewise.
27090         (__cpy): Likewise.
27091         (norm): Likewise.
27092         (denorm): Likewise.
27093         (__dbl_mp): Likewise.
27094         (add_magnitudes): Likewise.
27095         (sub_magnitudes): Likewise.
27096         (__mul): Likewise.
27097         (__inv): Likewise.
27099         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27100         style.
27102         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27103         style.
27105         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27106         code.
27108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27109         up changes with default code.
27110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27111         Likewise.
27113 2013-02-24  Allan McRae  <allan@archlinux.org>
27115         * manual/socket.texi (The Internet Namespace): Order menu items
27116         to match that in the file.
27118         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27119         node listing of the info page menu.
27121 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27123         [BZ #13550]
27124         * sysdeps/i386/bp-asm.h: Remove file.
27125         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27126         (PARMS): Do not use macros from bp-asm.h.
27127         (S1): Likewise.
27128         (S2): Likewise.
27129         (SIZE): Likewise.
27130         (__mpn_add_n): Do not use BP_SYM
27131         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27132         "bp-asm.h".
27133         (PARMS): Do not use macros from bp-asm.h.
27134         (S1): Likewise.
27135         (SIZE): Likewise.
27136         (__mpn_addmul_1): Do not use BP_SYM
27137         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27138         "bp-asm.h".
27139         (PARMS): Do not use macros from bp-asm.h.
27140         (SIGMSK): Likewise.
27141         (_setjmp): Likewise.  Do not use BP_SYM.
27142         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27143         "bp-asm.h".
27144         (PARMS): Do not use macros from bp-asm.h.
27145         (SIGMSK): Likewise.
27146         (setjmp): Likewise.  Do not use BP_SYM.
27147         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27148         "bp-asm.h".
27149         (PARMS): Do not use macros from bp-asm.h.
27150         (__frexp): Do not use BP_SYM.
27151         (frexp): Likewise.
27152         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27153         "bp-asm.h".
27154         (PARMS): Do not use macros from bp-asm.h.
27155         (__frexpf): Do not use BP_SYM.
27156         (frexpf): Likewise.
27157         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27158         "bp-asm.h".
27159         (PARMS): Do not use macros from bp-asm.h.
27160         (__frexpl): Do not use BP_SYM.
27161         (frexpl): Likewise.
27162         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27163         "bp-asm.h".
27164         (PARMS): Do not use macros from bp-asm.h.
27165         (__remquo): Do not use BP_SYM.
27166         (remquo): Likewise.
27167         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27168         "bp-asm.h".
27169         (PARMS): Do not use macros from bp-asm.h.
27170         (__remquof): Do not use BP_SYM.
27171         (remquof): Likewise.
27172         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27173         "bp-asm.h".
27174         (PARMS): Do not use macros from bp-asm.h.
27175         (__remquol): Do not use BP_SYM.
27176         (remquol): Likewise.
27177         * sysdeps/i386/i486/strcat.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         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27183         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27184         "bp-asm.h".
27185         (PARMS): Do not use macros from bp-asm.h.
27186         (strlen): Do not use BP_SYM.
27187         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27188         "bp-asm.h".
27189         (PARMS): Do not use macros from bp-asm.h.
27190         (S1): Likewise.
27191         (S2): Likewise.
27192         (SIZE): Likewise.
27193         (__mpn_add_n): Do not use BP_SYM.
27194         * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
27200         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27201         weak_alias.
27202         (bzero): Likewise.
27203         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27204         "bp-asm.h".
27205         (PARMS): Do not use macros from bp-asm.h.
27206         (S): Likewise.
27207         (SIZE): Likewise.
27208         (__mpn_lshift): Do not use BP_SYM.
27209         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27210         "bp-asm.h".
27211         (PARMS): Do not use macros from bp-asm.h.
27212         (DEST): Likewise.
27213         (SRC): Likewise.
27214         (LEN): Likewise.
27215         (memcpy): Likewise.  Do not use BP_SYM.
27216         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27217         libc_hidden_def and weak_alias.
27218         (mempcpy): Do not use BP_SYM in weak_alias.
27219         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27220         "bp-asm.h".
27221         (PARMS): Do not use macros from bp-asm.h.
27222         (DEST): Likewise.
27223         (LEN): Likewise.
27224         [!BZERO_P] (CHR): Likewise.
27225         (memset): Likewise.  Do not use BP_SYM.
27226         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27227         "bp-asm.h".
27228         (PARMS): Do not use macros from bp-asm.h.
27229         (S1): Likewise.
27230         (SIZE): Likewise.
27231         (__mpn_mul_1): Do not use BP_SYM.
27232         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27233         "bp-asm.h".
27234         (PARMS): Do not use macros from bp-asm.h.
27235         (S): Likewise.
27236         (SIZE): Likewise.
27237         (__mpn_rshift): Do not use BP_SYM.
27238         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27239         "bp-asm.h".
27240         (PARMS): Do not use macros from bp-asm.h.
27241         (STR): Likewise.
27242         (CHR): Likewise.
27243         (strchr): Likewise.  Do not use BP_SYM.
27244         (index): Do not use BP_SYM in weak_alias.
27245         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27246         "bp-asm.h".
27247         (PARMS): Do not use macros from bp-asm.h.
27248         (DEST): Likewise.
27249         (SRC): Likewise.
27250         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27251         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27252         "bp-asm.h".
27253         (PARMS): Do not use macros from bp-asm.h.
27254         (strlen): Do not use BP_SYM.
27255         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27256         "bp-asm.h".
27257         (PARMS): Do not use macros from bp-asm.h.
27258         (S1): Likewise.
27259         (S2): Likewise.
27260         (SIZE): Likewise.
27261         (__mpn_sub_n): Do not use BP_SYM.
27262         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27263         "bp-asm.h".
27264         (PARMS): Do not use macros from bp-asm.h.
27265         (S1): Likewise.
27266         (SIZE): Likewise.
27267         (__mpn_submul_1): Do not use BP_SYM.
27268         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27269         "bp-asm.h".
27270         (PARMS): Do not use macros from bp-asm.h.
27271         (S1): Likewise.
27272         (S2): Likewise.
27273         (SIZE): Likewise.
27274         (__mpn_add_n): Do not use BP_SYM.
27275         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27276         weak_alias.
27277         (bzero): Likewise.
27278         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27279         "bp-asm.h".
27280         (PARMS): Do not use macros from bp-asm.h.
27281         (BLK2): Likewise.
27282         (LEN): Likewise.
27283         (memcmp): Do not use BP_SYM.
27284         (bcmp): Do not use BP_SYM in weak_alias.
27285         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27286         "bp-asm.h".
27287         (PARMS): Do not use macros from bp-asm.h.
27288         (DEST): Likewise.
27289         (SRC): Likewise.
27290         (LEN): Likewise.
27291         (memcpy): Likewise.  Do not use BP_SYM.
27292         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27293         "bp-asm.h".
27294         (PARMS): Do not use macros from bp-asm.h.
27295         (DEST): Likewise.
27296         (SRC): Likewise.
27297         (LEN): Likewise.
27298         (memmove): Likewise.  Do not use BP_SYM.
27299         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27300         "bp-asm.h".
27301         (PARMS): Do not use macros from bp-asm.h.
27302         (DEST): Likewise.
27303         (SRC): Likewise.
27304         (LEN): Likewise.
27305         (__mempcpy): Likewise.  Do not use BP_SYM.
27306         (mempcpy): Do not use BP_SYM in weak_alias.
27307         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27308         "bp-asm.h".
27309         (PARMS): Do not use macros from bp-asm.h.
27310         (DEST): Likewise.
27311         (LEN): Likewise.
27312         [!BZERO_P] (CHR): Likewise.
27313         (memset): Likewise.  Do not use BP_SYM.
27314         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27315         "bp-asm.h".
27316         (PARMS): Do not use macros from bp-asm.h.
27317         (STR2): Likewise.
27318         (strcmp): Do not use BP_SYM.
27319         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27320         "bp-asm.h".
27321         (PARMS): Do not use macros from bp-asm.h.
27322         (STR): Likewise.
27323         (DELIM): Likewise.
27324         [USE_AS_STRTOK_R] (SAVE): Likewise.
27325         (FUNCTION): Likewise.  Do not use BP_SYM.
27326         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27327         aliases.
27328         (strtok_r): Likewise.
27329         (__GI___strtok_r): Likewise.
27330         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27331         (PARMS): Do not use macros from bp-asm.h.
27332         (S): Likewise.
27333         (SIZE): Likewise.
27334         (__mpn_lshift): Do not use BP_SYM.
27335         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27336         (PARMS): Do not use macros from bp-asm.h.
27337         (STR): Likewise.
27338         (CHR): Likewise.
27339         (__memchr): Do not use BP_SYM.
27340         (memchr): Do not use BP_SYM in weak_alias.
27341         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27342         (PARMS): Do not use macros from bp-asm.h.
27343         (BLK2): Likewise.
27344         (LEN): Likewise.
27345         (memcmp): Do not use BP_SYM.
27346         (bcmp): Do not use BP_SYM in weak_alias.
27347         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27348         (PARMS): Do not use macros from bp-asm.h.
27349         (S1): Likewise.
27350         (SIZE): Likewise.
27351         (__mpn_mul_1): Do not use BP_SYM.
27352         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27353         "bp-asm.h".
27354         (PARMS): Do not use macros from bp-asm.h.
27355         (STR): Likewise.
27356         (CHR): Likewise.
27357         (__rawmemchr): Do not use BP_SYM.
27358         (rawmemchr): Do not use BP_SYM in weak_alias.
27359         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27360         (PARMS): Do not use macros from bp-asm.h.
27361         (S): Likewise.
27362         (SIZE): Likewise.
27363         (__mpn_rshift): Do not use BP_SYM.
27364         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27365         (PARMS): Do not use macros from bp-asm.h.
27366         (SIGMSK): Likewise.
27367         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27368         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27369         (_start): Do not use BP_SYM.
27370         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27371         (PARMS): Do not use macros from bp-asm.h.
27372         (DEST): Likewise.
27373         (SRC): Likewise.
27374         (__stpcpy): Likewise.  Do not use BP_SYM.
27375         (stpcpy): Do not use BP_SYM in weak_alias.
27376         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27377         "bp-asm.h".
27378         (PARMS): Do not use macros from bp-asm.h.
27379         (DEST): Likewise.
27380         (SRC): Likewise.
27381         (LEN): Likewise.
27382         (__stpncpy): Likewise.  Do not use BP_SYM.
27383         (stpncpy): Do not use BP_SYM in weak_alias.
27384         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27385         (PARMS): Do not use macros from bp-asm.h.
27386         (STR): Likewise.
27387         (CHR): Likewise.
27388         (strchr): Likewise.  Do not use BP_SYM.
27389         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27390         "bp-asm.h".
27391         (PARMS): Do not use macros from bp-asm.h.
27392         (STR): Likewise.
27393         (CHR): Likewise.
27394         (__strchrnul): Likewise.  Do not use BP_SYM.
27395         (strchrnul): Do not use BP_SYM in weak_alias.
27396         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27397         "bp-asm.h".
27398         (PARMS): Do not use macros from bp-asm.h.
27399         (STOP): Likewise.
27400         (strcspn): Do not use BP_SYM.
27401         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27402         "bp-asm.h".
27403         (PARMS): Do not use macros from bp-asm.h.
27404         (STR): Likewise.
27405         (STOP): Likewise.
27406         (strpbrk): Likewise.  Do not use BP_SYM.
27407         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27408         "bp-asm.h".
27409         (PARMS): Do not use macros from bp-asm.h.
27410         (STR): Likewise.
27411         (CHR): Likewise.
27412         (strrchr): Likewise.  Do not use BP_SYM.
27413         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27414         (PARMS): Do not use macros from bp-asm.h.
27415         (SKIP): Likewise.
27416         (strspn): Do not use BP_SYM.
27417         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27418         (PARMS): Do not use macros from bp-asm.h.
27419         (STR): Likewise.
27420         (DELIM): Likewise.
27421         (SAVE): Likewise.
27422         (FUNCTION): Likewise.  Do not use BP_SYM.
27423         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27424         aliases.
27425         (strtok_r): Likewise.
27426         (__GI___strtok_r): Likewise.
27427         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27428         (PARMS): Do not use macros from bp-asm.h.
27429         (S1): Likewise.
27430         (S2): Likewise.
27431         (SIZE): Likewise.
27432         (__mpn_sub_n): Do not use BP_SYM.
27433         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27434         "bp-asm.h".
27435         (PARMS): Do not use macros from bp-asm.h.
27436         (S1): Likewise.
27437         (SIZE): Likewise.
27438         (__mpn_submul_1): Do not use BP_SYM.
27439         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27440         <bp-sym.h>.
27441         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27442         and <bp-asm.h>.
27443         (PARMS): Do not use macros from bp-asm.h.
27444         (FLAGS): Likewise.
27445         (PTID): Likewise.
27446         (TLS): Likewise.
27447         (CTID): Likewise.
27448         (__clone): Do not use BP_SYM.
27449         (clone): Do not use BP_SYM in weak_alias.
27450         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27451         and <bp-asm.h>.
27452         (PARMS): Do not use macros from bp-asm.h.
27453         (LEN): Likewise.
27454         (__mmap64): Do not use BP_SYM.
27455         (mmap64): Do not use BP_SYM in weak_alias.
27456         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27457         <bp-sym.h> and <bp-asm.h>.
27458         (PARMS): Do not use macros from bp-asm.h.
27459         (__posix_fadvise64_l64): Do not use BP_SYM.
27460         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27461         (PARMS): Do not use macros from bp-asm.h.
27462         (NSOPS): Likewise.
27463         (semtimedop): Do not use BP_SYM.
27464         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27465         and <bp-asm.h>.
27467 2013-02-21  Allan McRae  <allan@archlinux.org>
27469         * manual/message.texi (Charset conversion in gettext):
27470         Move @end statement to beginning of line.
27472 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27475         static.
27476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27477         Likewise.
27479         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27480         (denorm): Likewise.
27481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27484 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27486         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27487         tail-call to the resolved function if pltexit isn't needed.
27489 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27492         or Y being zero as being unlikely.
27493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27494         Likewise.
27496 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27498         * manual/nss.texi (System Databases and Name Service Switch):
27499         Remove frobnicate @pxref.
27501 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27503         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27504         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27506 2013-02-20  Petr Machata  <pmachata@redhat.com>
27508         * elf/elf.h (R_ARM_TARGET1): New macro.
27509         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27510         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27511         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27512         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27513         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27514         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27515         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27516         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27517         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27518         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27519         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27520         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27521         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27522         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27523         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27524         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27525         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27526         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27527         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27528         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27529         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27530         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27531         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27532         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27533         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27534         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27535         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27536         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27537         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27538         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27539         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27540         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27541         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27542         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27543         (R_ARM_THM_GOT_BREL12): Likewise.
27544         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27545         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27546         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27547         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27548         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27549         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27550         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27551         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27552         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27554 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27556         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27557         __attribute_used__ to __attribute__ ((unused)).
27559 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27561         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27562         powerpc mpa.c.
27563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27564         comment formatting.
27565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27567 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
27569         [BZ #13550]
27570         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27571         Remove macro.
27572         (ENTER): Remove both macro definitions.
27573         (LEAVE): Likewise.
27574         (CHECK_BOUNDS_LOW): Likewise.
27575         (CHECK_BOUNDS_HIGH): Likewise.
27576         (CHECK_BOUNDS_BOTH): Likewise.
27577         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27578         (RETURN_BOUNDED_POINTER): Likewise.
27579         (RETURN_NULL_BOUNDED_POINTER): Likewise.
27580         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27581         (POP_ERRNO_LOCATION_RETURN): Likewise.
27582         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27583         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27584         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27585         macros.
27586         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27587         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27588         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27589         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27590         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27591         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27592         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27593         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27594         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27595         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27596         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27597         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27598         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27599         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27600         removed macros.
27601         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27602         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27603         macros.
27604         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27605         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27606         * sysdeps/i386/i586/memset.S (memset): Likewise.
27607         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27608         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27609         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27610         macros.
27611         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27612         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27613         Change uses of L(2) to L(out).
27614         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27615         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27616         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27617         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27618         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27619         removed macros.
27620         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27621         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27622         macros.
27623         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27624         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27625         (RETURN): Do not use macro LEAVE.
27626         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27627         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27628         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27629         * sysdeps/i386/i686/memset.S (memset): Likewise.
27630         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27631         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27632         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27633         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27634         Likewise.
27635         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27636         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27637         L(1_2) and L(1_3) into L(1).
27638         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27639         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27640         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27641         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27642         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27643         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27644         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27645         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27646         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27647         macros.
27648         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27649         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27650         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27651         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27652         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27653         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27654         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27655         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27656         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27657         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27658         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27659         * sysdeps/i386/strspn.S (strspn): Likewise.
27660         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27661         conditional code.
27662         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27663         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27664         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27665         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27666         L(1_3) into L(1_1).
27667         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27668         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27669         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27670         macros.
27671         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27673 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27675         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27676         macro.
27678 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27680         * math/atest-exp.c (exp_mpn): Remove ROUND.
27681         * math/atest-exp2.c (exp_mpn): Likewise.
27682         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27684         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27685         * stdlib/tst-tls-atexit-lib.c: Likewise.
27686         * stdlib/tst-tls-atexit.c: Likewise.
27688 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27690         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27691         and __attribute_alloc_size__.
27693 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27695         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27696         __attribute_alloc_size__.
27697         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27698         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27700 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27702         * include/programs/xmalloc.h: New file.
27703         * catgets/gencat.c: Include it.
27704         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27705         * elf/pldd.c: Likewise.
27706         * iconv/iconv_charmap.c: Likewise.
27707         * iconv/iconvconfig.c: Likewise.
27708         * iconv/strtab.c: Likewise.
27709         * locale/programs/locale.c: Likewise.
27710         * locale/programs/localedef.h: Likewise.
27711         * locale/programs/simple-hash.c: Likewise.
27712         * nscd/nscd.h: Likewise.
27713         * nss/makedb.c: Likewise.
27714         * sysdeps/generic/ldconfig.h: Likewise.
27716 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27718         * Versions.def: Add GLIBC_2.18.
27719         * include/link.h (struct link_map): New member l_tls_dtor_count.
27720         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27721         (__call_tls_dtors): Likewise.
27722         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27723         __cxa_thread_atexit_impl.
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27725         Likewise.
27726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27727         Likewise.
27728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27729         Likewise.
27730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27731         Likewise.
27732         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27734         Likewise.
27735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27736         Likewise.
27737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27739         Likewise.
27740         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27741         (tests): Add test case tst-tls-atexit.
27742         (modules-names): Add shared library for tst-tls-atexit.
27743         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27744         (GLIBC_PRIVATE): Add __call_tls_dtors.
27745         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27746         for libstdc++.
27747         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27748         * stdlib/tst-tls-atexit.c: New test case.
27749         * stdlib/tst-tls-atexit-lib.c: New test case.
27751         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27753         * elf/Versions (ld): Add _dl_find_dso_for_object.
27754         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27755         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27756         (dl_open_worker): Use _dl_find_dso_for_object.
27757         * elf/dl-sym.c (do_sym): Likewise.
27758         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27760 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27762         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27763         Syntactic changes only.
27764         (_dl_runtime_profile): Do a tail-call to the resolved function.
27766 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27768         [BZ #13550]
27769         * sysdeps/x86_64/bp-asm.h: Remove file.
27770         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27771         <bp-sym.h> and <bp-asm.h>.
27772         (__clone): Do not use BP_SYM.
27773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27774         <bp-sym.h> and <bp-asm.h>.
27775         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27776         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27777         "bp-asm.h".
27778         (_setjmp): Do not use BP_SYM.
27779         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27780         "bp-asm.h".
27781         (setjmp): Do not use BP_SYM.
27782         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27783         libc_hidden_def.
27784         (mempcpy): Do not use BP_SYM in weak_alias.
27785         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27786         "bp-asm.h".
27787         (strchr): Do not use BP_SYM.
27788         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27789         "bp-asm.h".
27790         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27791         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27792         (_start): Do not use BP_SYM.
27793         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27794         "bp-asm.h".
27795         (strcat): Do not use BP_SYM.
27796         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27797         "bp-asm.h".
27798         (STRCMP): Do not use BP_SYM.
27799         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27800         "bp-asm.h".
27801         (STRCPY): Do not use BP_SYM.
27802         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27803         "bp-asm.h".
27804         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27805         "bp-asm.h".
27806         (FUNCTION): Do not use BP_SYM.
27807         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27808         weak_alias.
27809         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27811 2013-02-17  Andreas Jaeger  <aj@suse.de>
27813         * time/Versions: Sort entries.
27814         * string/Versions: Likewise.
27815         * resolv/Versions: Likewise.
27816         * posix/Versions: Likewise.
27817         * iconv/Versions: Likewise.
27818         * elf/Versions: Likewise.
27819         * wcsmbs/Versions: Likewise.
27821 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27823         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27824         loop termination condition.
27826         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27827         variable to calculate EZ.
27828         (__sqr): Likewise.
27830         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27831         the lower precision input.
27833 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27835         [BZ #13550]
27836         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27837         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27838         (run-via-rtld-prefix): Do not handle %-bp tests.
27839         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27840         (all-object-suffixes): Remove .ob.
27841         (bppfx): Remove variable.
27842         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27843         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27844         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27845         [$(build-bounded) = yes] (libtype.ob): Likewise.
27846         * Makerules (elide-routines.ob): Remove variable.
27847         (do-tests-clean): Do not handle *-bp.out.
27848         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27849         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27850         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27851         (tests): Do not include $(tests-bp.out).
27852         (xtests): Do not include $(xtests-bp.out).
27853         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27854         [$(build-bounded) = yes] ($(addprefix
27855         $(objpfx),$(binaries-bounded))): Remove rule.
27856         ($(objpfx)%-bp.out): Remove rule.
27857         * config.make.in (build-bounded): Remove variable.
27858         * crypt/Makefile [$(build-bounded) = yes]
27859         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27860         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27861         append to variable.
27862         [$(build-bounded) = yes] (install-lib): Likewise.
27863         [$(build-bounded) = yes] (generated): Likewise.
27864         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27865         Remove rule.
27866         * intl/Makefile [$(build-bounded) = yes]
27867         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27868         * math/Makefile [$(build-bounded) = yes]
27869         ($(tests:%=$(objpfx)%-bp): Likewise.
27870         * misc/Makefile [$(build-bounded) = yes]
27871         ($(objpfx)tst-tsearch-bp): Likewise.
27872         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27873         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27874         Remove dependency.
27875         * string/Makefile (o-objects.ob): Remove variable.
27876         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27877         (CFLAGS-.ob): Remove variable.
27878         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27879         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27880         both definitions of variable.
27881         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27882         (ASFLAGS-.ob): Remove variable.
27884 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27886         [BZ #13550]
27887         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27888         Remove __BOUNDED_POINTERS__ from condition.
27889         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27890         * string/bits/string2.h [!__NO_STRING_INLINES &&
27891         !__BOUNDED_POINTERS__]: Likewise.
27892         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27893         Likewise.
27894         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27895         Remove conditional code.
27896         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27897         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27898         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27899         condition.
27901         [BZ #13550]
27902         * csu/libc-start.c: Do not include <bp-sym.h>.
27903         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27904         * elf/dl-open.c: Do not include <bp-sym.h>.
27905         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27906         * math/fegetenv.c: Do not include <bp-sym.h>.
27907         (fegetenv): Do not use BP_SYM in versioned symbols.
27908         * nptl/sysdeps/pthread/bits/libc-lockP.h
27909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27910         <bp-sym.h>.
27911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27912         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27914         (__pthread_mutex_destroy): Likewise.
27915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27916         (__pthread_mutex_lock): Likewise.
27917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27918         (__pthread_mutex_trylock): Likewise.
27919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27920         (__pthread_mutex_unlock): Likewise.
27921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27922         (__pthread_mutexattr_init): Likewise.
27923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27924         (__pthread_mutexattr_destroy): Likewise.
27925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27926         (__pthread_mutexattr_settype): Likewise.
27927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27928         (__pthread_rwlock_init): Likewise.
27929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27930         (__pthread_rwlock_destroy): Likewise.
27931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27932         (__pthread_rwlock_rdlock): Likewise.
27933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27934         (__pthread_rwlock_tryrdlock): Likewise.
27935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27936         (__pthread_rwlock_wrlock): Likewise.
27937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27938         (__pthread_rwlock_trywrlock): Likewise.
27939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27940         (__pthread_rwlock_unlock): Likewise.
27941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27942         (__pthread_key_create): Likewise.
27943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27944         (__pthread_setspecific): Likewise.
27945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27946         (__pthread_getspecific): Likewise.
27947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27948         Likewise.
27949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27950         (_pthread_cleanup_push_defer): Likewise.
27951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27952         (_pthread_cleanup_pop_restore): Likewise.
27953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27954         (pthread_setcancelstate): Likewise.
27955         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27956         <bp-sym.h>.
27957         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27958         (memchr): Do not use BP_SYM in weak_alias.
27959         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27960         (fegetenv): Do not use BP_SYM in versioned symbols.
27961         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27962         (fesetenv): Do not use BP_SYM in versioned symbols.
27963         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27964         (feupdateenv): Do not use BP_SYM in versioned symbols.
27965         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27966         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27967         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27968         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27969         (open64): Do not use BP_SYM in weak_alias.
27970         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27971         (fegetenv): Do not use BP_SYM in versioned symbols.
27972         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27973         (fesetenv): Do not use BP_SYM in versioned symbols.
27974         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27975         (feupdateenv): Do not use BP_SYM in versioned symbols.
27976         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27977         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27978         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27979         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27980         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27981         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27982         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27983         <bp-sym.h>.
27984         (__libc_start_main): Do not use BP_SYM.
27986 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27989         redundant return line.
27990         (norm): Likewise.
27991         (denorm): Likewise.
27992         (dbl_mp): Likewise.
27993         (sub_magnitudes): Likewise.
27994         (__add): Likewise.
27995         (__sub): Likewise.
27996         (__mul): Likewise.
27997         (__inv): Likewise.
27998         (__dvd): Likewise.
27999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28000         (norm): Likewise.
28001         (denorm): Likewise.
28002         (dbl_mp): Likewise.
28003         (sub_magnitudes): Likewise.
28004         (__add): Likewise.
28005         (__sub): Likewise.
28006         (__mul): Likewise.
28007         (__inv): Likewise.
28008         (__dvd): Likewise.
28010         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28011         instead of __mul.
28012         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28013         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28014         (cc32): Likewise.
28016         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28017         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28019         of __mul for squares.
28020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28021         function
28022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28023         Likewise.
28024         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28025         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28027 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28029         [BZ #13550]
28030         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28031         code.
28032         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28033         prototype or function definition.  Rename ubp_* variables and
28034         parameters.  Remove argv definitions conditional on
28035         [__BOUNDED_POINTERS__].
28036         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28037         * elf/dl-runtime.c (_dl_fixup): Likewise.
28038         * include/set-hooks.h (RUN_HOOK): Likewise.
28039         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28040         definition.
28041         * string/strcpy.c (strcpy): Do not use __unbounded.
28042         * sysdeps/generic/frame.h (struct layout): Likewise.
28043         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28044         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28045         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28046         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28047         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28048         (__backtrace): Likewise.
28049         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28050         use __ptrvalue.
28051         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28052         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28053         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28054         Likewise.
28055         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28056         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28057         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28058         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28059         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28060         Do not use __unbounded.
28061         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28062         Rename __unboundedrlimits parameter to rlimits in prototype.
28063         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28064         Do not use __unbounded.
28065         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28066         not use __ptrvalue.
28067         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28068         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28069         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28070         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28071         __ptrvalue or __unbounded.
28072         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28073         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28074         use __unbounded.
28075         (__new_msgctl): Do not use __ptrvalue.
28076         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28077         __unbounded.
28078         (__libc_msgrcv): Do not use __ptrvalue.
28079         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28080         startup_info): Do not use __unbounded.
28081         (__libc_start_main): Likewise.  Rename ubp_* variables and
28082         parameters.  Remove argv definitions conditional on
28083         [__BOUNDED_POINTERS__].
28084         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28085         __ptrvalue.
28086         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28087         use __unbounded.
28088         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28089         or __ptrvalue.
28090         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28091         use __unbounded.
28092         (__new_shmctl): Do not use __ptrvalue.
28093         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28094         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28095         Likewise.
28096         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28097         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28098         (__libc_sigaction): Likewise.
28099         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28100         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28101         Likewise.
28102         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28104 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28106         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28108         * string/mempcpy.c: Implement by calling memcpy.
28110 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28115         evaluation.
28117         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28118         values in the mantissa.
28120         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28121         minimize writes to Z.
28122         (sub_magnitudes): Simplify code a bit.
28124 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28126         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28127         from the message.  The linker prefixes all warnings with that already.
28129 2013-02-12  Andreas Schwab  <schwab@suse.de>
28131         [BZ #15078]
28132         * posix/regexec.c (extend_buffers): Add parameter min_len.
28133         (check_matching): Pass minimum needed length.
28134         (clean_state_log_if_needed): Likewise.
28135         (get_subexp): Likewise.
28136         * posix/Makefile (tests): Add bug-regex34.
28137         (bug-regex34-ENV): Define.
28138         * posix/bug-regex34.c: New file.
28140         [BZ #11561]
28141         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28142         elements compare against the byte sequence of it, not its name.
28143         * posix/Makefile (tests): Add bug-regex35.
28144         (bug-regex35-ENV): Define.
28145         * posix/bug-regex35.c: New file.
28147 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28149         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28150         comment.
28151         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28152         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28153         (CHECK_EOL): Add undef.
28155 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28157         * bits/stdlib-bsearch.h: New file.
28158         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28159         * stdlib/stdlib.h: Likewise.
28161 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28163         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28164         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28165         declaration.
28166         * manual/search.texi (Array Search Function): Add missing const in
28167         lfind prototype.
28168         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28169         declaration to use rlim_t.
28170         (Basic Scheduling Functions): Remove erroneous const from
28171         sched_getparam prototype.  Remove erroneous * from
28172         sched_get_priority_max and sched_get_priority_min prototypes.
28173         (Resource Usage): Fix summary @comment on vtimes to refer to
28174         sys/vtimes.h rather than vtimes.h.
28175         Add missing *s in vtimes prototype.
28176         (Limits on Resources): Fix ulimit prototype to return long int.
28177         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28178         prototypes to use long int rather than double.
28179         (BSD Random): Fix initstate and setstate to use char *, not void *.
28180         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28181         prototype to make second argument 'struct aiocb64 *const[]'.
28182         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28183         (Status of AIO Operations): Remove erroneous const in aio_return and
28184         aio_return64 prototypes.
28185         (Synchronizing I/O): Fix sync prototype to return void.
28186         * manual/startup.texi (Suboptions): Remove an erroneous const in
28187         getsubopt prototype.
28188         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28189         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28190         use size_t rather than int.
28191         (Scanning All Users): Likewise for getpwent_r.
28192         (Setting Groups): Add missing const to setgroups prototype.
28193         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28194         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28195         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28196         'const void *' rather than 'const char *'.
28197         (Host Address Functions): Likewise for inet_ntop.
28198         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28199         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28200         ssize_t for return value.
28201         (Sending Data): Likewise for send, sendto, sendmsg.
28202         (Socket Option Functions): Add a missing const in setsockopt prototype.
28203         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28204         use wchar_t for the argument.
28205         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28206         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28207         take no arguments.
28208         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28209         double/float/long double for second argument.
28210         Fix return types of significand, significandf, significandl.
28211         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28212         argument in fchmod prototype.
28213         (File Owner): Use uid_t and gid_t in fchown prototype.
28214         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28215         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28216         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28217         use 'const struct dirent **' as argument types to CMP function pointer
28218         argument.
28219         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28220         (File Times): Fix summary magic @comment for struct utimbuf and utime
28221         to refer to utime.h, not time.h.
28222         * manual/string.texi (Argz Functions): Add missing const in
28223         argz_extract and argz_next prototypes.
28224         (Finding Tokens in a String): Likewise for basename.
28225         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28226         (Copying and Concatenation): Fix typo in wmemmove prototype.
28227         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28228         (Signal Stack): Remove erroneous const in sigstack prototype.
28229         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28230         prototype.
28231         (Simple Calendar Time): Likewise for stime.
28232         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28233         prototype.
28234         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28235         say sys/sysctl.h instead.
28236         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28237         and vsyslog prototypes.
28239 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28241         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28242         Remove.
28244 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28246         * misc/sys/mman.h: Fix typo in mremap comment.
28248 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28250         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28251         the '\0' terminator.
28253 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28255         [BZ #13550]
28256         * debug/segfault.c: Don't include <bp-checks.h>.
28257         * sysdeps/generic/bp-checks.h: Remove file.
28258         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28259         (__GETDENTS): Don't use CHECK_N.
28260         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28261         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28262         (__getgroups): Don't use CHECK_N.
28263         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28264         (setgroups): Don't use CHECK_N.
28265         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28266         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28267         (__libc_msgrcv): Don't use CHECK_N.
28268         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28269         (__libc_msgsnd): Don't use CHECK_N.
28270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28271         <bp-checks.h>.
28272         (__libc_pread): Don't use CHECK_N.
28273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28274         include <bp-checks.h>.
28275         (__libc_pread64): Don't use CHECK_N.
28276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28277         include <bp-checks.h>.
28278         (__libc_pwrite): Don't use CHECK_N.
28279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28280         include <bp-checks.h>.
28281         (__libc_pwrite64): Don't use CHECK_N.
28282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28283         <bp-checks.h>.
28284         (__libc_pread): Don't use CHECK_N.
28285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28286         include <bp-checks.h>.
28287         (__libc_pread64): Don't use CHECK_N.
28288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28289         include <bp-checks.h>.
28290         (__libc_pwrite): Don't use CHECK_N.
28291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28292         include <bp-checks.h>.
28293         (__libc_pwrite64): Don't use CHECK_N.
28294         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28295         (do_pread): Don't use CHECK_N.
28296         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28297         (do_pread64): Don't use CHECK_N.
28298         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28299         (do_pwrite): Don't use CHECK_N.
28300         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28301         (do_pwrite64): Don't use CHECK_N.
28302         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28303         (__libc_readv): Don't use CHECK_N.
28304         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28305         (semop): Don't use CHECK_N.
28306         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28307         <bp-checks.h>.
28308         (semtimedop): Don't use CHECK_N.
28309         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28310         (__libc_pread): Don't use CHECK_N.
28311         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28312         <bp-checks.h>.
28313         (__libc_pread64): Don't use CHECK_N.
28314         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28315         <bp-checks.h>.
28316         (__libc_pwrite): Don't use CHECK_N.
28317         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28318         <bp-checks.h>.
28319         (__libc_pwrite64): Don't use CHECK_N.
28320         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28321         <bp-checks.h>.
28322         (__libc_msgrcv): Don't use CHECK_N.
28323         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28324         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28325         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28326         (__libc_writev): Don't use CHECK_N.
28328 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28330         * string/strcpy.c: Removed unused variable.
28332         * Makeconfig (+sysdep-includes): Define with := rather than =.
28333         Use an existing include/ subdir of each sysdeps dir before it.
28335 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28337         * nscd/connection.c (register_traced_file): Comment function.
28338         [HAVE_INOTIFY] (union __inev): Define.
28339         [HAVE_INOTIFY] (inotify_check_files): New function.
28340         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28341         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28342         clear_db_cache.
28343         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28345 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28347         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28348         loaded if not already and that a failure is permanent.
28350 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28352         [BZ #15006]
28353         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28354         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28356 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28358         [BZ #13550]
28359         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28360         (CHECK_1_NULL_OK): Likewise.
28361         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28362         (__fxstat): Do not use CHECK_1.
28363         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28364         <bp-checks.h>.
28365         (___fxstat64): Do not use CHECK_1.
28366         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28367         <bp-checks.h>.
28368         (__fxstatat): Do not use CHECK_1.
28369         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28370         <bp-checks.h>.
28371         (__fxstatat64): Do not use CHECK_1.
28372         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28373         <bp-checks.h>.
28374         (__fxstat): Do not use CHECK_1.
28375         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28376         <bp-checks.h>.
28377         (__fxstatat): Do not use CHECK_1.
28378         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28379         <bp-checks.h>.
28380         (__getresgid): Do not use CHECK_1.
28381         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28382         <bp-checks.h>.
28383         (__getresuid): Do not use CHECK_1.
28384         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28385         <bp-checks.h>.
28386         (__lxstat): Do not use CHECK_1.
28387         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28388         <bp-checks.h>.
28389         (__old_msgctl): Do not use CHECK_1.
28390         (__new_msgctl): Likewise.
28391         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28392         <bp-checks.h>.
28393         (__new_setrlimit): Do not use CHECK_1.
28394         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28395         <bp-checks.h>.
28396         (__old_shmctl): Do not use CHECK_1.
28397         (__new_shmctl): Likewise.
28398         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28399         <bp-checks.h>.
28400         (__xstat): Do not use CHECK_1.
28401         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28402         (__lxstat): Do not use CHECK_1.
28403         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28404         <bp-checks.h>.
28405         (___lxstat64): Do not use CHECK_1.
28406         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28407         (__old_msgctl): Do not use CHECK_1.
28408         (__new_msgctl): Likewise.
28409         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28410         <bp-checks.h>.
28411         (__gettimeofday): Do not use CHECK_1.
28412         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28413         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28414         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28415         <bp-checks.h>.
28416         (__gettimeofday): Do not use CHECK_1.
28417         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28418         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28419         (__new_shmctl): Do not use CHECK_1.
28420         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28421         <bp-checks.h>.
28422         (do_sigtimedwait): Do not use CHECK_1.
28423         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28424         <bp-checks.h>.
28425         (do_sigwaitinfo): Do not use CHECK_1.
28426         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28427         <bp-checks.h>.
28428         (msgctl): Do not use CHECK_1.
28429         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28430         <bp-checks.h>.
28431         (shmctl): Do not use CHECK_1.
28432         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28433         (ustat): Do not use CHECK_1.
28434         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28435         <bp-checks.h>.
28436         (__fxstat): Do not use CHECK_1.
28437         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28438         <bp-checks.h>.
28439         (__fxstatat): Do not use CHECK_1.
28440         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28441         <bp-checks.h>.
28442         (__lxstat): Do not use CHECK_1.
28443         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28444         <bp-checks.h>.
28445         (__xstat): Do not use CHECK_1.
28446         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28447         (__xstat): Do not use CHECK_1.
28448         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28449         (___xstat64): Do not use CHECK_1.
28451         [BZ #13550]
28452         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28453         definitions.
28454         (CHECK_BOUNDS_HIGH): Likewise.
28455         * string/strcpy.c: Do not include <bp-checks.h>.
28456         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28458 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28460         * nscd/nscd-client.h (__nscd_drop_map_ref):
28461         Add __attribute__ ((unused)).
28462         * nis/nss-nisplus.h (niserr2nss): Likewise.
28464         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28465         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28467         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28468         Remove inline keyword.
28469         * include/rounding-mode.h (round_away): Likewise.
28470         * libio/wfileops.c (adjust_wide_data): Likewise.
28471         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28472         (__m128i_strloadu_tolower): Likewise.
28473         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28474         (__m128i_strloadu_tolower): Likewise.
28475         * time/mktime.c (ydhms_diff): Likewise.
28476         * locale/elem-hash.h (elem_hash): Likewise.
28477         * locale/setlocale.c (setdata): Likewise.
28478         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28479         (re_string_wchar_at): Likewise.
28480         (bitset_not, bitset_merge, bitset_mask): Likewise.
28481         [!(__GNUC__ > 3)] (inline): Remove macro.
28482         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28483         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28484         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28485         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28486         * string/memcmp.c (memcmp_bytes): Likewise.
28487         * locale/programs/locarchive.c (compute_hashval): Likewise.
28488         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28489         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28490         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28491         * nss/getent.c (print_rpc, print_protocols): Likewise.
28492         (print_passwd, print_group, print_aliases): Likewise.
28493         * nis/nss-nisplus.h (niserr2nss): Likewise.
28494         * nscd/connections.c (restart_p): Likewise.
28495         Change return type to bool.
28497 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28499         * Makeconfig (all-Depend-files): Add existing
28500         $(sorted-subdirs:=/Depend) files.
28501         (all-subdirs): Remove nss.
28502         * sysdeps/unix/inet/Subdirs: Add it here instead.
28503         * hesiod/Depend: New file.
28505         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28506         instead of calling alloca.
28508         * io/lseek.c (__lseek): Rename to __libc_lseek.
28509         Define __lseek as an alias.
28511         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28513 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28515         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28516         else clause and remove check for non-standard endianness.
28518 2013-02-04  David S. Miller  <davem@davemloft.net>
28520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28522 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28524         [BZ #13550]
28525         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28526         (__ubp_memchr): Remove prototype.
28527         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28528         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28529         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28530         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28531         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28532         Remove alias.
28533         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28534         (__ubp_memchr): Likewise.
28535         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28536         (__ubp_memchr): Likewise.
28537         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28538         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28539         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28540         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28541         CHECK_STRING.
28542         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28543         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28544         (__getcwd): Do not use CHECK_STRING.
28545         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28546         <bp-checks.h>.
28547         (__real_chown): Do not use CHECK_STRING.
28548         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28549         <bp-checks.h>.
28550         (fchownat): Do not use CHECK_STRING.
28551         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28552         CHECK_STRING.
28553         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28554         <bp-checks.h>.
28555         (__lchown): Do not use CHECK_STRING.
28556         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28557         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28558         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28559         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28561         include <bp-checks.h>.
28562         (truncate64): Do not use CHECK_STRING.
28563         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28564         <bp-checks.h>.
28565         (__real_chown): Do not use CHECK_STRING.
28566         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28567         <bp-checks.h>.
28568         (__lchown): Do not use CHECK_STRING.
28569         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28570         <bp-checks.h>.
28571         (__chown): Do not use CHECK_STRING.
28572         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28573         <bp-checks.h>.
28574         (truncate64): Do not use CHECK_STRING.
28575         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28576         Likewise.
28577         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28578         (__xmknod): Do not use CHECK_STRING.
28579         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28580         <bp-checks.h>.
28581         (__xmknodat): Do not use CHECK_STRING.
28582         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28583         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28585 2013-02-04  Andreas Schwab  <schwab@suse.de>
28587         [BZ #14142]
28588         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28589         * include/netdb.h: Likewise for h_errno.
28590         * elf/tst-stackguard1.c: Include <tls.h>.
28592 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
28594         * elf/link.h (struct link_map): Extend the l_addr comment.
28595         * include/link.h (struct link_map): Likewise.
28597 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
28599         [BZ #13550]
28600         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28601         (BOUNDED_1): Remove macro.
28602         * debug/backtrace.c: Don't include <bp-checks.h>.
28603         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28604         (__backtrace): Likewise.
28605         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28606         <bp-checks.h>.
28607         (__backtrace): Don't use BOUNDED_1.
28608         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28609         <bp-checks.h>.
28610         (__backtrace): Don't use BOUNDED_1.
28611         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28612         (__backtrace): Don't use BOUNDED_1.
28613         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28614         (shmat): Don't use BOUNDED_N.
28616 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
28618         [BZ #13550]
28619         * sysdeps/generic/bp-start.h: Remove file.
28620         * csu/libc-start.c: Don't include <bp-start.h>.
28621         (LIBC_START_MAIN): Set up __environ directly instead of using
28622         INIT_ARGV_and_ENVIRON.
28623         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28624         <bp-start.h>.
28626         [BZ #13550]
28627         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28628         definitions.
28629         (CHECK_FCNTL): Likewise.
28630         (CHECK_N_PAGES): Likewise.
28632         [BZ #13550]
28633         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28634         definitions.
28635         (CHECK_SIGSET_NULL_OK): Likewise.
28636         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28637         <bp-checks.h>.
28638         (sigpending): Don't use CHECK_SIGSET.
28639         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28640         <bp-checks.h>.
28641         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28642         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28643         <bp-checks.h>.
28644         (do_sigsuspend): Don't use CHECK_SIGSET.
28645         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28646         use CHECK_SIGSET.
28647         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28648         (do_sigwait): Don't use CHECK_SIGSET.
28649         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28650         use CHECK_SIGSET.
28651         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28652         include <bp-checks.h>.
28653         (sigpending): Don't use CHECK_SIGSET.
28654         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28655         include <bp-checks.h>.
28656         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28657         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28658         <bp-checks.h>.
28659         (sigpending): Don't use CHECK_SIGSET.
28660         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28661         <bp-checks.h>.
28662         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28664         [BZ #13550]
28665         * sysdeps/generic/bp-semctl.h: Remove file.
28666         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28667         <bp-checks.h> and <bp-semctl.h>.
28668         (__old_semctl): Don't use CHECK_SEMCTL.
28669         (__new_semctl): Likewise.
28670         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28671         and <bp-semctl.h>.
28672         (__old_semctl): Don't use CHECK_SEMCTL.
28673         (__new_semctl): Likewise.
28674         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28675         <bp-checks.h> and <bp-semctl.h>.
28676         (__old_semctl): Don't use CHECK_SEMCTL.
28677         (__new_semctl): Likewise.
28678         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28679         <bp-checks.h> and <bp-semctl.h>.
28680         (semctl): Don't use CHECK_SEMCTL.
28682         [BZ #13550]
28683         * Makerules (elide-bp-thunks): Remove variable.
28684         (elide-routines.oS): Don't use $(elide-bp-thunks).
28685         (elide-routines.os): Likewise.
28686         (elide-routines.o): Likewise.
28687         (elide-routines.op): Likewise.
28688         (elide-routines.og): Likewise.
28689         (objects): Don't use $(bp-thunks).
28690         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28691         include.
28692         (common-generated): Do not add s-proto-bp.d.
28693         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28694         (int): Likewise.
28695         (typ): Likewise.
28696         Do not generate makefile rules for bounded-pointer thunks.
28697         * sysdeps/generic/bp-thunks.h: Remove file.
28698         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28699         * sysdeps/unix/s-proto-bp.S: Likewise.
28701         [BZ #15062]
28702         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28703         parts of result separately when argument is not close to line from
28704         -i to i and one part of argument is small.
28705         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28706         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28707         * math/libm-test.inc (cacos_test): Add more tests.
28708         (casin_test): Likewise.
28709         (casinh_test): Likewise.
28710         * sysdeps/i386/fpu/libm-test-ulps: Update.
28711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28713 2013-01-31  David S. Miller  <davem@davemloft.net>
28715         * po/de.po: Update from translation team.
28717 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28719         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28721 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28723         * configure.in (_AC_PROG_CC_C89): New definition.
28724         * configure: Regenerate.
28726         * configure.in (AC_PROG_CPP): New definition.
28727         * configure: Regenerate.
28729 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28731         * debug/tst-backtrace.h: New file.
28732         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28733         (ret): Remove variable.
28734         (x): Likewise.
28735         (FAIL): Remove macro.
28736         (NO_INLINE): Likewise.
28737         (fn1): Use match function instead of strstr.
28738         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28739         (ret): Remove variable.
28740         (x): Likewise.
28741         (FAIL): Remove macro.
28742         (NO_INLINE): Likewise.
28743         (fn): Use match function instead of strstr.
28744         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28745         (ret): Remove variable.
28746         (x): Likewise.
28747         (FAIL): Remove macro.
28748         (NO_INLINE): Likewise.
28749         (handle_signal): Use match function instead of strstr.
28750         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28751         (ret): Remove variable.
28752         (x): Likewise.
28753         (FAIL): Remove macro.
28754         (NO_INLINE): Likewise.
28755         (handle_signal): Use match function instead of strstr.
28757 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28759         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28761 2013-01-23  David S. Miller  <davem@davemloft.net>
28763         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28764         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28765         argument of CAS if possible.
28766         * sysdeps/sparc/sparc64/bits/atomic.h
28767         (__arch_compare_and_exchange_val_32_acq): Likewise.
28768         (__arch_compare_and_exchange_val_64_acq): Likewise.
28770 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28772         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28773         * sysdeps/posix/ulimit.c: ... this.
28774         Include <limits.h>.
28775         * sysdeps/unix/bsd/ulimit.c: Remove file.
28777 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28779         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28780         (LDFLAGS-tst-array5): Likewise.
28782 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28784         [BZ #15036]
28785         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28786         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28787         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28788         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28790 2013-01-21  David S. Miller  <davem@davemloft.net>
28792         * sysdeps/sparc/backtrace.c: New file.
28793         * sysdeps/sparc/sparc32/backtrace.h: New file.
28794         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28795         * sysdeps/sparc/sparc64/backtrace.h: New file.
28796         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28797         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28798         -funwind-tables.
28800 2013-01-21  Andreas Schwab  <schwab@suse.de>
28802         [BZ #15020]
28803         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28804         closed its stdout.
28806 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28809         "mpa2.h".
28810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28812 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28813             Mark Mitchell  <mark@codesourcery.com>
28814             Tom de Vries  <tom@codesourcery.com>
28815             Paul Pluzhnikov  <ppluzhnikov@google.com>
28817         * debug/tst-backtrace2.c: New file.
28818         * debug/tst-backtrace3.c: Likewise.
28819         * debug/tst-backtrace4.c: Likewise.
28820         * debug/tst-backtrace5.c: Likewise.
28821         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28822         (CFLAGS-tst-backtrace3.c): Likewise.
28823         (CFLAGS-tst-backtrace4.c): Likewise.
28824         (CFLAGS-tst-backtrace5.c): Likewise.
28825         (LDFLAGS-tst-backtrace2): Likewise.
28826         (LDFLAGS-tst-backtrace3): Likewise.
28827         (LDFLAGS-tst-backtrace4): Likewise.
28828         (LDFLAGS-tst-backtrace5): Likewise.
28829         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28830         tst-backtrace4 and tst-backtrace5.
28832 2013-01-18  Anton Blanchard  <anton@samba.org>
28833             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28835         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28836         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28837         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28838         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28840         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28841         "+r" and remove output regs list as redundant.  Add explicit inline
28842         asm to specify register of return val to work around compiler codegen
28843         bug.  Remove (int) cast on return value.  Add return type parameter to
28844         use in macro so that this macro does not truncate return value for
28845         64-bit values.
28846         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28847         pass to INTERNAL_VSYSCALL_NCS.
28848         (INLINE_VSYSCALL): Add 'long int' as return type to
28849         INTERNAL_VSYSCALL_NCS macro invocation.
28850         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28851         INTERNAL_VSYSCALL_NCS macro invocation.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28854 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28856         [BZ #14496]
28857         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28858         Fix application of SIMD FP exception mask.
28860         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28861         mp_no from a power of two.
28862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28863         __mpexp_twomm1.  Use __pow_mp.
28865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28866         multiplication.
28868 2013-01-17  David S. Miller  <davem@davemloft.net>
28870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28872 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28874         [BZ #15023]
28875         * include/complex.h: Condition contents on [!_COMPLEX_H].
28876         (__kernel_casinhf): New prototype.
28877         (__kernel_casinh): Likewise.
28878         (__kernel_casinhl): Likewise.
28879         * math/Makefile (libm_calls): Add k_casinh.
28880         * math/k_casinh.c: New file.
28881         * math/k_casinhf.c: Likewise.
28882         * math/k_casinhl.c: Likewise.
28883         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28884         finite nonzero arguments.
28885         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28886         finite nonzero arguments.
28887         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28888         finite nonzero arguments.
28889         * math/s_casinh.c: Do not include <float.h>.
28890         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28891         * math/s_casinhf.c: Do not include <float.h>.
28892         (__casinhf): Move code for finite nonzero arguments to
28893         k_casinhf.c.
28894         * math/s_casinhl.c: Do not include <float.h>.
28895         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28896         redefine.
28897         (__casinhl): Move code for finite nonzero arguments to
28898         k_casinhl.c.
28899         * math/libm-test.inc (cacos_test): Add more tests.
28900         * sysdeps/i386/fpu/libm-test-ulps: Update.
28901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28903 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28905         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28906         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28907         [!HAVE_MREMAP]: Remove [defined linux] case.
28908         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28910 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28912         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28914 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28916         * elf/elf.h (R_386_SIZE32): New relocation.
28917         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28918         R_386_SIZE32.
28919         (elf_machine_rela): Likewise.
28920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28921         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28923 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28925         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28926         (FP_FAST_FMA): Do not define.
28927         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28928         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28929         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28930         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28931         !_SOFT_FLOAT]: Likewise.
28932         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28933         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28934         value.
28935         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28936         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28937         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28938         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28939         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28940         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28941         file.
28943 2013-01-16  Andreas Schwab  <schwab@suse.de>
28945         [BZ #14327]
28946         * include/stdlib.h (__mktemp): Add declaration.
28947         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28948         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28950 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28952         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28953         definitions.
28954         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28955         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28956         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28957         definitions here.
28958         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28959         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28960         definitions.
28961         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28962         and ONE.
28963         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28964         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28965         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28966         definitions.
28967         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28968         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28969         definitions.
28970         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28972         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28974 2013-01-15  David S. Miller  <davem@davemloft.net>
28976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28977         trunc{,f} to libm-sysdep_routes.
28978         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28980         file.
28981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28983         file.
28984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28985         file.
28986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28988         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28989         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28990         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28991         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28992         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28993         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28996         nearbyint{,f} to libm-sysdep_routes.
28997         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28999         New file.
29000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29001         file.
29002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29003         New file.
29004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29005         file.
29006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29008         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29009         file.
29010         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29011         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29012         file.
29013         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29014         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29015         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29017         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29018         libc_feholdexcept and libc_fesetenv.
29020 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29022         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29024 2013-01-14  David S. Miller  <davem@davemloft.net>
29026         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29027         (SPARC_ASM_VIS2_IFUNC): Likewise.
29028         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29030         use of 'siam' instruction.
29031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29032         Likewise.
29033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29034         Likewise.
29035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29036         Likewise.
29037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29042         file.
29043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29044         file.
29045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29046         file.
29047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29048         file.
29049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29054         new VIS2 routines.
29055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29058         Likewise.
29059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29062         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29064         routines to libm-sysdep_routines.
29065         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29068         fdim/fdimf to libm-sysdep_routines.
29069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29070         file.
29071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29073         file.
29074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29077         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29078         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29079         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29080         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29082 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29085         to optimize copies.
29087         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29092         local variable MPTWO.
29093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29094         Likewise.
29096 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29098         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29099         GLOB_NOESCAPE.
29101 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29103         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29105 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29107         * manual/pattern.texi (glob_t): Document gl_flags.
29108         (glob64_t): Likewise.
29110 2013-01-11  David S. Miller  <davem@davemloft.net>
29112         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29113         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29114         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29115         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29116         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29117         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29118         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29119         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29120         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29121         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29122         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29123         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29124         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29126         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29127         sparc V9 rather than using V8 code.
29128         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29129         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29131         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29132         Move to...
29133         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29134         Here.
29136 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29138         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29139         not in the main loop.
29140         * configure: Regenerated.
29142 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29144         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29145         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29146         to just #else.
29147         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29148         [!__GLIBC_HAVE_LONG_LONG] case.
29149         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29150         condition to just #else.
29151         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29152         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29153         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29154         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29155         unconditional.
29156         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29157         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29158         #elif condition to just #else.
29159         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29160         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29161         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29162         #elif condition to just #else.
29164 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29166         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29167         (EF_MIPS_ARCH_64): Fix value.
29168         (EF_MIPS_ARCH_32R2): New.
29169         (EF_MIPS_ARCH_64R2): New.
29171 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29173         * Makeconfig (+link-pie-before-libc): New.
29174         (+link-pie-after-libc): Likewise.
29175         (+link-pie-tests): Likewise.
29176         (+link-pie): Rewritten.
29177         (link-before-libc): Remove $(config-LDFLAGS).
29178         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29179         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29180         (config-LDFLAGS): Renamed to ...
29181         (rtld-LDFLAGS): This.
29182         (rtld-tests-LDFLAGS): New macro.
29183         (link-libc-rpath-link): Likewise.
29184         (link-libc-tests-rpath-link): Likewise.
29185         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29186         (link-libc): Prepand $(link-libc-rpath-link).
29187         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29188         (test-program-prefix): New macro.
29189         (test-via-rtld-prefix): Likewise.
29190         (test-program-cmd): Likewise.
29191         (host-test-program-cmd): Likewise.
29192         * Makefile ($(common-objpfx)testrun.sh): Replace
29193         $(run-program-prefix) with $(test-program-prefix).
29194         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29195         $(rtld-LDFLAGS).
29196         ($(common-objpfx)shlib.lds): Likewise.
29197         (build-module-helper): Likewise.
29198         ($(common-objpfx)format.lds): Likewise.
29199         * Rules (binaries-pie-tests): New.
29200         (binaries-pie-notests): Likewise.
29201         (binaries-pie): Rewritten.
29202         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29203         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29204         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29205         (make-test-out): Replace $(host-built-program-cmd) with
29206         $(host-test-program-cmd).
29207         * config.make.in (build-hardcoded-path-in-tests): New variable.
29208         * configure.in (--enable-hardcoded-path-in-tests): New configure
29209         option.
29210         (hardcoded_path_in_tests): New AC_SUBST.
29211         * configure: Regenerated.
29212         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29213         $(built-program-cmd) with $(test-program-cmd).
29214         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29215         (test_program_cmd): This.
29216         * elf/Makefile ($(objpfx)order.out): Run test with
29217         $(test-program-prefix).
29218         ($(objpfx)order2.out): Likewise.
29219         ($(objpfx)tst-initorder.out): Likewise.
29220         ($(objpfx)tst-initorder2.out): Likewise.
29221         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29222         $(test-program-cmd).
29223         ($(objpfx)tst-array1-static.out): Likewise.
29224         ($(objpfx)tst-array2.out): Likewise.
29225         ($(objpfx)tst-array3.out): Likewise.
29226         ($(objpfx)tst-array4.out): Likewise.
29227         ($(objpfx)tst-array5.out): Likewise.
29228         ($(objpfx)tst-array5-static.out): Likewise.
29229         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29230         $(test-program-cmd).
29231         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29232         $(run-program-prefix) with $(test-program-prefix).
29233         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29234         (test_program_prefix): This.
29235         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29236         $(run-program-prefix) with $(test-program-prefix).
29237         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29238         (test_program_prefix): This.
29239         * iconvdata/tst-tables.sh: Likewise.
29240         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29241         $(run-program-prefix) with $(test-program-prefix).
29242         ($(objpfx)tst-translit.out): Likewise.
29243         ($(objpfx)tst-gettext2.out): Likewise.
29244         ($(objpfx)tst-gettext4.out): Likewise.
29245         ($(objpfx)tst-gettext6.out): Likewise.
29246         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29247         (test_program_prefix): This.
29248         * intl/tst-gettext2.sh: Likewise.
29249         * intl/tst-gettext4.sh  Likewise.
29250         * intl/tst-gettext6.sh: Likewise.
29251         * intl/tst-translit.sh: Likewise.
29252         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29253         with $(test-program-cmd).
29254         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29255         $(run-program-prefix) with $(test-program-prefix).
29256         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29257         (test_program_prefix): This.
29258         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29259         $(run-program-prefix) with $(test-program-prefix).
29260         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29261         (test_program_prefix): This.
29262         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29263         * posix/Makefile ($(objpfx)globtest.out): Replace
29264         $(run-via-rtld-prefix) and $(test-wrapper) with
29265         $(test-program-prefix) and $(test-via-rtld-prefix).
29266         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29267         $(test-program-prefix).
29268         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29269         $(host-test-program-cmd).
29270         (tst-spawn-ARGS): Likewise.
29271         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29272         $(test-program-prefix).
29273         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29274         (test_via_rtld_prefix): This.
29275         (test_wrapper): Renamed to ...
29276         (test_program_prefix): This.
29277         (run_program_prefix): Replaced by test_program_prefix.
29278         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29279         (test_program_prefix): This.
29280         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29281         with $(host-test-program-cmd).
29282         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29283         $(run-program-prefix) with $(test-program-prefix).
29284         ($(objpfx)tst-printf.out): Likewise.
29285         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29286         $(test-program-cmd).
29287         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29288         (test_program_prefix): This.
29289         * stdio-common/tst-unbputc.sh: Likewise.
29290         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29291         $(run-program-prefix) with $(test-program-prefix).
29292         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29293         (test_program_prefix): This.
29294         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29295         $(built-program-cmd) with $(test-program-cmd).
29297 2013-01-11  Andreas Jaeger  <aj@suse.de>
29299         [BZ #15003]
29300         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29301         value. Sync with Linux 3.7.
29303 2013-01-10  David S. Miller  <davem@davemloft.net>
29305         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29306         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29307         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29309 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29311         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29312         never set.
29313         * configure: Regenerated.
29315 2013-01-10  David S. Miller  <davem@davemloft.net>
29317         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29318         sparc V9 rather than using V8 code.
29319         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29320         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29322 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29324         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29325         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29326         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29327         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29328         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29329         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29330         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29331         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29332         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29333         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29334         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29335         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29336         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29337         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29338         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29339         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29340         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29341         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29342         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29343         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29344         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29345         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29346         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29347         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29348         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29349         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29350         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29352 2013-01-10  David S. Miller  <davem@davemloft.net>
29354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29356 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29358         * posix/Makefile (tests-static): New variable.
29359         (tests): Add $(tests-static).
29360         (tst-exec-static-ARGS): New variable.
29361         (tst-spawn-static-ARGS): Likewise.
29362         * posix/tst-exec-static.c: New file.
29363         * posix/tst-spawn-static.c: Likewise.
29364         * posix/tst-exec.c: Support run directly.
29365         * posix/tst-spawn.c: Likewise.
29367 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29369         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29370         long.
29371         * math/bits/mathcalls.h (llrint): Likewise.
29372         (llround): Likewise.
29373         * stdlib/stdlib.h (struct drand48_data): Likewise.
29374         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29375         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29376         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29377         Likewise.
29378         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29379         Likewise.
29380         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29381         (elf_greg_t): Likewise.
29382         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29383         (__jmp_buf): Likewise.
29384         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29385         definitions.
29386         (llrint): Likewise, for all definitions.
29387         (llrintl): Likewise.
29389         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29390         Remove [__GNUC__] condition.
29391         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29392         condition to just [__USE_ISOC99].
29393         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29395 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29397         [BZ #14200]
29398         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29399         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29400         defined.
29401         (_POSIX_V6_ILP32_OFF32): Likewise.
29402         (_XBS5_ILP32_OFF32): Likewise.
29403         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29404         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29406 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29408         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29411         doubles __mpexp_twomm1.  Adjust usage.
29412         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29413         Remove.
29415 2013-01-10  Andreas Schwab  <schwab@suse.de>
29417         [BZ #14964]
29418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29419         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29421 2013-01-09  David S. Miller  <davem@davemloft.net>
29423         [BZ #15003]
29424         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29425         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29426         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29427         (TCP_FASTOPEN): Define.
29428         (tcp_repair_opt): New structure.
29429         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29430         enum values.
29431         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29432         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29433         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29434         (tcp_cookie_transactions): New structure.
29436 2013-01-09  Anton Blanchard  <anton@samba.org>
29438         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29439         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29441         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29443 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29445         * include/features.h (__USE_ANSI): Remove.
29447 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29449         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29451         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29453 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29455         * sysdeps/s390/fpu/libm-test-ulps: Update.
29457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29459         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29460         (__acr): Likewise.
29461         (__cpy): Likewise.
29462         (norm): Likewise.
29463         (denorm): Likewise.
29464         (__mp_dbl): Likewise.
29465         (__dbl_mp): Likewise.
29466         (add_magnitudes): Likewise.
29467         (sub_magnitudes): Likewise.
29468         (__add): Likewise.
29469         (__sub): Likewise.
29470         (__mul): Likewise.
29471         (__inv): Likewise.
29472         (__dvd): Likewise.
29473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29474         (__acr): Likewise.
29475         (__cpy): Likewise.
29476         (norm): Likewise.
29477         (denorm): Likewise.
29478         (__mp_dbl): Likewise.
29479         (__dbl_mp): Likewise.
29480         (add_magnitudes): Likewise.
29481         (sub_magnitudes): Likewise.
29482         (__add): Likewise.
29483         (__sub): Likewise.
29484         (__mul): Likewise.
29485         (__inv): Likewise.
29486         (__dvd): Likewise.
29487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29488         (__acr): Likewise.
29489         (__cpy): Likewise.
29490         (norm): Likewise.
29491         (denorm): Likewise.
29492         (__mp_dbl): Likewise.
29493         (__dbl_mp): Likewise.
29494         (add_magnitudes): Likewise.
29495         (sub_magnitudes): Likewise.
29496         (__add): Likewise.
29497         (__sub): Likewise.
29498         (__mul): Likewise.
29499         (__inv): Likewise.
29500         (__dvd): Likewise.
29502 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29504         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29505         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29506         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29507         2 && __USE_EXTERN_INLINES]: Likewise.
29509 2013-01-08  Andreas Jaeger  <aj@suse.de>
29511         [BZ# 14985]
29512         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29513         Remove.
29514         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29515         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29517 2013-01-07  Anton Blanchard  <anton@samba.org>
29519         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29520         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29521         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29522         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29523         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29524         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29525         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29526         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29528         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29529         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29530         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29531         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29533         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29534         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29535         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29536         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29537         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29538         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29539         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29540         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29541         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29542         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29543         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29544         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29545         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29546         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29547         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29548         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29549         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29551         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29552         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29553         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29554         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29555         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29556         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29557         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29558         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29559         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29560         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29561         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29563 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29565         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29566         (__MALLOC_PMT): Likewise.
29567         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29568         [__GNUC__], only on [_LIBC].
29569         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29570         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29571         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29572         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29573         forward declaration.
29574         (realloc_hook_ini): Likewise.
29575         (memalign_hook_ini): Likewise.
29576         (__libc_memalign): Do not use __MALLOC_PMT in variable
29577         declaration.
29578         (__libc_valloc): Likewise.
29579         (__libc_pvalloc): Likewise.
29580         (__libc_calloc): Likewise.
29581         (__posix_memalign): Likewise.
29583         [BZ #14996]
29584         * math/s_casinh.c: Include <float.h>.
29585         (__casinh): Do not do computation with squaring and square root
29586         for large arguments.
29587         * math/s_casinhf.c: Include <float.h>.
29588         (__casinhf): Do not do computation with squaring and square root
29589         for large arguments.
29590         * math/s_casinhl.c: Include <float.h>.
29591         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29592         (__casinhl): Do not do computation with squaring and square root
29593         for large arguments.
29594         * math/libm-test.inc (casin_test): Add more tests.
29595         (casinh_test): Likewise.
29596         * sysdeps/i386/fpu/libm-test-ulps: Update.
29597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29599 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
29601         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29602         (__x86_64_raw_data_cache_size): Likewise.
29603         (__x86_64_data_cache_size_half): Likewise.
29604         (__x86_64_raw_data_cache_size_half): Likewise.
29605         (__x86_64_shared_cache_size): Likewise.
29606         (__x86_64_raw_shared_cache_size): Likewise.
29607         (__x86_64_shared_cache_size_half): Likewise.
29608         (__x86_64_raw_shared_cache_size_half): Likewise.
29609         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29610         to ...
29611         (__x86_data_cache_size): This.
29612         (__x86_64_raw_data_cache_size): Renamed to ...
29613         (__x86_raw_data_cache_size): This.
29614         (__x86_64_data_cache_size_half): Renamed to ...
29615         (__x86_data_cache_size_half): This.
29616         (__x86_64_raw_data_cache_size_half): Renamed to ...
29617         (__x86_raw_data_cache_size_half): This.
29618         (__x86_64_shared_cache_size): Renamed to ...
29619         (__x86_shared_cache_size): This.
29620         (__x86_64_raw_shared_cache_size): Renamed to ...
29621         (__x86_raw_shared_cache_size): This.
29622         (__x86_64_shared_cache_size_half): Renamed to ...
29623         (__x86_shared_cache_size_half): This.
29624         (__x86_64_raw_shared_cache_size_half): Renamed to ...
29625         (__x86_raw_shared_cache_size_half): This.
29626         * sysdeps/x86_64/memcpy.S: Updated.
29627         * sysdeps/x86_64/memset.S: Likewise.
29628         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29629         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29630         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29632 2013-01-04  David S. Miller  <davem@davemloft.net>
29634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29636 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29638         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29639         1 to avoid redefinition warning.
29640         (__USE_GNU): Don't define.
29641         (init_signaling_nan): Protoize.
29643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29645 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29647         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29649         (__cpymn): Likewise.
29650         (norm): Remove commented code.
29651         (denorm): Likewise.
29652         (__mp_dbl): Likewise.
29653         (__inv): Likewise.
29654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29655         (__cpymn): Likewise.
29656         (norm): Remove commented code.
29657         (denorm): Likewise.
29658         (__mp_dbl): Likewise.
29659         (__inv): Likewise.
29661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29662         mp_no value for 1.0 and 2.0.
29663         (norm): Use RADIXI instead of radixi.d.
29664         (denorm): Likewise.
29665         (__mul): Use 0.0 instead of zero.d.
29666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29667         mp_no value for 1.0 and 2.0.
29668         (norm): Use RADIXI instead of radixi.d.
29669         (denorm): Likewise.
29670         (__mul): Use 0.0 instead of zero.d.
29672 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29674         [BZ #14994]
29675         * math/s_casinh.c (__casinh): Reduce finite argument to first
29676         quadrant then set signs of results at the end.
29677         * math/s_casinhf.c (__casinhf): Likewise.
29678         * math/s_casinhl.c (__casinhl): Likewise.
29679         * math/libm-test.inc (casin_test): Add more tests.
29680         (casinh_test): Likewise.
29681         * sysdeps/i386/fpu/libm-test-ulps: Update.
29682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29684 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29686         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29688         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29690         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29691         declarations.
29692         (denorm): Likewise.
29693         (__mp_dbl): Likewise.
29694         (__inv): Likewise.
29696         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29697         and adjust the header comment.
29699         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29700         variable name from declaration.
29702 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29705         Initialize COMMON_CPUID_INDEX_7 element.
29706         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29707         (CPUID_RTM): Likewise.
29708         (HAS_RTM): Likewise.
29709         (COMMON_CPUID_INDEX_7): New enum.
29711 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29713         [BZ #14981]
29714         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29715         size is zero, record memory as freed.
29717 2013-01-03  Andreas Jaeger  <aj@suse.de>
29719         * po/ia.po: Add new Interlingua translation.
29721 2012-01-03  Allan McRae  <allan@archlinux.org>
29723         * locale/programs/localedef.c: Fix description of '--posix' flag.
29725 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29727         * NEWS: Update dates in second copyright notice.
29728         * README: Update copyright dates in example.
29729         * manual/libc.texinfo: Update copyright dates.
29730         * scripts/test-installation.pl: Update copyright date in --version
29731         output.
29733         * hurd/ctty-input.c: Fix copyright notice formatting.
29734         * hurd/ctty-output.c: Likewise.
29735         * hurd/dtable.c: Likewise.
29736         * hurd/hurd-raise.c: Likewise.
29737         * hurd/hurdprio.c: Likewise.
29738         * hurd/msgportdemux.c: Likewise.
29739         * misc/sys/file.h: Likewise.
29740         * misc/sys/ioctl.h: Likewise.
29741         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29742         * sysdeps/mach/hurd/chdir.c: Likewise.
29743         * sysdeps/mach/hurd/fchdir.c: Likewise.
29744         * sysdeps/mach/hurd/rename.c: Likewise.
29745         * sysdeps/mach/hurd/rmdir.c: Likewise.
29746         * sysdeps/mach/hurd/seekdir.c: Likewise.
29747         * sysdeps/mach/hurd/setsid.c: Likewise.
29748         * sysdeps/posix/wait3.c: Likewise.
29750         * All files with FSF copyright notices: Update copyright dates
29751         using scripts/update-copyrights.
29752         * intl/plural.c: Regenerated.
29753         * locale/programs/charmap-kw.h: Likewise.
29754         * locale/programs/locfile-kw.h: Likewise.
29756 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29758         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29759         four values.
29761         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29762         calculation loop and add branch prediction.
29764         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29765         check access beyond bounds of m1np.
29767         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29768         MPTWO.
29769         (__inv): Remove local variable MPTWO to use the global
29770         constant.
29771         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29772         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29773         variable MPTWO.
29774         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29775         MP3HALFS static const.
29777 2013-01-01  David S. Miller  <davem@davemloft.net>
29779         * po/ca.po: Update from translation team.
29781 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29783         * scripts/update-copyrights: New file.
29784         * Makeconfig: Reformat copyright notice.
29785         * ctype/ctype.h: Likewise.
29786         * debug/swprintf_chk.c: Likewise.
29787         * elf/dl-cache.c: Likewise.
29788         * elf/dl-debug.c: Likewise.
29789         * elf/dl-object.c: Likewise.
29790         * grp/initgroups.c: Likewise.
29791         * hurd/Makefile: Likewise.
29792         * hurd/hurd/signal.h: Likewise.
29793         * hurd/hurdfault.c: Likewise.
29794         * hurd/hurdioctl.c: Likewise.
29795         * hurd/hurdlookup.c: Likewise.
29796         * hurd/intr-msg.c: Likewise.
29797         * iconv/gconv_open.c: Likewise.
29798         * libio/swprintf.c: Likewise.
29799         * locale/lc-ctype.c: Likewise.
29800         * locale/nl_langinfo.c: Likewise.
29801         * mach/Machrules: Likewise.
29802         * mach/Makefile: Likewise.
29803         * malloc/obstack.h: Likewise.
29804         * manual/Makefile: Likewise.
29805         * manual/tsort.awk: Likewise.
29806         * misc/bits/stab.def: Likewise.
29807         * nis/nis_print_group_entry.c: Likewise.
29808         * nis/nis_table.c: Likewise.
29809         * nis/nss_compat/compat-pwd.c: Likewise.
29810         * nis/nss_compat/compat-spwd.c: Likewise.
29811         * po/Makefile: Likewise.
29812         * posix/fnmatch.c: Likewise.
29813         * posix/regex.h: Likewise.
29814         * resolv/Makefile: Likewise.
29815         * resolv/nss_dns/dns-network.c: Likewise.
29816         * resolv/res_hconf.c: Likewise.
29817         * scripts/gen-sorted.awk: Likewise.
29818         * soft-fp/soft-fp.h: Likewise.
29819         * stdio-common/printf.h: Likewise.
29820         * stdlib/monetary.h: Likewise.
29821         * stdlib/random.c: Likewise.
29822         * stdlib/random_r.c: Likewise.
29823         * sysdeps/generic/Makefile: Likewise.
29824         * sysdeps/gnu/Makefile: Likewise.
29825         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29827         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29828         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29832         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29833         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29834         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29835         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29836         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29837         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29838         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29839         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29840         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29841         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29843         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29844         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29845         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29848         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29849         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29850         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29851         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29852         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29853         * sysdeps/mach/hurd/errnos.awk: Likewise.
29854         * sysdeps/mach/hurd/fork.c: Likewise.
29855         * sysdeps/mach/hurd/getcwd.c: Likewise.
29856         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29857         * sysdeps/mach/hurd/mmap.c: Likewise.
29858         * sysdeps/mach/hurd/utimes.c: Likewise.
29859         * sysdeps/mach/hurd/xmknod.c: Likewise.
29860         * sysdeps/posix/profil.c: Likewise.
29861         * sysdeps/posix/readdir_r.c: Likewise.
29862         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29863         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29864         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29865         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29867         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29868         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29869         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29871         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29872         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29873         * sysdeps/pthread/lio_listio.c: Likewise.
29874         * sysdeps/sparc/dl-procinfo.h: Likewise.
29875         * sysdeps/unix/i386/sysdep.S: Likewise.
29876         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29877         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29878         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29879         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29881         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29882         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29883         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29884         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29885         * sysdeps/wordsize-32/divdi3.c: Likewise.
29886         * time/sys/time.h: Likewise.
29887         * wcsmbs/Makefile: Likewise.
29889 2013-01-01  David S. Miller  <davem@davemloft.net>
29891         * po/fr.po: Update from translation team.
29893         * catgets/gencat.c: Update copyright year.
29894         * csu/version.c: Likewise.
29895         * debug/catchsegv.sh: Likewise.
29896         * debug/pcprofiledump.c: Likewise.
29897         * debug/xtrace.sh: Likewise.
29898         * elf/ldconfig.c: Likewise.
29899         * elf/ldd.bash.in: Likewise.
29900         * elf/pldd.c: Likewise.
29901         * elf/sotruss.ksh: Likewise.
29902         * elf/sprof.c: Likewise.
29903         * iconv/iconv_prog.c: Likewise.
29904         * iconv/iconvconfig.c: Likewise.
29905         * locale/programs/locale.c: Likewise.
29906         * locale/programs/localedef.c: Likewise.
29907         * login/programs/pt_chown.c: Likewise.
29908         * malloc/memusage.sh: Likewise.
29909         * malloc/memusagestat.c: Likewise.
29910         * malloc/mtrace.pl: Likewise.
29911         * nscd/nscd.c: Likewise.
29912         * nss/getent.c: Likewise.
29913         * nss/makedb.c: Likewise.
29914         * posix/getconf.c: Likewise.
29916 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29918         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29919         numbers.
29921 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29923         * math/bits/mathcalls.h (modf): Use __nonnull.
29925 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29927         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29928         (split): Use macro CN instead of the bare value.
29929         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29930         could be used.
29931         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29932         instead of the bare value.
29933         (power1): Likewise.
29935 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29938         __ATAN_TWOM.
29939         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29941         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29942         their values.
29943         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29944         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29945         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29946         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29948 2012-12-28  Andreas Jaeger  <aj@suse.de>
29950         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29951         values are from Linux 3.7.
29953         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29954         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29956 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29958         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29959         TRUE case.
29961         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29962         (norm): Likewise.
29963         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29964         variables with preprocessor constants.
29965         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29966         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29967         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29969 2012-12-27  Bruno Haible  <bruno@clisp.org>
29971         [BZ #14317]
29972         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29973         only if needed.
29975 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29978         and use variable directly.
29979         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29981         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29982         MPONE.
29983         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29985         variable MPONE.
29986         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29988         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29989         include directive.  Remove local variable MPONE.
29990         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29991         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29994 2012-12-25  David S. Miller  <davem@davemloft.net>
29996         * version.h (RELEASE): Set to "development".
29997         (VERSION): Set to "2.17.90".
29998         * NEWS: Add 2.18 section.
30000 2012-12-21  David S. Miller  <davem@davemloft.net>
30002         * po/hr.po: Update from translation team.
30004 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30006         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30008 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30010         * NEWS:  Mention new memcpy for MIPS.
30012 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30014         * manual/contrib.texi (Contributors): Spelling correction.
30016 2012-12-15  David S. Miller  <davem@davemloft.net>
30018         * po/ru.po: Update from translation team.
30020 2012-12-13  David S. Miller  <davem@davemloft.net>
30022         * NEWS: Mention IFUNC testsuite enhancements.
30024         * po/pl.po: Update from translation team.
30025         * po/bg.po: Likewise.
30027         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30028         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30030 2012-12-11  David S. Miller  <davem@davemloft.net>
30032         * po/sv.po: Update from translation team.
30034         * po/vi.po: Update from translation team.
30036         * po/cs.po: Update from translation team.
30038         * po/de.po: Update from translation team.
30039         * po/eo.po: Likewise.
30040         * po/nl.po: Likewise.
30042 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30044         [BZ #14246]
30045         * manual/argp.texi (Argp Helper Functions): Move node to follow
30046         Argp Parsing State.
30048         [BZ #14872]
30049         * manual/conf.texi (Limits on File System Capacity): Mention if
30050         terminating null is included in the max size.
30052 2012-12-10  Andreas Jaeger  <aj@suse.de>
30054         * po/cs.po: Update from translation team.
30056 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30058         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30059         void pointer and cast to uintptr_t.
30060         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30061         path.
30062         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30063         * sysdeps/s390/s390-64/memset.S: Likewise.
30065 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30067         [BZ #14833]
30068         * menual/message.texi (Message Translation): Fix typos.
30069         (Helper programs for gettext): Likewise.
30071 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30073         [BZ #14898]
30074         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30075         Change to -1.
30077 2012-12-07  David S. Miller  <davem@davemloft.net>
30079         * po/libc.pot: Update.
30081 2012-12-07  Richard Henderson  <rth@redhat.com>
30083         [BZ #10114]
30084         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30085         normal/normal case to before the switch.
30086         (_FP_DIV): Likewise.
30088 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30089             Mike Frysinger  <vapier@gentoo.org>
30091         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30092         check for __NR_fadvise64_64.
30094 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30096         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30097         0, not just to plain "0" as a statement.
30098         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30099         with cw.
30101 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30103         * NEWS: Use sourceware.org in Bugzilla URL.
30105 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30108         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30110         * stdio-common/tst-put-error.c (do_test): Add newline to the
30111         padded test to ensure flush.
30113 2012-12-05  Jeff Law  <law@redhat.com>
30115         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30117 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30119         * README: Don't refer to ports add-on as distributed separately.
30120         Mention AArch64 in list of systems supported in the ports add-on.
30122         * LICENSES: Add more non-FSF copyright and license notices.
30124         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30125         ((unused)).
30127         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30129         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30130         10000 as width of padded output.
30132 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30134         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30136         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30137         variable LX with __attribute__ ((unused)).
30138         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30139         Likewise.
30140         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30141         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30142         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30143         with __attribute__ ((unused)).
30145 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30147         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30149 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30151         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30152         (CFLAGS-nldbl-acos.c): New variable.
30153         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30154         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30155         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30156         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30157         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30158         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30159         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30160         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30161         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30162         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30163         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30164         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30165         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30166         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30167         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30168         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30169         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30170         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30171         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30172         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30173         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30174         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30175         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30176         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30177         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30178         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30179         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30180         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30181         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30182         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30183         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30184         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30185         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30186         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30187         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30188         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30189         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30190         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30191         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30192         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30193         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30194         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30195         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30196         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30197         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30198         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30199         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30200         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30201         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30202         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30203         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30204         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30205         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30206         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30207         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30208         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30209         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30210         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30211         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30212         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30213         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30214         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30215         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30216         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30217         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30218         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30219         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30220         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30221         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30222         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30223         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30224         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30225         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30226         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30227         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30228         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30229         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30230         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30231         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30232         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30233         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30234         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30235         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30236         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30237         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30238         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30239         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30240         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30241         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30242         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30243         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30244         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30245         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30246         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30247         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30248         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30249         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30252         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30254         [BZ #14914]
30255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30256         whole low double instead of just low 47 bits when splitting values
30257         into two parts.
30259 2012-12-03  Allan McRae  <allan@archlinux.org>
30261         * manual/stdio.texi (Predefined Printf Handlers): Remove
30262         @hsep and @vsep usage.
30264 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30266         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30267         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30269 2012-12-03  Jeff Law  <law@redhat.com>
30271         * time/sys/time.h (settimeofday): Do not mark TV argument
30272         as __nonnull.
30274 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30276         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30277         when currently writing and seek to current position when not.
30278         * libio/Makefile (tests): Remove bug-fclose1.
30279         * libio/bug-fclose1.c: Delete.
30281 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30283         * manual/arith.texi (feenableexcept): Fix typo.
30284         (fedisableexcept): Likewise.
30286 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30288         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30289         second, differently-typed declaration, rather than a cast.
30291 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30293         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30294         * include/rpc/svc.h: ... here.
30296 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30298         [BZ #13013]
30299         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30300         depending n and resplen2 to catch cases where answer
30301         equals answerp2.
30303 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30305         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30306         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30308 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30310         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30312 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30314         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30316 2012-11-28  Jeff Law  <law@redhat.com>
30318         [BZ #13761]
30319         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30320         dataset_temporary.  Track alloca usage into alloca_used.
30321         If dataset is large allocate and release it via malloc/free.
30323 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30325         [BZ #14197]
30326         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30328 2012-11-28  David S. Miller  <davem@davemloft.net>
30330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30332 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30334         [BZ #14803]
30335         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30336         of pi/2 rounded to nearest to 64 bits.
30337         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30338         nearest to 64 bits.
30339         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30340         bits.
30342 2012-11-28  Jeff Law <law@redhat.com>
30343             Martin Osvald <mosvald@redhat.com>
30345         [BZ #14889]
30346         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30347         * sunrpc/svc.c: Include time.h.
30348         (__svc_accept_failed): New function.
30349         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30350         any reason other than EINTR, call __svc_accept_failed.
30351         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30352         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30354 2012-11-28  Andreas Schwab  <schwab@suse.de>
30356         * scripts/abilist.awk: Also handle indirect functions in .opd
30357         section.
30359 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30361         [BZ #13881]
30362         * sysdeps/x86/fpu/powl_helper.c: New file.
30363         * sysdeps/x86/fpu/Makefile: Likewise.
30364         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30365         (p3): New object.
30366         (__ieee754_powl): Use __powl_helper for finite arguments except
30367         integer exponents below 8.
30368         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30369         (p3): New object.
30370         (__ieee754_powl): Use __powl_helper for finite arguments except
30371         integer exponents below 8.
30372         * math/libm-test.inc (pow_test): Add more tests and enable some
30373         previously disabled tests.
30374         * sysdeps/i386/fpu/libm-test-ulps: Update.
30375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30377 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30378             Carlos O'Donell  <carlos_odonell@mentor.com>
30380         * nss/makedb.c (is_prime): Assert that input is odd and greater
30381         than 4.  Note that fact in a comment too.
30382         (next_prime): Add 4 to input.
30384 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30386         [BZ #11741]
30387         * libio/Makefile (tests): Add test case tst-fwrite-error.
30388         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30389         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30390         * libio/tst-fwrite-error.c: New test case.
30392 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30394         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30395         before casting to void *.
30396         * include/libc-internal.h (__pointer_type): New macro.
30397         (__integer_if_pointer_type_sub): Likewise.
30398         (__integer_if_pointer_type): Likewise.
30399         (cast_to_integer): Likewise.
30400         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30401         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30402         before casting to atomic64_t.
30403         (atomic_exchange_acq): Likewise.
30404         (__arch_exchange_and_add_body): Likewise.
30405         (__arch_add_body): Likewise.
30406         (atomic_add_negative): Likewise.
30407         (atomic_add_zero): Likewise.
30409 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30411         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30412         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30413         (add_fdes): Likewise.
30414         (linear_search_fdes): Likewise.
30415         (binary_search_unencoded_fdes): Likewise.
30417 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30419         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30421 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30423         * configure.in: Autodetect C++ header directories.
30424         * configure: Regenerated.
30426 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30428         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30430 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30434 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30436         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30437         LDBL_MANT_DIG == 106]: Disable some tests.
30438         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30439         Likewise.
30440         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30441         Likewise.
30443         [BZ #14871]
30444         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30445         input for small inputs.  Return +/- pi/2 for large inputs.
30446         * math/libm-test.inc (atan_test): Add more tests.
30448         * sysdeps/generic/unwind-dw2-fde-glibc.c
30449         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30450         __attribute__ ((unused)).
30452         [BZ #14645]
30453         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30454         x * y if x and y are nonzero and z is zero.
30456         [BZ #14811]
30457         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30458         nonzero exponents with absolute value below 0x1p-117 to +/-
30459         0x1p-117.
30461         [BZ #14869]
30462         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30463         up arguments below 2**-450, not just those below 2**-500.
30464         * math/libm-test.inc (hypot_test): Add another test.
30466         [BZ #14868]
30467         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30468         Return a+b for ratio over 2**120, not 2**60.
30469         * math/libm-test.inc (hypot_test): Add another test.
30471         * math/libm-test.inc (clog_test): Use
30472         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30473         (clog10_test): Likewise.
30475         [BZ #6778]
30476         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30478 2012-11-22  Andreas Schwab  <schwab@suse.de>
30480         * sysdeps/i386/fpu/libm-test-ulps: Update.
30482 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30484         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30485         printf output with newline.
30487 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30489         [BZ #14865]
30490         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30491         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30492         -z nodlopen, -z initfirst and -z execstack support.
30493         * configure: Regenerated.
30495         * elf/elf.h (DF_1_NODIRECT): New macro.
30496         (DF_1_IGNMULDEF): Likewise.
30497         (DF_1_NOKSYMS): Likewise.
30498         (DF_1_NOHDR): Likewise.
30499         (DF_1_EDITED): Likewise.
30500         (DF_1_NORELOC): Likewise.
30501         (DF_1_SYMINTPOSE): Likewise.
30502         (DF_1_GLOBAUDIT): Likewise.
30503         (DF_1_SINGLETON): Likewise.
30504         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30505         DT_1_SUPPORTED_MASK bits.
30506         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30508 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30510         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30512 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30514         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30515         macro.
30517         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30518         (sendmmsg): Move declarations...
30519         * socket/sys/socket.h: ... here.
30520         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30521         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30522         include it from...
30523         * socket/recvmmsg.c: ... this new file.
30524         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30525         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30526         definition of __sendmmsg hidden.
30527         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30528         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30529         Move ENOSYS stub into and include it from...
30530         * socket/sendmmsg.c: ... this new file.
30531         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30532         (sysdep_routines): Move recvmmsg and sendmmsg...
30533         * socket/Makefile (routines): ... here.
30534         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30535         (GLIBC_PRIVATE): Add __sendmmsg.
30536         * include/sys/socket.h (__sendmmsg): Add declarations.
30537         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30538         sendmmsg.
30540 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30543         variable I1 with __attribute__ ((unused)).
30544         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30546 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30548         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30549         DUMMY variables with __attribute__ ((unused)).
30551         * bits/byteswap.h: Include <bits/types.h>.
30552         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30554 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30556         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30557         string_t.  Do not manually set errno.
30558         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30559         length with __strnlen.  Make sure to both set errno and return it on
30560         failure.
30562 2012-11-19  David S. Miller  <davem@davemloft.net>
30564         With help from Joseph Myers.
30565         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30566         very large arguments properly.
30567         * math/libm-test.inc (atan_test): New tests.
30568         (atan2_test): New tests.
30569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30572 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30574         [BZ #14856]
30575         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30576         Define to 3.
30578         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30579         [POSIX] (EADDRNOTAVAIL): Likewise.
30580         [POSIX] (EAFNOSUPPORT): Likewise.
30581         [POSIX] (EALREADY): Likewise.
30582         [POSIX] (ECONNABORTED): Likewise.
30583         [POSIX] (ECONNREFUSED): Likewise.
30584         [POSIX] (ECONNRESET): Likewise.
30585         [POSIX] (EDESTADDRREQ): Likewise.
30586         [POSIX] (EDQUOT): Likewise.
30587         [POSIX] (EHOSTUNREACH): Likewise.
30588         [POSIX] (EIDRM): Likewise.
30589         [POSIX] (EISCONN): Likewise.
30590         [POSIX] (ELOOP): Likewise.
30591         [POSIX] (EMULTIHOP): Likewise.
30592         [POSIX] (ENETDOWN): Likewise.
30593         [POSIX] (ENETUNREACH): Likewise.
30594         [POSIX] (ENOBUFS): Likewise.
30595         [POSIX] (ENODATA): Likewise.
30596         [POSIX] (ENOLINK): Likewise.
30597         [POSIX] (ENOMSG): Likewise.
30598         [POSIX] (ENOPROTOOPT): Likewise.
30599         [POSIX] (ENOSR): Likewise.
30600         [POSIX] (ENOSTR): Likewise.
30601         [POSIX] (ENOTCONN): Likewise.
30602         [POSIX] (ENOTSOCK): Likewise.
30603         [POSIX] (EOPNOTSUPP): Likewise.
30604         [POSIX] (EOVERFLOW): Likewise.
30605         [POSIX] (EPROTO): Likewise.
30606         [POSIX] (EPROTONOSUPPORT): Likewise.
30607         [POSIX] (EPROTOTYPE): Likewise.
30608         [POSIX] (ESTALE): Likewise.
30609         [POSIX] (ETIME): Likewise.
30610         [POSIX] (ETXTBSY): Likewise.
30611         [POSIX] (EWOULDBLOCK): Likewise.
30612         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30613         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30614         [POSIX] (SEEK_CUR): Likewise.
30615         [POSIX] (SEEK_END): Likewise.
30616         [POSIX || UNIX98] (mode_t): Do not require.
30617         [POSIX] (off_t): Likewise.
30618         [POSIX] (pid_t): Likewise.
30619         [POSIX] (sys/stat.h): Do not allow header.
30620         [POSIX] (unistd.h): Likewise.
30621         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30622         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30623         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30624         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30625         require.
30626         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30627         sigevent): Specify elements.
30628         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30629         entry.
30630         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30631         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30633         * conform/data/cpio.h-data [POSIX]: Disable whole file.
30634         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30635         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30636         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30637         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30638         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30639         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30640         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30641         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30642         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30643         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30644         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30645         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30646         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30647         Likewise.
30648         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30649         Likewise.
30650         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30651         Likewise.
30652         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30653         Likewise.
30654         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30655         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30656         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30657         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30658         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30659         Specify lower bound on value.
30660         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30661         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30662         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30663         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30664         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30665         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30666         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30667         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30668         value.
30669         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30670         as optional.
30671         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30672         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30673         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30674         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30675         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30676         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30677         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30678         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30679         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30680         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30681         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30682         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30683         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30684         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30685         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30686         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30687         entry.
30688         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30689         optional.
30690         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30691         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30692         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30693         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30694         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30695         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30696         Likewise.
30697         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30698         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30699         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30700         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30701         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30702         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30703         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30704         as optional.
30705         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30706         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30707         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30708         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30709         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30710         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30711         specify as optional.
30712         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30713         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30714         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30715         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30716         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30717         [XPG3] (NL_LANGMAX): Likewise.
30718         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30719         [POSIX || XPG3] (NL_NMAX): Likewise.
30720         [POSIX || XPG3] (NL_SETMAX): Likewise.
30721         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30722         [XPG3] (NZERO): Likewise.
30723         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30724         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30725         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30726         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30727         (REG_ERANGE): Expect.
30728         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30729         optional-constant.
30730         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30731         Use (void) in prototype.
30732         [POSIX] (*_t): Allow.
30733         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30734         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30735         (WRDE_BADVAL): Expect.
30737         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30738         expect.
30739         [XPG3 || XPG4] (O_RSYNC): Likewise.
30740         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30741         Likewise.
30742         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30743         [XPG3 || XPG4] (sigqueue): Likewise.
30744         [XPG3 || XPG4] (sigtimedwait): Likewise.
30745         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30746         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30747         [XPG3 || XPG4] (vsnprintf): Likewise.
30748         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30749         Likewise.
30750         [XPG3 || XPG4] (blksize_t): Likewise.
30751         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30752         Likewise.
30753         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30754         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30755         [XPG3 || XPG4] (struct itimerspec): Likewise.
30756         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30757         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30758         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30759         [XPG3 || XPG4] (clockid_t): Likewise.
30760         [XPG3 || XPG4] (timer_t): Likewise.
30761         [XPG3 || XPG4] (clock_getres): Likewise.
30762         [XPG3 || XPG4] (clock_gettime): Likewise.
30763         [XPG3 || XPG4] (clock_settime): Likewise.
30764         [XPG3 || XPG4] (nanosleep): Likewise.
30765         [XPG3 || XPG4] (timer_create): Likewise.
30766         [XPG3 || XPG4] (timer_delete): Likewise.
30767         [XPG3 || XPG4] (timer_gettime): Likewise.
30768         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30769         [XPG3 || XPG4] (timer_settime): Likewise.
30770         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30771         [XPG3 || XPG4] (getlogin_r): Likewise.
30772         [XPG3 || XPG4] (pread): Likewise.
30773         [XPG3 || XPG4] (pthread_atfork): Likewise.
30774         [XPG3 || XPG4] (pwrite): Likewise.
30776         [BZ #14835]
30777         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30778         <bits/siginfo.h>.
30780 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30782         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30783         finalizing MALLSTREAM.
30785         * sysdeps/mach/hurd/syncfs.c: New file.
30787 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30789         [BZ #14719]
30790         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30791         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30793         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30794         (_nss_dns_gethostbyname4_r): Likewise.
30795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30796         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30798 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30800         [BZ #13763]
30801         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30803 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30805         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30806         * elf/cache.c (print_entry): Print ",AArch64" for
30807         FLAG_AARCH64_LIB64
30809         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30810         * elf/cache.c (print_entry): Print ",hard-float" for
30811         FLAG_ARM_LIBHF.
30813 2012-11-18  David S. Miller  <davem@davemloft.net>
30815         With help from Joseph Myers.
30816         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30817         cutoff to 2**-13.
30818         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30819         cutoff to 2**-25.
30820         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30821         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30822         small.
30823         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30824         * math/libm-test.inc (y0_test): New tests.
30825         (y1_test): New tests.
30826         * sysdeps/i386/fpu/libm-test-ulps: Update.
30827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30830 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30832         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30833         64-bit targets.
30834         * configure: Regenerated.
30836 2012-11-17  David S. Miller  <davem@davemloft.net>
30838         [BZ #14811]
30839         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30840         nonzero exponents with absolute value below 0x1p-128 to +/-
30841         0x1p-128.
30843 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30845         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30847         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30849         * posix/getconf-speclist.c: New file.
30850         * posix/posix-envs.def: Likewise.
30851         * posix/confstr.c (START_ENV_GROUP): New macro.
30852         (END_ENV_GROUP): Likewise.
30853         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30854         (KNOWN_PRESENT_ENV_STRING): Likewise.
30855         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30856         (UNKNOWN_ENVIRONMENT): Likewise.
30857         (confstr): Include posix-envs.def instead of handling
30858         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30859         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30860         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30861         (END_ENV_GROUP): Likewise.
30862         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30863         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30864         (UNKNOWN_ENVIRONMENT): Likewise.
30865         (__sysconf): Include posix-envs.def instead of handling associated
30866         cases directly here.
30867         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30868         preprocessing getconf-speclist.c rather than running getconf or
30869         generating empty file.
30871 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30873         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30875 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30877         [BZ #14672]
30878         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30880 2012-11-16  David S. Miller  <davem@davemloft.net>
30882         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30883         smaller than LDBL_EPSILON/2.0L, just return xm1.
30885 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30887         * elf/tst-array1.c (init): Set constructor priority to 1000.
30888         (fini): Set destructor priority to 1000.
30889         * elf/tst-array2dep.c: Likewise.
30891 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30893         [BZ #11741]
30894         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30895         (_IO_new_file_xsputn): Also return EOF if none of the input
30896         data was written when overflow failed.
30897         * libio/iopadn.c (_IO_padn): Likewise.
30898         * libio/iowpadn.c (_IO_wpadn): Likewise.
30899         * stdio-common/tst-put-error.c: Add copyright notice.
30900         (do_test): Add case for printing padded string.
30901         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30902         _IO_padn returned error.
30903         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30904         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30905         return EOF.
30907 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30909         * libio/libioP.h: Add comment note that the references to C++
30910         bits are now obsolete.
30912 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30914         * math/libm-test.inc (check_complex): Use asprintf.
30916 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30918         * debug/pcprofiledump.c (print_version): Update copyright year.
30919         * malloc/memusagestat.c (print_version): Likewise.
30921 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30923         [BZ #14831]
30924         * elf/Makefile (tests): Add tst-audit8.
30925         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30926         ($(objpfx)tst-audit8.out): New target.
30927         (tst-audit8-ENV): New variable.
30928         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30929         audit if l_reloc_result is NULL.
30930         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30931         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30932         * elf/tst-audit8.c: New file.
30934 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30936         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30937         * misc/Makefile (CFLAGS-select.c): Define.
30938         * posix/Makefile (CFLAGS-pause.c): Define.
30940 2012-11-13  David S. Miller  <davem@davemloft.net>
30942         * crypt/Makefile: Move test targets after toplevel Rules
30943         inclusion.  Grab any necessary sysdep routines when linking.
30944         * crypt/md5.c (md5_process_block): Remove define, we will always
30945         name it __md5_process_block.
30946         (md5_finish_ctx): Update md5_process_block call.
30947         (md5_stream): Likewise.
30948         (md5_process_bytes): Likewise.
30949         (md5_process_block): Rename to __md5_process_block and move to ...
30950         * crypt/md5-block.c: ... here.
30951         * crypt/sha256.c (sha256_process_block): Move to ...
30952         * crypt/sha256-block.c: ... here.
30953         * crypt/sha512.c (sha512_process_block): Move to ...
30954         * crypt/sha512-block.c: ... here.
30955         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30956         path.
30957         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30958         * sysdeps/sparc/sparc64/multiarch/Makefile
30959         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30960         crypt subdir.
30961         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30962         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30963         multiarch changes.
30964         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30965         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30966         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30967         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30968         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30969         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30970         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30971         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30972         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30973         file.
30974         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30975         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30976         file.
30977         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30979 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30981         * timezone/tzselect.ksh: Update from tzcode git revision
30982         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30983         * timezone/zdump.c: Likewise.
30984         * timezone/zic.c: Likewise.
30985         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30986         in TZVERSION setting, not $(PKGVERSION).
30987         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
30988         REPORT_BUGS_TO settings.
30990         [BZ #14838]
30991         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30992         macro.
30994 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30996         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30997         detection to immediately after _FP_ROUND().
30998         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30999         bits are 0.
31001 2012-11-11  David S. Miller  <davem@davemloft.net>
31003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31004         inttypes.h
31005         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31006         __close rather than their public counterparts.
31008 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31010         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31011         file.
31012         [UNIX98] (sem_timedwait): Do not expect.
31013         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31014         [XPG4 || UNIX98] (sockatmark): Do not expect.
31015         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31016         (clock_getcpuclockid): Do not expect.
31017         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31018         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31019         Do not expect.
31020         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31021         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31022         [UNIX98] (vwscanf): Likewise.
31023         [UNIX98] (vswscanf): Likewise.
31025 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31027         * timezone/version.h: Remove file.
31028         * timezone/README: Do not refer to version.h.
31029         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31030         $(objpfx)version.h.
31031         ($(objpfx)zdump.o): Likewise.
31032         ($(objpfx)version.h): New target.
31034         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31035         2012i.
31036         * timezone/README: Don't mention modification to tzselect.ksh.
31037         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31038         work on unmodified tzselect.ksh.  Substitute version numbers in
31039         tzselect.ksh.
31041         * Makefile (format-me): Remove.
31042         (INSTALL): Adjust indentation.  Use commands directly instead of
31043         using $(format-me).
31045         * aclocal.m4 (ACX_PKGVERSION): New macro.
31046         (ACX_BUGURL): Likewise.
31047         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31048         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31049         (REPORT_BUGS_TO): Likewise.
31050         * configure: Regenerated.
31051         * config.h.in (PKGVERSION): New macro.
31052         (REPORT_BUGS_TO): Likewise.
31053         * config.make.in (PKGVERSION): New variable.
31054         (PKGVERSION_TEXI): Likewise.
31055         (REPORT_BUGS_TO): Likewise.
31056         (REPORT_BUGS_TEXI): Likewise.
31057         * Makefile (format-me): Use -I$(common-objpfx)manual.
31058         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31059         ($(common-objpfx)manual/%): New target.
31060         (manual/%): Remove target.
31061         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31062         (print_version): Use PKGVERSION.
31063         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31064         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31065         and REPORT_BUGS_TO.
31066         ($(objpfx)xtrace): Likewise.
31067         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31068         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31069         (print_version): Use PKGVERSION.
31070         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31071         (do_version): Use PKGVERSION.
31072         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31073         REPORT_BUGS_TO.
31074         (common-ldd-rewrite): Likewise.
31075         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31076         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31077         (print_version): Use PKGVERSION.
31078         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31079         * elf/pldd.c (argp_program_bug_address): Remove variable.
31080         (more_help): New function.
31081         (argp): Use more_help.
31082         (print_version): Use PKGVERSION.
31083         * elf/sln.c (main): Use PKGVERSION.
31084         (usage): Use REPORT_BUGS_TO.
31085         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31086         (top level): Use PKGVERSION.
31087         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31088         (print_version): Use PKGVERSION.
31089         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31090         (print_version): Use PKGVERSION.
31091         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31092         (print_version): Use PKGVERSION.
31093         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31094         (print_version): Use PKGVERSION.
31095         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31096         (print_version): Use PKGVERSION.
31097         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31098         (print_version): Use PKGVERSION.
31099         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31100         and BUGURL.
31101         ($(objpfx)memusage): Likewise.
31102         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31103         (do_version): Use PKGVERSION.
31104         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31105         (print_version): Use PKGVERSION.
31106         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31107         ($PKGVERSION): New variable.
31108         ($REPORT_BUGS_TO): Likewise.
31109         (usage): Use $REPORT_BUGS_TO.
31110         (top level): Use $PKGVERSION.
31111         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31112         ($(objpfx)pkgvers.texi): New rule.
31113         ($(objpfx)stamp-pkgvers): Likewise.
31114         * manual/install.texi: Include pkgvers.texi.
31115         (--with-pkgversion): Document new configure option.
31116         (--with-bugurl): Likewise.
31117         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31118         than necessarily for this particular distribution.  Use
31119         REPORT_BUGS_TO for where to report bugs.
31120         * INSTALL: Regenerated.
31121         * manual/libc.texinfo: Include pkgvers.texi.
31122         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31123         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31124         (print_version): Use PKGVERSION.
31125         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31126         (print_version): Use PKGVERSION.
31127         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31128         (print_version): Use PKGVERSION.
31129         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31130         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31131         macro.
31132         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31133         (print_version): Use PKGVERSION.
31134         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31135         (print_version): Use PKGVERSION.
31136         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31137         and PKGVERSION.
31139         * timezone/checktab.awk: Update from tzcode 2012i.
31140         * timezone/ialloc.c: Likewise.
31141         * timezone/private.h: Likewise.
31142         * timezone/scheck.c: Likewise.
31143         * timezone/tzfile.h: Likewise.
31144         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31145         (TZVERSION): Hardcode tzcode version number.
31146         * timezone/zdump.c: Update from tzcode 2012i.
31147         * timezone/zic.c: Likewise.
31148         * timezone/version.h: New file.
31149         * timezone/README: Describe version.h.  Update upstream location.
31151         [BZ #14824]
31152         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31153         (mktemp): Enable declaration.
31154         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31155         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31156         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31157         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31158         Likewise.
31159         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31160         Likewise.
31161         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31162         Likewise.
31163         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31164         Likewise.
31165         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31166         Likewise.
31167         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31168         Likewise.
31170         [BZ #14821]
31171         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31172         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31173         for copies of such integer values.
31174         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31175         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31177 2012-11-09  Andreas Jaeger  <aj@suse.de>
31179         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31180         definitions and declarations that are provided by
31181         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31183 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31185         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31186         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31187         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31188         definition.
31190 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31192         * elf/elf.h: Update comment before AArch64 relocations.
31194 2012-11-07  David S. Miller  <davem@davemloft.net>
31196         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31197         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31198         (__start_context): Declare.
31199         (__makecontext_ret): Delete.
31200         (__makecontext): Hook up __start_context instead of
31201         __makecontext_ret.
31202         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31203         (sysdep_routines): Add __start_context when in stdlib.
31205 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31207         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31208         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31209         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31210         hardcoded "nm".
31211         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31212         (READELF): New variable.  Use it instead of hardcoded "readelf".
31214 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31216         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31217         * sysdeps/x86/Makefile: Here.
31218         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31219         * sysdeps/x86/tst-xmmymm.sh: This.
31221 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31223         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31224         expectations.
31225         [UNIX98] (pthread_barrier_t): Do not expect.
31226         [UNIX98] (pthread_barrierattr_t): Likewise.
31227         [UNIX98] (pthread_spinlock_t): Likewise.
31228         [UNIX98] (pthread_barrier_destroy): Likewise.
31229         [UNIX98] (pthread_barrier_init): Likewise.
31230         [UNIX98] (pthread_barrier_wait): Likewise.
31231         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31232         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31233         [UNIX98] (pthread_barrierattr_init): Likewise.
31234         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31235         [UNIX98] (pthread_getcpuclockid): Likewise.
31236         [UNIX98] (pthread_mutex_timedlock): Likewise.
31237         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31238         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31239         [UNIX98] (pthread_sigmask): Likewise.
31240         [UNIX98] (pthread_spin_destroy): Likewise.
31241         [UNIX98] (pthread_spin_init): Likewise.
31242         [UNIX98] (pthread_spin_lock): Likewise.
31243         [UNIX98] (pthread_spin_trylock): Likewise.
31244         [UNIX98] (pthread_spin_unlock): Likewise.
31245         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31246         Do not expect.
31247         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31248         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31249         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31250         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31251         [XPG3 || XPG4] (pthread_key_t): Likewise.
31252         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31253         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31254         [XPG3 || XPG4] (pthread_once_t): Likewise.
31255         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31256         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31257         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31258         [XPG3 || XPG4] (pthread_t): Likewise.
31260         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31261         not expect.
31262         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31264         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31265         Change function return type to int.
31267         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31268         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31269         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31270         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31271         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31272         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31273         [!POSIX] (posix_madvise): Likewise.
31274         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31275         && !UNIX98].
31276         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31277         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31278         (mode_t): Likewise.
31279         (posix_mem_offset): Likewise.
31280         (posix_typed_mem_get_info): Likewise.
31281         (posix_typed_mem_open): Likewise.
31283         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31284         Change condition to [XOPEN2K8].
31286         * conform/conformtest.pl: Preprocess allow-header data with -x c
31287         instead of from stdin.
31288         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31289         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31290         [C99-based standards] (cerfc): Likewise.
31291         [C99-based standards] (cexp2): Likewise.
31292         [C99-based standards] (cexpm1): Likewise.
31293         [C99-based standards] (clog10): Likewise.
31294         [C99-based standards] (clog1p): Likewise.
31295         [C99-based standards] (clog2): Likewise.
31296         [C99-based standards] (clgamma): Likewise.
31297         [C99-based standards] (ctgamma): Likewise.
31298         [C99-based standards] (cerff): Likewise.
31299         [C99-based standards] (cerfcf): Likewise.
31300         [C99-based standards] (cexp2f): Likewise.
31301         [C99-based standards] (cexpm1f): Likewise.
31302         [C99-based standards] (clog10f): Likewise.
31303         [C99-based standards] (clog1pf): Likewise.
31304         [C99-based standards] (clog2f): Likewise.
31305         [C99-based standards] (clgammaf): Likewise.
31306         [C99-based standards] (ctgammaf): Likewise.
31307         [C99-based standards] (cerfl): Likewise.
31308         [C99-based standards] (cerfcl): Likewise.
31309         [C99-based standards] (cexp2l): Likewise.
31310         [C99-based standards] (cexpm1l): Likewise.
31311         [C99-based standards] (clog10l): Likewise.
31312         [C99-based standards] (clog1pl): Likewise.
31313         [C99-based standards] (clog2l): Likewise.
31314         [C99-based standards] (clgammal): Likewise.
31315         [C99-based standards] (ctgammal): Likewise.
31316         * conform/data/inttypes.h-data [C99-based standards]: Include
31317         stdint.h-data.  Remove all expectations for stdint.h contents.
31318         [C99-based standards] (PRI*): Do not allow.
31319         [C99-based standards] (SCN*): Likewise.
31320         [C99-based standards] (*_t): Likewise.
31321         [C99-based-standards] (PRId8): Expect macro.
31322         [C99-based-standards] (PRIi8): Likewise.
31323         [C99-based-standards] (PRIo8): Likewise.
31324         [C99-based-standards] (PRIu8): Likewise.
31325         [C99-based-standards] (PRIx8): Likewise.
31326         [C99-based-standards] (PRIX8): Likewise.
31327         [C99-based-standards] (SCNd8): Likewise.
31328         [C99-based-standards] (SCNi8): Likewise.
31329         [C99-based-standards] (SCNo8): Likewise.
31330         [C99-based-standards] (SCNu8): Likewise.
31331         [C99-based-standards] (SCNx8): Likewise.
31332         [C99-based-standards] (PRIdLEAST8): Likewise.
31333         [C99-based-standards] (PRIiLEAST8): Likewise.
31334         [C99-based-standards] (PRIoLEAST8): Likewise.
31335         [C99-based-standards] (PRIuLEAST8): Likewise.
31336         [C99-based-standards] (PRIxLEAST8): Likewise.
31337         [C99-based-standards] (PRIXLEAST8): Likewise.
31338         [C99-based-standards] (SCNdLEAST8): Likewise.
31339         [C99-based-standards] (SCNiLEAST8): Likewise.
31340         [C99-based-standards] (SCNoLEAST8): Likewise.
31341         [C99-based-standards] (SCNuLEAST8): Likewise.
31342         [C99-based-standards] (SCNxLEAST8): Likewise.
31343         [C99-based-standards] (PRIdFAST8): Likewise.
31344         [C99-based-standards] (PRIiFAST8): Likewise.
31345         [C99-based-standards] (PRIoFAST8): Likewise.
31346         [C99-based-standards] (PRIuFAST8): Likewise.
31347         [C99-based-standards] (PRIxFAST8): Likewise.
31348         [C99-based-standards] (PRIXFAST8): Likewise.
31349         [C99-based-standards] (SCNdFAST8): Likewise.
31350         [C99-based-standards] (SCNiFAST8): Likewise.
31351         [C99-based-standards] (SCNoFAST8): Likewise.
31352         [C99-based-standards] (SCNuFAST8): Likewise.
31353         [C99-based-standards] (SCNxFAST8): Likewise.
31354         [C99-based-standards] (PRId16): Likewise.
31355         [C99-based-standards] (PRIi16): Likewise.
31356         [C99-based-standards] (PRIo16): Likewise.
31357         [C99-based-standards] (PRIu16): Likewise.
31358         [C99-based-standards] (PRIx16): Likewise.
31359         [C99-based-standards] (PRIX16): Likewise.
31360         [C99-based-standards] (SCNd16): Likewise.
31361         [C99-based-standards] (SCNi16): Likewise.
31362         [C99-based-standards] (SCNo16): Likewise.
31363         [C99-based-standards] (SCNu16): Likewise.
31364         [C99-based-standards] (SCNx16): Likewise.
31365         [C99-based-standards] (PRIdLEAST16): Likewise.
31366         [C99-based-standards] (PRIiLEAST16): Likewise.
31367         [C99-based-standards] (PRIoLEAST16): Likewise.
31368         [C99-based-standards] (PRIuLEAST16): Likewise.
31369         [C99-based-standards] (PRIxLEAST16): Likewise.
31370         [C99-based-standards] (PRIXLEAST16): Likewise.
31371         [C99-based-standards] (SCNdLEAST16): Likewise.
31372         [C99-based-standards] (SCNiLEAST16): Likewise.
31373         [C99-based-standards] (SCNoLEAST16): Likewise.
31374         [C99-based-standards] (SCNuLEAST16): Likewise.
31375         [C99-based-standards] (SCNxLEAST16): Likewise.
31376         [C99-based-standards] (PRIdFAST16): Likewise.
31377         [C99-based-standards] (PRIiFAST16): Likewise.
31378         [C99-based-standards] (PRIoFAST16): Likewise.
31379         [C99-based-standards] (PRIuFAST16): Likewise.
31380         [C99-based-standards] (PRIxFAST16): Likewise.
31381         [C99-based-standards] (PRIXFAST16): Likewise.
31382         [C99-based-standards] (SCNdFAST16): Likewise.
31383         [C99-based-standards] (SCNiFAST16): Likewise.
31384         [C99-based-standards] (SCNoFAST16): Likewise.
31385         [C99-based-standards] (SCNuFAST16): Likewise.
31386         [C99-based-standards] (SCNxFAST16): Likewise.
31387         [C99-based-standards] (PRId32): Likewise.
31388         [C99-based-standards] (PRIi32): Likewise.
31389         [C99-based-standards] (PRIo32): Likewise.
31390         [C99-based-standards] (PRIu32): Likewise.
31391         [C99-based-standards] (PRIx32): Likewise.
31392         [C99-based-standards] (PRIX32): Likewise.
31393         [C99-based-standards] (SCNd32): Likewise.
31394         [C99-based-standards] (SCNi32): Likewise.
31395         [C99-based-standards] (SCNo32): Likewise.
31396         [C99-based-standards] (SCNu32): Likewise.
31397         [C99-based-standards] (SCNx32): Likewise.
31398         [C99-based-standards] (PRIdLEAST32): Likewise.
31399         [C99-based-standards] (PRIiLEAST32): Likewise.
31400         [C99-based-standards] (PRIoLEAST32): Likewise.
31401         [C99-based-standards] (PRIuLEAST32): Likewise.
31402         [C99-based-standards] (PRIxLEAST32): Likewise.
31403         [C99-based-standards] (PRIXLEAST32): Likewise.
31404         [C99-based-standards] (SCNdLEAST32): Likewise.
31405         [C99-based-standards] (SCNiLEAST32): Likewise.
31406         [C99-based-standards] (SCNoLEAST32): Likewise.
31407         [C99-based-standards] (SCNuLEAST32): Likewise.
31408         [C99-based-standards] (SCNxLEAST32): Likewise.
31409         [C99-based-standards] (PRIdFAST32): Likewise.
31410         [C99-based-standards] (PRIiFAST32): Likewise.
31411         [C99-based-standards] (PRIoFAST32): Likewise.
31412         [C99-based-standards] (PRIuFAST32): Likewise.
31413         [C99-based-standards] (PRIxFAST32): Likewise.
31414         [C99-based-standards] (PRIXFAST32): Likewise.
31415         [C99-based-standards] (SCNdFAST32): Likewise.
31416         [C99-based-standards] (SCNiFAST32): Likewise.
31417         [C99-based-standards] (SCNoFAST32): Likewise.
31418         [C99-based-standards] (SCNuFAST32): Likewise.
31419         [C99-based-standards] (SCNxFAST32): Likewise.
31420         [C99-based-standards] (PRId64): Likewise.
31421         [C99-based-standards] (PRIi64): Likewise.
31422         [C99-based-standards] (PRIo64): Likewise.
31423         [C99-based-standards] (PRIu64): Likewise.
31424         [C99-based-standards] (PRIx64): Likewise.
31425         [C99-based-standards] (PRIX64): Likewise.
31426         [C99-based-standards] (SCNd64): Likewise.
31427         [C99-based-standards] (SCNi64): Likewise.
31428         [C99-based-standards] (SCNo64): Likewise.
31429         [C99-based-standards] (SCNu64): Likewise.
31430         [C99-based-standards] (SCNx64): Likewise.
31431         [C99-based-standards] (PRIdLEAST64): Likewise.
31432         [C99-based-standards] (PRIiLEAST64): Likewise.
31433         [C99-based-standards] (PRIoLEAST64): Likewise.
31434         [C99-based-standards] (PRIuLEAST64): Likewise.
31435         [C99-based-standards] (PRIxLEAST64): Likewise.
31436         [C99-based-standards] (PRIXLEAST64): Likewise.
31437         [C99-based-standards] (SCNdLEAST64): Likewise.
31438         [C99-based-standards] (SCNiLEAST64): Likewise.
31439         [C99-based-standards] (SCNoLEAST64): Likewise.
31440         [C99-based-standards] (SCNuLEAST64): Likewise.
31441         [C99-based-standards] (SCNxLEAST64): Likewise.
31442         [C99-based-standards] (PRIdFAST64): Likewise.
31443         [C99-based-standards] (PRIiFAST64): Likewise.
31444         [C99-based-standards] (PRIoFAST64): Likewise.
31445         [C99-based-standards] (PRIuFAST64): Likewise.
31446         [C99-based-standards] (PRIxFAST64): Likewise.
31447         [C99-based-standards] (PRIXFAST64): Likewise.
31448         [C99-based-standards] (SCNdFAST64): Likewise.
31449         [C99-based-standards] (SCNiFAST64): Likewise.
31450         [C99-based-standards] (SCNoFAST64): Likewise.
31451         [C99-based-standards] (SCNuFAST64): Likewise.
31452         [C99-based-standards] (SCNxFAST64): Likewise.
31453         [C99-based-standards] (PRIdMAX): Likewise.
31454         [C99-based-standards] (PRIiMAX): Likewise.
31455         [C99-based-standards] (PRIoMAX): Likewise.
31456         [C99-based-standards] (PRIuMAX): Likewise.
31457         [C99-based-standards] (PRIxMAX): Likewise.
31458         [C99-based-standards] (PRIXMAX): Likewise.
31459         [C99-based-standards] (SCNdMAX): Likewise.
31460         [C99-based-standards] (SCNiMAX): Likewise.
31461         [C99-based-standards] (SCNoMAX): Likewise.
31462         [C99-based-standards] (SCNuMAX): Likewise.
31463         [C99-based-standards] (SCNxMAX): Likewise.
31464         [C99-based-standards] (PRIdPTR): Likewise.
31465         [C99-based-standards] (PRIiPTR): Likewise.
31466         [C99-based-standards] (PRIoPTR): Likewise.
31467         [C99-based-standards] (PRIuPTR): Likewise.
31468         [C99-based-standards] (PRIxPTR): Likewise.
31469         [C99-based-standards] (PRIXPTR): Likewise.
31470         [C99-based-standards] (SCNdPTR): Likewise.
31471         [C99-based-standards] (SCNiPTR): Likewise.
31472         [C99-based-standards] (SCNoPTR): Likewise.
31473         [C99-based-standards] (SCNuPTR): Likewise.
31474         [C99-based-standards] (SCNxPTR): Likewise.
31475         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31476         allow.
31477         * conform/data/stdint.h-data: Update comments to clarify
31478         requirements.
31479         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31480         type.
31481         [C99-based standards] (INT8_MAX): Likewise.
31482         [C99-based standards] (INT16_MIN): Likewise.
31483         [C99-based standards] (INT16_MAX): Likewise.
31484         [C99-based standards] (INT32_MIN): Likewise.
31485         [C99-based standards] (INT32_MAX): Likewise.
31486         [C99-based standards] (INT64_MIN): Likewise.
31487         [C99-based standards] (INT64_MAX): Likewise.
31488         [C99-based standards] (UINT8_MAX): Likewise.
31489         [C99-based standards] (UINT16_MAX): Likewise.
31490         [C99-based standards] (UINT32_MAX): Likewise.
31491         [C99-based standards] (UINT64_MAX): Likewise.
31492         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31493         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31494         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31495         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31496         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31497         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31498         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31499         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31500         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31501         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31502         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31503         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31504         [C99-based standards] (INT_FAST8_MIN): Likewise.
31505         [C99-based standards] (INT_FAST8_MAX): Likewise.
31506         [C99-based standards] (INT_FAST16_MIN): Likewise.
31507         [C99-based standards] (INT_FAST16_MAX): Likewise.
31508         [C99-based standards] (INT_FAST32_MIN): Likewise.
31509         [C99-based standards] (INT_FAST32_MAX): Likewise.
31510         [C99-based standards] (INT_FAST64_MIN): Likewise.
31511         [C99-based standards] (INT_FAST64_MAX): Likewise.
31512         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31513         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31514         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31515         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31516         [C99-based standards] (INTPTR_MIN): Likewise.
31517         [C99-based standards] (INTPTR_MAX): Likewise.
31518         [C99-based standards] (UINTPTR_MAX): Likewise.
31519         [C99-based standards] (INTMAX_MIN): Likewise.
31520         [C99-based standards] (INTMAX_MAX): Likewise.
31521         [C99-based standards] (UINTMAX_MAX): Likewise.
31522         [C99-based standards] (PTRDIFF_MIN): Likewise.
31523         [C99-based standards] (PTRDIFF_MAX): Likewise.
31524         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31525         [C99-based standards] (SIZE_MAX): Likewise.
31526         [C99-based standards] (WCHAR_MAX): Likewise.
31527         [C99-based standards] (WINT_MAX): Likewise.
31528         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31529         constraint on value.
31530         [C99-based standards] (WCHAR_MIN): Likewise.
31531         [C99-based standards] (WINT_MIN): Likewise.
31532         [C99-based standards] (*_t): Allow.
31533         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31534         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31535         Include math.h-data and complex.h-data.  Remove all expectations
31536         of math.h and complex.h contents.
31537         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31538         at end of line.
31539         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31540         (struct tm): Expect tag.
31541         [C99-based-standards] (wcstof): Expect function.
31542         [C99-based-standards] (wcstold): Likewise.
31543         [C99-based-standards] (wcstoll): Likewise.
31544         [C99-based-standards] (wcstoull): Likewise.
31545         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31546         macro-int-constant.  Specify type.
31547         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31548         constraint on value.
31549         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31550         Specify type.
31551         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31552         Specify value.
31553         [ISO C standards]: Do not allow headers.
31554         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31555         wcs[abcdefghijklmnopqrstuvwxyz]*.
31556         [ISO C standards] (*_t): Do not allow.
31557         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31558         Expect function.
31559         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31560         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31561         Specify type.
31562         [ISO C standards]: Do not allow headers.
31563         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31564         is[abcdefghijklmnopqrstuvwxyz]*.
31565         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31566         to[abcdefghijklmnopqrstuvwxyz]*.
31567         [ISO C standards] (*_t): Do not allow.
31568         * conform/data/stdalign.h-data: New file.
31569         * conform/data/stdbool.h-data: Likewise.
31570         * conform/data/stdnoreturn.h-data: Likewise.
31572 2012-11-07  Roland McGrath  <roland@hack.frob.com>
31574         [BZ #14815]
31575         * manual/filesys.texi (Directory Entries): Typo fix.
31576         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31578 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31580         * elf/elf.h (EM_AARCH64): New macro.
31581         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31582         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31583         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31584         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31585         (R_AARCH64_TLSDESC): Likewise.
31586         (NT_ARM_TLS): Likewise.
31587         (NT_ARM_HW_BREAK): Likewise.
31588         (NT_ARM_HW_WATCH): Likewise.
31590 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31592         [BZ #14811]
31593         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31594         (__ieee754_powl): Saturate nonzero exponents with absolute value
31595         below 0x1p-79 to +/- 0x1p-79.
31596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31597         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31598         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31599         nonzero exponents with absolute value below 0x1p-32 to +/-
31600         0x1p-32.
31601         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31602         (__ieee754_powl): Saturate nonzero exponents with absolute value
31603         below 0x1p-79 to +/- 0x1p-79.
31604         * math/libm-test.inc (pow_test): Add more tests.
31606 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31608         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31609         _dl_s390_cap_flags with kernel. Increase string length.
31610         (_dl_s390_platforms): Add z196 and zEC12.
31612 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31614         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31615         Change XOPEN21K to XOPEN2K.
31617 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
31619         * string/memmove.c: Use memcpy when possible.
31621 2012-11-06  Andreas Jaeger  <aj@suse.de>
31623         * po/eo.po: Update from translation team.
31625 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
31627         [BZ #14793]
31628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31629         exponent and small x and y exponents, scale x or y up.  Increase
31630         by 2 the exponent used in scaling up.
31631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31633         * math/libm-test.inc (fma_test): Add more tests.
31634         (fma_test_towardzero): Likewise.
31635         (fma_test_downward): Likewise.
31636         (fma_test_upward): Likewise.
31638 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31640         [BZ #14805]
31641         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31642         fenv_t *.
31644         [BZ #14801]
31645         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31646         namespace for names of struct fields.
31647         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31648         fenv_t fields.
31649         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31650         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31652 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31654         [BZ #3665]
31655         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31657 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31659         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31660         PTR_DEMANGLE.
31662         [BZ #5246]
31663         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31664         PTR_DEMANGLE.
31666 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31668         [BZ #14797]
31669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31670         definitely overflow as x * y not x * y + z.
31671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31673         * math/libm-test.inc (fma_test): Add more tests.
31674         (fma_test_towardzero): Likewise.
31675         (fma_test_downward): Likewise.
31676         (fma_test_upward): Likewise.
31678 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31680         [BZ #157]
31682         * include/stub-tag.h: Remove file.
31683         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31684         '#include' of it.
31685         * manual/maint.texi (Porting): Don't reference it.
31686         * Makerules ($(objpfx)stubs): Likewise.
31687         * dirent/closedir.c: Don't include <stub-tag.h>.
31688         * dirent/dirfd.c: Likewise.
31689         * dirent/fdopendir.c: Likewise.
31690         * dirent/getdents.c: Likewise.
31691         * dirent/getdents64.c: Likewise.
31692         * dirent/opendir.c: Likewise.
31693         * dirent/readdir.c: Likewise.
31694         * dirent/readdir64.c: Likewise.
31695         * dirent/readdir64_r.c: Likewise.
31696         * dirent/readdir_r.c: Likewise.
31697         * dirent/rewinddir.c: Likewise.
31698         * dirent/seekdir.c: Likewise.
31699         * dirent/telldir.c: Likewise.
31700         * gmon/profil.c: Likewise.
31701         * grp/setgroups.c: Likewise.
31702         * inet/if_index.c: Likewise.
31703         * io/access.c: Likewise.
31704         * io/chdir.c: Likewise.
31705         * io/chmod.c: Likewise.
31706         * io/chown.c: Likewise.
31707         * io/close.c: Likewise.
31708         * io/dup.c: Likewise.
31709         * io/dup2.c: Likewise.
31710         * io/dup3.c: Likewise.
31711         * io/euidaccess.c: Likewise.
31712         * io/faccessat.c: Likewise.
31713         * io/fchdir.c: Likewise.
31714         * io/fchmod.c: Likewise.
31715         * io/fchmodat.c: Likewise.
31716         * io/fchown.c: Likewise.
31717         * io/fchownat.c: Likewise.
31718         * io/fcntl.c: Likewise.
31719         * io/flock.c: Likewise.
31720         * io/fstatfs.c: Likewise.
31721         * io/fstatfs64.c: Likewise.
31722         * io/fstatvfs.c: Likewise.
31723         * io/fstatvfs64.c: Likewise.
31724         * io/futimens.c: Likewise.
31725         * io/fxstat.c: Likewise.
31726         * io/fxstat64.c: Likewise.
31727         * io/fxstatat.c: Likewise.
31728         * io/fxstatat64.c: Likewise.
31729         * io/getcwd.c: Likewise.
31730         * io/isatty.c: Likewise.
31731         * io/lchmod.c: Likewise.
31732         * io/lchown.c: Likewise.
31733         * io/link.c: Likewise.
31734         * io/linkat.c: Likewise.
31735         * io/lseek.c: Likewise.
31736         * io/lseek64.c: Likewise.
31737         * io/lxstat64.c: Likewise.
31738         * io/mkdir.c: Likewise.
31739         * io/mkdirat.c: Likewise.
31740         * io/mkfifo.c: Likewise.
31741         * io/mkfifoat.c: Likewise.
31742         * io/open.c: Likewise.
31743         * io/open64.c: Likewise.
31744         * io/openat.c: Likewise.
31745         * io/openat64.c: Likewise.
31746         * io/pipe.c: Likewise.
31747         * io/pipe2.c: Likewise.
31748         * io/poll.c: Likewise.
31749         * io/posix_fadvise.c: Likewise.
31750         * io/posix_fadvise64.c: Likewise.
31751         * io/posix_fallocate.c: Likewise.
31752         * io/posix_fallocate64.c: Likewise.
31753         * io/read.c: Likewise.
31754         * io/readlink.c: Likewise.
31755         * io/readlinkat.c: Likewise.
31756         * io/rmdir.c: Likewise.
31757         * io/sendfile.c: Likewise.
31758         * io/sendfile64.c: Likewise.
31759         * io/statfs.c: Likewise.
31760         * io/statfs64.c: Likewise.
31761         * io/statvfs.c: Likewise.
31762         * io/statvfs64.c: Likewise.
31763         * io/symlink.c: Likewise.
31764         * io/symlinkat.c: Likewise.
31765         * io/ttyname.c: Likewise.
31766         * io/ttyname_r.c: Likewise.
31767         * io/umask.c: Likewise.
31768         * io/unlink.c: Likewise.
31769         * io/unlinkat.c: Likewise.
31770         * io/utime.c: Likewise.
31771         * io/utimensat.c: Likewise.
31772         * io/write.c: Likewise.
31773         * io/xmknod.c: Likewise.
31774         * io/xmknodat.c: Likewise.
31775         * io/xstat.c: Likewise.
31776         * io/xstat64.c: Likewise.
31777         * login/getpt.c: Likewise.
31778         * login/grantpt.c: Likewise.
31779         * login/unlockpt.c: Likewise.
31780         * math/e_acoshl.c: Likewise.
31781         * math/e_acosl.c: Likewise.
31782         * math/e_asinl.c: Likewise.
31783         * math/e_atan2l.c: Likewise.
31784         * math/e_atanhl.c: Likewise.
31785         * math/e_coshl.c: Likewise.
31786         * math/e_expl.c: Likewise.
31787         * math/e_fmodl.c: Likewise.
31788         * math/e_gammal_r.c: Likewise.
31789         * math/e_hypotl.c: Likewise.
31790         * math/e_j0l.c: Likewise.
31791         * math/e_j1l.c: Likewise.
31792         * math/e_jnl.c: Likewise.
31793         * math/e_lgammal_r.c: Likewise.
31794         * math/e_log10l.c: Likewise.
31795         * math/e_log2l.c: Likewise.
31796         * math/e_logl.c: Likewise.
31797         * math/e_powl.c: Likewise.
31798         * math/e_rem_pio2l.c: Likewise.
31799         * math/e_sinhl.c: Likewise.
31800         * math/e_sqrtl.c: Likewise.
31801         * math/fclrexcpt.c: Likewise.
31802         * math/fedisblxcpt.c: Likewise.
31803         * math/feenablxcpt.c: Likewise.
31804         * math/fegetenv.c: Likewise.
31805         * math/fegetexcept.c: Likewise.
31806         * math/fegetround.c: Likewise.
31807         * math/feholdexcpt.c: Likewise.
31808         * math/fesetenv.c: Likewise.
31809         * math/fesetround.c: Likewise.
31810         * math/feupdateenv.c: Likewise.
31811         * math/fgetexcptflg.c: Likewise.
31812         * math/fraiseexcpt.c: Likewise.
31813         * math/fsetexcptflg.c: Likewise.
31814         * math/ftestexcept.c: Likewise.
31815         * math/k_cosl.c: Likewise.
31816         * math/k_rem_pio2l.c: Likewise.
31817         * math/k_sinl.c: Likewise.
31818         * math/k_tanl.c: Likewise.
31819         * math/s_asinhl.c: Likewise.
31820         * math/s_atanl.c: Likewise.
31821         * math/s_cbrtl.c: Likewise.
31822         * math/s_erfl.c: Likewise.
31823         * math/s_expm1l.c: Likewise.
31824         * math/s_log1pl.c: Likewise.
31825         * math/s_tanhl.c: Likewise.
31826         * misc/acct.c: Likewise.
31827         * misc/brk.c: Likewise.
31828         * misc/chflags.c: Likewise.
31829         * misc/chroot.c: Likewise.
31830         * misc/fchflags.c: Likewise.
31831         * misc/fgetxattr.c: Likewise.
31832         * misc/flistxattr.c: Likewise.
31833         * misc/fremovexattr.c: Likewise.
31834         * misc/fsetxattr.c: Likewise.
31835         * misc/fsync.c: Likewise.
31836         * misc/ftruncate.c: Likewise.
31837         * misc/futimes.c: Likewise.
31838         * misc/futimesat.c: Likewise.
31839         * misc/getdomain.c: Likewise.
31840         * misc/getdtsz.c: Likewise.
31841         * misc/gethostid.c: Likewise.
31842         * misc/gethostname.c: Likewise.
31843         * misc/getloadavg.c: Likewise.
31844         * misc/getpagesize.c: Likewise.
31845         * misc/getsysstats.c: Likewise.
31846         * misc/getxattr.c: Likewise.
31847         * misc/gtty.c: Likewise.
31848         * misc/ioctl.c: Likewise.
31849         * misc/lgetxattr.c: Likewise.
31850         * misc/listxattr.c: Likewise.
31851         * misc/llistxattr.c: Likewise.
31852         * misc/lremovexattr.c: Likewise.
31853         * misc/lsetxattr.c: Likewise.
31854         * misc/lutimes.c: Likewise.
31855         * misc/madvise.c: Likewise.
31856         * misc/mincore.c: Likewise.
31857         * misc/mlock.c: Likewise.
31858         * misc/mlockall.c: Likewise.
31859         * misc/mmap.c: Likewise.
31860         * misc/mprotect.c: Likewise.
31861         * misc/msync.c: Likewise.
31862         * misc/munlock.c: Likewise.
31863         * misc/munlockall.c: Likewise.
31864         * misc/munmap.c: Likewise.
31865         * misc/preadv.c: Likewise.
31866         * misc/preadv64.c: Likewise.
31867         * misc/ptrace.c: Likewise.
31868         * misc/pwritev.c: Likewise.
31869         * misc/pwritev64.c: Likewise.
31870         * misc/readv.c: Likewise.
31871         * misc/reboot.c: Likewise.
31872         * misc/remap_file_pages.c: Likewise.
31873         * misc/removexattr.c: Likewise.
31874         * misc/revoke.c: Likewise.
31875         * misc/select.c: Likewise.
31876         * misc/setdomain.c: Likewise.
31877         * misc/setegid.c: Likewise.
31878         * misc/seteuid.c: Likewise.
31879         * misc/sethostid.c: Likewise.
31880         * misc/sethostname.c: Likewise.
31881         * misc/setregid.c: Likewise.
31882         * misc/setreuid.c: Likewise.
31883         * misc/setxattr.c: Likewise.
31884         * misc/sstk.c: Likewise.
31885         * misc/stty.c: Likewise.
31886         * misc/swapoff.c: Likewise.
31887         * misc/swapon.c: Likewise.
31888         * misc/sync.c: Likewise.
31889         * misc/syncfs.c: Likewise.
31890         * misc/syscall.c: Likewise.
31891         * misc/truncate.c: Likewise.
31892         * misc/ualarm.c: Likewise.
31893         * misc/usleep.c: Likewise.
31894         * misc/ustat.c: Likewise.
31895         * misc/utimes.c: Likewise.
31896         * misc/vhangup.c: Likewise.
31897         * misc/writev.c: Likewise.
31898         * posix/_exit.c: Likewise.
31899         * posix/alarm.c: Likewise.
31900         * posix/execve.c: Likewise.
31901         * posix/fexecve.c: Likewise.
31902         * posix/fork.c: Likewise.
31903         * posix/fpathconf.c: Likewise.
31904         * posix/getaddrinfo.c: Likewise.
31905         * posix/getegid.c: Likewise.
31906         * posix/geteuid.c: Likewise.
31907         * posix/getgid.c: Likewise.
31908         * posix/getgroups.c: Likewise.
31909         * posix/getlogin.c: Likewise.
31910         * posix/getlogin_r.c: Likewise.
31911         * posix/getpgid.c: Likewise.
31912         * posix/getpid.c: Likewise.
31913         * posix/getppid.c: Likewise.
31914         * posix/getresgid.c: Likewise.
31915         * posix/getresuid.c: Likewise.
31916         * posix/getsid.c: Likewise.
31917         * posix/getuid.c: Likewise.
31918         * posix/glob64.c: Likewise.
31919         * posix/nanosleep.c: Likewise.
31920         * posix/pathconf.c: Likewise.
31921         * posix/pause.c: Likewise.
31922         * posix/posix_madvise.c: Likewise.
31923         * posix/pread.c: Likewise.
31924         * posix/pread64.c: Likewise.
31925         * posix/pwrite.c: Likewise.
31926         * posix/pwrite64.c: Likewise.
31927         * posix/sched_getaffinity.c: Likewise.
31928         * posix/sched_getp.c: Likewise.
31929         * posix/sched_gets.c: Likewise.
31930         * posix/sched_primax.c: Likewise.
31931         * posix/sched_primin.c: Likewise.
31932         * posix/sched_rr_gi.c: Likewise.
31933         * posix/sched_setaffinity.c: Likewise.
31934         * posix/sched_setp.c: Likewise.
31935         * posix/sched_sets.c: Likewise.
31936         * posix/sched_yield.c: Likewise.
31937         * posix/setgid.c: Likewise.
31938         * posix/setlogin.c: Likewise.
31939         * posix/setpgid.c: Likewise.
31940         * posix/setresgid.c: Likewise.
31941         * posix/setresuid.c: Likewise.
31942         * posix/setsid.c: Likewise.
31943         * posix/setuid.c: Likewise.
31944         * posix/sleep.c: Likewise.
31945         * posix/spawni.c: Likewise.
31946         * posix/sysconf.c: Likewise.
31947         * posix/times.c: Likewise.
31948         * posix/wait.c: Likewise.
31949         * posix/wait3.c: Likewise.
31950         * posix/wait4.c: Likewise.
31951         * posix/waitpid.c: Likewise.
31952         * resolv/gai_sigqueue.c: Likewise.
31953         * resource/getpriority.c: Likewise.
31954         * resource/getrlimit.c: Likewise.
31955         * resource/getrusage.c: Likewise.
31956         * resource/nice.c: Likewise.
31957         * resource/setpriority.c: Likewise.
31958         * resource/setrlimit.c: Likewise.
31959         * resource/ulimit.c: Likewise.
31960         * rt/aio_cancel.c: Likewise.
31961         * rt/aio_fsync.c: Likewise.
31962         * rt/aio_read.c: Likewise.
31963         * rt/aio_sigqueue.c: Likewise.
31964         * rt/aio_suspend.c: Likewise.
31965         * rt/aio_write.c: Likewise.
31966         * rt/clock_getres.c: Likewise.
31967         * rt/clock_gettime.c: Likewise.
31968         * rt/clock_nanosleep.c: Likewise.
31969         * rt/clock_settime.c: Likewise.
31970         * rt/lio_listio.c: Likewise.
31971         * rt/mq_close.c: Likewise.
31972         * rt/mq_getattr.c: Likewise.
31973         * rt/mq_notify.c: Likewise.
31974         * rt/mq_open.c: Likewise.
31975         * rt/mq_receive.c: Likewise.
31976         * rt/mq_send.c: Likewise.
31977         * rt/mq_setattr.c: Likewise.
31978         * rt/mq_timedreceive.c: Likewise.
31979         * rt/mq_timedsend.c: Likewise.
31980         * rt/mq_unlink.c: Likewise.
31981         * rt/shm_open.c: Likewise.
31982         * rt/shm_unlink.c: Likewise.
31983         * rt/timer_create.c: Likewise.
31984         * rt/timer_delete.c: Likewise.
31985         * rt/timer_getoverr.c: Likewise.
31986         * rt/timer_gettime.c: Likewise.
31987         * rt/timer_settime.c: Likewise.
31988         * setjmp/__longjmp.c: Likewise.
31989         * setjmp/setjmp.c: Likewise.
31990         * signal/kill.c: Likewise.
31991         * signal/killpg.c: Likewise.
31992         * signal/raise.c: Likewise.
31993         * signal/sigaction.c: Likewise.
31994         * signal/sigaltstack.c: Likewise.
31995         * signal/sigblock.c: Likewise.
31996         * signal/sigignore.c: Likewise.
31997         * signal/sigintr.c: Likewise.
31998         * signal/signal.c: Likewise.
31999         * signal/sigpause.c: Likewise.
32000         * signal/sigpending.c: Likewise.
32001         * signal/sigqueue.c: Likewise.
32002         * signal/sigreturn.c: Likewise.
32003         * signal/sigset.c: Likewise.
32004         * signal/sigsetmask.c: Likewise.
32005         * signal/sigstack.c: Likewise.
32006         * signal/sigsuspend.c: Likewise.
32007         * signal/sigtimedwait.c: Likewise.
32008         * signal/sigvec.c: Likewise.
32009         * signal/sigwait.c: Likewise.
32010         * signal/sigwaitinfo.c: Likewise.
32011         * signal/sysv_signal.c: Likewise.
32012         * socket/accept.c: Likewise.
32013         * socket/accept4.c: Likewise.
32014         * socket/bind.c: Likewise.
32015         * socket/connect.c: Likewise.
32016         * socket/getpeername.c: Likewise.
32017         * socket/getsockname.c: Likewise.
32018         * socket/getsockopt.c: Likewise.
32019         * socket/isfdtype.c: Likewise.
32020         * socket/listen.c: Likewise.
32021         * socket/recv.c: Likewise.
32022         * socket/recvfrom.c: Likewise.
32023         * socket/recvmsg.c: Likewise.
32024         * socket/send.c: Likewise.
32025         * socket/sendmsg.c: Likewise.
32026         * socket/sendto.c: Likewise.
32027         * socket/setsockopt.c: Likewise.
32028         * socket/shutdown.c: Likewise.
32029         * socket/sockatmark.c: Likewise.
32030         * socket/socket.c: Likewise.
32031         * socket/socketpair.c: Likewise.
32032         * stdio-common/ctermid.c: Likewise.
32033         * stdio-common/cuserid.c: Likewise.
32034         * stdio-common/remove.c: Likewise.
32035         * stdio-common/rename.c: Likewise.
32036         * stdio-common/renameat.c: Likewise.
32037         * stdio-common/tempname.c: Likewise.
32038         * stdlib/getcontext.c: Likewise.
32039         * stdlib/makecontext.c: Likewise.
32040         * stdlib/setcontext.c: Likewise.
32041         * stdlib/swapcontext.c: Likewise.
32042         * stdlib/system.c: Likewise.
32043         * streams/fattach.c: Likewise.
32044         * streams/fdetach.c: Likewise.
32045         * streams/getmsg.c: Likewise.
32046         * streams/getpmsg.c: Likewise.
32047         * streams/putmsg.c: Likewise.
32048         * streams/putpmsg.c: Likewise.
32049         * sysdeps/unix/bsd/getpt.c: Likewise.
32050         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32051         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32052         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32054         Likewise.
32055         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32056         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32057         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32058         * sysvipc/msgctl.c: Likewise.
32059         * sysvipc/msgget.c: Likewise.
32060         * sysvipc/msgrcv.c: Likewise.
32061         * sysvipc/msgsnd.c: Likewise.
32062         * sysvipc/semctl.c: Likewise.
32063         * sysvipc/semget.c: Likewise.
32064         * sysvipc/semop.c: Likewise.
32065         * sysvipc/semtimedop.c: Likewise.
32066         * sysvipc/shmat.c: Likewise.
32067         * sysvipc/shmctl.c: Likewise.
32068         * sysvipc/shmdt.c: Likewise.
32069         * sysvipc/shmget.c: Likewise.
32070         * termios/tcdrain.c: Likewise.
32071         * termios/tcflow.c: Likewise.
32072         * termios/tcflush.c: Likewise.
32073         * termios/tcgetattr.c: Likewise.
32074         * termios/tcgetpgrp.c: Likewise.
32075         * termios/tcsendbrk.c: Likewise.
32076         * termios/tcsetattr.c: Likewise.
32077         * termios/tcsetpgrp.c: Likewise.
32078         * time/adjtime.c: Likewise.
32079         * time/clock.c: Likewise.
32080         * time/getitimer.c: Likewise.
32081         * time/gettimeofday.c: Likewise.
32082         * time/setitimer.c: Likewise.
32083         * time/settimeofday.c: Likewise.
32084         * time/stime.c: Likewise.
32085         * time/time.c: Likewise.
32087 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32089         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32090         /usr/old/bin.
32092         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32093         instead of spaces.
32094         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32096 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32098         [BZ #14796]
32099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32100         FE_TONEAREST before applying Dekker multiplication and Knuth
32101         addition.  Clear inexact exceptions and check for exact zero
32102         results afterwards.
32103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32104         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32106         * math/libm-test.inc (fma_test): Add more tests.
32107         (fma_test_towardzero): Likewise.
32108         (fma_test_downward): Likewise.
32109         (fma_test_upward): Likewise.
32110         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32111         function.
32112         (libc_fesetround): New macro.
32113         (libc_fesetroundf): Likewise.
32114         (libc_fesetroundl): Likewise.
32115         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32116         function.
32117         (libc_fesetround_387): Likewise.
32118         (libc_fesetroundf): New macro.
32119         (libc_fesetround): Likewise.
32120         (libc_fesetroundl): Likewise.
32121         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32122         function.
32123         (libc_fesetroundf): New macro.
32124         (libc_fesetround): Likewise.
32125         (libc_fesetroundl): Likewise.
32126         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32127         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32128         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32129         libm_hidden_ver.
32130         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32131         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32132         libm_hidden_def.
32133         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32134         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32135         libm_hidden_ver.
32136         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32137         libm_hidden_def.
32139         [BZ #3439]
32140         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32141         integer constant usable in #if and use that to give value to enum
32142         constant.
32143         (FE_DIVBYZERO): Likewise.
32144         (FE_UNDERFLOW): Likewise.
32145         (FE_OVERFLOW): Likewise.
32146         (FE_INVALID): Likewise.
32147         (FE_INVALID_SNAN): Likewise.
32148         (FE_INVALID_ISI): Likewise.
32149         (FE_INVALID_IDI): Likewise.
32150         (FE_INVALID_ZDZ): Likewise.
32151         (FE_INVALID_IMZ): Likewise.
32152         (FE_INVALID_COMPARE): Likewise.
32153         (FE_INVALID_SOFTWARE): Likewise.
32154         (FE_INVALID_SQRT): Likewise.
32155         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32156         (FE_TONEAREST): Likewise.
32157         (FE_TOWARDZERO): Likewise.
32158         (FE_UPWARD): Likewise.
32159         (FE_DOWNWARD): Likewise.
32160         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32161         (FE_DIVBYZERO): Likewise.
32162         (FE_OVERFLOW): Likewise.
32163         (FE_UNDERFLOW): Likewise.
32164         (FE_INEXACT): Likewise.
32165         (FE_TONEAREST): Likewise.
32166         (FE_DOWNWARD): Likewise.
32167         (FE_UPWARD): Likewise.
32168         (FE_TOWARDZERO): Likewise.
32169         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32170         (FE_UNDERFLOW): Likewise.
32171         (FE_OVERFLOW): Likewise.
32172         (FE_DIVBYZERO): Likewise.
32173         (FE_INVALID): Likewise.
32174         (FE_TONEAREST): Likewise.
32175         (FE_TOWARDZERO): Likewise.
32176         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32177         (FE_OVERFLOW): Likewise.
32178         (FE_UNDERFLOW): Likewise.
32179         (FE_DIVBYZERO): Likewise.
32180         (FE_INEXACT): Likewise.
32181         (FE_TONEAREST): Likewise.
32182         (FE_TOWARDZERO): Likewise.
32183         (FE_UPWARD): Likewise.
32184         (FE_DOWNWARD): Likewise.
32185         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32186         (FE_DIVBYZERO): Likewise.
32187         (FE_OVERFLOW): Likewise.
32188         (FE_UNDERFLOW): Likewise.
32189         (FE_INEXACT): Likewise.
32190         (FE_TONEAREST): Likewise.
32191         (FE_DOWNWARD): Likewise.
32192         (FE_UPWARD): Likewise.
32193         (FE_TOWARDZERO): Likewise.
32195 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32197         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32199 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32201         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32202         commands.  Quote $PWD.
32203         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32204         -x" by "export".
32205         (remove_newlines): Remove.
32207 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32209         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32210         * stdlib/stdlib.h (atof): Moved to ...
32211         * include/bits/stdlib-float.h: Here.  New file.
32212         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32213         * stdlib/bits/stdlib-float.h: New file.
32214         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32215         -mno-sse -mno-mmx.
32216         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32217         <xmmintrin.h>.
32219 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32221         * conform/conformtest.pl (@headers): Add fenv.h.
32222         * conform/data/fenv.h-data: New file.
32223         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32224         include of <math/fenv.h>.
32226         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32227         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32228         && !UNIX98].  Enables tests for XOPEN2K8.
32229         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32230         POSIX2008]: Likewise.
32232         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32233         (struct rusage): Do not expect type or its members.
32235         [BZ #3439]
32236         * math/math.h (FP_NAN): Define macro to integer constant usable in
32237         #if and use that to give value to enum constant.
32238         (FP_INFINITE): Likewise.
32239         (FP_ZERO): Likewise.
32240         (FP_SUBNORMAL): Likewise.
32241         (FP_NORMAL): Likewise.
32243 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32245         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32246         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32247         arguments.
32249 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32251         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32252         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32253         autoconf-time if not.
32254         * configure.in: Remove AC_PREREQ.
32256 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32258         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32259         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32260         of the internal implementation.
32262 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32264         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32265         except include of <misc/sys/syslog.h>.
32267 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32270         function returns with a NULL context exit with zero.
32272 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32274         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32276 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32278         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32279         (run_program_cmd): This.
32280         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32281         (tst_langinfo): New variable.  Use it.
32283 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32285         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32286         floating point opcodes.
32288 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32290         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32291         variable.
32293         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32295         * sysdeps/mach/hurd/powerpc: Remove directory.
32296         * sysdeps/mach/powerpc: Likewise.
32298 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32300         * scripts/check-local-headers.sh: Ignore c++ headers.
32302 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32304         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32305         __libc_cleanup_region_start argument.
32307 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32309         [BZ #14784]
32310         [BZ #14785]
32311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32312         x * y using scaling, not as x * y + z.
32313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32315         * math/libm-test.inc (fma_test): Add more tests.
32316         (fma_test_towardzero): Likewise.
32317         (fma_test_downward): Likewise.
32318         (fma_test_upward): Likewise.
32320 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32322         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32324 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32326         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32327         New variable.
32329 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32331         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32333 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32336         Fix sort order.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32338         Likewise.
32340 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32343         Fix the order of the list for glibc 2.17.
32344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32345         Likewise.
32347 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32351 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32353         [BZ #14610]
32354         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32355         for low part of x being zero before using __atanl (y).
32356         * math/libm-test.inc (atan2_test): Add another test.
32358         * manual/install.texi (Configuring and compiling): Document
32359         general use of test-wrapper and test-wrapper-env.
32360         * INSTALL: Regenerated.
32362         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32363         (__fma): Do not extract and scale down low bits on after-rounding
32364         systems when result rounded to normal precision would have normal
32365         exponent.
32366         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32367         (__fmal): Do not extract and scale down low bits on after-rounding
32368         systems when result rounded to normal precision would have normal
32369         exponent.
32370         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32371         (__fmal): Do not extract and scale down low bits on after-rounding
32372         systems when result rounded to normal precision would have normal
32373         exponent.
32374         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32375         macro.
32376         (fma_test): Add more tests.
32377         (fma_test_towardzero): Likewise.
32378         (fma_test_downward): Likewise.
32379         (fma_test_upward): Likewise.
32381 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32383         * sysdeps/i386/tininess.h: Renamed to ...
32384         * sysdeps/x86/tininess.h: This.
32385         * sysdeps/x86_64/tininess.h: Removed.
32387 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32389         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32390         input.  Use $(build-program-cmd).
32391         ($(objpfx)tst-array1-static.out): Likewise.
32392         ($(objpfx)tst-array2.out): Likewise.
32393         ($(objpfx)tst-array3.out): Likewise.
32394         ($(objpfx)tst-array4.out): Likewise.
32395         ($(objpfx)tst-array5.out): Likewise.
32396         ($(objpfx)tst-array5-static.out): Likewise.
32398 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32400         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32401         if defined.
32403         * nss/nsswitch.h (nss_interface_function): Provide new
32404         macro for use with NSS functions.
32405         * grp/initgroups.c: Use new macro.
32406         * nss/getXXbyYY.c: Likewise.
32407         * nss/getXXbyYY_r.c: Likewise.
32408         * nss/getXXent.c: Likewise.
32409         * nss/getXXent_r.c: Likewise.
32410         * sysdeps/posix/getaddrinfo.c: Likewise.
32412 2012-10-30  Andreas Jaeger  <aj@suse.de>
32414         * po/ru.po: Update Russion translation from translation project.
32416 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32418         [BZ #14152]
32419         [BZ #14783]
32420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32421         result and shift together with sticky bit instead of replicating
32422         round-to-nearest rounding.
32423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32425         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32426         missing underflow exceptions.
32427         (fma_test_towardzero): Add more tests.
32428         (fma_test_downward): Likewise.
32429         (fma_test_upward): Likewise.
32431         [BZ #14047]
32432         * sysdeps/generic/tininess.h: New file.
32433         * sysdeps/i386/tininess.h: Likewise.
32434         * sysdeps/sh/tininess.h: Likewise.
32435         * sysdeps/x86_64/tininess.h: Likewise.
32436         * stdlib/tst-strtod-underflow.c: Likewise.
32437         * stdlib/tst-tininess.c: Likewise.
32438         * stdlib/strtod_l.c: Include <tininess.h>.
32439         (round_and_return): Do not set errno for exact underflow cases.
32440         Force an underflow exception when setting errno for underflow.
32441         Determine underflow based on rounding to normal precision if
32442         TININESS_AFTER_ROUNDING.
32443         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32444         ERANGE for exact underflow cases.
32445         * stdlib/Makefile (tests): Add tst-tininess and
32446         tst-strtod-underflow.
32447         ($(objpfx)tst-tininess): Use $(link-libm).
32448         ($(objpfx)tst-strtod-underflow): Likewise.
32450 2012-10-30  Andreas Jaeger  <aj@suse.de>
32452         [BZ#14767]
32453         * elf/Makefile (tests): Remove conditional for have-initfini-array
32454         since this is now always required and the variable does not exist
32455         anymore.
32456         (tests-static): Likewise.
32457         (modules-names): Likewise.
32459         * po/eo.po: Add Esperanto translation from translation project.
32461         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32462         merged with constructor/destructor.
32463         (init_array): Likewise.
32464         * elf/tst-array2dep.c (fini_array): Likewise.
32465         (init_array): Likewise.
32467 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32469         * manual/message.texi: Delete @cartouche tags.
32471 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32473         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32474         EOPNOTSUPP.
32475         * sysdeps/mach/hurd/fsync.c: Likewise.
32477         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32478         [_POSIX_REALTIME_SIGNALS]: Change condition to
32479         [_POSIX_REALTIME_SIGNALS > 0].
32481 2012-10-27  Andreas Jaeger  <aj@suse.de>
32483         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32484         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32485         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32486         [__WORDSIZE != 64]: Likewise.
32488 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32490         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32491         *  iconvdata/tst-tables.sh: Likewise.
32493 2012-10-25  David S. Miller  <davem@davemloft.net>
32495         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32496         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32497         of strtoull.
32499         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32500         ifunc-impl-list.c
32501         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32502         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32503         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32504         file.
32506 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32509         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32510         __getdirentries.
32512 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32513             Jim Blandy  <jimb@codesourcery.com>
32515         * scripts/cross-test-ssh.sh: New file.
32516         * manual/install.texi (Configuring and compiling): Document use of
32517         cross-test-ssh.sh.
32518         * INSTALL: Regenerated.
32520 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32522         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32523         EOPNOTSUPP.
32525 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32527         * Makeconfig (run-program-prefix): Fix comment.
32529 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32530             Jim Blandy  <jimb@codesourcery.com>
32532         * Makeconfig (test-wrapper): New variable,
32533         (test-wrapper-env): Likewise.
32534         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32535         (run-built-tests): Define to yes.
32536         (run-program-prefix): Use $(test-wrapper).
32537         (built-program-cmd): Likewise.
32538         * Rules (make-test-out): Use $(test-wrapper-env) and
32539         $(host-built-program-cmd).
32540         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32541         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32542         tst-pathopt.sh.
32543         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32544         $(test-wrapper-env) to tst-rtld-load-self.sh.
32545         ($(objpfx)order2.out): Use $(test-wrapper).
32546         ($(objpfx)tst-initorder.out): Likewise.
32547         ($(objpfx)tst-initorder2.out): Likewise.
32548         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32549         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32550         (test_wrapper_env): New variable.  Use it to run ld.so.
32551         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32552         Use it to run ld.so.
32553         (test_wrapper_env): Likewise.
32554         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32555         $(test-wrapper) to run-iconv-test.sh.
32556         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32557         (ICONV): Use $test_wrapper.
32558         * posix/Makefile ($(objpfx)globtest.out): Pass
32559         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32560         globtest.sh, not $(run-program-prefix).
32561         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32562         (test_wrapper): Likewise.
32563         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32564         set together with run_via_rtld_prefix.
32565         (run_program_prefix): Define in terms of test_wrapper and
32566         run_via_rtld_prefix.
32568 2012-10-24  Roland McGrath  <roland@hack.frob.com>
32570         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32571         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32572         Targets removed.
32574         [BZ #14743]
32575         * include/time.h: Remove librt_hidden_proto (clock_gettime).
32576         Declare __clock_getres, __clock_gettime, __clock_settime,
32577         __clock_nanosleep, and __clock_getcpuclockid.
32578         * rt/clock_gettime.c: Define __clock_gettime as an alias.
32579         Remove librt_hidden_def (clock_gettime).
32580         * sysdeps/unix/clock_gettime.c: Likewise.
32581         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32582         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32583         * rt/clock_getres.c: Define __clock_getres as an alias.
32584         * sysdeps/posix/clock_getres.c: Likewise.
32585         * rt/clock_settime.c: Define __clock_settime as an alias.
32586         * sysdeps/unix/clock_settime.c: Likewise.
32587         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32588         * sysdeps/unix/clock_nanosleep.c: Likewise.
32589         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32590         * rt/clock-compat.c: New file.
32591         * rt/Makefile (librt-routines): Add clock-compat and move
32592         $(clock-routines) to ...
32593         (routines): ... here, new variable.
32594         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32595         Don't add get_clockfreq here.
32596         * rt/Versions (libc: GLIBC_2.17): New version set.
32597         Add clock_* symbols here.
32598         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
32599         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32600         (GLIBC_2.17): Add clock_* symbols.
32601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32605         Likewise.
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32607         Likewise.
32608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32612         * NEWS: Mention the move.
32614         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32615         Use __open, __read, __close rather than their public counterparts.
32616         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32617         (__get_clockfreq_via_cpuinfo): Likewise.
32618         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32619         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32621         * config.h.in (HAVE_IFUNC): New #undef.
32622         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32623         was successful.
32624         * configure: Regenerated.
32626 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32628         * configure.in: Move READELF check to start of file.
32629         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32630         libc_cv_asm_gnu_indirect_function in the process.
32631         * configure: Regenerated.
32633 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32635         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32636         send the output to /dev/null.
32637         (libc_cv_cc_with_libunwind): Likewise.
32638         (libc_cv_as_noexecstack): Likewise.
32639         * configure: Regenerate.
32641 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32643         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32645         * posix/globtest.sh (TMPDIR): Do not set.
32646         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32647         (testout): Likewise.
32649 2012-10-24  Andreas Jaeger  <aj@suse.de>
32651         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32652         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32653         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32654         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32655         posix_fadvise64, posix_fallocate64.
32657         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32658         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32659         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32660         Likewise.
32661         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32662         Likewise.
32663         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32665         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32666         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32667         <bits/fcntl-linux.h>.
32668         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32671         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32672         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32673         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32674         [__WORDSIZE != 64]: Likewise.
32676 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32678         * Makeconfig (run-built-tests): New variable.
32679         * Rules [$(cross-compiling) = yes]: Change condition to
32680         [$(run-built-tests) = no].
32681         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32682         to [$(run-built-tests) = yes].
32683         * elf/Makefile [$(cross-compiling) = no]: Likewise
32684         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32685         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32686         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32687         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32688         * io/Makefile [$(cross-compiling) = no]: Likewise.
32689         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32690         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32691         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32692         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32693         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32694         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32695         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32696         * string/Makefile [$(cross-compiling) = no]: Likewise.
32698         * posix/Makefile ($(objpfx)globtest.out): Pass
32699         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32700         $(rtld-installed-name).
32701         * posix/globtest.sh (elf_objpfx): Remove variable.
32702         (rtld_installed_name): Likewise.
32703         (library_path): Likewise.
32704         (run_program_prefix): New variable.  Use for running globtest
32705         binary.
32707 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32708             Joseph Myers  <joseph@codesourcery.com>
32710         * Makeconfig (host-built-program-cmd): New variable.
32711         * elf/Makefile (tst-stackguard1-ARGS): Use
32712         $(host-built-program-cmd).
32713         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32714         (tst-spawn-ARGS): Likewise.
32715         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32717 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32718             Jim Blandy  <jimb@codesourcery.com>
32720         * Makeconfig (run-via-rtld-prefix): New variable.
32721         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32722         (built-program-cmd): Likewise.
32724 2012-10-22  Andreas Jaeger  <aj@suse.de>
32726         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32727         __O_RSYNC if it exists, otherwise to O_SYNC.
32729 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32730             Joseph Myers  <joseph@codesourcery.com>
32732         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32733         /dev/null.
32734         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32735         from /dev/null
32736         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32737         /dev/null.
32739 2012-10-22  Andreas Jaeger  <aj@suse.de>
32741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32742         Define always.
32743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32746         bits/fcntl-linux.h.
32748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32749         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32752         to __O_LARGEFILE.
32753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32754         to __O_LARGEFILE.
32756 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32757             Joseph Myers  <joseph@codesourcery.com>
32759         * config.make.in (NM): New variable.
32761 2012-10-21  Andreas Jaeger  <aj@suse.de>
32763         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32764         definitions and declarations that are provided by
32765         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32767 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32769         [BZ #14683]
32770         * elf/Makefile (tests-static): Add tst-leaks1-static.
32771         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32772         ($(objpfx)tst-leaks1-static): New rule.
32773         ($(objpfx)tst-leaks1-static-mem): Likewise.
32774         (tst-leaks1-static-ENV): New macro.
32775         * elf/dl-open.c (dl_open_worker): Check the main application
32776         only if SHARED is defined.
32777         * elf/tst-leaks1-static.c: New file.
32779 2012-10-20  Andreas Jaeger  <aj@suse.de>
32781         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32782         generic values for Linux.
32783         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32784         and declarations that are provided by <bits/fcntl-linux.h> and
32785         include <bits/fcntl-linux.h>.
32786         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32789 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32791         * io/fcntl.h: Move include of <bits/types.h> to the top and
32792         include it unconditionally.
32794 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32796         * wcsmbs/Makefile (tests-ifunc): New variable.
32797         (tests): Add $(tests-ifunc).
32798         * wcsmbs/test-wcschr-ifunc.c: New file.
32799         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32800         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32801         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32802         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32803         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32805         * string/Makefile (tests-ifunc): New variable.
32806         (tests): Add $(tests-ifunc).
32807         * string/test-memccpy.c (TEST_NAME): New macro.
32808         * string/test-memchr.c (TEST_NAME): Likewise.
32809         * string/test-memcmp.c (TEST_NAME): Likewise.
32810         * string/test-memcpy.c (TEST_NAME): Likewise.
32811         * string/test-memmem.c (TEST_NAME): Likewise.
32812         * string/test-memmove.c (TEST_NAME): Likewise.
32813         * string/test-memset.c (TEST_NAME): Likewise.
32814         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32815         * string/test-stpcpy.c (TEST_NAME): Likewise.
32816         * string/test-stpncpy.c (TEST_NAME): Likewise.
32817         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32818         * string/test-strcasestr.c (TEST_NAME): Likewise.
32819         * string/test-strcat.c (TEST_NAME): Likewise.
32820         * string/test-strchr.c (TEST_NAME): Likewise.
32821         * string/test-strcmp.c(TEST_NAME): Likewise.
32822         * string/test-strcpy.c (TEST_NAME): Likewise.
32823         * string/test-strcspn.c (TEST_NAME): Likewise.
32824         * string/test-strlen.c (TEST_NAME): Likewise.
32825         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32826         * string/test-strncmp.c (TEST_NAME): Likewise.
32827         * string/test-strncpy.c (TEST_NAME): Likewise.
32828         * string/test-strnlen.c (TEST_NAME): Likewise.
32829         * string/test-strpbrk.c (TEST_NAME): Likewise.
32830         * string/test-strrchr.c (TEST_NAME): Likewise.
32831         * string/test-strspn.c (TEST_NAME): Likewise.
32832         * string/test-strstr.c (TEST_NAME): Likewise.
32833         * string/test-bcopy-ifunc.c: New file.
32834         * string/test-bzero-ifunc.c: Likewise.
32835         * string/test-memccpy-ifunc.c: Likewise.
32836         * string/test-memchr-ifunc.c: Likewise.
32837         * string/test-memcmp-ifunc.c: Likewise.
32838         * string/test-memcpy-ifunc.c: Likewise.
32839         * string/test-memmem-ifunc.c: Likewise.
32840         * string/test-memmove-ifunc.c: Likewise.
32841         * string/test-mempcpy-ifunc.c: Likewise.
32842         * string/test-memset-ifunc.c: Likewise.
32843         * string/test-rawmemchr-ifunc.c: Likewise.
32844         * string/test-stpcpy-ifunc.c: Likewise.
32845         * string/test-stpncpy-ifunc.c: Likewise.
32846         * string/test-strcasecmp-ifunc.c: Likewise.
32847         * string/test-strcasestr-ifunc.c: Likewise.
32848         * string/test-strcat-ifunc.c: Likewise.
32849         * string/test-strchr-ifunc.c: Likewise.
32850         * string/test-strchrnul-ifunc.c: Likewise.
32851         * string/test-strcmp-ifunc.c: Likewise.
32852         * string/test-strcpy-ifunc.c: Likewise.
32853         * string/test-strcspn-ifunc.c: Likewise.
32854         * string/test-strlen-ifunc.c: Likewise.
32855         * string/test-strncasecmp-ifunc.c: Likewise.
32856         * string/test-strncat-ifunc.c: Likewise.
32857         * string/test-strncmp-ifunc.c: Likewise.
32858         * string/test-strncpy-ifunc.c: Likewise.
32859         * string/test-strnlen-ifunc.c: Likewise.
32860         * string/test-strpbrk-ifunc.c: Likewise.
32861         * string/test-strrchr-ifunc.c: Likewise.
32862         * string/test-strspn-ifunc.c: Likewise.
32863         * string/test-strstr-ifunc.c: Likewise.
32865         * debug/Makefile (tests-ifunc): New variable.
32866         (tests): Add $(tests-ifunc).
32867         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32868         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32869         * debug/test-stpcpy_chk-ifunc.c: New file.
32870         * debug/test-strcpy_chk-ifunc.c: Likewise.
32872 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32874         [BZ #13601]
32875         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32876         header is not read in.
32878 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32880         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32881         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32882         directly.  Pass built executable to script as
32883         $(built-program-cmd).
32884         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32885         $testprogram without using LD_LIBRARY_PATH and $ldso.
32887         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32888         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32889         $(rtld-installed-name).
32890         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32891         (rtld_installed_name): Likewise.
32892         (library_path): Likewise.
32893         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32894         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32895         $(run-program-prefix) to tst-tables.sh.
32896         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32897         it to run tst-table-from and tst-table-to.
32898         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32899         Pass it to tst-table.sh.
32900         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32901         $(run-program-prefix) to tst-gettext.sh.
32902         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32903         tst-translit.sh.
32904         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32905         tst-gettext2.sh.
32906         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32907         to run tst-gettext.
32908         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32909         to run tst-gettext2.
32910         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32911         to run tst-translit.
32912         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32913         $(run-program-prefix) to tst-mtrace.sh.
32914         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32915         to run tst-mtrace.
32916         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32917         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32918         $(rtld-installed-name).
32919         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32920         (rtld_installed_name): Likewise.
32921         (run_program_prefix): New variable.  Use it to run wordexp-test.
32923         * Makeconfig (ARCH): Remove all definitions.
32924         (machine): Likewise.
32925         [ARCH]: Remove conditional code.
32926         [!objdir]: Give error.
32927         [!objdir] (objpfx): Remove.
32928         [!objdir] (common-objpfx): Likewise.
32929         [!objdir] (common-objdir): Likewise.
32930         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32931         AC_CONFIG_FILES call.
32932         * configure: Regenerated.
32934         [BZ #13888]
32935         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32936         or TMPDIR.
32937         (testout): Likewise.
32939         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32940         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32941         $(rtld-installed-name).
32942         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32943         (rtld_installed_name): Likwise.
32944         (runit): Remove function.
32945         (run_getconf): New variable,  Use it for running getconf binary.
32947 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32949         [BZ #14716]
32950         * string/test-memmem.c (check_result): New function.
32951         (do_one_test): Use it.
32952         (check1): New function.
32953         (test_main): Use it.
32955 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32957         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32959 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32961         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32962         (_G_LSEEK64): Likewise.
32963         (_G_MMAP64): Likewise.
32964         (_G_FSTAT64): Likewise.
32965         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32966         (_G_LSEEK64): Likewise.
32967         (_G_MMAP64): Likewise.
32968         (_G_FSTAT64): Likewise.
32969         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32970         unconditional.  Call __mmap64 directly.
32971         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32972         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32973         __lseek64 directly.
32974         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32975         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32976         __mmap64 directly.
32977         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32978         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32979         __lseek64 directly.
32980         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32981         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32982         __lseek64 directly.
32983         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32984         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
32985         __lseek64 directly.
32986         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32987         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
32988         __fxstat64 directly.
32989         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32990         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32991         unconditional.
32992         (freopen64) [!_G_OPEN64]: Remove conditional code.
32993         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32994         unconditional.
32995         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32996         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32997         unconditional.
32998         (ftello64) [!_G_LSEEK64]: Remove conditional code.
32999         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33000         unconditional.
33001         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33002         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33003         unconditional.
33004         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33005         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33006         unconditional.
33007         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33008         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33009         unconditional.
33010         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33011         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33012         unconditional.
33013         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33015 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33017         [BZ #12140]
33018         * manual/memory.texi (Malloc Tunable Parameters): Add note
33019         about free list pointers overwriting some perturb bytes.
33020         Wording suggested by Roland McGrath.
33022 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33024         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33025         (lgamma_test): Likewise.
33026         (tgamma_test): Likewise.
33028 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33030         [BZ #14700]
33031         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33032         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33034 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33036         * NEWS: Mention BZ #14716.
33037         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33038         when removing AVAILABLE1_USES_J macro.
33040 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33042         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33043         (__bswap_64): __uint64_t for unsigned 64-bit int.
33045 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33047         * include/string.h (memmem): Declare libc hidden alias.
33048         * string/memmem.c (memmem): Define libc hidden alias.
33049         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33050         __read, __close instead of open, read, close.
33052 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33055         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33056         global and hidden.
33057         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33058         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33059         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33060         Likewise.
33061         (__rawmemchr_sse2): Likewise.
33062         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33063         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33064         (__strchr_sse2): Likewise.
33065         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33066         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33067         (__strcasecmp_sse2): Likewise.
33068         (__strncasecmp_sse2): Likewise.
33069         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33070         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33071         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33072         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33073         (__strrchr_sse2): Likewise.
33074         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33075         ifunc-impl-list.c.
33076         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33077         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33078         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33079         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33080         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33081         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33082         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33083         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33084         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33085         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33086         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33087         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33088         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33089         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33090         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33091         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33092         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33093         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33094         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33095         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33096         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33097         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33098         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33099         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33100         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33101         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33102         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33103         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33104         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33105         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33107         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33108         global and hidden.
33109         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33110         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33111         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33112         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33113         Likewise.
33114         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33115         Likewise.
33116         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33117         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33118         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33119         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33120         ifunc-impl-list.c.
33121         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33122         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33123         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33124         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33125         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33126         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33127         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33128         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33129         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33130         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33131         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33132         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33133         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33134         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33135         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33136         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33137         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33138         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33139         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33140         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33141         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33142         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33143         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33144         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33145         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33146         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33147         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33148         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33149         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33150         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33151         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33152         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33153         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33154         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33155         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33156         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33157         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33158         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33159         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33160         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33161         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33163         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33164         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33165         * include/ifunc-impl-list.h: New file.
33166         * misc/ifunc-impl-list.c: Likewise.
33167         * misc/Makefile (routines): Add ifunc-impl-list.
33168         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33169         * string/test-string.h: Include <ifunc-impl-list.h>.
33170         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33171         TEST_NAME]: New variables.
33172         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33173         are defined.
33174         (test_init): Call __libc_ifunc_impl_list to initialize
33175         func_list if TEST_IFUNC and TEST_NAME are defined.
33177         * string/Makefile (strop-tests): Add bcopy and bzero.
33178         * string/test-bcopy.c: New file.
33179         * string/test-bzero.c: Likewise.
33180         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33181         defined.
33182         * string/test-memset.c: Support bzero test if TEST_BZERO is
33183         defined.
33184         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33185         __libc_memmove.
33186         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33187         __libc_memset.
33188         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33189         of memset.
33191 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33193         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33194         * configure: Regenerated.
33196         * Makeconfig (+link-static-before-libc): Don't include
33197         $(link-static-libc).
33199         * libio/libio.h (_IO_pos_t): Remove.
33201 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33203         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33204         McGrath.
33206 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33208         * crypt/crypt-entry.c: Include fips-private.h.
33209         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33210         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33211         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33212         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33214 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33216         * crypt/crypt-private.h: Include stdbool.h.
33217         (_ufc_setup_salt_r): Return bool.
33218         * crypt/crypt-entry.c: Include errno.h.
33219         (__crypt_r): Return NULL with EINVAL for bad salt.
33220         * crypt/crypt_util.c (bad_for_salt): New.
33221         (_ufc_setup_salt_r): Check that salt is long enough and within
33222         the specified alphabet.
33223         * crypt/badsalttest.c: New file.
33224         * crypt/Makefile (tests): Add it.
33225         ($(objpfx)badsalttest): New.
33227 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33229         * NEWS: Add entry for BZ #14602.
33231 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33233         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33234         type-generic.
33235         * math/libm-test.inc: Update comment listing what functions and
33236         macros are tested.
33237         (isgreater_test): New function.
33238         (isgreaterequal_test): Likewise.
33239         (isless_test): Likewise.
33240         (islessequal_test): Likewise.
33241         (islessgreater_test): Likewise.
33242         (isunordered_test): Likewise.
33243         (main): Call the new functions.
33245 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33247         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33248         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33249         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33250         * sysdeps/i386/configure: Regenerated.
33251         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33252         * sysdeps/mach/configure: Regenerated.
33253         * sysdeps/mach/hurd/configure: Regenerated.
33254         * sysdeps/powerpc/configure: Regenerated.
33255         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33256         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33257         * sysdeps/s390/s390-32/configure: Regenerated.
33258         * sysdeps/s390/s390-64/configure: Regenerated.
33259         * sysdeps/sh/configure: Regenerated.
33260         * sysdeps/sparc/configure: Regenerated.
33261         * sysdeps/unix/sysv/linux/configure: Regenerated.
33262         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33263         * sysdeps/x86_64/configure: Regenerated.
33265         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33266         defined.  Don't check if MAP is NULL.
33268 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33270         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33271         (_G_stat64): Likewise.
33272         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33273         (_G_stat64): Likewise.
33274         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33275         instead of struct _G_stat64.
33276         * libio/fileops.c (mmap_remap_check): Likewise.
33277         (decide_maybe_mmap): Likewise.
33278         (_IO_new_file_seekoff): Likewise.
33279         (_IO_file_stat): Likewise.
33280         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33281         _G_off64_t.
33282         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33283         instead of struct _G_stat64.
33284         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33286 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33288         [BZ #14602]
33289         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33290         Replace with ...
33291         (CHECK_EOL): New macro.
33292         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33293         CHECK_EOL.
33294         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33295         Replace with CHECK_EOL.
33296         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33297         Replace with CHECK_EOL.
33299 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33301         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33302         type-generic.
33303         * math/libm-test.inc: Update comment listing what functions and
33304         macros are tested.
33305         (finite_test): New function.
33306         (isinf_test): Likewise.
33307         (isnan_test): Likewise.
33308         (fpclassify_test): Test subnormal input.
33309         (isfinite_test): Likewise.
33310         (isnormal_test): Likewise.
33311         (main): Call the new functions.
33313 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33315         [BZ #14660]
33316         * Makerules (%.dynsym): Force C locale when running
33317         $(OBJDUMP) --dynamic-syms.
33319 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33321         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33322         <stdint.h>.
33324 2012-10-06  David S. Miller  <davem@davemloft.net>
33326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33327         upper 32-bits of the length value in %o2 since we use branch-on-register
33328         tests which consider the entire 64-bit register.
33330 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33332         * string/test-strstr.c (check2): Add a test for page boundary.
33334 2012-10-05  David S. Miller  <davem@davemloft.net>
33336         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33337         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33338         file.
33339         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33340         sysdep_routines.
33341         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33342         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33343         and bzero when HWCAP_SPARC_CRYPTO is present.
33345 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33347         [BZ #14602]
33348         * string/test-strstr.c (check2): New function.
33349         (test_main): Call check2.
33351         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33352         and bug-strchr1.
33353         * string/bug-strcasestr1.c (do_test): Moved to ...
33354         * string/test-strcasestr.c (check1): Here.  New function.
33355         (do_one_test): Break out result checking code into ...
33356         (check_result): This.  New function.
33357         (do_one_test): Call check_result.
33358         (test_main): Call check1.
33359         * string/bug-strchr1.c (do_test): Moved to ...
33360         * string/test-strchr.c (check1): Here.  New function.
33361         (do_one_test): Break out result checking code into ...
33362         (check_result): This.  New function.
33363         (do_one_test): Call check_result.
33364         (test_main): Call check1.
33365         * string/bug-strstr1.c (main): Moved to ...
33366         * string/test-strstr.c (check1): Here.  New function.
33367         (do_one_test): Break out result checking code into ...
33368         (check_result): This.  New function.
33369         (do_one_test): Call check_result.
33370         (test_main): Call check1.
33371         * string/bug-strcasestr1.c: Removed.
33372         * string/bug-strchr1.c: Likewise.
33373         * string/bug-strstr1.c: Likewise.
33375         * elf/Makefile (dl-routines): Add hwcaps.
33376         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33377         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33378         (_dl_important_hwcaps): Moved to ...
33379         * elf/dl-hwcaps.c: Here.  New file.
33380         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33382         [BZ #14557]
33383         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33384         if IS_IN_rtld isn't defined.
33386         * elf/dl-support.c (_dl_sysinfo_map): New.
33387         Include "get-dynamic-info.h" and "setup-vdso.h".
33388         (_dl_non_dynamic_init): Call setup_vdso.
33389         * elf/dynamic-link.h: Don't include <assert.h>.
33390         (elf_get_dynamic_info): Moved to ...
33391         * elf/get-dynamic-info.h: Here.  New file.
33392         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33393         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33394         * elf/setup-vdso.h: Here.  New file.
33395         * elf/rtld.c: Include "setup-vdso.h".
33396         (dl_main): Call setup_vdso.
33398 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33400         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33401         creal in comment listing functions tested.  List finite, isinf,
33402         isnan, isless, islessequal, isgreater, isgreaterequal,
33403         islessgreater, isunordered, lgamma_r and pow10 as functions and
33404         macros not tested.  Mention which functions not tested are aliases
33405         for other functions.  Fix typo.  Note that signs of NaNs are not
33406         tested.
33408         * scripts/config.guess: Update from config.git.
33409         * scripts/config.sub: Likewise.
33411 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33413         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33414         * misc/madvise.c (madvise): Renamed to __madvise.
33415         Make madvise a weak alias.
33416         * include/sys/mman.h: Declare __madvise.
33417         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33418         * sysdeps/unix/syscalls.list
33419         (madvise): Make __madvise the strong name, and madvise a weak alias.
33420         * sysdeps/unix/sysv/linux/syscalls.list
33421         (madvise, mmap): Remove redundant entries.
33422         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33423         * malloc/malloc.c (mtrim): Likewise.
33424         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33426 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33428         * sysdeps/mach/hurd/dl-cache.c: File removed.
33429         * config.h.in (USE_LDCONFIG): New #undef.
33430         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33431         * configure: Regenerated.
33432         * elf/Makefile (dl-routines): Add dl-cache only under
33433         [$(use-ldconfig) = yes].
33434         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33435         cache on [USE_LDCONFIG].
33436         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33437         [USE_LDCONFIG].
33438         * elf/rtld.c (dl_main): Likewise.
33440 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33442         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33443         _SC_LEVEL4_CACHE_LINESIZE.
33445 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33447         * sysdeps/unix/bsd/confstr.h: File removed.
33449 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33451         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33452         sys/sdt-config.h.
33454 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33456         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33457         Make 'mapoff' field ElfW(Off) rather than off_t.
33459 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33461         * nscd/Makefile: Remove nscd-cflags and all its users.
33462         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33463         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33465         [BZ #10631]
33466         * malloc.c (malloc_printerr): Clarify error message.
33468 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33470         [BZ #14648]
33471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33472         Set bit_FMA_Usable if FMA is supported.
33473         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33474         macro.
33475         (bit_FMA4_Usable): Updated.
33476         (index_FMA_Usable): New macro.
33477         (CPUID_FMA): Likewise
33478         (HAS_FMA): Defined with bit_FMA_Usable.
33480 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33482         * bits/types.h (__swblk_t): Type removed.
33483         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33484         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33485         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33486         (__SWBLK_T_TYPE): Likewise.
33487         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33488         (__SWBLK_T_TYPE): Likewise.
33489         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33490         (__SWBLK_T_TYPE): Likewise.
33491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33492         (__SWBLK_T_TYPE): Likewise.
33494 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33495             Honza Horak <hhorak@redhat.com>
33497         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33498         (xdr_mapname): Use YPMAXMAP as maxsize.
33499         (xdr_peername): Use YPMAXPEER as maxsize.
33500         (xdr_keydat): Use YPAXRECORD as maxsize.
33501         (xdr_valdat): Use YPMAXRECORD as maxsize.
33503 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33505         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33507         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33508         * csu/init-first.c: ... here.
33509         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33510         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33511         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33512         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33513         * sysdeps/i386/init-first.c: File removed.
33514         * sysdeps/sh/init-first.c: File removed.
33516 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33518         [BZ #14645]
33519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33520         if x * y might underflow to zero and z is zero.
33521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33523         * math/libm-test.inc (min_subnorm_value): New variable.
33524         (fma_test): Add more tests.
33525         (fma_test_towardzero): Likewise.
33526         (fma_test_downward): Likewise
33527         (fma_test_upward): Likewise.
33528         (initialize): Set min_subnorm_value.
33530 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33532         [BZ #14638]
33533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33534         0 + 0.
33535         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33536         mode for addition resulting in exact zero.
33537         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33538         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33539         exact 0 + 0.
33540         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33541         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33542         * math/libm-test.inc (fma_test): Add more tests.
33543         (fma_test_towardzero): New function.
33544         (fma_test_downward): Likewise.
33545         (fma_test_upward): Likewise.
33546         (main): Call the new functions.
33548 2012-09-28  David S. Miller  <davem@davemloft.net>
33550         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33552 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33554         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33555         instead of SIGALRM.
33557         * sysdeps/gnu/_G_config.h: Moved to ...
33558         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33559         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33560         * sysdeps/generic/_G_config.h: ... here.
33562         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33564         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33566         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33567         Conditionalize target on [libnss_test1.so-version].
33569         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33571         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33572         (elfobjdir): Move out of conditionals.
33574         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33575         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33576         (__nss_lookup_function): Conditionalize label remove_from_tree on
33577         [!DO_STATIC_NSS || SHARED], matching its only use.
33579 2012-09-28  David S. Miller  <davem@davemloft.net>
33581         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33582         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33583         file.
33584         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33585         sysdep_routines.
33586         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33587         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33588         when HWCAP_SPARC_CRYPTO is present.
33590 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33592         * io/tst-mknodat.c: Create a FIFO instead of a socket.
33594 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
33596         [BZ #6530]
33597         * stdio-common/vfprintf.c (process_string_arg): Revert
33598         2000-07-22 change.
33600 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
33602         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33603         for testcase.
33604         * stdio-common/tst-sprintf.c: Include <locale.h>
33605         (main): Test sprintf's handling of incomplete multibyte
33606         characters.
33608 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
33610         * elf/dl-runtime.c (VERSYMIDX): Removed.
33611         * elf/dl-version.c (VERSYMIDX): Likewise.
33612         * elf/do-rel.h (VERSYMIDX): Likewise.
33613         (VALIDX): Likewise.
33614         * elf/dynamic-link.h (VERSYMIDX): Likewise.
33615         * elf/rtld.c (VALIDX): Likewise.
33616         (ADDRIDX): Likewise.
33617         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33618         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33619         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33620         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33621         (VALIDX): Likewise.
33622         (ADDRIDX): Likewise.
33624 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33626         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33628 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
33630         [BZ #11438]
33631         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33632         to global scope.
33633         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33634         addresses are in the same scope as 192.0.2/24.
33635         * posix/gai.conf: Document new scope table defaults.
33637 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33639         [BZ #5298]
33640         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33641         for ftell.  Compute offsets from write pointers instead.
33642         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33644 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33646         [BZ #14543]
33647         * libio/Makefile (tests): New test case tst-fseek.
33648         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33649         combination works in wide mode.
33650         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33651         state when the external buffer state changes.
33653 2012-09-27  David S. Miller  <davem@davemloft.net>
33655         [BZ #14376]
33656         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33657         pass reloc->r_addend in as the 'high' argument to
33658         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33662 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33664         * rt/tst-aio2.c: Include <pthread.h>.
33665         * rt/tst-aio3.c: Likewise.
33667 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33669         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33671 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33673         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33674         contents on [SHARED].
33676 2012-09-26  Marek Polacek  <polacek@redhat.com>
33678         [BZ #14530]
33679         [BZ #13741]
33680         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33681         for C++ and GCC <4.3 as well as for non GCC compilers.
33683 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33687 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33689         * Makefile.in (all, install): Declare with .PHONY.
33690         Reported by Michael Hope <michael.hope@linaro.org>.
33692 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33694         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33695         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33696         system header.
33697         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33698         Likewise.
33699         (sydep_routines): Add the new and the internal functions.
33700         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33701         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33703         (GLIBC_2.17): Add the new function.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33705         (GLIBC_2.17): Likewise.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33707         (GLIBC_2.17): Likewise.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33709         (GLIBC_2.17): Likewise.
33710         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33712 2012-09-25  Alan Modra  <amodra@gmail.com>
33714         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33715         Add release barrier before setting once_control to say
33716         initialisation is done.  Add hints on lwarx.  Use macro in
33717         place of isync.
33718         (clear_once_control): Add release barrier.
33720 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33722         [BZ #13629]
33723         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33724         specially.
33725         * math/s_clog10.c (__clog10): Likewise.
33726         * math/s_clog10f.c (__clog10f): Likewise.
33727         * math/s_clog10l.c (__clog10l): Likewise.
33728         * math/s_clogf.c (__clogf): Likewise.
33729         * math/s_clogl.c (__clogl): Likewise.
33730         * math/Makefile (libm-calls): Add x2y2m1.
33731         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33732         (__x2y2m1): Likewise.
33733         (__x2y2m1l): Likewise.
33734         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33735         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33738         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33739         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33740         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33741         * sysdeps/i386/fpu/libm-test-ulps: Update.
33742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33744         [BZ #14621]
33745         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33746         int as type of variable DEPTH.
33747         (glob): Use size_t instead of int as type of variables NEWCOUNT
33748         and OLD_PATHC.
33750 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33752         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33753         Add s_sincosf-sse2.
33754         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33755         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33756         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33757         macros for using routine as __sincosf_ia32.
33758         Use macro for function declaration and weak_alias.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33761         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33764         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33765         subnormal argument.
33766         * math/s_cexpf.c (__cexpf): Likewise.
33767         * math/s_csinf.c (__csinf): Likewise.
33768         * math/s_csinhf.c (__csinhf): Likewise.
33769         * math/s_ctanf.c (__ctanf): Likewise.
33770         * math/s_ctanhf.c (__ctanhf): Likewise.
33771         * math/s_ccosh.c (__ccoshf): Likewise.
33772         * math/s_cexp.c (__cexpl): Likewise.
33773         * math/s_csin.c (__csin): Likewise.
33774         * math/s_csinh.c (__csinh): Likewise.
33775         * math/s_ctan.c (__ctan): Likewise.
33776         * math/s_ctanh.c (ctanh): Likewise.
33777         * math/s_ccoshl.c (__ccoshl): Likewise.
33778         * math/s_cexpl.c (__cexpl): Likewise.
33779         * math/s_csinl.c (__csinl): Likewise.
33780         * math/s_csinhl.c (__csinhl): Likewise.
33781         * math/s_ctanl.c (__ctanl): Likewise.
33782         * math/s_ctanhl.c (__ctanhl): Likewise.
33784 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33786         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33787         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33788         (_IO_off_t): Define to __off_t, not _G_off_t.
33789         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33790         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33791         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33792         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33793         type of __dummy and __dummy2 fields.
33794         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33795         (_G_ssize_t): Likewise.
33796         (_G_off_t): Likewise.
33797         (_G_pid_t): Likewise.
33798         (_G_uid_t): Likewise.
33799         (_G_wchar_t): Likewise.
33800         (_G_wint_t): Likewise.
33801         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33802         (_G_ssize_t): Likewise.
33803         (_G_off_t): Likewise.
33804         (_G_pid_t): Likewise.
33805         (_G_uid_t): Likewise.
33806         (_G_wchar_t): Likewise.
33807         (_G_wint_t): Likewise.
33808         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33809         (_G_ssize_t): Likewise.
33810         (_G_off_t): Likewise.
33811         (_G_pid_t): Likewise.
33812         (_G_uid_t): Likewise.
33813         (_G_wchar_t): Likewise.
33814         (_G_wint_t): Likewise.
33816 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33818         * malloc/arena.c: Include malloc-sysdep.h.
33819         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33820         is sufficient to shrink the heap or an unmap is needed.
33821         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33822         new function check_may_shrink_heap.
33823         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33824         new function check_may_shrink_heap.
33826 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33828         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33829         comments.
33831 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33833         * catgets/test-gencat.sh: Add "set -e".
33834         * elf/tst-pathopt.sh: Likewise.
33835         * grp/tst_fgetgrent.sh: Likewise.
33836         * iconvdata/run-iconv-test.sh: Likewise.
33837         * intl/tst-gettext.sh: Likewise.
33838         * intl/tst-gettext2.sh: Likewise.
33839         * intl/tst-gettext4.sh: Likewise.
33840         * intl/tst-gettext6.sh: Likewise.
33841         * intl/tst-translit.sh: Likewise.
33842         * io/ftwtest-sh: Likewise.
33843         * libio/test-freopen.sh: Likewise.
33844         * malloc/tst-mtrace.sh: Likewise.
33845         * posix/globtest.sh: Likewise.
33846         * posix/tst-getconf.sh: Likewise.
33847         * posix/wordexp-tst.sh: Likewise.
33848         * stdio-common/tst-printf.sh: Likewise.
33849         * stdio-common/tst-unbputc.sh: Likewise.
33850         * stdlib/tst-fmtmsg.sh: Likewise.
33851         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33852         * catgets/Makefile: Do not specify -e option when running
33853         testsuite shell scripts.
33854         * elf/Makefile: Likewise.
33855         * grp/Makefile: Likewise.
33856         * iconvdata/Makefile: Likewise.
33857         * intl/Makefile: Likewise.
33858         * io/Makefile: Likewise.
33859         * libio/Makefile: Likewise.
33860         * malloc/Makefile: Likewise.
33861         * posix/Makefile: Likewise.
33862         * stdio-common/Makefile: Likewise.
33863         * stdlib/Makefile: Likewise.
33864         * sysdeps/x86_64/Makefile: Likewise.
33866         * io/ftwtest-sh: Add copyright header.
33867         * posix/globtest.sh: Likewise.
33868         * posix/tst-getconf.sh: Likewise.
33869         * posix/wordexp-tst.sh: Likewise.
33870         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33872 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33874         [BZ #13679]
33875         * Makeconfig (+link): Defined as $(+link-static) if
33876         $(build-shared) isn't yes.
33877         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33878         isn't yes.
33879         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33881         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33883         [BZ #14562]
33884         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33885         new chunk size with MALLOC_ALIGN_MASK.
33887 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33889         [BZ #5044]
33890         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33891         <rounding-mode.h>.
33892         (__printf_fphex): Determine rounding using get_rounding_mode and
33893         round_away.
33894         * stdio-common/tst-printf-round.c (struct hex_test): New
33895         structure.
33896         (hex_tests): New variable.
33897         (test_hex_in_one_mode): New function.
33898         (do_test): Also run tests for hex float output.
33900 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33902         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33903         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33904         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33905         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33906         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33907         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33908         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33909         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33911 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33913         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33914         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33915         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33916         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33918 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33920         [BZ #14579]
33921         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33922         mode only.
33923         * elf/tst-rtld-load-self.sh: New test.
33924         * elf/Makefile: Run it.
33926 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33928         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33929         (tst-writev-ENV): Remove.
33930         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33932 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33934         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33936 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33938         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33939         unconditional.
33940         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33941         Likewise.
33942         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33943         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33944         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33945         Likewise.
33947 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33949         [BZ #14587]
33950         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33951         * config.make.in (have-cpp-asm-debuginfo): Removed.
33952         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33953         * configure: Regenerated.
33955 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33957         [BZ #5044]
33958         * stdio-common/printf_fp.c: Include <stdbool.h> and
33959         <rounding-mode.h>.
33960         (___printf_fp): Determine rounding using get_rounding_mode and
33961         round_away.
33962         * stdio-common/tst-printf-round.c: New file.
33963         * stdio-common/Makefile (tests): Add tst-printf-round.
33964         (link-libm): New variable.
33965         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33967 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33969         [BZ #14576]
33970         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33971         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33972         Likewise.
33973         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33974         Likewise.
33976 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33978         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33979         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33980         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33981         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33983 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
33985         [BZ #14518]
33986         * include/rounding-mode.h: New file.
33987         * sysdeps/generic/get-rounding-mode.h: Likewise.
33988         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33989         * stdlib/strtod_l.c: Include <rounding-mode.h>.
33990         (MAX_VALUE): New macro.
33991         (MIN_VALUE): Likewise.
33992         (overflow_value): New function.
33993         (underflow_value): Likewise.
33994         (round_and_return): Use overflow_value and underflow_value to
33995         determine return values in overflow and underflow cases.  Use
33996         round_away to determine rounding depending on rounding mode.
33997         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33998         determine return values in overflow and underflow cases.
33999         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34000         (struct test_results): New structure.
34001         (struct test): Use struct test_results to store expected results
34002         for all rounding modes.
34003         (TEST): Include expected results for all rounding modes.
34004         (test_in_one_mode): New function.
34005         (do_test): Use test_in_one_mode to compute and check results.
34006         Check results for all rounding modes.
34007         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34008         $(link-libm).
34010 2012-12-09  Allan McRae  <allan@archlinux.org>
34012         * sysdeps/i386/fpu/libm-test-ulps: Update
34014 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34016         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34017         (_G_int32_t): Likewise.
34018         (_G_uint16_t): Likewise.
34019         (_G_uint32_t): Likewise.
34020         (_G_HAVE_BOOL): Likewise.
34021         (_G_HAVE_ATEXIT): Likewise.
34022         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34023         (_G_HAVE_IO_FILE_OPEN): Likewise.
34024         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34025         (_G_int32_t): Likewise.
34026         (_G_uint16_t): Likewise.
34027         (_G_uint32_t): Likewise.
34028         (_G_HAVE_BOOL): Likewise.
34029         (_G_HAVE_ATEXIT): Likewise.
34030         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34031         (_G_HAVE_IO_FILE_OPEN): Likewise.
34032         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34033         (_G_int32_t): Likewise.
34034         (_G_uint16_t): Likewise.
34035         (_G_uint32_t): Likewise.
34036         (_G_HAVE_BOOL): Likewise.
34037         (_G_HAVE_ATEXIT): Likewise.
34038         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34039         (_G_HAVE_IO_FILE_OPEN): Likewise.
34041 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34043         * csu/libc-tls.c: Update copyright years.
34045 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34047         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34048         [!_G_USING_THUNKS]: Remove conditional code.
34049         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34050         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34052         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34053         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34054         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34055         (_G_VTABLE_LABEL_PREFIX): Likewise.
34056         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34057         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34058         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34059         (_G_VTABLE_LABEL_PREFIX): Likewise.
34060         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34061         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34062         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34063         (_G_VTABLE_LABEL_PREFIX): Likewise.
34064         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34066 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34068         * libio/Makefile: Include ../Makeconfig before tests.
34069         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34070         only if $(build-shared) is yes.
34072         * iconv/gconv_db.c: Update copyright years.
34074 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34076         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34077         unwind info if defined PIC. Fix special cases description.
34078         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34080         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34081         DP_HI_MASK entry.
34082         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34084 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34086         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34088         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34089         is NULL.
34091         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34092         (LDLIBS-tst-chk4): This.
34093         (LDFLAGS-tst-chk5): Renamed to ...
34094         (LDLIBS-tst-chk5): This.
34095         (LDFLAGS-tst-chk6): Renamed to ...
34096         (LDLIBS-tst-chk6): This.
34097         (LDFLAGS-tst-lfschk4): Renamed to ...
34098         (LDLIBS-tst-lfschk4): This.
34099         (LDFLAGS-tst-lfschk5): Renamed to ...
34100         (LDLIBS-tst-lfschk5): This.
34101         (LDFLAGS-tst-lfschk6): Renamed to ...
34102         (LDLIBS-tst-lfschk6): This.
34104         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34105         on $(common-objpfx)soversions.mk.
34107 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34109         [BZ #10014]
34110         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34111         example host name.
34113 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34115         * malloc/arena.c (arena_get_retry): New function that gets
34116         another arena for the caller to try its request on.
34117         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34118         current arena cannot fulfill the request.
34119         (__libc_memalign): Likewise.
34120         (__libc_memalign): Likewise.
34121         (__libc_pvalloc): Likewise.
34122         (__libc_calloc): Likewise.
34124 2012-09-05  John Tobey  <john.tobey@gmail.com>
34126         [BZ #13542]
34127         * manual/arith.texi (Operations on Complex): Fix description
34128         of carg branch cut.
34130 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34132         [BZ #10014]
34133         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34134         host name.
34136         [BZ #10038]
34137         * manual/memory.texi (Memory): Make order of menu items match
34138         order of sections.
34140 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34142         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34143         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34144         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34146 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34148         * csu/libc-tls.c (static_dtv): Renamed to ...
34149         (_dl_static_dtv): This.  Make it global.
34150         (_dl_initial_dtv): Removed.
34151         (__libc_setup_tls): Updated.
34152         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34153         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34154         DL_INITIAL_DTV.
34156 2012-09-06  Petr Machata  <pmachata@redhat.com>
34158         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34159         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34160         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34161         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34163 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34165         [BZ #14545]
34166         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34167         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34168         freeing dtv[-1].
34170 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34172         [BZ #14544]
34173         * Makeconfig (link-static-before-libc): Replace $(+prector)
34174         with $(+prectorT).
34175         (link-static-after-libc): Replace $(+postctor) with
34176         $(+postctorT).
34177         (link-bounded): Replace $(+prector)/$(+postctor) with
34178         $(+prectorT)/$(+postctorT).
34179         (+prectorT): New macro.
34180         (+postctorT): Likewise.
34182 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34184         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34185         (round_str): Handle values above the maximum for IBM long double
34186         as inexact.
34187         * stdlib/tst-strtod-round.c (tests): Regenerated.
34189 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34191         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34192         assembler flag.
34193         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34194         zarch_nohighgprs around the zarch optimized routines.
34195         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34196         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34197         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34198         for zarch.
34200 2012-09-05  David S. Miller  <davem@davemloft.net>
34202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34204         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34205         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34206         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34207         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34208         entries.
34210 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34212         * malloc/arena.c: Fold copyright years.
34213         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34215 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34217         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34219 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34221         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34223 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34225         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34226         change internal state upon failure.
34228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34230         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34231         * malloc/memusage.c (mmap): Likewise.
34232         (mmap64, mremap): Likewise.  Adjust name in comment.
34234 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34236         * libio/fileops.c: Fix typos in comments.
34237         * libio/oldfileops.c: Likewise.
34238         * libio/wfileops.c: Likewise.
34240 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34242         [BZ #1349]
34243         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34244         (tst-malloc-usable-ENV): Set environment for test case.
34245         * malloc/hooks.c (malloc_check_get_size): New function to get
34246         requested size.
34247         * malloc/malloc.c (musable): Use malloc_check_get_size.
34248         * malloc/tst-malloc-usable.c: New test case.
34250 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34252         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34254 2012-09-05  Allan McRae  <allan@archlinux.org>
34256         [BZ #13966]
34257         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34258         determine header location.
34259         * configure: Regenerated.
34261 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34263         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34264         float format.
34265         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34266         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34267         format.
34268         (test): Regenerate.
34270 2012-09-04  David S. Miller  <davem@davemloft.net>
34272         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34273         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34274         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34276 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34278         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34279         failures.
34281         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34283 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34285         [BZ #9914]
34286         * libio/iogetdelim.c: Include <limits.h>.
34287         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34288         + len + 1 would overflow.
34290 2012-09-03  Andreas Jaeger  <aj@suse.de>
34292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34293         * sysdeps/i386/fpu/libm-test-ulps: Update.
34295 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34297         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34298         Add s_sinf-sse2, s_conf-sse2.
34300         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34301         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34302         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34303         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34305         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34306         for using routine as __sinf_ia32.
34307         Use macro for function declaration and weak_alias.
34308         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34309         for using routine as __cosf_ia32.
34310         Use macro for function declaration and weak_alias.
34312         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34313         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34315         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34316         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34319         * math/libm-test.inc (cos_test): Add more test cases.
34320         (sin_test): Likewise.
34321         (sincos_test): Likewise.
34323 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34325         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34326         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34327         hidden.
34328         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34330 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34332         [BZ #14538]
34333         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34334         first element of the GOT.
34335         (elf_machine_load_address): Return the difference between
34336         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34338 2012-09-01  Allan McRae  <allan@archlinux.org>
34340         [BZ #13412]
34341         * configure.in (AWK): Require gawk version 3.0 or later.
34342         * configure: Regenerated.
34344 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34346         * sysdeps/unix/sysv/linux/kernel-features.h
34347         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34348         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34349         [__NR_clock_getres]: Make code unconditional.
34350         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34351         (clock_getcpuclockid): Remove code left unreachable by removal of
34352         conditionals.
34353         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34354         code unconditional.
34355         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34356         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34357         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34358         Make code unconditional.
34359         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34360         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34361         * sysdeps/unix/sysv/linux/clock_settime.c
34362         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34363         conditional code.
34364         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34365         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34367 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34369         [BZ #14476]
34370         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34371         scripts/test-installation.pl.
34373         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34374         and $ld_so_version if it is set.
34376 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34378         [BZ #14516]
34379         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34380         failure if reading from procfs failed.
34381         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34383 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34385         * sysdeps/unix/sysv/linux/kernel-features.h
34386         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34387         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34388         Remove conditional code.
34389         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34390         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34391         Remove conditional code.
34392         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34393         * sysdeps/unix/sysv/linux/i386/fxstat.c
34394         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34395         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34396         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34397         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34398         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34399         * sysdeps/unix/sysv/linux/i386/lxstat.c
34400         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34401         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34402         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34403         Remove conditional code.
34404         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34405         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34406         Remove conditional code.
34407         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34408         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34409         <kernel-features.h>.
34410         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34411         Remove.
34412         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34413         Remove conditional code.
34414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34415         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34416         Remove conditional.
34418 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34420         [BZ #5400]
34421         * NEWS: Add fixed bug number.
34423 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34425         [BZ #14519]
34426         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34427         underflowing exponent in case of negative sign.
34428         * stdlib/tst-strtod-round-data: Add more tests.
34429         * stdlib/tst-strtod-round.c (tests): Regenerated.
34431         [BZ #3479]
34432         * stdlib/strtod_l.c (NDIG): Remove.
34433         (HEXNDIG): Likewise.
34434         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34435         smallest representable value.
34436         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34437         lie within an exact representation of 1/2 ulp of the result.
34438         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34439         unconditionally.
34440         (TENS_P9_IDX): Define unconditionally.
34441         (TENS_P9_SIZE): Likewise.
34442         (TENS_P10_IDX): Likewise.
34443         (TENS_P10_SIZE): Likewise.
34444         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34445         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34446         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34447         entries for 10^2^13 and 10^2^14.
34448         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34449         (TENS_P13_IDX): Define.
34450         (TENS_P13_SIZE): Likewise.
34451         (TENS_P14_IDX): Likewise.
34452         (TENS_P14_SIZE): Likewise.
34453         (_fpioconst_pow10): Change array size to
34454         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34455         unconditional.
34456         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34457         1024]: Add entries for 10^2^13 and 10^2^14.
34458         [LAST_POW10 > _LAST_POW10]: Remove #error.
34459         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34460         (_fpioconst_pow10): Change array size to
34461         FPIOCONST_POW10_ARRAY_SIZE.
34462         * stdlib/gen-fpioconst.c: New file.
34463         * stdlib/gen-tst-strtod-round.c: Likewise.
34464         * stdlib/tst-strtod-round-data: Likewise.
34465         * stdlib/tst-strtod-round.c: Likewise.
34466         * stdlib/Makefile (tests): Add tst-strtod-round.
34468         [BZ #14459]
34469         * stdlib/strtod_l.c: Include <stdint.h>.
34470         (NDEBUG): Do not define.
34471         (round_and_return): Change EXPONENT parameter to type intmax_t.
34472         Rearrange calculations to avoid internal overflow possibilities.
34473         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34474         Rearrange calculations to avoid internal overflow possibilities.
34475         Assert that number fits inside MPNSIZE limbs.
34476         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34477         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34478         calculations and add assertions to avoid internal overflow
34479         possibilities.  Add casts to avoid signed/unsigned operations.
34480         * stdlib/tst-strtod-overflow.c: New file.
34481         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34483 2012-08-25  Marek Polacek  <polacek@redhat.com>
34485         * time/time.h: Fix some typos in comments.
34487 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34489         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34490         * posix/tst-rfc3484-2.c: Likewise.
34491         * posix/tst-rfc3484-3.c: Likewise.
34493 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34495         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34496         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34498 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34500         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34501         #include of fxstatat64.c.
34503 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34505         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34506         * shadow/getspent_r.c: Likewise.
34507         * shadow/getspnam.c: Likewise.
34508         * shadow/getspnam_r.c: Likewise.
34509         * gshadow/getsgent.c: Likewise.
34510         * gshadow/getsgent_r.c: Likewise.
34511         * gshadow/getsgnam.c: Likewise.
34512         * gshadow/getsgnam_r.c: Likewise.
34513         * inet/getnetbyad.c: Likewise.
34514         * inet/getnetbyad_r.c: Likewise.
34515         * inet/getnetbynm.c: Likewise.
34516         * inet/getnetbynm_r.c: Likewise.
34517         * inet/getnetent.c: Likewise.
34518         * inet/getnetent_r.c: Likewise.
34519         * inet/getproto.c: Likewise.
34520         * inet/getproto_r.c: Likewise.
34521         * inet/getprtent.c: Likewise.
34522         * inet/getprtent_r.c: Likewise.
34523         * inet/getprtname.c: Likewise.
34524         * inet/getprtname_r.c: Likewise.
34525         * inet/getrpcbyname.c: Likewise.
34526         * inet/getrpcbyname_r.c: Likewise.
34527         * inet/getrpcbynumber.c: Likewise.
34528         * inet/getrpcbynumber_r.c: Likewise.
34529         * inet/getrpcent.c: Likewise.
34530         * inet/getrpcent_r.c: Likewise.
34531         * inet/getaliasent.c: Likewise.
34532         * inet/getaliasent_r.c: Likewise.
34533         * inet/getaliasname.c: Likewise.
34534         * inet/getaliasname_r.c: Likewise.
34535         * nscd/getgrgid_r.c: Likewise.
34536         * nscd/getgrnam_r.c: Likewise.
34537         * nscd/gethstbyad_r.c: Likewise.
34538         * nscd/gethstbynm3_r.c: Likewise.
34539         * nscd/getpwnam_r.c: Likewise.
34540         * nscd/getpwuid_r.c: Likewise.
34541         * nscd/getsrvbynm_r.c: Likewise.
34542         * nscd/getsrvbypt_r.c: Likewise.
34543         * nscd/gai.c: Likewise.
34545         * configure.in (build_nscd): New substituted variable, set
34546         by --disable-build-nscd and defaults to $use_nscd.
34547         * configure: Regenerated.
34548         * config.make.in (build-nscd): New substituted variable.
34549         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34550         Change conditional to require [$(build-nscd) = yes] as well.
34551         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34553         [BZ# 13696]
34554         * configure.in (use_nscd): New substituted variable, set by
34555         --disable-nscd.  If enabled, define USE_NSCD.
34556         * configure: Regenerated.
34557         * config.h.in: Add USE_NSCD.
34558         * config.make.in (use-nscd): New substituted variable.
34559         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34560         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34561         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34562         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34563         (CFLAGS-getgrnam_r.c): Likewise.
34564         (CFLAGS-initgroups.c): Likewise.
34565         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34566         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34567         Variables removed.
34568         * inet/getnetgrent_r.c
34569         (nscd_setnetgrent): New function, broken out of ...
34570         (setnetgrent): ... here.  Call it.
34571         (innetgr): Conditionalize nscd bits on [USE_NSCD].
34572         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34573         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34574         * nscd/Makefile (routines, aux): Move definitions after include of
34575         Makeconfig.  Conditionalize on [$(use-nscd) != no].
34576         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34577         Conditionalize on [USE_NSCD].
34578         (is_nscd, nscd_init_cb): Likewise.
34579         (nss_load_library): Conditionalize init callback on [USE_NSCD].
34580         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34581         * nss/nss_db/db-init.c: Likewise.
34582         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34583         [USE_NSCD].
34584         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34585         (make_request): Use it.
34586         (cache_valid_p): New function.
34587         (__check_pf): Use it.
34588         * NEWS: Add item for --disable-nscd.
34590 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
34592         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34593         to support sed >= 4.2.1-20-ga9bf076.
34594         * configure: Regenerated.
34596 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34598         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34599         Conditionalize whole body on [IREL].
34601 2012-08-22  Jeff Law <law@redhat.com>
34603         [BZ #14505]
34604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34605         if the family is PF_UNSPEC.
34607 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
34609         * Makerules (lib-version): Rename from V.
34610         (install-lib-nosubdir): Change V to lib-version.
34612 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
34614         [BZ #14252]
34615         * powerpc32/power6/wcschr.c: New file.
34616         * powerpc32/power6/wcscpy.c: New file.
34617         * powerpc32/power6/wcsrchr.c: New file.
34618         * powerpc64/power6/wcschr.c: New file.
34619         * powerpc64/power6/wcscpy.c: New file.
34620         * powerpc64/power6/wcsrchr.c: New file.
34622 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34624         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34625         (two_way_short_needle): Use it.
34626         * string/strstr.c (AVAILABLE1_USES_J): Define.
34627         * string/strcasestr.c: Likewise.
34629         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34630         array references.
34631         * string/strcasestr.c (TOLOWER): Make side-effect safe.
34633         [BZ #11607]
34634         * NEWS: Add an entry.
34635         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34636         define their defaults.
34637         (two_way_short_needle): Detect end-of-string on-the-fly.
34638         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34639         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34640         * string/bug-strcasestr1.c: New test.
34641         * string/Makefile: Run it.
34643 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34645         [BZ #11607]
34646         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34647         the first character.
34649 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34651         * csu/elf-init.c (__libc_csu_irel): Function removed.
34652         * csu/libc-start.c (apply_irel): New function.
34653         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34655 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34657         * sysdeps/unix/sysv/linux/kernel-features.h
34658         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34659         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34660         <kernel-features.h>.
34661         [__NR_fadvise64_64]: Make code unconditional.
34662         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34663         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34664         !__NR_fadvise64_64)]: Likewise.
34665         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34666         !__NR_fadvise64_64))]: Likewise.
34667         [__NR_fadvise64]: Make code unconditional.
34668         [!__NR_fadvise64]: Remove conditional code.
34669         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34670         <kernel-features.h>.
34671         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34672         unconditional.
34673         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34674         conditional code.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34676         not include <kernel-features.h>.
34677         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34678         unconditional.
34679         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34680         conditional code.
34681         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34682         include <kernel-features.h>.
34683         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34684         unconditional.
34685         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34686         conditional code.
34688 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34690         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34691         slight instruction rearrangements per scrollpipe analysis.
34692         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34694 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34696         * manual/syslog.texi (syslog; vsyslog, closelog):
34697         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34698         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34700         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34701         DSOCAPS to match condition on defining it.
34703 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34705         * sysdeps/unix/sysv/linux/kernel-features.h
34706         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34708         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34709         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34711         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34712         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34714         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34715         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34717         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34718         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34720         * sysdeps/unix/sysv/linux/kernel-features.h
34721         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34722         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34723         unconditional.
34724         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34725         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34726         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34727         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34728         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34729         Make code unconditional.
34730         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34731         (__mmap64) [!__NR_mmap2]: Likewise.
34732         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34733         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34734         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34735         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34736         [__NR_mmap2]: Make code unconditional.
34737         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34738         (__mmap64) [!__NR_mmap2]: Likewise.
34740 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34742         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34744 2012-08-18  Andreas Jaeger  <aj@suse.de>
34746         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34748 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34750         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34751         * include/unistd.h (__have_sock_cloexec): Likewise.
34752         (__have_pipe2): Likewise.
34753         (__have_dup3): Likewise.
34755 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34757         [BZ #9685]
34758         * include/unistd.h (__have_pipe2): Change define into an extern int.
34759         (__have_dup3): Likewise.
34760         * socket/have_sock_cloexec.c: Include fcntl.h.
34761         (__have_pipe2): New variable.
34762         (__have_dup3): Likewise.
34764 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34766         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34768 2012-08-17  Marek Polacek  <polacek@redhat.com>
34770         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34771         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34773 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34775         * configure.in: Add AC_SUBST for sysheaders.
34776         * configure: Regenerated.
34777         * config.make.in (sysheaders): New substituted variable.
34779         * sysdeps/unix/mkfifo.c: Moved ...
34780         * sysdeps/posix/mkfifo.c: ... here.
34781         * sysdeps/unix/mkfifoat.c: Moved ...
34782         * sysdeps/posix/mkfifoat.c: ... here.
34784         * sysdeps/unix/utime.c: Moved ...
34785         * sysdeps/posix/utime.c: ... here.
34787         * sysdeps/unix/time.c: Moved ...
34788         * sysdeps/posix/time.c: ... here.
34789         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34790         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34792         * sysdeps/unix/nice.c: Moved ...
34793         * sysdeps/posix/nice.c: ... here.
34795         * sysdeps/unix/alarm.c: Moved ...
34796         * sysdeps/posix/alarm.c: ... here.
34798         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34800 2012-08-17  Jeff Law <law@redhat.com>
34802         * intl/Makefile (codeset_mo): New variable.
34803         ($(codeset_mo)): New target.
34804         (tst-codeset.out): Depend on that.  Remove explicit rule.
34805         (tst-gettext3.out, tst-gettext5.out): Likewise.
34806         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34807         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34808         * intl/tst-codeset.sh: Remove.
34809         * intl/tst-gettext3.sh: Likewise.
34810         * intl/tst-gettext5.sh: Likewise.
34812 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34814         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34815         * sysdeps/unix/syscalls.list: ... here.
34817         * sysdeps/posix/getaddrinfo.c
34818         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34819         (gaiconf_init, gaiconf_reload): Use them.
34820         [!_STATBUF_ST_NSEC]
34821         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34822         Define using time_t rather than struct timespec.
34824         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34825         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34826         Macros removed.
34827         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34828         [!NO_THREADS].
34829         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34830         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34831         Likewise.
34833         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34834         __libc_cleanup_push argument.
34836         * bits/param.h: New file.
34837         * misc/sys/param.h: New file.
34838         * include/sys/param.h: New file.
34839         * misc/Makefile (headers): Add bits/param.h.
34840         * sysdeps/generic/sys/param.h: File removed.
34841         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34842         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34843         * sysdeps/mach/hurd/bits/param.h: New file.
34844         * sysdeps/mach/hurd/sys/param.h: File removed.
34846         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34847         last change.
34849         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34850         [_IO_MTSAFE_IO].
34851         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34852         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34853         New macros.
34855         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34856         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34857         rather than -D_IO_MTSAFE_IO conditionally.
34858         * stdio-common/Makefile (CPPFLAGS): Likewise.
34859         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34860         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34861         Use $(libio-mtsafe).
34862         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34863         of -D_IO_MTSAFE_IO.
34864         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34865         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34866         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34867         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34868         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34869         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34870         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34871         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34872         (CFLAGS-fread_u_chk.c): Likewise.
34873         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34874         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34875         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34876         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34877         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34878         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34879         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34880         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34881         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34883         * libio/Makefile: Test [$(libc-reentrant) = yes]
34884         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34886         * Makeconfig
34887         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34888         * sysdeps/pthread/configure: File removed.
34889         * sysdeps/pthread/Makeconfig: New file.
34890         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34891         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34893 2012-08-16  Gary Benson  <gbenson@redhat.com>
34895         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34896         unmapping the first object in a namespace.
34898 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34900         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34901         (__internal_setnetgrent): ... this.  Add internal_function to
34902         definition.  Add libc_hidden_def.
34903         (setnetgrent): Update caller.
34904         (internal_endnetgrent): Renamed to ...
34905         (__internal_endnetgrent): ... this.  Add internal_function to
34906         definition.  Add libc_hidden_def.
34907         (endnetgrent): Update caller.
34908         (internal_getnetgrent_r): Renamed to ...
34909         (__internal_getnetgrent_r): ... this.  Add internal_function to
34910         definition.  Add libc_hidden_def.
34911         (__getnetgrent_r): Update caller.
34912         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34914 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34916         * stdlib/longlong.h: Update from GCC.
34918 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34920         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34921         on _QL, which is set by umul_ppmm but never used.
34922         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34923         variables, which are set by GMP macros but never used.
34924         * stdio-common/_itowa.c (_itowa): Likewise.
34925         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34926         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34928 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34930         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34931         struct La_sh_regs is not constant.
34932         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34933         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34934         and struct La_sparc64_regs are not constant.
34936 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34938         * sysdeps/unix/sysv/linux/kernel-features.h
34939         (__ASSUME_POSIX_TIMERS): Remove.
34940         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34941         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34942         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34943         Make code unconditional.
34944         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34945         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34946         Make code unconditional.
34947         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34948         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34949         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34950         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34951         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34952         Make code unconditional.
34953         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34954         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34955         (__libc_missing_posix_timers): Remove.
34957 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34959         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34960         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34962         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34964         * elf/dl-sym.c: Include <stdlib.h>.
34966         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34967         constants, which avoids warnings in 32-bit builds.
34969         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34970         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34972         * misc/lseek.c: File moved to ...
34973         * io/lseek.c: ... here.
34975         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34977         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34978         shifting LEN more than 31 bits at once.
34980 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34982         [BZ #14195]
34983         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34984         segmentation fault for a case of two empty input strings.
34985         * string/test-strncasecmp.c (check1): Renamed to...
34986         (bz12205): ...this.
34987         (bz14195): Add new testcase for two empty input strings and N > 0.
34988         (test_main): Call new testcase, adapt for renamed function.
34990 2012-08-15  Andreas Jaeger  <aj@suse.de>
34992         [BZ #14090]
34993         * crypt/md5test2.c: New test, based on test supplied by Serge
34994         Belyshev <belyshev@depni.sinp.msu.ru>.
34995         * crypt/Makefile (xtests): Add md5test-giant..
34996         * crypt/Makefile ($(objpfx)md5test-giant): Add.
34998 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35000         [BZ #14090]
35001         * crypt/md5.c (md5_process_block): Don't assume the buffer
35002         length is less than 2**32.
35003         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35004         length is less than 2**64.
35006 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35008         * string/str-two-way.h: Include <sys/param.h>.
35009         (MAX): Macro removed.
35011         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35012         Move #define and #undef of memmove to just before and after
35013         including <string.h>.
35015         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35016         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35017         and after including <string.h>.  Move declarations of
35018         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35019         to before #include "string/memmove.c".
35021         * include/dirent.h: Declare __getdirentries.
35023         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35024         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35026 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35028         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35029         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35030         * sysdeps/i386/configure: Regenerated.
35031         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35032         STABS_CURRENT_FILE, and STABS_FUN.
35033         (END): Remove call to STABS_FUN_END.
35034         (STABS_CURRENT_FILE1): Delete.
35035         (STABS_CURRENT_FILE): Likewise.
35036         (STABS_FUN): Likewise.
35037         (STABS_FUN_END): Likewise.
35038         (STABS_FUN2): Likewise.
35039         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35040         * sysdeps/x86_64/configure: Regenerated.
35042 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35044         * elf/dl-open.c: Include <atomic.h>.
35045         * elf/dl-lookup.c: Likewise.
35047 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35049         * sysdeps/unix/sysv/linux/kernel-features.h
35050         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35051         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35052         unconditionally.
35053         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35054         unconditionally.
35055         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35056         condition on __ASSUME_CLONE_THREAD_FLAGS.
35058 2012-08-14  Andreas Jaeger  <aj@suse.de>
35060         * sysdeps/i386/fpu/libm-test-ulps: Update.
35062 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35064         * include/atomic.h (atomic_exchange_and_add): Split into ...
35065         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35066         New atomic macros.
35068 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35072 2012-08-13  Jeff Law <law@redhat.com>
35074         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35075         null byte in the output string.
35077 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35079         * sysdeps/unix/sysv/linux/kernel-features.h
35080         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35081         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35082         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35083         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35084         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35085         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35086         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35088 2012-08-09  Jeff Law <law@redhat.com>
35090         [BZ #13939]
35091         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35092         When avoid_arena is set, don't retry in the that arena.  Pick the
35093         next one, whatever it might be.
35094         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35095         (arena_lock): Pass in new parameter to arena_get2.
35096         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35097         arena_get2.
35098         (__libc_malloc): Unify retrying after main arena failure with
35099         __libc_memalign version.
35100         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35102 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35104         [BZ #14166]
35105         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35106         to __redirect_strstr.
35107         (__strstr_sse42): Use typeof __redirect_strstr.
35108         (__strstr_ia32): Likewise.
35109         (__libc_strstr): New prototype.
35110         (strstr): Renamed to ...
35111         (__libc_strstr): This.
35112         (strstr): New strong alias of __libc_strstr.
35113         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35114         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35115         __redirect_time.
35116         Include <time.h>.
35117         (__libc_time): New prototype.
35118         (time_ifunc): Replace time with __libc_time.
35119         (time): New strong alias and hidden definition of __libc_time.
35120         (__GI_time): Remove strong alias.
35121         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35122         Include <stddef.h>.
35123         (memmove): Redefined to __redirect_memmove.
35124         (__memmove_sse2): Use typeof __redirect_memmove.
35125         (__memmove_ssse3): Likewise.
35126         (__memmove_ssse3_back): Likewise.
35127         (__libc_memmove): New prototype.
35128         (memmove): Renamed to ...
35129         (__libc_memmove): This.
35130         (memmove): New strong alias of __libc_memmove.
35132 2012-08-08  Mark Salter  <msalter@redhat.com>
35134         * elf/elf.h
35135         (R_MN10300_TLS_GD): Define.
35136         (R_MN10300_TLS_LD): Likewise.
35137         (R_MN10300_TLS_LDO): Likewise.
35138         (R_MN10300_TLS_GOTIE): Likewise.
35139         (R_MN10300_TLS_IE): Likewise.
35140         (R_MN10300_TLS_LE): Likewise.
35141         (R_MN10300_TLS_DTPMOD): Likewise.
35142         (R_MN10300_TLS_DTPOFF): Likewise.
35143         (R_MN10300_TLS_TPOFF): Likewise.
35144         (R_MN10300_SYM_DIFF): Likewise.
35145         (R_MN10300_ALIGN): Likewise.
35146         (R_MN10300_NUM): Update.
35148 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35150         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35151         Remove.
35153 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35155         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35157         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35158         sysdeps/unix -> sysdeps/posix move.
35159         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35161 2012-08-07      Allan McRae     <allan@archlinux.org>
35163         [BZ #14303]
35164         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35165         (SUNOS_CPP): Likewise.
35166         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35167         not found.
35168         (open_input): Call CPP using execvp.
35170 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35172         * sysdeps/unix/sysv/linux/kernel-features.h
35173         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35174         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35175         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35176         (__ASSUME_WAITID_SYSCALL): Likewise.
35177         * sysdeps/unix/sysv/linux/dl-execstack.c
35178         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35179         code unconditional.
35180         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35181         conditional code.
35182         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35183         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35184         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35185         code.
35186         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35187         unconditional.
35188         [__ASSUME_WAITID_SYSCALL]: Likewise.
35189         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35191 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35193         * sysdeps/unix/closedir.c: Renamed to ...
35194         * sysdeps/posix/closedir.c: ... here.
35195         * sysdeps/unix/dirfd.c: Renamed to ...
35196         * sysdeps/posix/dirfd.c: ... here.
35197         * sysdeps/unix/dirstream.h: Renamed to ...
35198         * sysdeps/posix/dirstream.h: ... here.
35199         * sysdeps/unix/fdopendir.c: Renamed to ...
35200         * sysdeps/posix/fdopendir.c: ... here.
35201         * sysdeps/unix/opendir.c: Renamed to ...
35202         * sysdeps/posix/opendir.c: ... here.
35203         * sysdeps/unix/readdir.c: Renamed to ...
35204         * sysdeps/posix/readdir.c: ... here.
35205         * sysdeps/unix/readdir_r.c: Renamed to ...
35206         * sysdeps/posix/readdir_r.c: ... here.
35207         * sysdeps/unix/rewinddir.c: Renamed to ...
35208         * sysdeps/posix/rewinddir.c: ... here.
35209         * sysdeps/unix/seekdir.c: Renamed to ...
35210         * sysdeps/posix/seekdir.c: ... here.
35211         * sysdeps/unix/telldir.c: Renamed to ...
35212         * sysdeps/posix/telldir.c: ... here.
35213         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35214         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35215         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35216         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35218         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35219         * bits/fcntl.h: ... here.
35221         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35222         not 0.
35223         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35224         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35225         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35226         (struct flock): Move l_start, l_len to the beginning.
35227         Use __pid_t for l_pid.
35228         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35229         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35230         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35231         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35232         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35233         [__USE_LARGEFILE64] (struct flock64): New type.
35234         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35236         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35237         * bits/dirent.h: ... here.
35239         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35240         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35242 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35244         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35245         Change from 2.6.0 to 2.6.16.
35246         * sysdeps/unix/sysv/linux/configure: Regenerated.
35247         * sysdeps/unix/sysv/linux/kernel-features.h
35248         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35249         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35250         version.
35251         (__ASSUME_UTIMES): Likewise.
35252         (__ASSUME_CLONE_STOPPED): Remove.
35253         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35254         architectures, not kernel version.
35255         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35256         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35257         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35258         (__ASSUME_WAITID_SYSCALL): Likewise.
35259         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35260         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35261         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35262         refer to older versions.
35264 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35266         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35267         Define alphasort64 as an alias.
35268         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35269         Define versionsort64 as an alias.
35270         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35271         Define scandir64 as an alias.
35272         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35273         Define scandirat64 as an alias.
35274         * dirent/alphasort64.c (alphasort64):
35275         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35276         * dirent/versionsort64.c: Likewise.
35277         * dirent/scandir64.c: Likewise.
35278         * dirent/scandirat64.c: Likewise.
35279         * sysdeps/wordsize-64/alphasort.c: File removed.
35280         * sysdeps/wordsize-64/alphasort64.c: File removed.
35281         * sysdeps/wordsize-64/scandir.c: File removed.
35282         * sysdeps/wordsize-64/scandir64.c: File removed.
35283         * sysdeps/wordsize-64/scandirat.c: File removed.
35284         * sysdeps/wordsize-64/scandirat64.c: File removed.
35285         * sysdeps/wordsize-64/versionsort.c: File removed.
35286         * sysdeps/wordsize-64/versionsort64.c: File removed.
35287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35289         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35290         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35291         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35292         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35293         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35294         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35296         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35297         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35298         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35299         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35300         [defined __arch64__ || defined __sparcv9]
35301         (__INO_T_MATCHES_INO64_T): New macro.
35302         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35303         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35304         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35305         * sysdeps/unix/sysv/linux/bits/dirent.h
35306         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35307         (_DIRENT_MATCHES_DIRENT64): New macro.
35309         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35310         Define lockf64 as an alias.
35311         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35312         Define fseeko64 as an alias.
35313         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35314         Define ftello64 as an alias.
35315         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35316         Define _IO_fgetpos64 and fgetpos64 as aliases.
35317         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35318         Define _IO_fsetpos64 and fsetpos64 as aliases.
35319         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35320         Conditionalize body on this.
35321         * libio/fseeko64.c: Likewise.
35322         * libio/ftello64.c: Likewise.
35323         * libio/iofgetpos64.c: Likewise.
35324         * libio/iofsetpos64.c: Likewise.
35325         * sysdeps/wordsize-64/lockf.c: File removed.
35326         * sysdeps/wordsize-64/lockf64.c: File removed.
35327         * sysdeps/wordsize-64/fseeko.c: File removed.
35328         * sysdeps/wordsize-64/fseeko64.c: File removed.
35329         * sysdeps/wordsize-64/ftello.c: File removed.
35330         * sysdeps/wordsize-64/ftello64.c: File removed.
35331         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35332         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35333         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35334         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35335         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35336         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35337         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35338         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35339         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35340         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35341         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35342         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35343         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35344         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35346         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35347         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35348         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35349         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35350         [defined __arch64__ || defined __sparcv9]
35351         (__OFF_T_MATCHES_OFF64_T): New macro.
35352         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35353         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35355         (__OFF_T_MATCHES_OFF64_T): New macro.
35357 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35359         * stdlib/secure-getenv.c (__secure_getenv): Replace
35360         GLIBC_2_16 with GLIBC_2_17.
35362 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35364         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35365         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35367 2012-08-03  David S. Miller  <davem@davemloft.net>
35369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35371 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35373         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35374         Remove.
35375         (__ASSUME_CORRECT_SI_PID): Likewise.
35376         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35377         (__ASSUME_TMPFS_NAME): Likewise.
35378         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35379         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35380         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35381         (HAVE_AUX_SECURE): Make definition unconditional.
35382         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35383         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35385 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35387         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35388         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35389         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35390         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35391         __eloop_threshold instead of SYMLOOP_MAX.
35393         * sysdeps/generic/eloop-threshold.h: New file.
35394         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35395         of MAXSYMLINKS.
35396         * elf/chroot_canon.c (chroot_canon): Likewise.
35398 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35400         [BZ #13717]
35401         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35402         Change to 2.6.0 everywhere.
35403         * sysdeps/unix/sysv/linux/configure: Regenerated.
35404         * sysdeps/unix/sysv/linux/kernel-features.h
35405         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35406         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35407         kernel versions.
35408         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35409         (__ASSUME_FUTEX_REQUEUE): Remove.
35410         (__ASSUME_STATFS64): Define unconditionally.
35411         (__ASSUME_AT_SECURE): Likewise.
35412         (__ASSUME_CORRECT_SI_PID): Likewise.
35413         (__ASSUME_TGKILL): Define without depending on kernel version for
35414         i386.
35415         (__ASSUME_UTIMES): Likewise.
35416         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35417         kernel version.
35418         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35419         (__ASSUME_TMPFS_NAME): Likewise.
35420         * README: Update reference to Linux kernel versions.
35422 2012-08-02  Marek Polacek  <polacek@redhat.com>
35424         [BZ# 14150]
35425         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35426         libc_cv_asm_type_prefix with %.
35427         * configure: Regenerated.
35428         * include/libc-symbols.h: Remove comment about
35429         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35430         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35431         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35432         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35433         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35434         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35435         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35436         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35437         * elf/tst-unique2mod1.c: Likewise.
35438         * elf/tst-unique1mod2.c: Likewise.
35439         * elf/tst-unique1mod1.c: Likewise.
35440         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35441         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35442         Replace ASM_TYPE_DIRECTIVE with .type.
35443         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35444         * sysdeps/i386/sysdep.h: Likewise.
35445         * sysdeps/x86_64/sysdep.h: Likewise.
35446         * sysdeps/sh/sysdep.h: Likewise.
35447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35448         Do not define ASM_TYPE_DIRECTIVE.
35449         * sysdeps/powerpc/sysdep.h: Likewise.
35450         * sysdeps/powerpc/powerpc32/sysdep.h:
35451         Replace ASM_TYPE_DIRECTIVE with .type.
35452         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35453         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35454         * sysdeps/i386/fpu/e_powf.S: Likewise.
35455         * sysdeps/i386/fpu/e_expl.S: Likewise.
35456         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35457         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35458         * sysdeps/i386/fpu/e_pow.S: Likewise.
35459         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35460         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35461         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35462         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35463         * sysdeps/i386/fpu/e_log2.S: Likewise.
35464         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35465         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35466         * sysdeps/i386/fpu/e_powl.S: Likewise.
35467         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35468         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35469         * sysdeps/i386/fpu/e_logl.S: Likewise.
35470         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35471         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35472         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35473         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35474         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35475         * sysdeps/i386/fpu/e_log.S: Likewise.
35476         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35477         * sysdeps/i386/fpu/e_logf.S: Likewise.
35478         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35479         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35480         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35481         * sysdeps/i386/fpu/e_log10.S: Likewise.
35482         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35483         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35484         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35485         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35486         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35487         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35488         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35489         * sysdeps/i386/i686/strtok.S: Likewise.
35490         * sysdeps/i386/i386-mcount.S: Likewise.
35491         * sysdeps/i386/strtok.S: Likewise.
35492         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35493         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35494         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35495         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35496         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35497         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35498         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35499         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35500         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35501         * sysdeps/x86_64/_mcount.S: Likewise.
35502         * sysdeps/x86_64/strtok.S: Likewise.
35503         * sysdeps/sh/_mcount.S: Likewise.
35505 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35507         * libio/iofopen.c: Include <fcntl.h>.
35508         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35509         (_IO_fopen64, fopen64): Define as aliases.
35510         * libio/iofopen64.c: Include <fcntl.h>.
35511         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35512         Conditionalize body on this.
35513         * sysdeps/wordsize-64/iofopen.c: File removed.
35514         * sysdeps/wordsize-64/iofopen64.c: File removed.
35516 2012-08-01  Marek Polacek  <polacek@redhat.com>
35518         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35519         Use dlfcn directly instead of a variable.
35520         (binfmt-subdir): Do not define.
35521         (dlfcn): Likewise.
35523 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35526         Remove all definitions.
35527         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35528         <kernel-features.h>.
35529         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35530         (miss_F_GETOWN_EX): Remove all definitions.
35531         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35532         macro definition.
35533         [!__ASSUME_FCNTL64]: Remove conditional code.
35534         [__ASSUME_FCNTL64]: Make code unconditional.
35535         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35536         <kernel-features.h>.
35537         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35538         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35539         (lockf64) [__NR_fcntl64]: Make code unconditional.
35540         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35542         * sysdeps/unix/sysv/linux/kernel-features.h
35543         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35544         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35545         Make code unconditional.
35546         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35547         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35549         [__NR_vfork]: Make code unconditional.
35550         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35551         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35553         [__NR_vfork]: Make code unconditional.
35554         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35555         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35557 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35559         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35560         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35562         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35563         Define mkstemp64 as an alias.
35564         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35565         Define mkstemps64 as an alias.
35566         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35567         Define mkostemp64 as an alias.
35568         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35569         Define mkostemps64 as an alias.
35570         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35571         Conditionalize body on this.
35572         * misc/mkostemp64.c: Likewise.
35573         * misc/mkostemps64.c: Likewise.
35574         * misc/mkstemps64.c: Likewise.
35575         * sysdeps/wordsize-64/mkstemp64.c: File removed.
35576         * sysdeps/wordsize-64/mkostemp64.c: File removed.
35577         * sysdeps/wordsize-64/mkostemp.c: File removed.
35578         * sysdeps/wordsize-64/mkstemp.c: File removed.
35579         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35580         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35581         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35582         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35584         [BZ #14138]
35585         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35586         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35587         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35588         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35590         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35591         compat_symbol macros from <shlib-compat.h> rather than the underlying
35592         default_symbol_version and symbol_version macros, so that DEFAULT
35593         lines in shlib-versions are respected.
35594         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35596 2012-08-01  Florian Weimer  <fweimer@redhat.com>
35598         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35599         Declare with warn_unused_result.
35600         (setgid, setregid, setegid, setresgid): Likewise.
35601         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35602         Likewise.
35603         * WUR-REPORT: Remove set*id functions.
35605 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
35607         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35609 2012-07-31  Roland McGrath  <roland@hack.frob.com>
35611         [BZ #10191]
35612         * include/sys/socket.h (__libc_accept, __libc_accept4):
35613         Add attribute_hidden.
35614         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35616         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35617         use of PTR_MANGLE.
35618         * inet/getnetgrent_r.c (setup): Likewise.
35620         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35622 2012-07-31  David S. Miller  <davem@davemloft.net>
35624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35626 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
35628         [BZ #13629]
35629         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35630         value between 1.0 and 2.0 and smaller part has absolute value less
35631         than 1.0.
35632         * math/s_clog10.c (__clog10): Likewise.
35633         * math/s_clog10f.c (__clog10f): Likewise.
35634         * math/s_clog10l.c (__clog10l): Likewise.
35635         * math/s_clogf.c (__clogf): Likewise.
35636         * math/s_clogl.c (__clogl): Likewise.
35637         * math/libm-test.inc (clog_test): Add more tests.
35638         (clog10_test): Likewise.
35639         * sysdeps/i386/fpu/libm-test-ulps: Update.
35640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35642 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35644         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35645         Exit with zero in case no suitable GID is found, and write a
35646         message to standard error.
35648 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35650         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35651         rather than to 1.
35652         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35653         (MAXPATHLEN): Removed.
35654         (NOGROUP, NODEV): New macros.
35655         (setbit, clrbit, isset, isclr): New macros.
35656         (howmany, roundup, powerof2): New macros.
35657         (DEV_BSIZE): New macro.
35659         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35660         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35662         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35663         definition on [!__NO_LONG_DOUBLE_MATH].
35665         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35666         PTR_MANGLE and PTR_DEMANGLE.
35668         * socket/accept4.c (accept4): Rename to __libc_accept4.
35669         Define accept4 as a weak alias.
35671         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35672         on [_DIRENT_HAVE_D_TYPE].
35673         * io/ftw.c (ftw_dir): Likewise.
35675         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35677         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35679         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35680         Use the BSD numbers rather than the arbitrary ones we had.
35681         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35682         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35683         (SIGXCPU, SIGXFSZ): New macros.
35684         (_NSIG): Now 32.
35686         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35687         initializer on [_LIBC_REENTRANT].
35689         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35690         definitions inside [_POSIX_MAPPED_FILES].
35692         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35694         * dirent/opendir.c: Include <fcntl.h>.
35696         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35697         (__libc_getspecific): Likewise.
35698         (__libc_key_create): Likewise.
35700         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35701         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35702         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35703         (tmpfile64): Define as alias.
35704         * sysdeps/wordsize-64/tmpfile.c: File removed.
35705         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35706         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35707         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35709         * stdio-common/vfscanf.c: Include <stdbool.h>.
35710         * nss/makedb.c: Likewise.
35711         * stdio-common/_i18n_number.h: Likewise.
35712         * argp/argp-help.c: Likewise.
35713         * posix/wordexp.c: Likewise.
35714         * sysdeps/posix/spawni.c: Likewise.
35715         * nss/nss_files/files-initgroups.c: Likewise.
35716         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35717         * nss/nss_files/files-initgroups.c: Likewise.
35718         * nss/nss_db/db-netgrp.c: Likewise.
35719         * nss/nss_db/db-initgroups.c: Likewise.
35720         * io/fchmodat.c: Include <sys/stat.h>.
35722         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35723         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35725         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35726         [HAVE_MMAP].
35728         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35729         Add multiple inclusion protection.
35731 2012-07-27  David S. Miller  <davem@davemloft.net>
35733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35735 2012-07-27  Gary Benson  <gbenson@redhat.com>
35737         [BZ #14298]
35738         * elf/rtld.c: Include <stap-probe.h>.
35739         (dl_main): Added static probes "init_start" and "init_complete".
35740         * elf/dl-load.c: Include <stap-probe.h>.
35741         (lose): Take new parameter "nsid".
35742         Added static probe "map_failed".
35743         (_dl_map_object_from_fd): Pass namespace id to lose.
35744         Added static probe "map_start".
35745         (open_verify): Pass namespace id to lose.
35746         * elf/dl-open.c: Include <stap-probe.h>.
35747         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35748         and "reloc_complete".
35749         * elf/dl-close.c: Include <stap-probe.h>.
35750         (_dl_close_worker): Added static probes "unmap_start" and
35751         "unmap_complete".
35752         * elf/rtld-debugger-interface.txt: New file documenting the above.
35754 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35756         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35757         rather than a string variable.
35758         * sunrpc/rpc_main.c (h_output): Likewise.
35759         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35761 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35763         * inet/check_native.c: New file.
35765 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35767         [BZ #13629]
35768         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35769         if larger part has absolute value 1.0.
35770         * math/s_clog10.c (__clog10): Likewise.
35771         * math/s_clog10f.c (__clog10f): Likewise.
35772         * math/s_clog10l.c (__clog10l): Likewise.
35773         * math/s_clogf.c (__clogf): Likewise.
35774         * math/s_clogl.c (__clogl): Likewise.
35775         * math/libm-test.inc (clog_test): Add more tests.
35776         (clog10_test): Likewise.
35777         * sysdeps/i386/fpu/libm-test-ulps: Update.
35778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35780         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35781         (pltexit): Likewise.
35782         (La_regs): Likewise.
35783         (La_retval): Likewise.
35784         (int_retval): Likewise.
35785         Update #error for removed macros to refer only to definitions in
35786         tst-audit.h.
35787         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35788         macro.
35789         (pltexit): Likewise.
35790         (La_regs): Likewise.
35791         (La_retval): Likewise.
35792         (int_retval): Likewise.
35793         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35794         macro.
35795         (pltexit): Likewise.
35796         (La_regs): Likewise.
35797         (La_retval): Likewise.
35798         (int_retval): Likewise.
35799         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35800         macro.
35801         (pltexit): Likewise.
35802         (La_regs): Likewise.
35803         (La_retval): Likewise.
35804         (int_retval): Likewise.
35805         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35806         macro.
35807         (pltexit): Likewise.
35808         (La_regs): Likewise.
35809         (La_retval): Likewise.
35810         (int_retval): Likewise.
35811         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35812         macro.
35813         (pltexit): Likewise.
35814         (La_regs): Likewise.
35815         (La_retval): Likewise.
35816         (int_retval): Likewise.
35817         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35818         macro.
35819         (pltexit): Likewise.
35820         (La_regs): Likewise.
35821         (La_retval): Likewise.
35822         (int_retval): Likewise.
35823         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35824         macro definitions in tst-audit.h.
35825         * sysdeps/i386/tst-audit.h: New file.
35826         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35827         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35828         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35829         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35830         * sysdeps/sh/tst-audit.h: Likewise.
35831         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35832         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35833         * sysdeps/x86_64/tst-audit.h: Likewise.
35835 2012-07-26  Andreas Jaeger  <aj@suse.de>
35837         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35838         ptrace.
35840         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35841         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35842         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35843         PTRACE_O_MASK.
35844         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35845         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35846         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35848         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35849         value.
35851         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35852         _sigsys.
35853         (si_call_addr, si_syscall, si_arch): Define new macro.
35854         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35855         _sigsys.
35856         (si_call_addr, si_syscall, si_arch): Define new marcro.
35857         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35858         _sigsys.
35859         (si_call_addr, si_syscall, si_arch): Define new macro.
35860         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35861         _sigsys.
35862         (si_call_addr, si_syscall, si_arch): Define new macro.
35864 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35866         [BZ #13717]
35867         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35868         Change to 2.4.21 where previously 2.4.1.
35869         * sysdeps/unix/sysv/linux/configure: Regenerated.
35870         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35871         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35872         Linux kernel version.
35873         (__ASSUME_STD_AUXV): Remove.
35874         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35875         kernel version.
35876         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35877         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35878         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35879         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35880         (__ASSUME_NETLINK_SUPPORT): Likewise.
35881         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35882         (__no_netlink_support): Remove conditional definition.
35883         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35884         Remove.
35885         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35886         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35887         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35888         (if_nameindex_ioctl): Remove.
35889         (if_nameindex_netlink): Do not handle __no_netlink_support.
35890         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35891         code.
35892         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35893         Remove conditional code.
35894         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35895         code.
35896         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35897         unconditional.
35898         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35899         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35900         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35901         Remove.
35902         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35903         [!__ASSUME_STD_AUXV]: Remove conditional code.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35905         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35906         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35908         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35909         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35910         code.
35911         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35913         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35914         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35915         conditional code.
35916         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35918         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35919         code.
35920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35921         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35922         conditional code.
35923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35924         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35925         code unconditional.
35926         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35927         conditional code.
35928         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35929         unconditional.
35930         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35931         conditional code.
35932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35933         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35934         unconditional.
35935         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35936         conditional code.
35937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35938         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35939         code unconditional.
35940         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35941         conditional code.
35942         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35943         unconditional.
35944         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35945         conditional code.
35946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35947         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35948         code unconditional.
35949         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35950         conditional code.
35951         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35952         unconditional.
35953         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35954         conditional code.
35956 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35958         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35959         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35960         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35961         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35962         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35963         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35964         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35965         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35966         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35967         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35968         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35969         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35970         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35971         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35972         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35973         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35974         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35975         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35976         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35978         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35979         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35980         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35982 2012-07-25  Florian Weimer  <fweimer@redhat.com>
35984         * Versions.def: Add GLIBC_2.17.
35985         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35986         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35987         Introduce __libc_secure_getenv.
35988         * stdlib/Versions (2.17): Add secure_getenv
35989         (GLIBC_PRIVATE): Add __libc_secure_getenv.
35990         * stdlib/secure-getenv.c: Rename __secure_getenv to
35991         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
35992         symbol __secure_getenv for GLIBC_2.0.
35993         * stdlib/tst-secure-getenv.c: New.
35994         * stdlib/Makefile (tests): Add testcase.
35995         * manual/startup.texi (Environment Access): Document
35996         secure_getenv.
35997         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35998         __libc_secure_getenv.
35999         * inet/ruserpass.c (ruserpass): Likewise.
36000         * malloc/mtrace.c (mtrace): Likewise.
36001         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36002         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36003         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36004         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36005         HAVE_SECURE_GETENV.
36006         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36007         __secure_getenv to __libc_secure_getenv.
36008         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36010         Likewise.
36011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36012         Likewise.
36013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36015         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36021 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36023         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36024         (struct La_i86_retval): Likewise.
36025         (struct La_x86_64_regs): Likewise.
36026         (struct La_x86_64_retval): Likewise.
36027         (struct La_x32_regs): Likewise.
36028         (struct La_x32_retval): Likewise.
36029         (struct La_ppc32_regs): Likewise.
36030         (struct La_ppc32_retval): Likewise.
36031         (struct La_ppc64_regs): Likewise.
36032         (struct La_ppc64_retval): Likewise.
36033         (struct La_sh_regs): Likewise.
36034         (struct La_sh_retval): Likewise.
36035         (struct La_s390_32_regs): Likewise.
36036         (struct La_s390_32_retval): Likewise.
36037         (struct La_s390_64_regs): Likewise.
36038         (struct La_s390_64_retval): Likewise.
36039         (struct La_sparc32_regs): Likewise.
36040         (struct La_sparc32_retval): Likewise.
36041         (struct La_sparc64_regs): Likewise.
36042         (struct La_sparc64_retval): Likewise.
36043         (struct audit_ifaces): Remove architecture-specific pltenter and
36044         pltexit members.
36045         * sysdeps/i386/ldsodefs.h: New file.
36046         * sysdeps/powerpc/ldsodefs.h: Likewise.
36047         * sysdeps/s390/ldsodefs.h: Likewise.
36048         * sysdeps/sh/ldsodefs.h: Likewise.
36049         * sysdeps/sparc/ldsodefs.h: Likewise.
36050         * sysdeps/x86_64/ldsodefs.h: Likewise.
36052 2012-07-25  Marek Polacek  <polacek@redhat.com>
36054         [BZ #6808]
36055         * math/libm-test.inc (yn_test): Add another test.
36056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36057         to ERANGE when the result is +-Inf.
36058         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36059         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36060         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36061         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36063 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36065         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36066         equal to 0.
36067         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36068         clock_t.
36069         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36071 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36073         * configure.in <sysdeps resolving>: Correct printing
36074         Implies_before.
36075         * configure: Regenerate.
36077 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36079         * math/w_ilogb.c: Include <limits.h>.
36080         * math/w_ilogbl.c: Likewise.
36082 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36084         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36085         va_copy.  Document allowing for unavailable va_copy only as
36086         pre-C99 compatibility.
36087         * manual/string.texi (Copying and Concatenation): Use va_copy
36088         instead of __va_copy in concat example.
36090 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36092         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36093         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36094         it if not null.
36096         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36097         with O_NOLINK passed to __file_name_lookup.
36099         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36100         with O_NOLINK passed to __file_name_lookup.
36102         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36103         negative N or less than NGIDS.
36105         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36106         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36107         enough.  Use memcpy instead of strncpy.
36109 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36111         * elf/Makefile (check-data): Remove.
36112         (localplt.data): New vpath directive.
36113         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36114         instead of $(check-data).
36115         * scripts/data/localplt-generic.data: Move to ...
36116         * sysdeps/generic/localplt.data: ... here.
36117         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36118         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36119         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36121         ... here.
36122         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36124         ... here.
36125         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36127         ... here.
36128         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36130         ... here.
36131         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36133         ... here.
36134         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36136         ... here.
36138 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36140         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36141         PPC32 and PPC64 files.
36142         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36143         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36145 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36147         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36148         __makecontext_ret to ...
36149         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36150         ... here and call exit if uc_link is NULL.  New file.
36151         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36152         __makecontext_ret.S.
36153         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36154         __makecontext_ret to ...
36155         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36156         ... here and call exit if uc_link is NULL.  New file.
36157         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36158         __makecontext_ret.S.
36160 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36162         * elf/elf.h (R_390_IRELATIVE): New definition.
36163         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36164         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36165         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36166         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36167         (elf_machine_lazy_rel): Likewise.
36168         * sysdeps/s390/dl-irel.h: New file.
36169         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36170         * sysdeps/s390/s390-64/memset.S: New asm code.
36171         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36172         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36173         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36174         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36175         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36176         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36177         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36178         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36179         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36180         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36181         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36182         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36183         * sysdeps/s390/s390-32/memset.S: New asm code.
36184         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36186 2012-07-17  Marek Polacek  <polacek@redhat.com>
36188         [BZ #14349]
36189         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36190         * sysdeps/s390/s390-64/configure.in: Likewise.
36191         * sysdeps/sparc/configure.in: Likewise.
36192         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36193         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36194         * sysdeps/i386/configure.in: Likewise.
36195         * sysdeps/x86_64/configure.in: Likewise.
36196         * sysdeps/sh/configure.in: Likewise.
36197         * sysdeps/s390/s390-32/configure: Regenerated.
36198         * sysdeps/s390/s390-64/configure: Likewise.
36199         * sysdeps/x86_64/configure: Likewise.
36200         * sysdeps/sh/configure: Likewise.
36201         * sysdeps/powerpc/powerpc64/configure: Likewise.
36202         * sysdeps/powerpc/powerpc32/configure: Likewise.
36203         * sysdeps/sparc/configure: Likwise.
36204         * sysdeps/i386/configure: Likewise.
36206         * elf/dl-open.c: Comment fixes.
36208 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36210         * Makefile [CXX] (check-data): Remove.
36211         [CXX] (c++-types.data): New vpath directive.
36212         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36213         vpath.  Do not allow for C++ type data being missing.
36214         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36215         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36216         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36217         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36218         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36219         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36220         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36222         ... here.
36223         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36225         ... here.
36226         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36228         ... here.
36229         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36231         ... here.
36232         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36234         ... here.
36235         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36237         ... here.
36238         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36240         ... here.
36241         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36244         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36245         definitions to architecture-specific files.
36246         (TLS_IE): Likewise.
36247         (TLS_LD): Likewise.
36248         (TLS_GD): Likewise.
36249         * sysdeps/i386/tls-macros.h: New file.
36250         * sysdeps/powerpc/tls-macros.h: Likewise.
36251         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36252         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36253         * sysdeps/sh/tls-macros.h: Likewise.
36254         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36255         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36256         * sysdeps/x86_64/tls-macros.h: Likewise.
36258 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36260         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36261         zero value for regular exit case.
36263         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36264         (__start_context): Preserve zero value for regular exit case.
36266 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36267             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36269         * manual/setjmp.texi (setcontext): Clarify normal process
36270         termination when uc_link is the null pointer.
36271         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36272         exit call.
36274 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36276         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36277         preprocessor.  Test for each exception mask separately.
36279 2012-07-16  Andreas Jaeger  <aj@suse.de>
36281         * po/ru.po: Update from translation team.
36283 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36285         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36286         equal to 0.
36287         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36288         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36289         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36290         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36293 2012-07-13  Andreas Jaeger  <aj@suse.de>
36295         * po/fr.po: Update from translation team.
36297 2012-07-12  Marek Polacek  <polacek@redhat.com>
36299         [BZ #14173]
36300         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36301         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36302         loop condition.
36304 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36306         [BZ #13717]
36307         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36308         Change to 2.4.1 where previously 2.4.0.
36309         * sysdeps/unix/sysv/linux/configure: Regenerated.
36310         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36311         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36312         version.
36313         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36314         (__ASSUME_AT_CLKTCK): Remove.
36315         (__ASSUME_AT_PAGESIZE): Likewise.
36316         (__ASSUME_AT_XID): Likewise.
36317         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36318         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36319         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36320         unconditionally.
36321         (HAVE_AUX_PAGESIZE): Likewise.
36322         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36323         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36324         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36326 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36328         [BZ #14307]
36329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36330         the temporary buffer used to invoke __gethostbyname2_r,
36331         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36332         host_data / struct gaih_addrtuple.
36333         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36334         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36335         header file nss/nsswitch.h.
36336         * nss/nsswitch.h (global scope): Add definition of implementation
36337         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36338         resolv/nss_dns/dns-host.c).
36340 2012-07-11  Andreas Jaeger  <aj@suse.de>
36342         * po/fr.po: Update from translation team.
36344         * po/sv.po: Update from translation team
36345         * po/fr.po: Another update from translation team.
36347 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36349         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36350         for subnormals or multiply small sinh result by itself.
36351         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36354 2012-07-11  David S. Miller  <davem@davemloft.net>
36356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36358 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36360         [BZ #14347]
36361         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36362         (INTERNAL_MARK): Shift it here.
36364 2012-07-10  Marek Polacek  <polacek@redhat.com>
36366         [BZ #14151]
36367         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36368         libc_cv_asm_global_directive with .globl.
36369         * configure: Regenerated.
36370         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36371         with .globl.
36372         * sysdeps/i386/configure: Regenerated.
36373         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36374         with .globl.
36375         * sysdeps/x86_64/configure: Regenerated.
36376         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36377         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36378         * elf/tst-unique2mod2.c: Likewise.
36379         * elf/tst-unique2mod1.c: Likewise.
36380         * elf/tst-unique1mod2.c: Likewise.
36381         * elf/tst-unique1mod1.c: Likewise.
36382         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36383         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36384         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36385         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36386         * sysdeps/mach/sysdep.h: Likewise.
36387         * sysdeps/i386/sysdep.h: Likewise.
36388         * sysdeps/i386/i386-mcount.S: Likewise.
36389         * sysdeps/x86_64/_mcount.S: Likewise.
36390         * sysdeps/x86_64/sysdep.h: Likewise.
36391         * sysdeps/sh/_mcount.S: Likewise.
36392         * sysdeps/sh/sysdep.h: Likewise.
36393         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36394         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36395         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36396         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36397         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36398         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36399         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36400         * locale/localeinfo.h: Likewise.
36401         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36402         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36404 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36406         [BZ #14336]
36407         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36408         system".
36409         * manual/message.texi (The Uniforum approach): Likewise.
36410         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36411         (glibc iconv Implementation): Likewise.
36413 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36415         [BZ #14337]
36416         * math/s_clog.c (__clog): Avoid scaling a value down where that
36417         could result in underflow.
36418         * math/s_clog10.c (__clog10): Likewise.
36419         * math/s_clog10f.c (__clog10f): Likewise.
36420         * math/s_clog10l.c (__clog10l): Likewise.
36421         * math/s_clogf.c (__clogf): Likewise.
36422         * math/s_clogl.c (__clogl): Likewise.
36423         * math/libm-test.inc (clog_test): Add more tests.
36424         (clog10_test): Likewise.
36425         * sysdeps/i386/fpu/libm-test-ulps: Update.
36426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36428 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36430         [BZ #14283]
36431         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36432         by 7 not 8 to examine high bit of fractional part.
36434         [BZ #14042]
36435         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36436         for call to __mcount_internal.
36437         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36438         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36439         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36441 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36443         [BZ #14154]
36444         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36445         approximation for values within 0x1p-13f of an odd multiple of
36446         pi/4.
36447         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36448         exception.  Add more tests.
36449         * sysdeps/i386/fpu/libm-test-ulps: Update.
36451         [BZ #6778]
36452         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36453         inputs and return -1 for them.  Do not check for +Inf in case not
36454         reachable for +Inf.
36455         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36456         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36457         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36458         and return -1 for them.  Do not check for +Inf in case not
36459         reachable for +Inf.
36460         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36461         define.
36462         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36463         and return -1 for them.  Do not check for +Inf in case not
36464         reachable for +Inf.
36465         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
36466         spurious underflow.
36467         * sysdeps/i386/fpu/libm-test-ulps: Update.
36468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36470 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
36472         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36474 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36476         [BZ #14157]
36477         [BZ #14331]
36478         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36479         could result in spurious underflow.  Scale down values above
36480         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36481         * math/s_csqrtf.c (__csqrtf): Likewise.
36482         * math/s_csqrtl.c (__csqrtl): Likewise.
36483         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36484         spurious underflow.
36485         * sysdeps/i386/fpu/libm-test-ulps: Update.
36486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36488 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36490         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36491         xopen-msg.sed.
36492         * catgets/xopen-msg.awk: New file.
36493         * catgets/xopen-msg.sed: Removed.
36495         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36496         po2text.sed.
36497         * intl/po2test.awk: New file.
36498         * intl/po2test.sed: Removed.
36500 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36502         [BZ #14328]
36503         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36504         or multiply small sinh result by itself.
36505         * math/s_ctanf.c (__ctanf): Likewise.
36506         * math/s_ctanh.c (__ctanh): Likewise.
36507         * math/s_ctanhf.c (__ctanhf): Likewise.
36508         * math/s_ctanhl.c (__ctanhl): Likewise.
36509         * math/s_ctanl.c (__ctanl): Likewise.
36510         * math/libm-test.inc (ctan_test_tonearest): New function.
36511         (ctan_test_towardzero): Likewise.
36512         (ctan_test_downward): Likewise.
36513         (ctan_test_upward): Likewise.
36514         (ctanh_test_tonearest): Likewise.
36515         (ctanh_test_towardzero): Likewise.
36516         (ctanh_test_downward): Likewise.
36517         (ctanh_test_upward): Likewise.
36518         (main): Call these new functions.
36519         * sysdeps/i386/fpu/libm-test-ulps: Update.
36520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36522 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36524         * .gitignore: Delete /ports entry.
36526 2012-07-03  Andreas Jaeger  <aj@suse.de>
36528         * po/bg.po: Update from translation team.
36529         * po/cs.po: Likewise.
36530         * po/de.po: Likewise.
36531         * po/hr.po: Likewise.
36532         * po/nl.pl: Likewise.
36533         * po/pl.po: Likewise.
36534         * po/vi.po: Likewise.
36536 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36538         * Makeconfig [!+link] (+link-before-libc): New variable.
36539         [!+link] (+link-after-libc): Likewise.
36540         [!+link] (+link-tests): Likewise.
36541         [!+link] (+link): Define in terms of $(+link-before-libc) and
36542         $(+link-after-libc).
36543         [!+link-static] (+link-static-before-libc): New variable.
36544         [!+link-static] (+link-static-after-libc): Likewise.
36545         [!+link-static] (+link-static-tests): Likewise.
36546         [!+link-static] (+link-static): Define in terms of
36547         $(+link-static-before-libc) and $(+link-static-after-libc).
36548         [build-shared] (link-libc-before-gnulib): New variable.
36549         [build-shared] (link-libc-tests): Likewise.
36550         [build-shared] (link-libc): Define in terms of
36551         $(link-libc-before-gnulib).
36552         [!build-shared] (link-libc-tests): New variable.
36553         (link-libc-static-tests): New variable.
36554         [!gnulib] (gnulib-arch): New variable.
36555         [!gnulib] (gnulib-tests): Likewise.
36556         [!gnulib] (static-gnulib-arch): Likewise.
36557         [!gnulib] (static-gnulib-tests): Likewise.
36558         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36559         Define with "=" instead of ":=".
36560         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36561         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36562         * Rules (binaries-all-notests): New variable.
36563         (binaries-all-tests): Likewise.
36564         (binaries-static-notests): Likewise.
36565         (binaries-static-tests): Likewise.
36566         (binaries-all): Define using $(binaries-all-notests) and
36567         $(binaries-all-tests).
36568         (binaries-static): Define using $(binaries-static-notests) and
36569         $(binaries-static-tests).
36570         (binaries-shared-tests): New variable.
36571         (binaries-shared-notests): Likewise.
36572         (binaries-shared): Remove variable.
36573         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36574         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36575         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36576         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36577         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36578         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36579         * elf/Makefile (sln-modules): New variable.
36580         (extra-objs): Add $(sln-modules:=.o).
36581         (ldconfig-modules): Add static-stubs.
36582         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36583         * elf/static-stubs.c: New file.
36585         [BZ #14283]
36586         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36587         by 7 not 8 to examine high bit of fractional part.  Use volatile
36588         variables when splitting into final array of floats if
36589         __FLT_EVAL_METHOD__ != 0.
36590         * math/libm-test.inc (cos_test): Add another test.
36591         (sin_test): Likewise.
36592         * sysdeps/i386/fpu/libm-test-ulps: Update.
36594         [BZ #14273]
36595         * math/libm-test.inc (cosh_test): Add more tests.
36597         * version.h (RELEASE): Set to "development".
36598         (VERSION): Set to "2.16.90".
36600 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
36602         * NEWS: Update copyright. Remove last-updated date.
36603         Mention math library bug fixes and timezone data changes.
36604         * README: Mention GNU/Hurd, x32, and HPPA support status.
36606 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
36608         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36610 2012-06-27  Andreas Jaeger  <aj@suse.de>
36612         * manual/contrib.texi (Contributors): Add Samuel Thibault.
36614 2012-06-25  Andreas Jaeger  <aj@suse.de>
36616         * sysdeps/s390/fpu/libm-test-ulps: Update.
36618 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
36619             Thomas Schwinge  <thomas@codesourcery.com>
36621         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36622         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36624         fanotify_mark.
36626 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
36628         * sysdeps/mach/start.c: Remove file.
36629         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36630         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36631         * sysdeps/sh/init-first.c: Likewise.
36633         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36634         registers for frame unwinding purposes, add CFI directives.
36635         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36636         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36637         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36638         Likewise.
36640         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36641         __fortify_fail returning.
36642         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36644         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36645         sysdeps/sh/____longjmp_chk.S.
36646         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36647         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36648         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36649         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36651         * sysdeps/sh/abort-instr.h: New file.
36652         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36653         process in case exit returns.
36655         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36656         initialize the GOT register before use.
36658         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36659         calculation of ARGC > 4.
36661         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36662         meaningful names to some local labels.
36664 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36665             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36667         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36668         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36669         (__arch_compare_and_exchange_val_16_acq): Likewise.
36670         (__arch_compare_and_exchange_val_32_acq): Likewise.
36671         (atomic_exchange_and_add): Fix gUSA sequence.
36672         (atomic_add): Likewise.
36673         (atomic_add_negative): Likewise.
36674         (atomic_add_zero): Likewise.
36675         (atomic_bit_test_set): Likewise.
36677 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36679         [BZ #13579]
36680         * include/link.h (struct link_map): Add l_free_initfini.
36681         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36682         l_initfini.
36683         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36684         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36685         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36686         set.
36688 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36690         * configure.in: Use AC_LANG_SOURCE.
36691         * configure: Regenerate.
36693 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36695         * configure.in (libc_cv_localstatedir): New substituted variable.
36696         * configure: Regenerated.
36697         * config.make.in (localstatedir): New variable, substituted from
36698         libc_cv_localstatedir.
36699         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36700         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36701         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36702         * sysdeps/gnu/configure: Regenerated.
36704 2012-06-21  Jeff Law  <law@redhat.com>
36706         [BZ #14277]
36707         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36708         free.  Simplify list management for _LIBC case.
36710 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36712         [BZ #14273]
36713         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36714         Clear sign bit of 64-bit integer value before comparing against
36715         overflow value.
36717         * sysdeps/mach/configure: Regenerated.
36719 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36721         [BZ #14278]
36722         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36724 2012-06-21  Jeff Law  <law@redhat.com>
36726         [BZ #13882]
36727         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36728         uint16_t for elements in the "seen" array to avoid char overflows.
36729         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36730         * elf/dl-open.c (dl_open_worker): Likewise.
36732 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36734         * scripts/list-sources.sh: Scan PORTS for translations.
36735         * po/libc.pot: Regenerated.
36737 2012-06-21  Andreas Jaeger  <aj@suse.de>
36739         [BZ #12194]
36740         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36741         warning.
36742         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36743         * bits/byteswap-16.h (__bswap_16): Likewise.
36744         * bits/byteswap.h (__bswap_constant_16): Likewise.
36746 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36748         [BZ #14117]
36749         * sysdeps/i386/fpu_control.h: Removed.
36750         * sysdeps/x86_64/fpu_control.h: Moved to ...
36751         * sysdeps/x86/fpu_control.h: Here.
36753         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36754         (_FPU_SETCW): Likewise.
36756 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36758         [BZ #14117]
36759         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36760         * sysdeps/x86/fpu/bits/mathinline.h: This.
36761         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36763         [BZ #14050]
36764         [BZ #14117]
36765         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36766         functions if __x86_64__ is defined.
36768 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36770         * string/endian.h: Add !__ASSEMBLER__ condition for including
36771         conversion interfaces.
36773 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36775         [BZ #14241]
36776         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36777         of ABS(x) in calculating zero to negative powers other than odd
36778         integers.
36779         * math/libm-test.inc (pow_test): Add more tests.
36781 2012-06-15  Andreas Jaeger  <aj@suse.de>
36783         * manual/contrib.texi (Contributors): Update entry of Liubov
36784         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36785         Machado Filho.
36787 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36789         * string/string.h: Add __wur to GNU version of strerror_r.
36791 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36793         [BZ #14229]
36794         * string/Makefile (tests): Add tst-strtok_r.
36795         * string/tst-strtok_r.c: New file.
36796         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36797         RAX_LP/RDX_LP on SAVE_PTR.
36799 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36801         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36803 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36805         * libm_test.inc (csqrt_test): Allow more spurious underflow
36806         exceptions.
36807         (j0_test): Likewise.
36808         (j1_test): Likewise.
36809         (y0_test): Likewise.
36810         (y1_test): Likewise.
36812 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36814         * po/Makefile (libc.pot): Use UTF-8 charset.
36816 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36818         [BZ #14210]
36819         Suppress sign-conversion warning from FD_SET.
36820         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36821         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36822         not unsigned long int.
36823         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36825 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36827         [BZ #14050]
36828         [BZ #14117]
36829         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36830         __extern_always_inline instead of __extern_inline.
36831         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36832         (__signbit): Likewise.
36833         (__signbitl): Support C++ namespace.
36834         (lrintf): New inline function.
36835         (lrint): Likewise.
36836         (llrintf): Likewise.
36837         (llrint): Likewise.
36838         (fmaxf): Likewise.
36839         (fmax): Likewise.
36840         (fminf): Likewise.
36841         (fmin): Likewise.
36842         (rint): Likewise.
36843         (rintf): Likewise.
36844         (ceil): Likewise.
36845         (ceilf): Likewise.
36846         (floor): Likewise.
36847         (floorf): Likewise.
36848         (nearbyint): Likewise.
36849         (nearbyintf): Likewise.
36851 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36853         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36854         non-default versions.
36856 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36858         [BZ #14218]
36859         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36861 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36863         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36864         (FE_UPWARD, FE_DOWNWARD): Don't define.
36865         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36868         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36869         reading it.
36870         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36871         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36873 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36875         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36876         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36877         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36878         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36880 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36882         [BZ #14117]
36883         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36884         * sysdeps/i386/fpu/Implies: New file.
36885         * sysdeps/x86_64/fpu/Implies: Likewise.
36886         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36887         * sysdeps/x86/fpu/bits/fenv.h: This.
36889         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36890         __SSE_MATH__.
36892 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36894         [BZ #14134]
36895         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36896         character 0xffff that matches the last element of the
36897         conversion table.
36899 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36901         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36902         fmodl commit.
36904 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36906         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36907         values higher than 25.6283.
36909 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36912         subnormal exponent extraction and add some __builtin_expect.
36913         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36914         Fix for subnormal mantissa calculation.
36916 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36918         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36919         cpu2 is -1 and errno is not ENOSYS.
36921 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36923         [BZ #14117]
36924         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36925         * sysdeps/x86/bits/string.h: This.
36926         * sysdeps/x86_64/bits/string.h: Removed.
36928         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36929         if not compiling for x86-64, but compiling for >= i486.
36931         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36932         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36934         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36935         New macro from Linux kernel 3.4.0.
36936         (FP_XSTATE_MAGIC2): Likewise.
36937         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36938         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36939         (struct _fpx_sw_bytes): New struct.
36940         (struct _xsave_hdr): Likewise.
36941         (struct _ymmh_state): Likewise.
36942         (struct _xstate): Likewise.
36944         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36945         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36947         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36948         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36949         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36951         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36952         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36953         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36954         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36955         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36956         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36958 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36960         [BZ #13743]
36961         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36962         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36963         (sysdep_headers): Include sys/platform/ppc.h.
36964         * sysdeps/powerpc/test-gettimebase.c: Test for
36965         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36966         * manual/Makefile (appendices): Include platform.texi.
36967         * manual/contrib.texi (Contributors): Update @node pointers.
36968         * manual/maint.texi (Maintenance): Likewise.
36969         (Platform): New node.
36970         * manual/platform.texi: New file.  Document the new features.
36972 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36973             Jakub Jelinek  <jakub@redhat.com>
36975         [BZ #14188]
36976         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36977         where __builtin_expect is unavailable.
36979 2012-06-03  David S. Miller  <davem@davemloft.net>
36981         * stdlib/longlong.h: Updated from GCC.
36983 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
36985         [BZ #14042]
36986         * sysdeps/powerpc/powerpc32/mcount.c: New file.
36987         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36988         __mcount_internal.
36989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36990         (GLIBC_2.16): Likewise.
36992 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
36994         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36996 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
36998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36999         (default-abi): New variable.
37000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37001         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37002         variable.
37003         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37004         Likewise.
37005         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37006         Likewise.
37007         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37008         Likewise.
37010         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37011         definition.  Document in comment.
37013 2012-06-01  David S. Miller  <davem@davemloft.net>
37015         * stdlib/longlong.h: Updated from GCC.
37017 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37019         [BZ #14117]
37020         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37021         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37022         sys/debugreg.h sys/io.h here.
37023         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37024         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37025         sys/io.h.
37026         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37027         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37028         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37029         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37030         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37031         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37033         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37034         Define only if __x86_64__ is defined.
37036 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37038         [BZ #14048]
37039         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37040         Use int64_t for variable i.
37041         * math/libm-test.inc (fmod_test): Add more tests.
37043         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37044         z computation is not scheduled after fetestexcept.
37045         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37046         Use math_force_eval instead of asm to ensure calculation scheduled
37047         before exception test.
37048         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37049         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37051 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37054         computation is not scheduled after fetestexcept.
37056 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37058         [BZ #14117]
37059         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37060         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37062 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37064         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37065         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37067 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37069         [BZ #14117]
37070         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37071         <bits/wordsize.h>.
37072         (__WCHAR_MIN): Support __WORDSIZE == 64.
37073         (__WCHAR_MAX): Likewise.
37075         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37076         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37078         [BZ #14183]
37079         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37080         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37082         [BZ #14117]
37083         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37086         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37087         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37089         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37090         Defined to 1 if __x86_64__ isn't defined.
37091         (_STAT_VER_LINUX_OLD): New.
37092         (st_atime): Remove duplicate.
37093         (st_mtime): Likewise.
37094         (st_ctime): Likewise.
37096 2012-05-31  David S. Miller  <davem@davemloft.net>
37098         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37099         entries.
37101 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37103         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37104         gen-libm-test.pl.
37106         [BZ #14132]
37107         * elf/dl-reloc.c: Include <_itoa.h>.
37108         (_dl_reloc_bad_type): Remove use of INTUSE.
37109         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37110         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37111         * stdio-common/psiginfo.c (psiginfo): Likewise.
37112         * stdio-common/psignal.c (psignal): Likewise.
37113         * string/strsignal.c (strsignal): Likewise.
37114         * include/signal.h (_sys_siglist): Declare hidden proto.
37115         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37116         INTVARDEF with libc_hidden_data_def.
37117         * stdio-common/itoa-udigits.c: Likewise.
37118         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37119         (_itoa_lower_digits_internal): Remove declaration.
37120         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37121         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37122         (_sys_sigabbrev_internal): Remove aliases.
37123         (_sys_siglist): Define hidden alias.
37125 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37128         bits/sysctl.h.
37130 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37132         [BZ #14117]
37133         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37134         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37136         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37137         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37138         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37139         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37140         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37141         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37143         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37144         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37145         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37147         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37148         with __addr.
37149         (insw): Likewise.
37150         (insl): Likewise.
37151         (outsb): Likewise.
37152         (outsw): Likewise.
37153         (outsl): Likewise.
37155         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37156         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37157         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37159         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37160         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37161         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37162         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37163         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37164         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37166         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37167         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37169         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37170         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37172         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37173         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37174         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37176         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37177         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37178         to ...
37179         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37181         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37182         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37183         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37185         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37186         for x86-64.
37187         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37189 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37191         * math/math.h (M_El): Use two more decimal places.
37192         (M_LOG2El): Likewise.
37193         (M_LOG10El): Likewise.
37194         (M_LN2l): Likewise.
37195         (M_LN10l): Likewise.
37196         (M_PIl): Likewise.
37197         (M_PI_2l): Likewise.
37198         (M_PI_4l): Likewise.
37199         (M_1_PIl): Likewise.
37200         (M_2_PIl): Likewise.
37201         (M_2_SQRTPIl): Likewise.
37202         (M_SQRT2l): Likewise.
37203         (M_SQRT1_2l): Likewise.
37205 2012-05-31  David S. Miller  <davem@davemloft.net>
37207         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37208         values between float registers.
37209         * sysdeps/sparc/sparc64/memset.S: Likewise.
37210         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37212 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37214         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37215         -D_FORTIFY_SOURCE=1.
37216         (CPPFLAGS-tst-longjmp_chk.c): Define.
37217         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37218         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37219         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37220         CFLAGS-tst-wchar-h.c.
37222 2012-05-31  Marek Polacek  <polacek@redhat.com>
37224         [BZ #14132]
37225         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37226         __endmntent_internal): Remove declaration.
37227         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37228         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37229         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37231 2012-05-30  David S. Miller  <davem@davemloft.net>
37233         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37234         (___Q_simulate_exceptions): Use real FP ops rather than writing
37235         into the %fsr.
37236         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37237         Likewise.
37239 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37241         [BZ #14117]
37242         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37243         * sysdeps/x86/bits/xtitypes.h: This.
37245         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37246         * sysdeps/x86/bits/wordsize.h: This.
37248         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37249         * sysdeps/x86/bits/huge_vall.h: This.
37251         * sysdeps/i386/bits/select.h: Removed.
37252         * sysdeps/x86_64/bits/select.h: Renamed to ...
37253         * sysdeps/x86/bits/select.h: This.
37255         * sysdeps/i386/bits/setjmp.h: Removed.
37256         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37257         * sysdeps/x86/bits/setjmp.h: This.
37259         * sysdeps/i386/bits/mathdef.h: Removed.
37260         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37261         * sysdeps/x86/bits/mathdef.h: This.
37263 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37265         [BZ #14132]
37266         * include/sys/socket.h (__connect_internal)
37267         (__libc_sa_len_internal): Remove declaration.
37268         (__connect, __libc_sa_len): Declare hidden_proto.
37269         (SA_LEN): Remove use of INTUSE.
37270         * socket/connect.c: Add libc_hidden_def.
37271         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37272         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37273         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37274         alias.
37275         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37276         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37277         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37278         of adding _internal alias.
37280 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37282         [BZ #14117]
37283         * sysdeps/i386/bits/link.h: Removed.
37284         * sysdeps/i386/bits/linkmap.h: Likewise.
37285         * sysdeps/x86_64/bits/link.h: Renamed to ...
37286         * sysdeps/x86/bits/link.h: This.
37287         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37288         * sysdeps/x86/bits/linkmap.h: This.
37290         * sysdeps/i386/bits/endian.h: Removed.
37291         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37292         * sysdeps/x86/bits/endian.h: This.
37294         * sysdeps/i386/bits/byteswap.h: Removed.
37295         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37296         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37297         * sysdeps/x86/bits/byteswap.h: This.
37298         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37299         * sysdeps/x86/bits/byteswap-16.h: This.
37300         * sysdeps/i386/Implies: Add x86.
37301         * sysdeps/x86_64/Implies: Likewise.
37303 2012-05-30  David S. Miller  <davem@davemloft.net>
37305         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37306         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37307         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37308         (FP_TRAPPING_EXCEPTIONS): Define.
37309         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37310         (FP_TRAPPING_EXCEPTIONS): Define.
37311         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37312         subnormals only when inexact has been signalled or underflow
37313         exceptions are enabled.
37314         (_FP_PACK_CANONICAL): Likewise.
37316 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37318         [BZ #14183]
37319         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37320         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37322 2012-05-30  Richard Henderson  <rth@twiddle.net>
37324         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37325         with #ifndef NOT_IN_libc.
37327         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37328         marked to avoid plt entry.
37330 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37332         [BZ #14112]
37333         * Makeconfig (default-abi): New macro.
37334         (abi-includes): Likewise.
37335         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37336         $(abi-$(default-abi)-lib-soname) for soname if defined.
37337         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37338         abi-variants.
37339         * Makefile (installed-stubs): Likewise.
37340         * include/stubs-biarch.h: Removed.
37341         * scripts/lib-names.awk: Only handle one library at a time.
37342         * scripts/soversions.awk: Remove WORDSIZE support.
37343         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37344         entries.
37345         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37346         Removed.
37347         (syscall-list-default-condition): Likewise.
37348         (syscall-list-default-condition): Likewise.
37349         (syscall-list-includes): Likewise.
37350         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37351         syscall-list-* with abi-*.  Handle undefined abi-variants.
37352         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37353         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37354         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37355         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37356         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37357         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37358         Removed.
37359         (syscall-list-32-options): Likewise.
37360         (syscall-list-32-condition): Likewise.
37361         (syscall-list-64-options): Likewise.
37362         (syscall-list-64-condition): Likewise.
37363         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37364         macro.
37365         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37366         Renamed to ...
37367         (abi-*): This.
37368         (abi-64-ld-soname): New macro.
37369         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37370         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37371         Renamed to ...
37372         (abi-*): This.
37373         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37374         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37376 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37378         * sysdeps/unix/sysv/linux/kernel-features.h
37379         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37380         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37381         include <kernel-features.h>.
37382         [!__NR_ftruncate64]: Remove conditional code.
37383         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37384         [__NR_ftruncate64]: Make code unconditional.
37385         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37386         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37387         include <kernel-features.h>.
37388         [!__NR_ftruncate64]: Remove conditional code.
37389         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37390         [__NR_ftruncate64]: Make code unconditional.
37391         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37393         include <kernel-features.h>.
37394         [!__NR_ftruncate64]: Remove conditional code.
37395         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37396         [__NR_ftruncate64]: Make code unconditional.
37397         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37399         include <kernel-features.h>.
37400         [!__NR_ftruncate64]: Remove conditional code.
37401         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37402         [__NR_ftruncate64]: Make code unconditional.
37403         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37405         * configure.in (libc_cv_fpie): Weaken to a compile test using
37406         LIBC_TRY_CC_OPTION.
37407         * configure: Regenerated.
37409 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37415         Refreshed.
37416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37422         Refreshed.
37424 2012-05-27  David S. Miller  <davem@davemloft.net>
37426         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37427         (___Q_zero): New.
37428         (__Q_simulate_exceptions): Return void.  Change to simulate
37429         exceptions by writing into the %fsr.
37430         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37431         (__Qp_handle_exceptions): Likewise.
37432         (numbers): Delete.
37433         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37434         __Qp_handle_exceptions.
37435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37436         __Qp_handle_exceptions.
37437         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37438         as unused and give dummy FP_RND_NEAREST initializer.
37439         (FP_INHIBIT_RESULTS): Define.
37440         (___Q_simulate_exceptions): Update declaration.
37441         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37442         formatting.
37443         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37444         as unused and give dummy FP_RND_NEAREST initializer.
37445         (__Qp_handle_exceptions): Update declaration.
37446         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37447         formatting.
37449 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37451         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37452         the temporary FPU control word.
37453         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37454         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37455         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37456         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37457         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37458         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37459         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37460         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37461         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37462         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37463         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37465 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37467         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37468         fields.
37470 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37472         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37473         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37474         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37475         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37476         Likewise.
37477         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37478         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37479         Likewise.
37481 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37483         * po/h.po: Update from translation team.
37485 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37487         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37489         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37490         handling of denormals.
37491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37492         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37493         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37494         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37497         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37498         Likewise.
37500 2012-05-26  Marek Polacek  <polacek@redhat.com>
37502         [BZ #14152]
37503         * math/libm-test.inc (fma_test): Don't always expect underflow
37504         exception.
37506 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37508         [BZ #12416]
37509         * elf/tst-execstack.c: Include stackinfo.h.
37510         (do_test): Adjust test case to ensure that pthread_getattr_np
37511         behaviour remains the same after marking stack executable.
37513 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37515         * sysdeps/unix/sysv/linux/kernel-features.h
37516         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37517         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37518         kernel-features.h.
37519         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37520         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37521         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37522         kernel-features.h.
37523         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37524         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37526 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37528         * configure.in: Define the default includes to being none.
37529         * configure: Regenerated.
37531 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37533         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37534         * sysdeps/x86_64/setjmp.S: Likewise.
37535         * sysdeps/i386/bsd-setjmp.S: Likewise.
37536         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37537         * sysdeps/i386/setjmp.S: Likewise.
37538         * sysdeps/i386/__longjmp.S: Likewise.
37539         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37540         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37542         * include/stap-probe.h: New file.
37543         * configure.in: Handle --enable-systemtap.
37544         * configure: Regenerated.
37545         * config.h.in (USE_STAP_PROBE): New #undef.
37546         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37547         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37548         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37550 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #13717]
37553         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37554         to 2.4.0 where earlier.
37555         * sysdeps/unix/sysv/linux/configure: Regenerated.
37556         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37557         <kernel-features.h>.
37558         [__ASSUME_32BITUIDS]: Make code unconditional.
37559         [!__ASSUME_32BITUIDS]: Remove conditional code.
37560         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37561         <kernel-features.h>.
37562         [__ASSUME_32BITUIDS]: Make code unconditional.
37563         [!__ASSUME_32BITUIDS]: Remove conditional code.
37564         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37565         [__ASSUME_32BITUIDS]: Make code unconditional.
37566         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37567         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
37576         <kernel-features.h>.
37577         [__ASSUME_32BITUIDS]: Make code unconditional.
37578         [!__ASSUME_32BITUIDS]: Remove conditional code.
37579         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37580         <kernel-features.h>.
37581         [__ASSUME_32BITUIDS]: Make code unconditional.
37582         [!__ASSUME_32BITUIDS]: Remove conditional code.
37583         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37584         <kernel-features.h>.
37585         [__ASSUME_32BITUIDS]: Make code unconditional.
37586         [!__ASSUME_32BITUIDS]: Remove conditional code.
37587         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37588         <kernel-features.h>.
37589         [__ASSUME_32BITUIDS]: Make code unconditional.
37590         [!__ASSUME_32BITUIDS]: Remove conditional code.
37591         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37592         <kernel-features.h>.
37593         [__ASSUME_32BITUIDS]: Make code unconditional.
37594         [!__ASSUME_32BITUIDS]: Remove conditional code.
37595         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37596         <kernel-features.h>.
37597         [__ASSUME_32BITUIDS]: Make code unconditional.
37598         [!__ASSUME_32BITUIDS]: Remove conditional code.
37599         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37600         <kernel-features.h>.
37601         [__ASSUME_32BITUIDS]: Make code unconditional.
37602         [!__ASSUME_32BITUIDS]: Remove conditional code.
37603         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37604         <kernel-features.h>.
37605         [__ASSUME_32BITUIDS]: Make code unconditional.
37606         [!__ASSUME_32BITUIDS]: Remove conditional code.
37607         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37608         <kernel-features.h>.
37609         [__NR_setresgid] (__setresgid): Do not declare.
37610         [__ASSUME_32BITUIDS]: Make code unconditional.
37611         [!__ASSUME_32BITUIDS]: Remove conditional code.
37612         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37613         <kernel-features.h>.
37614         [__NR_setresuid] (__setresuid): Do not declare.
37615         [__ASSUME_32BITUIDS]: Make code unconditional.
37616         [!__ASSUME_32BITUIDS]: Remove conditional code.
37617         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/i386/setgid.c: Do not include
37626         <kernel-features.h>.
37627         [__ASSUME_32BITUIDS]: Make code unconditional.
37628         [!__ASSUME_32BITUIDS]: Remove conditional code.
37629         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37630         <kernel-features.h>.
37631         [__ASSUME_32BITUIDS]: Make code unconditional.
37632         [!__ASSUME_32BITUIDS]: Remove conditional code.
37633         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37634         <kernel-features.h>.
37635         [__ASSUME_32BITUIDS]: Make code unconditional.
37636         [!__ASSUME_32BITUIDS]: Remove conditional code.
37637         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37638         <kernel-features.h>.
37639         [__ASSUME_32BITUIDS]: Make code unconditional.
37640         [!__ASSUME_32BITUIDS]: Remove conditional code.
37641         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37642         <kernel-features.h>.
37643         [__ASSUME_32BITUIDS]: Make code unconditional.
37644         [!__ASSUME_32BITUIDS]: Remove conditional code.
37645         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37646         <kernel-features.h>.
37647         [__ASSUME_32BITUIDS]: Make code unconditional.
37648         [!__ASSUME_32BITUIDS]: Remove conditional code.
37649         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37650         <kernel-features.h>.
37651         [__ASSUME_32BITUIDS]: Make code unconditional.
37652         [!__ASSUME_32BITUIDS]: Remove conditional code.
37653         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37654         <kernel-features.h>.
37655         [__ASSUME_32BITUIDS]: Make code unconditional.
37656         [!__ASSUME_32BITUIDS]: Remove conditional code.
37657         * sysdeps/unix/sysv/linux/kernel-features.h
37658         (__ASSUME_SETRESUID_SYSCALL): Remove.
37659         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37660         (__ASSUME_32BITUIDS): Likewise.
37661         (__ASSUME_LDT_WORKS): Likewise.
37662         (__ASSUME_O_DIRECTORY): Likewise.
37663         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37664         architecture but not kernel version.
37665         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37666         (__ASSUME_MMAP2_SYSCALL): Likewise.
37667         (__ASSUME_STAT64_SYSCALL): Likewise.
37668         (__ASSUME_IPC64): Likewise.
37669         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37670         <kernel-features.h>.
37671         [__ASSUME_32BITUIDS]: Make code unconditional.
37672         [!__ASSUME_32BITUIDS]: Remove conditional code.
37673         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37674         <kernel-features.h>.
37675         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37676         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37677         132096]: Remove conditional code.
37678         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37679         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37680         <kernel-features.h>.
37681         [__ASSUME_32BITUIDS]: Make code unconditional.
37682         [!__ASSUME_32BITUIDS]: Remove conditional code.
37683         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37684         <kernel-features.h>.
37685         [__ASSUME_32BITUIDS]: Make code unconditional.
37686         [!__ASSUME_32BITUIDS]: Remove conditional code.
37687         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37688         <kernel-features.h>.
37689         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37690         unconditional.
37691         (__setresgid): Do not declare.
37692         [__ASSUME_32BITUIDS]: Make code unconditional.
37693         [!__ASSUME_32BITUIDS]: Remove conditional code.
37694         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37695         <kernel-features.h>.
37696         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37697         unconditional.
37698         (__setresuid): Do not declare.
37699         [__ASSUME_32BITUIDS]: Make code unconditional.
37700         [!__ASSUME_32BITUIDS]: Remove conditional code.
37701         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37702         <kernel-features.h>.
37703         [__ASSUME_32BITUIDS]: Make code unconditional.
37704         [!__ASSUME_32BITUIDS]: Remove conditional code.
37705         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37706         <kernel-features.h>.
37707         [__ASSUME_32BITUIDS]: Make code unconditional.
37708         [!__ASSUME_32BITUIDS]: Remove conditional code.
37710 2012-05-25  Richard Henderson  <rth@twiddle.net>
37712         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37713         dl_hwcap to ifunc resolver.
37714         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37715         elf_ifunc_invoke.
37716         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37717         dl_hwcap to ifunc resolver.
37718         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37720 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37722         [BZ #14153]
37723         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37724         for |x| <= 2**-26, not 2**-57.
37725         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37726         exception.
37728 2012-05-24  Jeff Law  <law@redhat.com>
37730         * stdio-common/Makefile (tests): Add bug25.
37731         * stdio-common/bug25.c: New test.
37733 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37735         [BZ #13576]
37736         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37737         multiple of MALLOC_ALIGNMENT in size.
37738         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37740 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37742         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37743         Require >= 256.
37744         (FILENAME_MAX): Use macro-int-constant.
37745         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37746         (_IOFBF): Use macro-int-constant.
37747         (_IOLBF): Likewise.
37748         (_IONBF): Likewise.
37749         (SEEK_CUR): Likewise.
37750         (SEEK_END): Likewise.
37751         (SEEK_SET): Likewise.
37752         (TMP_MAX): Likewise.
37753         (EOF): Use macro-int-constant.  Require < 0.
37754         (NULL): Use macro-constant.  Require == 0.
37755         (stdin): Require type to be FILE *.
37756         (stdout): Likewise.
37757         (stderr): Likewise.
37758         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37759         macro-int-constant.
37760         (EXIT_SUCCESS): Likewise.
37761         (NULL): Use macro-constant.  Require == 0.
37762         (RAND_MAX): Use macro-int-constant.
37763         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37764         [C99-based standards] (strtof): Require function.
37765         [C99-based standards] (strtold): Likewise.
37766         [C99-based standards] (strtoll): Likewise.
37767         [C99-based standards] (strtoull): Likewise.
37768         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37769         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37770         [ISO || ISO99 || ISO11] (math.h): Likewise.
37771         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37772         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37773         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37775 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37777         [BZ #14132]
37778         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37779         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37780         * intl/dgettext.c (DCGETTEXT): Likewise.
37781         * intl/gettext.c (DCGETTEXT): Likewise.
37782         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37783         * posix/regex_internal.h (gettext): Likewise.
37784         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37785         Remove declaration.
37786         * include/argz.h (__argz_count_internal)
37787         (__argz_stringify_internal): Remove declaration.
37788         (__argz_count, __argz_stringify): Declare hidden proto.
37789         * intl/dcgettext.c: Remove use of INTDEF.
37790         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37791         * string/argz-stringify.c: Likewise.
37792         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37793         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37794         Declare hidden proto.
37795         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37796         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37797         Declare hidden proto.
37798         * include/stdio.h (__asprintf_internal): Don't declare.
37799         (__asprintf): Don't define as macro.  Declare hidden proto.
37800         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37801         (__fsetlocking): Declare hidden proto.
37802         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37803         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37804         hidden proto.
37805         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37806         (_IO_setlinebuf): Remove use of INTUSE.
37807         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37808         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37809         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37810         Remove declaration.
37811         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37812         (_IO_do_flush): Remove use of INTUSE.
37813         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37814         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37815         (_IO_adjust_column, _IO_least_wmarker)
37816         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37817         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37818         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37819         (_IO_default_doallocate, _IO_wdefault_doallocate)
37820         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37821         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37822         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37823         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37824         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37825         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37826         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37827         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37828         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37829         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37830         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37831         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37832         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37833         proto.
37834         (_IO_flush_all_internal, _IO_adjust_column_internal)
37835         (_IO_default_uflow_internal, _IO_default_finish_internal)
37836         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37837         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37838         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37839         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37840         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37841         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37842         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37843         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37844         (_IO_file_close_internal, _IO_file_close_it_internal)
37845         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37846         (_IO_file_init_internal, _IO_file_attach_internal)
37847         (_IO_file_fopen_internal, _IO_file_read_internal)
37848         (_IO_file_sync_internal, _IO_file_seek_internal)
37849         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37850         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37851         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37852         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37853         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37854         (_IO_list_all_internal, _IO_link_in_internal)
37855         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37856         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37857         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37858         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37859         (_IO_do_write_internal, _IO_padn_internal)
37860         (_IO_getline_info_internal, _IO_getline_internal)
37861         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37862         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37863         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37864         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37865         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37866         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37867         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37868         with libc_hidden_ver, remove use of INTUSE.
37869         * libio/genops.c: Likewise.
37870         * libio/freopen.c: Likewise.
37871         * libio/freopen64.c: Likewise.
37872         * libio/iofclose.c: Likewise.
37873         * libio/iofdopen.c: Likewise.
37874         * libio/iofflush.c: Likewise.
37875         * libio/iofflush_u.c: Likewise.
37876         * libio/iofgets.c: Likewise.
37877         * libio/iofgets_u.c: Likewise.
37878         * libio/iofopen.c: Likewise.
37879         * libio/iofopncook.c: Likewise.
37880         * libio/iofread.c: Likewise.
37881         * libio/iofread_u.c: Likewise.
37882         * libio/ioftell.c: Likewise.
37883         * libio/iofwrite.c: Likewise.
37884         * libio/iogetline.c: Likewise.
37885         * libio/iogets.c: Likewise.
37886         * libio/iogetwline.c: Likewise.
37887         * libio/iopadn.c: Likewise.
37888         * libio/iopopen.c: Likewise.
37889         * libio/ioseekoff.c: Likewise.
37890         * libio/ioseekpos.c: Likewise.
37891         * libio/iosetbuffer.c: Likewise.
37892         * libio/iosetvbuf.c: Likewise.
37893         * libio/ioungetc.c: Likewise.
37894         * libio/ioungetwc.c: Likewise.
37895         * libio/iovdprintf.c: Likewise.
37896         * libio/iovsprintf.c: Likewise.
37897         * libio/iovsscanf.c: Likewise.
37898         * libio/memstream.c: Likewise.
37899         * libio/obprintf.c: Likewise.
37900         * libio/oldfileops.c: Likewise.
37901         * libio/oldiofclose.c: Likewise.
37902         * libio/oldiofdopen.c: Likewise.
37903         * libio/oldiofopen.c: Likewise.
37904         * libio/oldiopopen.c: Likewise.
37905         * libio/oldstdfiles.c: Likewise.
37906         * libio/putc.c: Likewise.
37907         * libio/setbuf.c: Likewise.
37908         * libio/setlinebuf.c: Likewise.
37909         * libio/stdfiles.c: Likewise.
37910         * libio/strops.c: Likewise.
37911         * libio/vasprintf.c: Likewise.
37912         * libio/vscanf.c: Likewise.
37913         * libio/vsnprintf.c: Likewise.
37914         * libio/vswprintf.c: Likewise.
37915         * libio/wfiledoalloc.c: Likewise.
37916         * libio/wfileops.c: Likewise.
37917         * libio/wgenops.c: Likewise.
37918         * libio/wmemstream.c: Likewise.
37919         * libio/wstrops.c: Likewise.
37920         * libio/__fpurge.c: Likewise.
37921         * libio/__fsetlocking.c: Likewise.
37922         * assert/assert.c: Likewise.
37923         * debug/fgets_chk.c: Likewise.
37924         * debug/fgets_u_chk.c: Likewise.
37925         * debug/fread_chk.c: Likewise.
37926         * debug/fread_u_chk.c: Likewise.
37927         * debug/gets_chk.c: Likewise.
37928         * debug/obprintf_chk.c: Likewise.
37929         * debug/vasprintf_chk.c: Likewise.
37930         * debug/vdprintf_chk.c: Likewise.
37931         * debug/vsnprintf_chk.c: Likewise.
37932         * debug/vsprintf_chk.c: Likewise.
37933         * malloc/mtrace.c: Likewise.
37934         * misc/error.c: Likewise.
37935         * misc/syslog.c: Likewise.
37936         * stdio-common/asprintf.c: Likewise.
37937         * stdio-common/fxprintf.c: Likewise.
37938         * stdio-common/getw.c: Likewise.
37939         * stdio-common/isoc99_fscanf.c: Likewise.
37940         * stdio-common/isoc99_scanf.c: Likewise.
37941         * stdio-common/isoc99_vfscanf.c: Likewise.
37942         * stdio-common/isoc99_vscanf.c: Likewise.
37943         * stdio-common/isoc99_vsscanf.c: Likewise.
37944         * stdio-common/printf-prs.c: Likewise.
37945         * stdio-common/printf_fp.c: Likewise.
37946         * stdio-common/printf_fphex.c: Likewise.
37947         * stdio-common/printf_size.c: Likewise.
37948         * stdio-common/putw.c: Likewise.
37949         * stdio-common/scanf.c: Likewise.
37950         * stdio-common/sprintf.c: Likewise.
37951         * stdio-common/tmpfile.c: Likewise.
37952         * stdio-common/vfprintf.c: Likewise.
37953         * stdio-common/vfscanf.c: Likewise.
37954         * stdlib/strfmon_l.c: Likewise.
37955         * sunrpc/openchild.c: Likewise.
37956         * sunrpc/xdr_stdio.c: Likewise.
37957         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37958         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37960 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37962         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37964         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37965         in the third column, to generate for the shared library an IFUNC
37966         that uses _dl_vdso_vsym.
37967         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37968         * Makeconfig (object-suffixes-noshared): New variable.
37970         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37971         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37972         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37973         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37975         [BZ #14132]
37976         * include/sys/time.h (__gettimeofday): Remove macro.
37977         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37978         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37979         Remove INTDEF.
37980         (__gettimeofday): Add libc_hidden_def.
37981         (gettimeofday): Add libc_hidden_weak.
37982         * sysdeps/mach/gettimeofday.c: Likewise.
37983         * sysdeps/posix/gettimeofday.c: Likewise.
37984         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37985         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37986         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37987         (__gettimeofday_internal): Remove strong_alias.
37988         (__gettimeofday): Add libc_hidden_def.
37989         (gettimeofday): Add libc_hidden_weak.
37990         * sysdeps/unix/syscalls.list (gettimeofday):
37991         Remove __gettimeofday_internal alias.
37993 2012-05-24  Daniel Jacobowitz  <drow@false.org>
37994             H.J. Lu  <hongjiu.lu@intel.com>
37996         [BZ #12495]
37997         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37998         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37999         (largebin_index_32_big): New.
38000         (largebin_index): Use it for 16-byte alignment.
38001         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38002         correction with front_misalign.
38004 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38008         Likewise.
38009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38010         Likewise.
38011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38012         Likewise.
38013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38014         Likewise.
38015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38016         Likewise.
38017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38018         Likewise.
38019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38020         Likewise.
38021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38022         Likewise.
38023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38024         Likewise.
38025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38026         Likewise.
38027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38028         Likewise.
38029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38030         Likewise.
38032         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38033         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38035 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38037         [BZ #10846]
38038         [BZ #14036]
38039         * math/libm-test.inc (exp_test): Add test from bug 14036.
38040         (pow_test): Add test from bug 10846.
38042         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38043         and other flags.
38044         (special_function): Do not include flags in test name.
38045         (parse_args): Likewise.
38046         * sysdeps/i386/fpu/libm-test-ulps: Update.
38047         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38048         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38049         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38052         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38053         exceptions.
38054         * math/libm-test.inc ("Philosophy"): Update comment about
38055         exception testing.
38056         (UNDERFLOW_EXCEPTION): New macro.
38057         (UNDERFLOW_EXCEPTION_OK): Likewise.
38058         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38059         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38060         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38061         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38062         (INVALID_EXCEPTION_OK): Update value.
38063         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38064         (OVERFLOW_EXCEPTION_OK): Likewise.
38065         (IGNORE_ZERO_INF_SIGN): Likewise.
38066         (test_exceptions): Handle underflow exceptions.
38067         (acos_test): Update for underflow exception expectations.
38068         (cexp_test): Likewise.
38069         (clog_test): Likewise.
38070         (clog10_test): Likewise.
38071         (csqrt_test): Likewise.
38072         (ctan_test): Likewise.
38073         (ctanh_test): Likewise.
38074         (exp_test): Likewise.
38075         (exp10_test): Likewise.
38076         (exp2_test): Likewise.
38077         (expm1_test): Likewise.
38078         (fma_test): Likewise.
38079         (j0_test): Likewise.
38080         (jn_test): Likewise.
38081         (nexttoward_test): Likewise.
38082         (pow_test): Likewise.
38083         (scalbn_test): Likewise.
38084         (scalbln_test): Likewise.
38085         (tan_test): Likewise.
38086         (y1_test): Likewise.
38087         * sysdeps/i386/fpu/libm-test-ulps: Update.
38088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38090 2012-05-23  David S. Miller  <davem@davemloft.net>
38092         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38093         (__libc_sigaction): Remove unused local variables.
38095 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38097         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38099 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38101         mktime: avoid signed integer overflow
38102         * time/mktime.c (__mktime_internal): Do not mishandle the case
38103         where diff == INT_MIN.
38105         mktime: simplify computation of average
38106         * time/mktime.c (ranged_convert): Use new time_t_avg function
38107         instead of rolling our own (probably-slower) code.
38109         mktime: do not assume signed right shift propagates sign bit
38110         * time/mktime.c (isdst_differ): New static function.
38111         (__mktime_internal): No need to normalize tm_isdst now.
38112         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38113         tm_isdst values.
38115         mktime: merge another wrapv change from gnulib
38116         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38117         from some compilers.
38119         mktime: remove incorrect attempt at unusual arithmetics
38120         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38121         The code didn't really work on such machines anyway.
38122         (TYPE_MINIMUM): Assume two's complement.
38123         (twos_complement_arithmetic): Verify that long_int and time_t
38124         are two's complement (or unsigned, in the latter case).
38126         mktime: check signed shifts on long_int and time_t, too
38127         * time/mktime.c (SHR): Check that shifts work as desired
38128         on the types long_int and time_t too, as SHR is used on
38129         such types.
38131         mktime: do not assume 'long' is wide enough
38132         * time/mktime.c (verify): Move decl up.
38133         (long_int): New type.
38134         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38135         to remove assumption in the code that 'long' is wide enough to
38136         store year values.  This assumption is not true on x32 and on
38137         some non-glibc platforms.
38139         mktime: merge wrapv change from gnulib
38140         * time/mktime.c (WRAPV): New macro.
38141         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38142         (guess_time_tm, __mktime_internal): Do not assume that signed
38143         integer overflow wraps around; modern compilers generate code
38144         where this assumption is no longer valid.
38146 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38148         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38149         Replace "jmp L(pseudo_end)" with "ret".
38150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38151         Likewise.
38153 2012-05-23  Andreas Jaeger  <aj@suse.de>
38155         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38156         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38158 2012-05-23  Andreas Jaeger  <aj@suse.de>
38159             Maximilian Attems  <max@stro.at>
38161         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38162         New macros.
38164 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38166         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38167         code so that pseudo_end is just ret and the stack pointer is
38168         correct also for static library in error case.
38170 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38172         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38173         move to syscalls.list.
38174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38179         * manual/install.texi (Running make install): Do not mention Linux
38180         kernel version for which pt_chown is not needed.
38181         (Linux): Do not mention problems with nscd with 2.0 kernels.
38182         * INSTALL: Regenerated.
38184 2012-05-23  Andreas Jaeger  <aj@suse.de>
38186         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38187         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38188         macro.
38189         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38190         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38191         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38192         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38193         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38194         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38195         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38196         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38197         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38198         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38199         * sysdeps/unix/sysv/linux/bits/in.h
38200         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38202 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38204         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38205         (PREPARE_VERSION): Just use assert instead, it will be elided
38206         under [NDEBUG] anyway.
38208 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38210         * sysdeps/unix/sysv/linux/Makefile: Include
38211         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38212         (sysdep_routines): Remove sysctl.
38213         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38214         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38215         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38216         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38217         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38219 2012-05-22  Andreas Jaeger  <aj@suse.de>
38221         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38222         that pseudo_end is just ret and the stack pointer is correct also
38223         for static library in error case.
38225 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38227         [BZ #14122]
38228         * nss/nsswitch.c (defconfig_entries): New variable.
38229         (__nss_database_lookup): Don't leak defconfig entries.
38230         (nss_parse_service_list): Don't leak on error paths.
38231         (free_database_entries): New function.
38232         (free_defconfig): New function.
38233         (free_mem): Move common code to free_database_entries.
38235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38237         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38238         Add arch_prctl.
38239         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38241         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38242         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38244         New macro.
38245         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38246         (INTERNAL_SYSCALL_TYPES): Likewise.
38247         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38248         (LOAD_REGS_TYPES_[1-6]): Likewise.
38249         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38250         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38252 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38254         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38255         copysignl for GLIBC_2_0.
38256         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38257         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38259         logbl for GLIBC_2_0.
38260         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38261         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38263 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38265         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38266         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38268         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38269         Use "neg %eax".
38271         * time/mktime.c: Update copyright years.
38273 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38275         mktime: merge comment-quoting-style change from gnulib
38276         * time/mktime.c: Quote 'like this' in comments.
38277         The GNU coding standards suggest that we no longer quote `like this',
38278         as "`" and "'" are typically rendered asymmetrically nowadays.
38279         The typical gnulib style is to quote 'like this' when quoting
38280         code, and "like this" when quoting English.
38282         * time/mktime.c (compile-command): Add "-I.".
38284         mktime: merge mktime-internal.h change from gnulib
38285         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38287         mktime: merge time_r change from gnulib
38288         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38290         mktime: merge DEBUG change from gnulib
38291         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38292         case system <time.h> has a #define.
38294         mktime: merge <sys/types.h> change from gnulib
38295         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38296         since <time.t> is now guaranteed to define time_t.
38298         mktime: merge HAVE_CONFIG_H change from gnulib
38299         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38301 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38304         Use "neg %eax".
38306         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38307         __rlim_t cast.
38308         (struct rusage): Use anonymous union to pad each field to
38309         __syscall_slong_t.
38311 2012-05-21  David S. Miller  <davem@davemloft.net>
38313         * Makefules (o-iterator): Remove .s cases.
38314         (compile-command.s): Delete.
38315         (COMPILE.s): Delete.
38316         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38318 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38320         * configure.in (libc_cv_predef_stack_protector): Only consider
38321         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38322         * configure: Regenerated.
38324 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38327         New macro.  Use R*LP on int and pointer.
38328         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38329         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38330         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38331         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38333         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38334         [__WORDSIZE_TIME64_COMPAT32] instead of
38335         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38336         (struct utmp): Likewise.
38337         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38338         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38339         Renamed to ...
38340         (__WORDSIZE_TIME64_COMPAT32): This.
38341         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38342         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38343         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38344         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38345         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38346         (__WORDSIZE_TIME64_COMPAT32): New macro.
38348 2012-05-21  Andreas Jaeger  <aj@suse.de>
38350         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38351         only if [SHARED]. Add prototype for __wcschr_ia32.
38353 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38355         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38356         of %rbp unmolested in the jmp_buf while mangling the low bits.
38357         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38358         unmolested high bits of %rbp while demangling the low bits.
38359         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38361 2012-05-21  Andreas Jaeger  <aj@suse.de>
38363         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38364         * sunrpc/svc_simple.c: Use it for registerrpc.
38365         * sunrpc/xcrypt.c: Use it for passwd2des.
38367         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38369 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38371         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38372         Don't define if [__SYSCALL_WORDSIZE != 32].
38373         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38374         New macro.
38376 2012-05-21  Bruno Haible  <bruno@clisp.org>
38377             Andreas Jaeger  <aj@suse.de>
38379         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38380         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38381         inptr and inend for must_buffer_ch.
38382         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38383         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38384         * stdio-common/Makefile (tests): Remove bug15.
38385         (bug15-ENV): Remove macro.
38386         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38387         anymore.
38389 2012-05-19  Andreas Jaeger  <aj@suse.de>
38390             Roland McGrath  <roland@hack.frob.com>
38392         * manual/contrib.texi: Completely rewritten. It contains now an
38393         alphabetical list of contributors and their contributions.
38395 2012-05-21  Richard Henderson  <rth@twiddle.net>
38397         * misc/getauxval.c (__getauxval): Use unsigned long int.
38398         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38399         (getauxval): Use unsigned long int.
38401 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38403         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38405 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38407         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38408         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38409         __alignof__ (long double).
38411 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38415 2012-05-20  Richard Henderson  <rth@twiddle.net>
38417         * misc/getauxval.c: New file.
38418         * misc/sys/auxv.h: New file.
38419         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38420         (routines): Add getauxval.
38421         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38422         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38423         * elf/dl-sysdep.c (_dl_auxv): Remove.
38424         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38425         * elf/dl-support.c (_dl_auxv): New variable.
38426         (_dl_aux_init): Initialize it.
38427         * manual/startup.texi (Auxiliary Vector): New node.
38428         * sysdeps/generic/bits/hwcap.h: New file.
38429         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38430         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38431         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38432         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38433         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38436         Update.
38437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38446 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38450 2012-05-19  David S. Miller  <davem@davemloft.net>
38452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38454 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38456         [BZ #14123]
38457         * math/s_ccosh.c: Include <float.h>
38458         (__ccosh): Avoid internal overflow calculating sinh and cosh
38459         values before multiplying by sin and cos values.
38460         * math/s_ccoshf.c: Likewise.
38461         * math/s_ccoshl.c: Likewise.
38462         * math/s_csin.c: Likewise.
38463         * math/s_csinf.c: Likewise.
38464         * math/s_csinl.c: Likewise.
38465         * math/s_csinh.c: Likewise.
38466         * math/s_csinhf.c: Likewise.
38467         * math/s_csinhl.c: Likewise.
38468         * math/libm-test.inc (ccos_test): Add more tests.
38469         (ccosh_test): Likewise.
38470         (csin_test): Likewise.
38471         (csinh_test): Likewise.
38472         * sysdeps/i386/fpu/libm-test-ulps: Update.
38473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38475 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38477         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38478         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38480         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38482 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38484         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38485         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38486         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38487         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38488         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38489         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38490         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38491         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38492         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38493         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38494         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38495         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38496         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38497         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38498         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38499         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38500         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38501         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38502         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38503         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38504         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38505         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38506         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38507         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38508         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38509         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38510         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38511         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38512         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38513         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38514         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38516 2012-05-18  Andreas Jaeger  <aj@suse.de>
38518         * csu/.gitignore: Delete.
38520 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38522         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38523         (timex): Use __syscall_slong_t.
38525 2012-05-18  Andreas Jaeger  <aj@suse.de>
38526             Carlos O'Donell  <carlos_odonell@mentor.com>
38528         * manual/install.texi (Configuring and compiling): Update
38529         description about files modified in the source directory.
38530         * INSTALL: Regenerated.
38532 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38534         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38535         value.  Use "or" to set return value to -1.
38536         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38537         negate return value.
38539 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38541         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38542         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38543         failure if the compiler has Graphite support disabled.
38544         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38545         Likewise.
38546         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38547         (CFLAGS-memmove.c): Likewise.
38548         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38549         Likewise.
38551 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38553         * sysdeps/x86_64/x32/_itoa.h: New file.
38555         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38556         getdents system call only if kernel and user dirents have the
38557         same d_ino and d_off.
38559         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38560         LLONG_MAX != LONG_MAX.
38561         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38562         (_fitoa_word): Likewise.
38564         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38565         years.
38566         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38567         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38568         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38570         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38571         include <bits/wordsize.h>.  Check __x86_64__ instead of
38572         __WORDSIZE.
38573         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38574         if __x86_64__ is defined.  Use anonymous union on fpstate.
38576         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38577         anonymous union.
38579 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
38581         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38582         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38583         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38584         Refer to _rtld_local_ro instead of _rtld_global_ro.
38585         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38586         Likewise.
38587         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38588         Likewise.
38589         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38590         Likewise.
38591         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38592         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38593         of _rtld_global, and rtld_progname instead of _dl_argv[0].
38595         * sysdeps/powerpc/powerpc32/dl-machine.c
38596         (__elf_machine_runtime_setup) [PROF]: Don't reference
38597         _dl_prof_resolve.
38599 2012-05-18  Andreas Jaeger  <aj@suse.de>
38601         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38602         function only available for GCCs before 3.4 since GCC 3.4
38603         introduced a builtin.
38604         (lrint): Likewise.
38605         (llrintf): Likewise.
38606         (llrint): Likewise.
38607         (fmaxf): Likewise.
38608         (fmax): Likewise.
38609         (fminf): Likewise.
38610         (fmin): Likewise.
38611         (rint): Likewise.
38612         (rintf): Likewise.
38613         (nearbyint): Likewise.
38614         (nearbyintf): Likewise.
38615         (ceil): Likewise.
38616         (ceilf): Likewise.
38617         (floor): Likewise.
38618         (floorf): Likewise.
38620 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38622         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38623         on both fields and cast pointer to __syscall_ulong_t.
38625         * bits/types.h (__fsword_t): New type.
38626         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38627         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38628         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38629         (__FSWORD_T_TYPE): Likewise.
38630         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38631         (__FSWORD_T_TYPE): Likewise.
38632         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38633         (__FSWORD_T_TYPE): Likewise.
38634         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38635         (__FSWORD_T_TYPE): Likewise.
38636         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38637         __SWORD_TYPE with __fsword_t.
38638         (statfs64): Likewise.
38640 2012-05-17  David S. Miller  <davem@davemloft.net>
38642         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38644 2012-05-17  Andreas Jaeger  <aj@suse.de>
38646         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38647         warning.
38649 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38651         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38653 2012-05-17  Andreas Jaeger  <aj@suse.de>
38655         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38656         when it is used.
38658 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38660         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38662 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38664         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38665         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38667 2012-05-17  Andreas Jaeger  <aj@suse.de>
38668             Carlos O'Donell  <carlos_odonell@mentor.com>
38670         [BZ #14059]
38671         * sysdeps/x86_64/multiarch/init-arch.h
38672         (bit_YMM_Usable): Rename to...
38673         (bit_AVX_Usable): ... this.
38674         (bit_FMA4_Usable): New macro.
38675         (bit_XMM_state): New macro.
38676         (bit_YMM_state): New macro.
38677         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38678         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38679         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38680         (CPUID_OSXSAVE): New macro.
38681         (CPUID_AVX): New macro.
38682         (CPUID_FMA4): New macro.
38683         (index_YMM_Usable): Rename to...
38684         (index_AVX_Usable): ... this.
38685         (HAS_AVX): Use HAS_ARCH_FEATURE.
38686         (HAS_FMA4): Likewise.
38687         (HAS_YMM_USABLE): Remove.
38688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38689         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38690         are present.
38691         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38692         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38693         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38694         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38695         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38697 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38699         * math/libm-test.c: Support platforms without multiple rounding modes.
38700         * math/bug-nextafter.c: Support platforms without FP exceptions.
38701         * math/bug-nexttoward.c: Likewise.
38702         * math/test-fenv.c: Likewise.
38703         * math/test-misc.c: Likewise.
38704         * stdlib/bug-getcontext.c: Likewise.
38706 2012-05-17  Andreas Jaeger  <aj@suse.de>
38708         * manual/examples/search.c (critter_cmp): Change signature to
38709         avoid warnings.
38710         * manual/string.texi (Collation Functions): Likewise.
38712 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38714         * bits/types.h: Fold copyright years.
38715         * bits/typesizes.h: Likewise.
38716         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38717         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38718         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38720         * time/time.h: Likewise.
38722 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38724         [BZ #208]
38725         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38726         in instead of returning them.  Return void.
38727         (__libc_mallinfo): Accumulate over all arenas.
38728         (__malloc_stats): Adjust for change in int_mallinfo interface.
38730 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38732         [BZ #10375]
38733         * configure.in (NM): Add AC_CHECK_TOOL for it.
38734         (libc_extra_cflags): New substituted variable.
38735         Check for -fstack-protector being used implicitly.
38736         * configure: Regenerated.
38737         * config.make.in (config-extra-cflags): New variable,
38738         gets @libc_extra_cflags@.
38739         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38741         [BZ #10375]
38742         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38743         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38744         * configure: Regenerated.
38745         * config.make.in (CPPUNDEFS): New substituted variable.
38746         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38747         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38748         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38750 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38752         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38753         (mq_attr): Use __syscall_slong_t.
38755 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38757         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38758         Check __x86_64__ instead of __WORDSIZE.
38759         (_STAT_VER_LINUX): Likewise.
38760         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38761         __syscall_ulong_t and __syscall_slong_t.
38762         (stat64): Likewise.
38764 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38766         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38768 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38770         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38772 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38774         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38775         __syscall_ulong_t.
38777         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38778         include <bits/wordsize.h>.  Check __x86_64__ instead of
38779         __WORDSIZE.
38780         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38781         defined.
38782         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38784         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38785         include <bits/wordsize.h>.  Check __x86_64__ instead of
38786         __WORDSIZE.
38787         (user_regs_struct): Use "__extension__ unsigned long long"
38788         instead of "unsigned long" if __x86_64__ is defined.
38789         (user): Likewise.  Pad after pointer field if __ILP32__ is
38790         defined.
38792 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38794         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38795         versions 5 to 9.
38796         * configure: Regenerated.
38797         * manual/install.texi (texinfo): Increase version requirement to
38798         4.5 or later.
38799         * INSTALL: Regenerated.
38801         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38805         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38807         * sysdeps/x86_64/x32/ffs.c: New file.
38809         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38810         __syscall_ulong_t.
38811         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38812         defined.  Use __syscall_ulong_t.
38813         (shminfo): Use __syscall_ulong_t.
38814         (shm_info): Likewise.
38816         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38817         __syscall_ulong_t.
38819         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38820         <bits/wordsize.h>.
38821         (msgqnum_t): Use __syscall_ulong_t.
38822         (msglen_t): Likewise.
38823         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38824         __syscall_ulong_t.
38826         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38827         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38829         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38831         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38832         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38834         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38835         __syscall_slong_t.
38837         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38838         include <bits/wordsize.h>.  Check __x86_64__ instead of
38839         __WORDSIZE.
38841         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38842         "unsigned long long int" if __x86_64__ is defined.
38843         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38845         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38846         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38847         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38849         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38850         <stdint.h>.
38851         (GET_PC): Cast to uintptr_t first.
38852         (GET_FRAME): Likewise.
38853         (GET_STACK): Likewise.
38855         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38856         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38857         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38858         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38859         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38860         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38861         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38862         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38863         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38864         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38865         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38866         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38867         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38868         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38869         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38870         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38871         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38872         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38873         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38874         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38875         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38876         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38877         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38878         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38879         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38880         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38881         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38882         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38883         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38885 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38887         * Makerules (+depfiles): Also collect depfiles from .oS in
38888         $(extra-objs).
38889         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38890         .oS, $(libnldbl-routines)).
38892         * Makerules (native-compile-mkdep-flags): Define.
38893         * sunrpc/Makefile (extra-objs): Add $(addprefix
38894         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38895         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38896         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38897         calling $(make-target-directory).
38899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38901         * bits/types.h (__snseconds_t): Removed.
38902         * time/time.h (struct timespec): Replace __snseconds_t with
38903         __syscall_slong_t.
38904         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38905         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38906         Likewise.
38907         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38908         (__SNSECONDS_T_TYPE): Likewise.
38909         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38910         (__SNSECONDS_T_TYPE): Likewise.
38911         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38912         (__SNSECONDS_T_TYPE): Likewise.
38914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38916         * sysdeps/mach/hurd/bits/typesizes.h
38917         (__SYSCALL_SLONG_TYPE): New macro.
38918         (__SYSCALL_ULONG_TYPE): Likewise.
38920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38922         * bits/types.h (__syscall_slong_t): New type.
38923         (__syscall_ulong_t): Likewise.
38925         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38926         (__SYSCALL_ULONG_TYPE): Likewise.
38927         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38928         (__SYSCALL_SLONG_TYPE): Likewise.
38929         (__SYSCALL_ULONG_TYPE): Likewise.
38930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38931         (__SYSCALL_SLONG_TYPE): Likewise.
38932         (__SYSCALL_ULONG_TYPE): Likewise.
38933         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38934         (__SYSCALL_SLONG_TYPE): Likewise.
38935         (__SYSCALL_ULONG_TYPE): Likewise.
38937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38939         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38940         Add sigaltstack-offsets.sym.
38941         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38942         <sigaltstack-offsets.h>.
38943         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38944         longjmp_msg pointer.
38945         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38946         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38947         signal stack.
38948         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38950 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38952         * elf/stackguard-macros.h: Remove file.
38953         * sysdeps/generic/stackguard-macros.h: New file.
38954         * sysdeps/i386/stackguard-macros.h: Likewise.
38955         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38956         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38957         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38958         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38959         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38960         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38961         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38962         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38963         <elf/stackguard-macros.h>.
38965         [BZ #14109]
38966         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38967         __aligned__ in attribute.
38968         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38969         (gregset_t): Likewise.
38971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38973         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38974         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38975         * sysdeps/x86_64/x32/Implies-after: New file.
38977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38979         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38980         and access return value for _dl_profile_fixup.  Use R10_LP to
38981         load frame size.
38983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38985         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38989         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38990         * sysdeps/x86_64/x32/sysdep.h: New file.
38992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38994         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38995         * sysdeps/x86_64/setjmp.S: Likewise.
38997 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38999         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39000         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39001         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39002         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39003         remove unused global constant.
39005 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39007         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39008         include of <not-cancel.h>.
39010 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39012         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39014 2012-05-15  Jeff Law  <law@redhat.com>
39015             Andreas Jaeger  <aj@suse.de>
39017         [BZ #13594]
39018         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39019         out from...
39020         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39021         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39022         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39023         code changing __hst_map_handle.map.
39025 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39027         * configure.in (sysnames): Look for Implies-before and Implies-after
39028         files.
39029         * configure: Regenerated.
39031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39033         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39034         8-byte data alignment with LP_SIZE alignment.
39036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39038         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39039         into R10_LP.
39041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39043         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39047         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39048         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39049         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39050         Likewise.
39051         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39055         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39056         (stackinfo_sub_sp): Likewise.
39058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39060         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39061         RAX_LP.
39063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39065         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39066         into R*_LP.
39068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39070         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39071         sizes into R*_LP.
39073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39075         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39079         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39080         into R11_LP and load __x86_64_shared_cache_size_half into
39081         R8_LP.
39083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39085         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39086         R8_LP.
39088 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39090         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39091         logb for POWER7.
39092         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39093         logbf for POWER7.
39094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39095         logbl for POWER7.
39096         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39097         powerpc32/power7/fpu/s_logb.c via #include.
39098         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39099         powerpc32/power7/fpu/s_logbf.c via #include.
39100         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39101         powerpc32/power7/fpu/s_logbl.c via #include.
39103 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39105         * README.libm: Remove file.
39107 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39109         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39110         count for x32.  Use R*_LP and omit operand-size suffix.
39112 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39114         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39115         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39116         * sysdeps/x86_64/x32/shlib-versions: New file.
39118 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39120         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39121         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39122         Use _dl_fatal_printf instead.
39124 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39126         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39127         set if not set by the user.  Do not allow for being unset.
39128         * sysdeps/unix/sysv/linux/configure: Regenerated.
39130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39132         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39133         the `q' suffix from lea and replace .quad with ASM_ADDR.
39135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39138         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39139         instead of $17.
39140         (PTR_DEMANGLE): Likewise.
39142 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39144         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39145         (LP_OP): Likewise.
39146         (ASM_ADDR): Likewise.
39147         (RAX_LP): Likewise.
39148         (RBP_LP): Likewise.
39149         (RBX_LP): Likewise.
39150         (RCX_LP): Likewise.
39151         (RDI_LP): Likewise.
39152         (RSI_LP): Likewise.
39153         (RSP_LP): Likewise.
39154         (R8_LP): Likewise.
39155         (R9_LP): Likewise.
39156         (R10_LP): Likewise.
39157         (R10_LP): Likewise.
39158         (R11_LP): Likewise.
39159         (R12_LP): Likewise.
39160         (R13_LP): Likewise.
39161         (R14_LP): Likewise.
39162         (R15_LP): Likewise.
39164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39166         * sysdeps/x86_64/x32/dl-machine.h: New file.
39168 2012-05-14  Andreas Jaeger  <aj@suse.de>
39170         * manual/Makefile (subdir): Remove export of subdir.
39171         (all): Remove target.
39172         (.PHONY): Remove all from list.
39173         (mkinstalldirs): Remove.
39174         (.PHONY): Remove installdirs from list.
39175         ($(inst_infodir)/libc.info): Use make-target-directory.
39176         (installdirs): Remove.
39177         (subdir_%): Remove.
39178         (glibc-targets): Remove.
39179         (lib): Remove.
39180         (stubs): Remove.
39181         ($(objpfx)stubs ../po/manual.pot): Remove.
39182         ($(objpfx)stamp%): Remove.
39183         (make-target-directory): Remove.
39184         (subdir_install): Remove.
39185         (routines): Remove.
39186         (aux): Remove.
39187         (sources): Remove.
39188         (objects): Remove.
39189         (headers): Remove.
39191         [BZ #13750]
39192         * manual/.gitignore: Remove, it's not needed anymore.
39193         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39194         all files in it.
39195         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39196         directory.
39197         (texis): Renamed to $(objpfx)texis.
39198         (texis-path): New, contains path to generated files.
39199         (chapters.%): Use texis-path for complete path, add extra argument
39200         libc-texinfo.sh.
39201         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39202         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39203         (summary,texi, stamp-summary): Use complete path of
39204         files. Generate files in build dir.
39205         (dir-add.texi): Build in build dir.
39206         (libm-err.texi,stamp-libm-err): Likewise.
39207         (version.texi, stamp-version): Likewise.
39208         (.%c.texi): Likewise.
39209         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39210         (mostlyclean): Remove target.
39211         (realclean): Remove target.
39212         (generated): Add new variable with contents from mostlyclean and
39213         realclean, remove entries duplicated in common-mostlyclean, add
39214         stamp-libm-err and stamp-version.
39215         (generated-dirs): Add libc directory.
39216         ($(inst_infodir)/libc.info): Install files from build dir.
39218         * manual/install.texi (Configuring and compiling): Adjust since
39219         the info files are not part of the tar ball anymore.
39221 2012-05-14  Andreas Jaeger  <aj@suse.de>
39223         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39224         variable.
39226 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39228         [BZ #13717]
39229         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39230         to 2.2.0 where earlier.
39231         * sysdeps/unix/sysv/linux/configure: Regenerated.
39232         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39233         Remove conditional code.
39234         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39235         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39236         Remove conditional code.
39237         [!__NR_lchown]: Likewise.
39238         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39239         [__NR_lchown]: Likewise.
39240         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39241         comment referencing __ASSUME_LCHOWN_SYSCALL.
39242         * sysdeps/unix/sysv/linux/i386/sigaction.c
39243         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39244         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39245         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39246         Remove conditional code.
39247         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39248         (__protocol_available): Remove #if 0 code.
39249         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39250         conditional code.
39251         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39252         * sysdeps/unix/sysv/linux/kernel-features.h
39253         (__ASSUME_GETCWD_SYSCALL): Don't define.
39254         (__ASSUME_REALTIME_SIGNALS): Likewise.
39255         (__ASSUME_PREAD_SYSCALL): Likewise.
39256         (__ASSUME_PWRITE_SYSCALL): Likewise.
39257         (__ASSUME_POLL_SYSCALL): Likewise.
39258         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39259         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39260         non-SPARC.
39261         (__ASSUME_SIOCGIFNAME): Don't define.
39262         (__ASSUME_MSG_NOSIGNAL): Likewise.
39263         (__ASSUME_SENDFILE): Define unconditionally.
39264         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39265         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39266         conditional code.
39267         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39268         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39269         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39270         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39271         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39272         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39273         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39275         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39278         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39281         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39284         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39285         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39287         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39288         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39290         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39291         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39293         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39294         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39296         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39297         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39298         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39299         Remove conditional code.
39300         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39301         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39302         Remove conditional code.
39303         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39304         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39305         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39306         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39307         Remove conditional code.
39308         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39309         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39310         Remove conditional code.
39311         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39312         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39313         Remove conditional code.
39314         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39315         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39316         Remove conditional code.
39317         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39318         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39319         Remove conditional code.
39320         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39321         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39322         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39323         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39324         * sysdeps/unix/sysv/linux/sigaction.c
39325         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39326         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39327         * sysdeps/unix/sysv/linux/sigpending.c
39328         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39329         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39330         * sysdeps/unix/sysv/linux/sigprocmask.c
39331         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39332         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39333         * sysdeps/unix/sysv/linux/sigsuspend.c
39334         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39335         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39336         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39337         (__libc_missing_rt_sigs): Remove.
39338         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39339         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39340         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39341         Remove conditional code.
39342         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39343         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39344         return 1.
39345         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39346         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39347         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39348         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39350 2012-05-14  Andreas Jaeger  <aj@suse.de>
39352         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39353         it's not used in glibc.
39354         (__coshm1): Likewise.
39355         (__acosh1p): Likewise.
39356         (__sgn): Likewise.
39358         * manual/string.texi (Copying and Concatenation): Add missing
39359         variable in concat example.
39360         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39364         [BZ #14103]
39365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39366         __builtin_clzl with __builtin_clzll.
39368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39370         [BZ #14104]
39371         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39372         libc_freeres_ptr.
39374 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39376         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39377         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39378         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39379         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39381 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39383         * NEWS: Update ia64 info.
39385 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39387         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39388         used as bcopy.
39390 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39392         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39393         * sysdeps/unix/syscalls.list (dup3): Likewise.
39394         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39395         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39397 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39399         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39400         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39402 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39404         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39405         thread pointer.
39406         (TLS_IE): Use mov/add instead of movq/addq to load thread
39407         pointer.
39408         (TLS_GD_PREFIX): New.
39409         (TLS_GD): Use it.
39411 2012-05-11  David S. Miller  <davem@davemloft.net>
39413         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39414         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39415         (_FPU_SETCW): Likewise.
39417 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39419         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39420         is 32-byte aligned.
39422 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39424         [BZ #11837]
39425         * iconvdata/gb18030.c: Update tables.
39426         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39427         characters specially.
39428         (BODY for TO_LOOP): Add encoding of missing ranges.
39430 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39432         [BZ #13673]
39433         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39434         * sysdeps/mach/hurd/dup3.c: Likewise.
39435         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39436         * sysdeps/powerpc/memmove.c:: Likewise.
39438 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39440         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39441         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39443 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39445         * elf/elf.h (R_X86_64_RELATIVE64): New.
39446         (R_X86_64_NUM): Updated.
39447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39448         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39449         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39450         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39451         tst-quad1pie tst-quad2pie
39452         (modules-names): Add tst-quadmod1 tst-quadmod2.
39453         ($(objpfx)tst-quad1): New dependency.
39454         ($(objpfx)tst-quad2): Likewise.
39455         ($(objpfx)tst-quad1pie): Likewise.
39456         ($(objpfx)tst-quad2pie): Likewise.
39457         * sysdeps/x86_64/tst-quad1.c: New file.
39458         * sysdeps/x86_64/tst-quad1pie.c: New file.
39459         * sysdeps/x86_64/tst-quad2.c: Likewise.
39460         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39461         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39462         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39463         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39464         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39468         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39469         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39470         * streams/stropts.h (t_scalar_t): Define type.
39472         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39473         (_PATH_PRESERVE): Set to "/var/lib".
39474         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39476         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39477         instead of int.
39479         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39480         if __dir_mkfile succeeded.
39482         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39483         checking for _hurd_dtablesize.  Unlock it right after having
39484         finished _hurd_dtable allocation.
39486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39488         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39489         * sysdeps/mach/hurd/configure: Regenerated.
39490         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39491         special-casing to...
39492         * sysdeps/gnu/configure.in: ... this new file.
39493         * sysdeps/unix/sysv/linux/configure: Regenerated.
39494         * sysdeps/gnu/configure: New generated file.
39496         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39497         for Linux: use nsec instead of usec, as well as:
39498         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39499         members of type struct timespec.
39500         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39501         New macros.
39502         (struct stat64): Likewise.
39503         (_STATBUF_ST_NSEC): New macro.
39504         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39506         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39507         __strtoul_internal rather than strtoul.
39509 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39511         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39512         and reject them.
39514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39516         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39517         which preserves existing values.
39518         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39520 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39522         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39523         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39524         greater than FD_SETSIZE.
39526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39528         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39529         allocated, call __vm_protect to finish enabling the existing space, and
39530         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39531         allocate the remainder.
39533 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39535         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39536         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39538 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39540         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39541         sysdeps/mach/hurd/readlink.c.
39543         * posix/tst-sysconf.c (posix_options): Only use
39544         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39545         _POSIX_SYNCHRONIZED_IO when they are defined
39546         * sysdeps/mach/hurd/bits/posix_opt.h:
39547         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39548         (_XOPEN_REALTIME): Undefine macro.
39549         (_XOPEN_REALTIME_THREADS): Undefine macro.
39550         (_XOPEN_SHM): Undefine macro.
39551         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39552         macro to -1.
39553         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39554         macro to -1.
39555         (_POSIX_ASYNC_IO): Undefine macro.
39556         (_POSIX_PRIORITIZED_IO): Undefine macro.
39557         (_POSIX_SPIN_LOCKS): Define macro to -1.
39559         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39560         SA_NODEFER, SA_RESETHAND.
39561         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39562         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39563         F_DUPFD_CLOEXEC.
39565 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39567         * elf/Makefile (pldd-modules): Define unconditionally.
39569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39571         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39575         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39576         Return ENOENT when name is empty.
39577         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39581         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39583         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39587         Fix mlock in all cases except non-readable pages.
39588         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39589         instead of VM_PROT_ALL as parameter to __vm_wire function.
39591         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39592         (__mkdir): When path is `/', just fail with EEXIST.
39593         * sysdeps/mach/hurd/mkdirat.c: Likewise.
39595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39597         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39598         <sys/uio.h> (for writev).
39599         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39600         and <sys/param.h> (for MIN).
39602 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39604         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39605         REQUESTED_TIME.  Properly set the remaining time and return EINTR
39606         if interrupted.
39608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39610         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39611         Depend on against $(link-rpcuserlibs).
39613 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39615         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39616         (__libc_stack_end): Do not use attribute_relro.
39617         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39618         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39619         to libthread-provided value.
39620         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39621         attribute_relro.
39623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39625         [BZ #3748]
39626         * bits/libc-lock.h (__libc_once_get): New macro.
39627         * sysdeps/mach/bits/libc-lock.h: Likewise.
39628         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39629         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39630         instead of using implementation details.
39632         * libio/fileops.c: Unconditionally include <kernel-features.h>.
39633         * libio/freopen.c: Likewise.
39634         * libio/freopen64.c: Likewise.
39635         * misc/syslog.c: Likewise.
39636         * nscd/connections.c: Likewise.
39637         * nscd/netgroupcache.c: Likewise.
39638         * sysdeps/posix/getcwd.c: Likewise.
39640 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39642         * math/w_ilogbf.c: Add #include <limits.h>.
39644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39646         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39647         path instead of returning without unlocking.
39649         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39650         immediate-write ioctls.
39651         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39653 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39655         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39656         __builtin_frame_address instead of making assumptions about the
39657         location of the return address relative to DATA.  Force early load of
39658         the return address.
39659         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39660         __builtin_frame_address.
39662         dup3 for GNU Hurd.
39663         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39664         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39665         implement dup3 and do some further code clean-ups.
39666         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39667         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39671         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39673         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39674         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39675         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39676         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39677         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39678         d->port.lock.
39680         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39681         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39682         when handler == SIG_ERR, not when handler != SIG_ERR.
39684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39686         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39687         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39688         definitions.
39690         accept4 for GNU Hurd.
39691         * include/sys/socket.h (__libc_accept4): New prototype.
39692         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39693         to implement __libc_accept4.
39694         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39695         __libc_accept4.
39696         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39698         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39699         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39700         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39701         signal-defines.sym.
39703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39705         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39709         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39710         assertion on O_CLOEXEC flag.
39711         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39712         * hurd/intern-fd.c: Likewise.
39713         * hurd/port2fd.c: Likewise.
39715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39717         [BZ #3906]
39718         * bits/in.h (IPV6_PKTINFO): Define new macro.
39719         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39721 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39723         [BZ #13954]
39724         [BZ #13955]
39725         [BZ #13956]
39726         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39727         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39728         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39729         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39730         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39731         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39732         * math/libm-test.inc (logb_test) : Additional logb tests.
39734 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39735             Andreas Jaeger  <aj@suse.de>
39737         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39738         * configure: Regenerated.
39739         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39740         * config.make.in (link-obsolete-rpc): New substituted variable.
39741         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39742         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39743         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39744         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39745         so that libc.a contains the symbols.
39746         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39747         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39748         * sunrpc/auth_none.c: Likewise.
39749         * sunrpc/auth_unix.c: Likewise.
39750         * sunrpc/authdes_prot.c: Likewise.
39751         * sunrpc/authuxprot.c: Likewise.
39752         * sunrpc/clnt_gen.c: Likewise.
39753         * sunrpc/clnt_perr.c: Likewise.
39754         * sunrpc/clnt_raw.c: Likewise.
39755         * sunrpc/clnt_simp.c: Likewise.
39756         * sunrpc/clnt_tcp.c: Likewise.
39757         * sunrpc/clnt_udp.c: Likewise.
39758         * sunrpc/clnt_unix.c: Likewise.
39759         * sunrpc/des_crypt.c: Likewise.
39760         * sunrpc/des_soft.c: Likewise.
39761         * sunrpc/get_myaddr.c: Likewise.
39762         * sunrpc/key_call.c: Likewise.
39763         * sunrpc/key_prot.c: Likewise.
39764         * sunrpc/netname.c: Likewise.
39765         * sunrpc/pm_getmaps.c: Likewise.
39766         * sunrpc/pm_getport.c: Likewise.
39767         * sunrpc/pmap_clnt.c: Likewise.
39768         * sunrpc/pmap_prot.c: Likewise.
39769         * sunrpc/pmap_prot2.c: Likewise.
39770         * sunrpc/pmap_rmt.c: Likewise.
39771         * sunrpc/publickey.c: Likewise.
39772         * sunrpc/rpc_cmsg.c: Likewise.
39773         * sunrpc/rpc_common.c: Likewise.
39774         * sunrpc/rpc_dtable.c: Likewise.
39775         * sunrpc/rpc_prot.c: Likewise.
39776         * sunrpc/rpc_thread.c: Likewise.
39777         * sunrpc/rtime.c: Likewise.
39778         * sunrpc/svc.c: Likewise.
39779         * sunrpc/svc_auth.c: Likewise.
39780         * sunrpc/svc_raw.c: Likewise.
39781         * sunrpc/svc_run.c: Likewise.
39782         * sunrpc/svc_tcp.c: Likewise.
39783         * sunrpc/svc_udp.c: Likewise.
39784         * sunrpc/svc_unix.c: Likewise.
39785         * sunrpc/svcauth_des.c: Likewise.
39786         * sunrpc/xcrypt.c: Likewise.
39787         * sunrpc/xdr.c: Likewise.
39788         * sunrpc/xdr_array.c: Likewise.
39789         * sunrpc/xdr_float.c: Likewise.
39790         * sunrpc/xdr_intXX_t.c: Likewise.
39791         * sunrpc/xdr_mem.c: Likewise.
39792         * sunrpc/xdr_rec.c: Likewise.
39793         * sunrpc/xdr_ref.c: Likewise.
39794         * sunrpc/xdr_sizeof.c: Likewise.
39795         * sunrpc/xdr_stdio.c: Likewise.
39797 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39800         change.  Update copyright years.
39802 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39804         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39806 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39807             Joseph Myers  <joseph@codesourcery.com>
39808             Paul Pluzhnikov  <ppluzhnikov@google.com>
39810         [BZ #14012]
39811         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39812         requiring rpcgen.
39813         [cross-compiling] (extra-libs): Likewise.
39814         [cross-compiling] (extra-libs-others): Likewise.
39815         [cross-compiling] (librpcsvc-routines): Likewise.
39816         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39817         [cross-compiling] (omit-deps): Likewise.
39818         (sunrpc-CPPFLAGS): New variable.
39819         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39820         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39821         (cross-rpcgen-objs): New variable.
39822         (extra-objs): Append $(cross-rpcgen-objs).
39823         ($(cross-rpcgen-objs)): New rule.
39824         ($(objpfx)cross-rpcgen): Likewise.
39825         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39826         comment.
39827         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39828         ($(objpfx)x%.stmp): Likewise.
39829         * sunrpc/proto.h [IS_IN_build] (_): Define.
39830         [IS_IN_build] (_libc_intl_domainname): Likewise.
39832 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39835         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39836         and R_X86_64_TPOFF64.
39838 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39840         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39841         sysdeps/unix/sysv/syscalls.list.
39842         (stime): Likewise.
39843         (utime): Likewise.
39844         * sysdeps/unix/sysv/syscalls.list: Remove file.
39846 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39848         [BZ #3440]
39849         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39850         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39851         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39852         (__LC_IDENTIFICATION): Make these macros useful in #if
39853         expressions, as required by C99.
39855 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39857         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39858         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39859         after this.
39861 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39863         * stdlib/longlong.h: Updated from GCC.
39865 2012-05-09  Andreas Jaeger  <aj@suse.de>
39867         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39868         default is first entry.
39869         (run_mode): Set type.
39870         (main): Remove informal message about syslog.
39871         (options): Fix typo.
39873         [BZ #14053]
39874         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39875         to asm.
39876         (lrint): Likewise.
39877         (llrintf): Likewise.
39878         (llrint): Likewise.
39879         (rint): Likewise.
39880         (rintf): Likewise.
39881         (nearbyint): Likewise.
39882         (nearbyintf): Likewise.
39884 2012-05-09  Andreas Jaeger  <aj@suse.de>
39885             Pedro Alves  <palves@redhat.com>
39887         * nscd/nscd.c (run_mode): Use enum.
39888         (main): Cleanup coding style issue.
39890 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39891             Andreas Jaeger  <aj@suse.de>
39893         * nscd/nscd.c (go_background): Replaced with...
39894         (run_mode): ... this.
39895         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39896         (options): Add -F --foreground.
39897         (main): Implement it.
39898         (parse_opt): Parse it.
39900 2012-05-09  Andreas Jaeger  <aj@suse.de>
39902         [BZ #14083]
39903         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39904         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39905         -Wconversion warning.
39906         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39907         Likewise.
39909 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39911         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39912         == 0.
39913         (LC_ALL): Use macro-int-constant.
39914         (LC_COLLATE): Likewise.
39915         (LC_CTYPE): Likewise.
39916         (LC_MESSAGES): Likewise.
39917         (LC_MONETARY): Likewise.
39918         (LC_NUMERIC): Likewise.
39919         (LC_TIME): Likewise.
39920         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39921         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39922         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39923         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39924         Specify type.
39925         [C99-based standards] (float_t): Expect type.
39926         [C99-based standards] (double_t): Expect type.
39927         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39928         type.
39929         [C99-based standards] (HUGE_VALL): Likewise.
39930         [C99-based standards] (INFINITY): Likewise.
39931         [C99-based standards] (NAN): Likewise.
39932         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39933         [C99-based standards] (FP_NAN): Likewise.
39934         [C99-based standards] (FP_NORMAL): Likewise.
39935         [C99-based standards] (FP_SUBNORMAL): Likewise.
39936         [C99-based standards] (FP_ZERO): Likewise.
39937         [C99-based standards] (FP_FAST_FMA): Use
39938         optional-macro-int-constant.  Specify type.  Require == 1.
39939         [C99-based standards] (FP_FAST_FMAF): Likewise.
39940         [C99-based standards] (FP_FAST_FMAL): Likewise.
39941         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39942         [C99-based standards] (FP_ILOGBNAN): Likewise.
39943         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39944         Specify type.
39945         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39946         [C99-based standards] (math_errhandling): Specify type.
39947         [ISO99 || ISO11] (signgam): Do not allow.
39948         [non-C99-based standards] (copysignf): Do not allow.
39949         [non-C99-based standards] (exp2f): Likewise.
39950         [non-C99-based standards] (log2f): Likewise.
39951         [non-C99-based standards] (modff): Allow.
39952         [non-C99-based standards] (erff): Do not allow.
39953         [non-C99-based standards] (erfcf): Likewise.
39954         [non-C99-based standards] (gammaf): Likewise.
39955         [non-C99-based standards] (hypotf): Likewise.
39956         [non-C99-based standards] (j0f): Likewise.
39957         [non-C99-based standards] (j1f): Likewise.
39958         [non-C99-based standards] (jnf): Likewise.
39959         [non-C99-based standards] (lgammaf): Likewise.
39960         [non-C99-based standards] (tgammaf): Likewise.
39961         [non-C99-based standards] (y0f): Likewise.
39962         [non-C99-based standards] (y1f): Likewise.
39963         [non-C99-based standards] (ynf): Likewise.
39964         [non-C99-based standards] (isnanf): Likewise.
39965         [non-C99-based standards] (acoshf): Likewise.
39966         [non-C99-based standards] (asinhf): Likewise.
39967         [non-C99-based standards] (atanhf): Likewise.
39968         [non-C99-based standards] (cbrtf): Likewise.
39969         [non-C99-based standards] (expm1f): Likewise.
39970         [non-C99-based standards] (ilogbf): Likewise.
39971         [non-C99-based standards] (log1pf): Likewise.
39972         [non-C99-based standards] (logbf): Likewise.
39973         [non-C99-based standards] (nextafterf): Likewise.
39974         [non-C99-based standards] (remainderf): Likewise.
39975         [non-C99-based standards] (rintf): Likewise.
39976         [non-C99-based standards] (scalbf): Likewise.
39977         [non-C99-based standards] (copysignl): Likewise.
39978         [non-C99-based standards] (exp2l): Likewise.
39979         [non-C99-based standards] (log2l): Likewise.
39980         [non-C99-based standards] (modfl): Allow.
39981         [non-C99-based standards] (erfl): Do not allow.
39982         [non-C99-based standards] (erfcl): Likewise.
39983         [non-C99-based standards] (gammal): Likewise.
39984         [non-C99-based standards] (hypotl): Likewise.
39985         [non-C99-based standards] (j0l): Likewise.
39986         [non-C99-based standards] (j1l): Likewise.
39987         [non-C99-based standards] (jnl): Likewise.
39988         [non-C99-based standards] (lgammal): Likewise.
39989         [non-C99-based standards] (tgammal): Likewise.
39990         [non-C99-based standards] (y0l): Likewise.
39991         [non-C99-based standards] (y1l): Likewise.
39992         [non-C99-based standards] (ynl): Likewise.
39993         [non-C99-based standards] (isnanl): Likewise.
39994         [non-C99-based standards] (acoshl): Likewise.
39995         [non-C99-based standards] (asinhl): Likewise.
39996         [non-C99-based standards] (atanhl): Likewise.
39997         [non-C99-based standards] (cbrtl): Likewise.
39998         [non-C99-based standards] (expm1l): Likewise.
39999         [non-C99-based standards] (ilogbl): Likewise.
40000         [non-C99-based standards] (log1pl): Likewise.
40001         [non-C99-based standards] (logbl): Likewise.
40002         [non-C99-based standards] (nextafterl): Likewise.
40003         [non-C99-based standards] (remainderl): Likewise.
40004         [non-C99-based standards] (rintl): Likewise.
40005         [non-C99-based standards] (scalbl): Likewise.
40006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40007         [non-C99-based standards] (FP_*): Do not allow.
40008         [C99-based standards] (FP_*): Change to
40009         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40010         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40011         allow.
40012         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40013         (SIG_ERR): Likewise.
40014         [X/Open-based standards] (SIG_HOLD): Likewise.
40015         (SIG_IGN): Likewise.
40016         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40017         positive value.
40018         (SIGFPE): Likewise.
40019         (SIGILL): Likewise.
40020         (SIGINT): Likewise.
40021         (SIGSEGV): Likewise.
40022         (SIGTER): Likewise.
40023         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40024         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40025         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40026         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40027         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40028         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40029         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40030         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40031         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40032         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40033         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40034         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40035         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40036         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40037         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40038         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40039         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40040         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40041         [X/Open-based standards] (SIGTRAP): Likewise.
40042         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40043         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40044         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40045         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40046         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40047         allow.
40049 2012-05-08  Ian Wienand  <ianw@vmware.com>
40051         [BZ #14080]
40052         * time/tzset.c (__tzset_parse_tz): Update default rules for
40053         daylight time changes in the Energy Policy Act of 2005.
40055 2012-05-09  Andreas Jaeger  <aj@suse.de>
40057         [BZ #13983]
40058         * elf/ldconfig.c (parse_conf): Change string to make clear that
40059         ldconfig only issued a warning if ld.so.conf does not exist.
40061 2012-05-08  David S. Miller  <davem@davemloft.net>
40063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40064         movxtod instead of popping the value on the stack.
40066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40068 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40070         * config.h.in: Add HAVE_ARM_PCS_VFP.
40072 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40074         [BZ #13979]
40075         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40076         checking but the checks are disabled for any reason.
40078 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40080         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40081         and ELF64_R_TYPE with ELFW(R_TYPE).
40083 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40085         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40086         (ulimit): Likewise.
40088         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40089         (settimeofday): Likewise.
40091 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40093         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40094         a struct th_u2 inside the union, and move tu_block/tu_code into
40095         a new th_u3 union of tu_block/tu_code inside of that.  Move
40096         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40097         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40098         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40099         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40100         (th_stuff): Change to th_u1.tu_stuff.
40101         (th_data): Define.
40102         (th_msg): Change to th_u1.th_u2.tu_data.
40104 2012-05-07  David S. Miller  <davem@davemloft.net>
40106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40108         [BZ #14074]
40109         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40110         (SETUP_PIC_REG): Use it.
40111         (SETUP_PIC_REG_LEAF): Use it.
40113 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40115         [BZ #13885]
40116         [BZ #13923]
40117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40118         USE_AS_EXPM1L.
40119         (EXPL_FINITE): Likewise.
40120         (FLDLOG): Likewise.
40121         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40122         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40123         e_expl.S.
40124         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40125         USE_AS_EXPM1L.
40126         (EXPL_FINITE): Likewise.
40127         (FLDLOG): Likewise.
40128         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40129         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40130         e_expl.S.
40131         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40132         test of -max_value argument for long double.
40133         * sysdeps/i386/fpu/libm-test-ulps: Update.
40134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40136 2012-05-06  David S. Miller  <davem@davemloft.net>
40138         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40139         quad soft-float symbols whose references which are compiler
40140         generated.
40141         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40143 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40145         [BZ #13884]
40146         [BZ #13914]
40147         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40148         USE_AS_EXP10L.
40149         (EXPL_FINITE): Likewise.
40150         (FLDLOG): Likewise.
40151         (c0): Likewise.
40152         (c1): Likewise.
40153         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40154         Adjust comments for base varying.
40155         (__expl_finite): Change alias to EXPL_FINITE.
40156         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40157         e_expl.S.
40158         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40159         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40160         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40161         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40162         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40163         USE_AS_EXP10L.
40164         (EXPL_FINITE): Likewise.
40165         (FLDLOG): Likewise.
40166         (c0): Likewise.
40167         (c1): Likewise.
40168         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40169         Adjust comments for base varying.
40170         (__expl_finite): Change alias to EXPL_FINITE.
40171         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40172         tests for bugs.
40173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40175         [BZ #14064]
40176         * math/libm-test.inc (check_float_internal): Correct ulp
40177         calculation for subnormal expected results.
40179 2012-05-06  Andreas Jaeger  <aj@suse.de>
40181         * Makeconfig (+math-flags): New, set to -frounding-math.
40182         (+cflags): Add +math-flags so that all of glibc gets compiled with
40183         it.
40185         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40187 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40189         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40190         Disable one test.
40192         [BZ #13787]
40193         [BZ #13922]
40194         [BZ #14036]
40195         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40196         (__ieee754_expl): Allow for and saturate large arguments.
40197         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40198         (u_threshold): Likewise.
40199         (__exp): Call __ieee754_exp before checking for overflow and
40200         underflow.
40201         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40202         (u_threshold): Likewise.
40203         (__expf): Call __ieee754_expf before checking for overflow and
40204         underflow.
40205         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40206         (u_threshold): Likewise.
40207         (__expl): Call __ieee754_expl before checking for overflow and
40208         underflow.
40209         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40210         (__ieee754_expl): Allow for and saturate large arguments.
40211         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40212         missing overflow exception on overflow.
40213         (expm1_test): Do not allow missing overflow exception on overflow.
40215         * sysdeps/i386/fpu/e_expl.c: Move to ...
40216         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40217         rather than using inline asm.
40218         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40219         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40220         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40222         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40223         (nice): Likewise.
40224         (poll): Likewise.
40225         (signal): Likewise.
40226         (time): Likewise.
40227         (times): Likewise.
40229 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40231         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40232         sysdeps/unix/common/syscalls.list.
40233         (fchmod): Likewise.
40234         (fchown): Likewise.
40235         (ftruncate): Likewise.
40236         (getrusage): Likewise.
40237         (gettimeofday): Likewise.
40238         (setpgid): Likewise.
40239         (setregid): Likewise.
40240         (setreuid): Likewise.
40241         (sigaction): Likewise.
40242         (truncate): Likewise.
40243         (vhangup): Likewise.
40244         * sysdeps/unix/common/syscalls.list: Remove file.
40245         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40246         * sysdeps/unix/sysv/linux/Implies: Likewise.
40248 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40250         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40252         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40253         Moved to ...
40254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40255         Here.
40256         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40257         to ...
40258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40259         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40260         to ...
40261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40262         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40263         to ...
40264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40265         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40266         to ...
40267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40268         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40269         to ...
40270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40271         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40272         to ...
40273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40274         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40275         to ...
40276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40277         Here.
40278         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40279         to ...
40280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40281         Here.
40282         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40283         to ...
40284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40285         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40286         Moved to ...
40287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40288         Here.
40289         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40290         to ...
40291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40293 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40295         * sysdeps/unix/common/bits/dirent.h: Remove file.
40296         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40298         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40299         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40300         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40301         * sysdeps/unix/bsd/isatty.c: Likewise.
40302         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40303         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40304         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40306 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40308         [BZ #13563]
40309         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40310         long double comparison inaccuracies.
40311         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40314 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40316         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40317         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40319 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40321         [BZ #14049]
40322         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40323         nonzero digits before rounding a hex value.
40324         * stdlib/tst-strtod.c (tests): Add another test.
40326 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40328         * sysdeps/s390/fpu/libm-test-ulps: Update.
40330 2012-05-03  Andreas Jaeger  <aj@suse.de>
40332         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40333         does not get optimized out.
40334         (malloc_opt_barrier): New.
40336 2012-05-03  Andreas Jaeger  <aj@suse.de>
40337             Roland McGrath  <roland@hack.frob.com>
40339         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40340         intermediate file deletion.
40341         (generated): Add .symlist files.
40343 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40345         [BZ #13775]
40346         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40347         Redirect under this condition.
40348         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40349         [__USE_GNU] (__dprintf_chk): Not under this condition.
40350         [__USE_GNU] (__vdprintf_chk): Likewise.
40351         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40352         under this condition.
40353         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40354         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40355         [__USE_XOPEN2K8] (vdprintf): Likewise.
40356         [__USE_GNU] (__dprintf_chk): Not under this condition.
40357         [__USE_GNU] (__vdprintf_chk): Likewise.
40358         [__USE_GNU] (dprintf): Likewise.
40359         [__USE_GNU] (vdprintf): Likewise.
40361 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40363         * elf/Makefile (common-generated): Set this instead of generated for
40364         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40365         $(all-built-dso)-derived lists.
40367 2012-05-03  Andreas Jaeger  <aj@suse.de>
40369         * sysdeps/i386/fpu/libm-test-ulps: Update.
40371         * FAQ: Removed.
40372         * FAQ.in: Likewise.
40373         * scripts/gen-FAQ.pl: Likewise.
40374         * manual/install.texi (Installation): Point to online location of
40375         FAQ.
40376         * Makefile (files-for-dist): Remove FAQ.
40377         (FAQ): Remove.
40379 2012-05-02  Allan McRae  <allan@archlinux.org>
40381         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40382         (LDFLAGS-reldepmod5.so): Likewise.
40383         (LDFLAGS-reldep6mod1.so): Likewise.
40384         (LDFLAGS-reldep6mod4.so): Likewise.
40385         (LDFLAGS-reldep8mod3.so): Likewise.
40386         (LDFLAGS-unload4mod1.so): Likewise.
40387         (LDFLAGS-unload4mod2.so): Likewise.
40388         (LDFLAGS-tst-initorder): Likewise.
40389         (LDFLAGS-tst-initordera2.so): Likewise.
40390         (LDFLAGS-tst-initordera3.so): Likewise.
40391         (LDFLAGS-tst-initordera4.so): Likewise.
40392         (LDFLAGS-tst-initorderb2.so): Likewise.
40393         (LDFLAGS-noload): Likewise.
40394         (LDFLAGS-next): Likewise.
40395         (LDFLAGS-order2mod1.so): Likewise.
40396         (LDFLAGS-order2mod2.so): Likewise.
40397         (LDFLAGS-tst-initorder2): Likewise.
40398         (LDFLAGS-tst-initorder2a.so): Likewise.
40399         (LDFLAGS-tst-initorder2b.so): Likewise.
40400         (LDFLAGS-tst-initorder2c.so): Likewise.
40401         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40403 2012-05-02  David S. Miller  <davem@davemloft.net>
40405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40407 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40409         [BZ #14055]
40410         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40412 2012-05-02  Andreas Jaeger  <aj@suse.de>
40414         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40415         since we manipulate rounding mode.
40416         (CPPFLAGS-test-idouble.c): Likewise.
40417         (CPPFLAGS-test-ifloat.c): Likewise.
40418         (CFLAGS-test-ldouble.c): Likewise.
40419         (CFLAGS-test-double.c): Likewise.
40420         (CFLAGS-test-float.c): Likewise.
40421         (CFLAGS-test-misc.c): Likewise.
40422         (CFLAGS-test-test-fenv.c): Likewise.
40424 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40426         [BZ #2550]
40427         [BZ #2570]
40428         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40429         comparisons to determine direction to adjust input.
40431 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40433         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40434         output to the target.
40436         * scripts/localplt.awk: New file.
40437         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40438         (check-localplt-CFLAGS): Variable removed.
40439         ($(all-built-dso:=.jmprel)): New static pattern rule.
40440         (generated): Add those targets.
40441         (localplt-built-dso): New variable.
40442         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40444         * elf/check-localplt.c: File removed.
40446         * scripts/check-execstack.awk: New file.
40447         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40448         (check-execstack-CFLAGS): Variable removed.
40449         ($(objpfx)check-execstack.h): Target removed.
40450         ($(objpfx)execstack-default): New target.
40451         (generated): Add that instead of check-execstack.h.
40452         ($(all-built-dso:=.phdr)): New static pattern rule.
40453         (generated): Add those targets.
40454         * elf/check-execstack.c: File removed.
40456         * scripts/check-textrel.awk: New file.
40457         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40458         (check-textrel-CFLAGS): Variable removed.
40459         (all-built-dso): Use := to define.o
40460         ($(all-built-dso:=.dyn)): New static pattern rule.
40461         (generated): Add those targets.
40462         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40463         * config.make.in (READELF): New substituted variable.
40464         * elf/check-textrel.c: File removed.
40466 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40468         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40469         allow.
40470         * conform/data/ctype.h-data [C99-based standards] (isblank):
40471         Expect function.
40472         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40473         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40474         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40475         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40476         Specify type.  Require positive value.
40477         (EILSEQ): Likewise.
40478         (ERANGE): Likewise.
40479         [ISO || POSIX] (EILSEQ): Do not expect.
40480         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40481         Specify type.  Require positive value.
40482         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40483         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40484         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40485         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40486         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40487         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40488         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40489         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40490         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40491         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40492         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40493         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40494         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40495         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40496         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40497         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40498         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40499         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40500         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40501         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40502         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40503         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40504         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40505         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40506         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40507         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40508         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40509         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40510         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40511         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40512         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40513         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40514         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40515         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40516         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40517         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40518         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40519         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40520         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40521         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40522         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40523         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40524         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40525         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40526         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40527         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40528         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40529         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40530         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40531         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40532         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40533         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40534         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40535         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40536         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40537         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40538         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40539         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40540         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40541         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40542         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40543         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40544         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40545         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40546         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40547         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40548         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40549         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40550         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40551         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40552         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40553         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40554         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40555         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40556         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40557         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40558         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40559         Require >= 2.
40560         (FLT_ROUNDS): Expect as macro, not constant.
40561         (FLT_MANT_DIG): Use macro-int-constant.
40562         (DBL_MANT_DIG): Likewise.
40563         (LDBL_MANT_DIG): Likewise.
40564         (FLT_DIG): Likewise.
40565         (DBL_DIG): Likewise.
40566         (LDBL_DIG): Likewise.
40567         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
40568         (DBL_MIN_EXP): Likewise.
40569         (LDBL_MIN_EXP): Likewise.
40570         (FLT_MAX_EXP): Use macro-int-constant.
40571         (DBL_MAX_EXP): Likewise.
40572         (LDBL_MAX_EXP): Likewise.
40573         (FLT_MAX_10_EXP): Likewise.
40574         (DBL_MAX_10_EXP): Likewise.
40575         (LDBL_MAX_10_EXP): Likewise.
40576         (FLT_MAX): Use macro-constant.
40577         (DBL_MAX): Likewise.
40578         (LDBL_MAX): Likewise.
40579         (FLT_EPSILON): Use macro-constant.  Give upper bound.
40580         (DBL_EPSILON): Likewise.
40581         (LDBL_EPSILON): Likewise.
40582         (FLT_MIN): Likewise.
40583         (DBL_MIN): Likewise.
40584         (LDBL_MIN): Likewise.
40585         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40586         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40587         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40588         [ISO11] (FLT_HAS_SUBNORM): Likewise.
40589         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40590         [ISO11] (DBL_DECIMAL_DIG): Likewise.
40591         [ISO11] (FLT_DECIMAL_DIG): Likewise.
40592         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40593         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40594         [ISO11] (FLT_TRUE_MIN): Likewise.
40595         [ISO11] (LDBL_TRUE_MIN): Likewise.
40596         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40597         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40598         (SCHAR_MIN): Use macro-int-constant.  Specify type.
40599         (SCHAR_MAX): Likewise.
40600         (UCHAR_MAX): Likewise.
40601         (CHAR_MIN): Likewise.
40602         (CHAR_MAX): Likewise.
40603         (MB_LEN_MAX): Use macro-int-constant.
40604         (SHRT_MIN): Use macro-int-constant.  Specify type.
40605         (SHRT_MAX): Likewise.
40606         (USHRT_MAX): Likewise.
40607         (INT_MAX): Likewise.
40608         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
40609         bound negative.
40610         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40611         bound with "U".
40612         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40613         bound with "L".
40614         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
40615         bound negative.  Suffix upper bound with "L".
40616         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40617         bound with "UL".
40618         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40619         Specify type.
40620         [C99-based standards] (LLONG_MAX): Likewise.
40621         [C99-based standards] (ULLONG_MAX): Likewise.
40622         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
40623         == 0.
40624         [ISO11] (max_align_t): Require type.
40625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40627         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40628         from $CFLAGS, without defining away __attribute__ calls.
40629         (checknamespace): Use $CFLAGS_namespace.
40631         * conform/conformtest.pl (@keywords): Only include C99 keywords
40632         for standards based on C99 or C11.
40634         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40635         Disable tests.
40636         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40637         UNIX98]: Likewise.
40639         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40640         usability of symbols in #if.
40642         * conform/conformtest.pl: If macro or constant types start
40643         "promoted:", expect the symbol to be of the following type
40644         promoted by the integer promotions.
40646         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40647         in one place.  Also handle "macro-constant".
40649         * conform/conformtest.pl: Only accept expected macro values with
40650         "==".  Parse all "macro" lines in one place.
40651         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40653         * conform/conformtest.pl: Handle braced types on "constant" lines
40654         instead of handling "typed-constant".
40655         * conform/data/signal.h-data: Use "constant" instead of
40656         "typed-constant".
40658         * conform/conformtest.pl: Handle "optional-" at start of lines in
40659         one place rather than duplicating several cases.  Handle each
40660         format of "macro" line with initial "optional-".
40662         * conform/conformtest.pl: Only accept expected constant or
40663         optional-constant values with "==".  Parse all "constant" lines in
40664         one place.  Parse all "optional-constant" lines in one place.
40665         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40666         * conform/data/fmtmsg.h-data: Likewise.
40667         * conform/data/netinet/in.h-data: Likewise.
40668         * conform/data/tar.h-data: Likewise.
40669         * conform/data/limits.h-data: Use "==" form on "constant" and
40670         "optional-constant" lines.
40672         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40673         Use -std=c99 for XOPEN2K.
40674         (@knownproblems): Remove.
40675         (newtoken): Don't check %isknown.
40677         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40678         Do not expect macro.
40679         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40680         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40681         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40682         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40683         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40684         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40685         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40686         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40687         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40688         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40689         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40690         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40691         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40692         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40693         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40694         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40695         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40696         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40697         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40698         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40699         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40700         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40701         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40702         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40703         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40704         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40705         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40706         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40707         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40708         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40709         [XPG3] (acosh): Likewise.
40710         [XPG3] (asinh): Likewise.
40711         [XPG3] (atanh): Likewise.
40712         [XPG3] (cbrt): Likewise.
40713         [XPG3] (expm1): Likewise.
40714         [XPG3] (ilogb): Likewise.
40715         [XPG3] (log1p): Likewise.
40716         [XPG3] (logb): Likewise.
40717         [XPG3] (nextafter): Likewise.
40718         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40719         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40720         [XPG3] (remainder): Likewise.
40721         [XPG3] (rint): Likewise.
40722         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40723         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40724         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40725         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40726         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40727         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40728         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40729         [UNIX98 || XOPEN2K] (scalb): Expect.
40730         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40731         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40732         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40733         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40734         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40735         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40736         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40737         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40738         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40739         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40740         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40741         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40742         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40743         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40744         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40745         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40746         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40747         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40748         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40749         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40750         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40751         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40752         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40753         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40754         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40755         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40756         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40757         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40758         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40759         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40760         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40761         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40762         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40763         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40764         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40765         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40766         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40768         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40769         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40770         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40771         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40772         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40773         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40774         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40775         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40776         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40777         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40778         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40779         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40780         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40781         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40782         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40783         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40784         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40785         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40786         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40787         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40788         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40789         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40790         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40791         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40792         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40793         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40794         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40795         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40796         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40797         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40798         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40799         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40800         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40801         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40802         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40803         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40804         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40805         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40806         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40807         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40808         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40809         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40810         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40811         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40812         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40813         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40814         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40815         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40816         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40817         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40818         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40819         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40820         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40822         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40823         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40824         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40825         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40826         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40827         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40828         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40829         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40830         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40831         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40832         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40833         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40834         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40835         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40836         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40837         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40838         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40839         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40840         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40841         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40842         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40843         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40844         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40845         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40846         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40847         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40848         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40849         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40850         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40851         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40852         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40853         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40854         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40855         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40856         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40857         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40858         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40859         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40860         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40861         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40862         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40863         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40864         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40865         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40866         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40868         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40869         _XOPEN_SOURCE_EXTENDED for XPG4.
40871         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40873         * Makeconfig (localtime): Remove variable.
40874         (inst_localtime-file): Likewise.
40876 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40879         Update.
40880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40881         Update.
40882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40883         Update.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40885         Update.
40886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40887         Update.
40888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40889         Update.
40890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40891         Update.
40892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40893         Update.
40894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40895         Update.
40897 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40899         [BZ #2550]
40900         [BZ #2570]
40901         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40902         comparisons to determine direction to adjust input.
40903         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40904         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40905         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40906         Likewise.
40907         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40908         Likewise.
40909         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40910         Likewise.
40911         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40912         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40913         Likewise.
40914         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40915         Likewise.
40916         * math/libm-test.inc (nexttoward_test): Add more tests.
40918 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40920         [BZ #14040]
40921         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40922         in version GLIBC_2.1, not GLIBC_2.0.
40923         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40924         Likewise.
40926 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40928         [BZ #13942]
40929         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40930         (1 - x) * (1 + x).
40931         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40932         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40933         * math/libm-test.inc (acos_test): Add more tests.
40934         (asin_test): Likewise.
40935         * sysdeps/i386/fpu/libm-test-ulps: Update.
40936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40938         [BZ #14034]
40939         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40940         of square root.
40941         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40942         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40943         * math/libm-test.inc (acos_test_tonearest): New function.
40944         (acos_test_towardzero): Likewise.
40945         (acos_test_downward): Likewise.
40946         (acos_test_upward): Likewise.
40947         (asin_test_tonearest): Likewise.
40948         (asin_test_towardzero): Likewise.
40949         (asin_test_downward): Likewise.
40950         (asin_test_upward): Likewise.
40951         (main): Call the new functions.
40952         * sysdeps/i386/fpu/libm-test-ulps: Update.
40953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40955         [BZ #13884]
40956         [BZ #13924]
40957         * math/e_exp10.c: Include <float.h>.
40958         (__ieee754_exp10): Handle underflow here rather than multiplying
40959         large negative argument by M_LN10.
40960         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40961         of __ieee754_expf.
40962         * math/e_exp10l.c: Include <float.h>.
40963         (__ieee754_exp10l): Handle underflow here rather than multiplying
40964         large negative argument by M_LN10l.
40965         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40966         spurious overflow exception on underflow.
40968 2012-04-29  Marek Polacek  <polacek@redhat.com>
40970         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40971         (__fortify_function): New macro.
40972         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40973         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40974         __extern_always_inline.
40975         * libio/bits/stdio2.h: Likewise.
40976         * libio/bits/stdio.h: Likewise.
40977         * string/string.h: Likewise.
40978         * string/bits/string3.h: Likewise.
40979         * include/stdio.h: Likewise.
40980         * stdlib/bits/stdlib.h: Likewise.
40981         * stdlib/stdlib.h: Likewise.
40982         * rt/bits/mqueue2.h: Likewise.
40983         * rt/mqueue.h: Likewise.
40984         * posix/bits/unistd.h: Likewise.
40985         * posix/unistd.h: Likewise.
40986         * io/bits/poll2.h: Likewise.
40987         * io/bits/fcntl2.h: Likewise.
40988         * io/fcntl.h: Likewise.
40989         * io/sys/poll.h: Likewise.
40990         * misc/bits/syslog.h: Likewise.
40991         * misc/bits/syslog-ldbl.h: Likewise.
40992         * misc/sys/syslog.h: Likewise.
40993         * socket/bits/socket2.h: Likewise.
40994         * socket/sys/socket.h: Likewise.
40995         * debug/tst-chk1.c: Likewise.
40996         * wcsmbs/bits/wchar2.h: Likewise.
40997         * wcsmbs/bits/wchar-ldbl.h: Likewise.
40998         * wcsmbs/wchar.h: Likewise.
41000 2012-04-29  Andreas Jaeger  <aj@suse.de>
41002         * Makerules (tests): Remove enable-check-abi protection.
41003         (check-abi-warn): Remove.
41004         (check-abi-%): Remove check-abi-warn usage.
41006         * configure.in: Remove check-abi configure option.
41007         * configure: Regenerated.
41008         * config.make.in (enable-check-abi): Remove.
41010 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41012         [BZ #14033]
41013         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41014         double functions to double *_finite functions.
41016         [BZ #13941]
41017         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41018         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41019         LDBL_MIN_EXP.
41020         * stdio-common/Makefile (tests): Add tst-sprintf3.
41021         * stdio-common/tst-sprintf3.c: New file.
41023         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41024         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41026 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41028         * conform/conformtest.pl: Remove duplicate typed-constant
41029         handling.
41031 2012-04-28  David S. Miller  <davem@davemloft.net>
41033         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41034         (check-abi-%): Remove AWK script prerequisite and explicit
41035         abilist directory.
41036         (check-abi): Rewrite to just diff the symlist with the abilist.
41037         (config-tls, config-abi-config): Delete, no longer used.
41038         (update-abi-%): Remove AWK script and explicit abilist directory.
41039         (update-abi): Rewrite to simply compare and conditionally copy the
41040         symlist and the sysdep abilist file.  Remove update-abi-config
41041         checks.
41042         * abilist/ld.abilist: Remove.
41043         * abilist/libBrokenLocale.abilist: Remove.
41044         * abilist/libanl.abilist: Remove.
41045         * abilist/libcrypt.abilist: Remove.
41046         * abilist/libdl.abilist: Remove.
41047         * abilist/librt.abilist: Remove.
41048         * abilist/libthread_db.abilist: Remove.
41049         * abilist/libutil.abilist: Remove.
41050         * scripts/extract-abilist.awk: Remove.
41051         * scripts/merge-abilist.awk: Remove.
41052         * sysdeps/generic/libcidn.abilist: New file.
41053         * sysdeps/generic/libnss_compat.abilist: New file.
41054         * sysdeps/generic/libnss_db.abilist: New file.
41055         * sysdeps/generic/libnss_dns.abilist: New file.
41056         * sysdeps/generic/libnss_files.abilist: New file.
41057         * sysdeps/generic/libnss_hesiod.abilist: New file.
41058         * sysdeps/generic/libnss_nis.abilist: New file.
41059         * sysdeps/generic/libnss_nisplus.abilist: New file.
41060         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41061         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41062         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41063         file.
41064         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41065         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41066         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41067         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41068         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41069         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41070         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41071         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41072         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41073         file.
41074         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41075         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41076         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41077         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41078         file.
41079         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41080         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41081         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41082         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41083         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41084         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41085         file.
41086         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41087         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41088         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41089         file.
41090         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41092         New file.
41093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41094         New file.
41095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41096         New file.
41097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41098         New file.
41099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41100         New file.
41101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41102         New file.
41103         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41104         New file.
41105         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41106         New file.
41107         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41108         New file.
41109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41110         New file.
41111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41112         New file.
41113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41114         New file.
41115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41116         New file.
41117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41118         file.
41119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41120         New file.
41121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41122         New file.
41123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41124         file.
41125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41126         New file.
41127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41128         New file.
41129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41130         file.
41131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41132         New file.
41133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41134         New file.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41136         New file.
41137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41138         New file.
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41140         New file.
41141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41142         New file.
41143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41145         file.
41146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41147         New file.
41148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41149         file.
41150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41151         file.
41152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41153         file.
41154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41155         file.
41156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41157         file.
41158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41159         New file.
41160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41161         file.
41162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41163         file.
41164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41165         New file.
41166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41167         file.
41168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41170         file.
41171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41172         New file.
41173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41174         file.
41175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41176         file.
41177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41178         file.
41179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41180         file.
41181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41182         file.
41183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41184         New file.
41185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41186         file.
41187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41188         file.
41189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41190         New file.
41191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41192         file.
41193         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41194         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41195         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41196         file.
41197         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41198         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41199         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41200         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41201         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41202         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41203         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41204         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41205         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41206         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41209         file.
41210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41211         New file.
41212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41213         file.
41214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41215         file.
41216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41217         file.
41218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41219         file.
41220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41221         file.
41222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41223         New file.
41224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41225         New file.
41226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41227         file.
41228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41229         New file.
41230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41231         file.
41232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41234         file.
41235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41236         New file.
41237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41238         file.
41239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41240         file.
41241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41242         file.
41243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41244         file.
41245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41246         file.
41247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41248         New file.
41249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41250         New file.
41251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41252         file.
41253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41254         New file.
41255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41256         file.
41258 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41260         * conform/conformtest.pl: Fix typo in handling typed-constant from
41261         allow-header.
41263 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41265         * README: Cut down references to pre-2.6 Linux kernels and
41266         Linuxthreads.  Update lists of configurations in libc and ports
41267         and sort alphabetically.  Say "or newer" with Linux kernel version
41268         requirements.
41270         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41272 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41274         [BZ #887]
41275         * math/libm-test.inc (logb_test_downward): New test to expose
41276         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41277         rounding mode.
41279 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41281         [BZ #14027]
41282         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41283         to be done.
41284         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41285         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41287 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41289         * sysdeps/unix/i386/brk.S: Remove file.
41290         * sysdeps/unix/i386/dl-brk.S: Likewise.
41291         * sysdeps/unix/i386/pipe.S: Likewise.
41292         * sysdeps/unix/i386/sigreturn.S: Likewise.
41293         * sysdeps/unix/i386/syscall.S: Likewise.
41294         * sysdeps/unix/i386/vfork.S: Likewise.
41295         * sysdeps/unix/i386/wait.S: Likewise.
41297         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41298         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41300         * configure.in (arm*-none*): Do not allow without
41301         --enable-hacker-mode.
41302         (netbsd*): Remove case setting base_os.
41303         (386bsd*): Likewise.
41304         (freebsd*): Likewise.
41305         (bsdi*): Likewise.
41306         (osf*): Likewise.
41307         (sunos*): Likewise.
41308         (ultrix*): Likewise.
41309         (newsos*): Likewise.
41310         (dynix*): Likewise.
41311         (*bsd*): Likewise.
41312         (sysv*): Likewise.
41313         (isc*): Likewise.
41314         (esix*): Likewise.
41315         (sco*): Likewise.
41316         (minix*): Likewise.
41317         (irix4*): Likewise.
41318         (irix6*): Likewise.
41319         (solaris[2-9]*): Likewise.
41320         (none): Likewise.
41321         * configure: Regenerated.
41323 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41325         [BZ #11521]
41326         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41327         overflow or cancellation in calculating denominator.
41328         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41329         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41330         down expression to avoid unexpected rounding in newer GCCs.
41331         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41333 2012-04-26  David S. Miller  <davem@davemloft.net>
41335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41336         long-double compat symbols.
41337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41351 2012-04-25  David S. Miller  <davem@davemloft.net>
41353         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41354         HWCAP_* values only after the memory barriers have been defined.
41355         (atomic_full_barrier): Define.
41356         (atomic_read_barrier): Define.
41357         (atomic_write_barrier): Define.
41359 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41361         * shlib-versions: Add libgcc_s version information.
41362         * sysdeps/generic/libgcc_s.h: Remove.
41363         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41364         libgcc_s.h.
41365         * sysdeps/gnu/unwind-resume.c: Likewise.
41366         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41368 2012-04-25  David S. Miller  <davem@davemloft.net>
41370         * sysdeps/unix/sparc/brk.S: Delete.
41371         * sysdeps/unix/sparc/dl-brk.S: Delete.
41372         * sysdeps/unix/sparc/pipe.S: Delete.
41373         * sysdeps/unix/sparc/sysdep.S: Delete.
41374         * sysdeps/unix/sparc/sysdep.h: Delete.
41375         * sysdeps/unix/sparc/vfork.S: Delete.
41376         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41377         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41378         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41379         (ret_ERRVAL, r0, r1, MOVE): Define.
41380         (JUMPTARGET): Remove.
41381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41382         sysdeps/unix/sparc/sysdep.h
41383         (ENTRY, END): Remove.
41384         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41386 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41388         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41389         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41390         -DIS_IN_build.
41392         * timezone/README: Update upstream location and email address for
41393         tzcode and tzdata.
41394         * timezone/zdump.c: Update from tzcode 2012b.
41395         * timezone/zic.c: Likewise.
41397         * configure.in (libc_cv_as_needed): Remove test.
41398         * configure: Regenerated.
41399         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41400         conditional definition.
41401         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41402         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41403         * config.make.in (have-as-needed): Remove variable.
41405 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41406             Paul Pluzhnikov  <ppluzhnikov@google.com>
41408         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41409         strings correctly.
41411 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41413         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41414         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41415         * sysdeps/sh/strlen.S: Likewise.
41417 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41419         * sysdeps/unix/fork.S: Remove file.
41420         * sysdeps/unix/i386/fork.S: Likewise.
41421         * sysdeps/unix/sparc/fork.S: Likewise.
41423         * sysdeps/unix/system.c: Remove file.
41424         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41426         * sysdeps/unix/getegid.S: Remove file.
41427         * sysdeps/unix/geteuid.S: Likewise.
41429 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41431         * scripts/check-localplt.awk: New file.
41432         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41433         of diff.
41434         * scripts/data/localplt-generic.data: Add a comment.
41436         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41437         NODE when __dir_mkfile failed.
41438         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41439         Reported by Ludovic Courtès <ludo@gnu.org>.
41441 2012-04-24  Andreas Jaeger  <aj@suse.de>
41443         * Makerules (common-clean): Also remove gen-as-const-headers
41444         files.
41446 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41448         * Makerules (native-compile): Do not change working directory for
41449         build.  Use $(OUTPUT_OPTION) in command.
41450         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41452 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41454         [BZ #13886]
41455         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41456         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41457         * math/libm-test.inc (floor_test): Add more tests.
41458         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41460 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41462         * sysdeps/unix/getdents.c: Remove file.
41463         * sysdeps/unix/sysv/getdents.c: Likewise.
41464         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41466         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41467         sysdeps/unix/mman/syscalls.list.
41468         (mmap): Likewise.
41469         (mprotect): Likewise.
41470         (msync): Likewise.
41471         (munmap): Likewise.
41472         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41473         * sysdeps/unix/mman/syscalls.list: Remove.
41474         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41476         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41477         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41478         * configure: Regenerated.
41479         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41480         $(libgcc_s_suffix).
41481         * config.make.in (libgcc_s_suffix): Remove variable.
41483 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41485         * sysdeps/unix/sysv/gethostname.c: Move to ...
41486         * sysdeps/posix/gethostname.c: ... here.
41488         * sysdeps/unix/execve.S: Remove file.
41490         * sysdeps/unix/_exit.S: Remove file.
41492 2012-04-23  Andreas Jaeger  <aj@suse.de>
41494         [BZ #13739]
41495         * manual/Makefile: Remove make dist support, there's no
41496         need for a stand-alone documentation tar ball.
41497         (TEXI2DVI): Define always, it's not in Makeconfig.
41498         (dist): Removed.
41499         (tar-it): Removed.
41500         (edition): Removed.
41501         (glibc-doc-$(edition).tar): Removed
41502         (%.Z): Removed.
41503         (%.gz): Removed.
41504         (%.uu): Removed.
41505         (ETAGS): Remove, it's in Makeconfig.
41506         (move-if-change): Remove, it's in Makeconfig.
41508 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41510         [BZ #13970]
41511         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41512         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41513         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41514         (strtod_l, strtof_l, strtold_l): Remove __wur.
41515         It is not necessarily an error to ignore strtol's return value.
41516         One can reliably look at the stored endptr to decide whether
41517         the number had valid syntax.
41519 2012-04-21  Andreas Jaeger  <aj@suse.de>
41521         [BZ #13739]
41522         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41524 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41526         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41527         * sysdeps/unix/sysv/Versions: Remove file.
41529 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41531         [BZ #13927]
41532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41534 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41536         [BZ #7064]
41537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41538         version from __vm86.
41540 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41542         * sysdeps/unix/common/lxstat.c: Remove file.
41543         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41545         * sysdeps/unix/sysv/Makefile: Remove file.
41547         * sysdeps/unix/sysv/direct.h: Remove file.
41549         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41550         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41551         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41552         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41553         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41554         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41555         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41557         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41559         * sysdeps/unix/xmknod.c: Remove file.
41560         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41562         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41564         * sysdeps/unix/sysv/i386/time.S: Remove file.
41566         * sysdeps/unix/fxstat.c: Remove file.
41567         * sysdeps/unix/xstat.c: Likewise.
41568         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41570         * sysdeps/unix/sysv/sigaction.c: Remove file.
41572         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41573         (sysdep_headers): Remove variable.
41574         [termio.h not in sysdep_headers] (generated): Likewise.
41575         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41576         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41577         * sysdeps/unix/sysv/tcdrain.c: Likewise.
41578         * sysdeps/unix/sysv/tcflow.c: Likewise.
41579         * sysdeps/unix/sysv/tcflush.c: Likewise.
41580         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41581         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41582         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41583         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41584         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41586         * sysdeps/unix/siglist.c: Remove file.
41588         * sysdeps/unix/getppid.S: Remove file.
41590         * sysdeps/unix/mkdir.c: Remove file.
41591         * sysdeps/unix/rmdir.c: Likewise.
41593 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
41595         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41596         ERR_MAX value.
41597         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41598         errlist-compat value.
41600 2012-04-18  David S. Miller  <davem@davemloft.net>
41602         * sysdeps/generic/memcopy.h (reg_char): Delete.
41603         * debug/strcat_chk.c: Use char, not reg_char.
41604         * debug/strcpy_chk.c: Likewise.
41605         * debug/strncat_chk.c: Likewise.
41606         * debug/strncpy_chk.c: Likewise.
41607         * string/memchr.c: Likewise.
41608         * string/memrchr.c: Likewise.
41609         * string/rawmemchr.c: Likewise.
41610         * string/strcat.c: Likewise.
41611         * string/strchr.c: Likewise.
41612         * string/strchrnul.c: Likewise.
41613         * string/strcmp.c: Likewise.
41614         * string/strcpy.c: Likewise.
41615         * string/strncat.c: Likewise.
41616         * string/strncmp.c: Likewise.
41617         * string/strncpy.c: Likewise.
41619 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41621         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41622         __builtin_memcopy is called when src and dest ranges are known to not
41623         overlap.
41625 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41627         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41628         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41629         fwd_align_merge macro call.
41630         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41631         bwd_align_merge macro call.
41632         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41634 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41636         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41637         bwd_align_merge macros.
41638         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41639         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41640         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41642 2012-04-18  David S. Miller  <davem@davemloft.net>
41644         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41646 2012-04-18  Andreas Jaeger  <aj@suse.de>
41648         [BZ# 6794]
41649         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41650         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41651         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41653         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41654         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41655         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41657         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41658         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41659         Adjust for changed ldbl-128 files.
41661         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41662         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41663         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41665 2012-04-17  David S. Miller  <davem@davemloft.net>
41667         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41669 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41671         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41672         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41673         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41674         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41675         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41676         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41678 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41680         [BZ #6794]
41681         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41682         * math/libm-test.inc: Add ilogb errno and exception tests.
41683         * math/w_ilogb.c: New file: ilogb wrapper.
41684         * math/w_ilogbf.c: New file: ilogbf wrapper.
41685         * math/w_ilogbl.c: New file: ilogbl wrapper.
41686         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41687         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41688         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41689         exception being thrown with 0.0 as argument.
41690         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41691         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41692         exception being thrown with 0.0 as argument.
41693         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41694         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41695         exception being thrown with 0.0 as argument.
41696         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41697         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41698         exception being thrown with 0.0 as argument.
41699         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41700         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41701         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41702         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41703         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41704         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41705         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41706         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41707         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41709 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41711         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41712         with altivec.
41714 2012-04-16  Marek Polacek  <polacek@redhat.com>
41716         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41718 2012-04-16  Marek Polacek  <polacek@redhat.com>
41720         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41721         operands of fdivp instruction.
41723 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41725         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41726         * elf/tst-auditmod3b.c: Likewise.
41727         * elf/tst-auditmod4b.c: Likewise.
41728         * elf/tst-auditmod5b.c: Likewise.
41729         * elf/tst-auditmod6b.c: Likewise.
41730         * elf/tst-auditmod6c.c: Likewise.
41731         * elf/tst-auditmod7b.c: Likewise.
41732         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41733         * sysdeps/x86_64/preconfigure.in: Likewise.
41734         * sysdeps/x86_64/preconfigure: Regenerated.
41736 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41738         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41739         __ILP32__.
41741 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41743         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41744         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41746 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41748         [BZ #13973]
41749         * locale/iso-639.def: Fix gl language name. Spotted by
41750         Yaron Shahrabani.
41752 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41754         [BZ #2074]
41755         * libio/libio.h (__io_write_fn): Update comment.
41757 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41759         [BZ #2074]
41760         * stdio.texi (Hook Functions): The user provided writer function
41761         is not allowed to return -1.
41763 2012-04-11  David S. Miller  <davem@davemloft.net>
41765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41767 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41769         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41770         Add a leading slash to rtkaio.
41772 2012-04-11  Jim Meyering  <meyering@redhat.com>
41774         [BZ #11959]
41775         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41776         It is not necessarily an error to ignore fwrite's return
41777         value.  One can reliably use ferror to test for errors after
41778         the fact.
41780 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41782         * bits/types.h (__snseconds_t): New type.
41783         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41785         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41787         (__SNSECONDS_T_TYPE): Likewise.
41788         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41789         (__SNSECONDS_T_TYPE): Likewise.
41790         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41791         (__SNSECONDS_T_TYPE): Likewise.
41793 2012-04-10  Andreas Jaeger  <aj@suse.de>
41795         [BZ #2636]
41796         * manual/time.texi (Processor Time): Return type of times is
41797         elapsed real time since an arbitrary point in the past.
41798         (CPU Time): Move CLK_TCK from here...
41799         (Processor Time): ...to here.  Correct description.
41800         * manual/conf.texi (Constants for Sysconf): Correct description of
41801         _SC_CLK_TCK.
41803 2012-04-10  David S. Miller  <davem@davemloft.net>
41805         [BZ #13967]
41806         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41807         where the is a gap between DT_REL(A) and DT_JMPREL.
41809 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41811         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41812         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41813         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41815 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41817         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41818         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41819         (dl_main): Handle --inhibit-cache.
41820         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41821         _dl_inhibit_cache.
41822         * elf/dl-load.c (_dl_map_object): Use it.
41823         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41825 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41827         [BZ #13872]
41828         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41829         (__ieee754_powl): Saturate large exponents rather than testing for
41830         overflow of y*log2(x).
41831         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41832         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41833         exceptions.
41835         [BZ #11521]
41836         * math/s_ctan.c: Include <float.h>.
41837         (__ctan): Avoid internal overflow or cancellation in calculating
41838         denominator.
41839         * math/s_ctanf.c: Likewise.
41840         * math/s_ctanl.c: Likewise.
41841         * math/s_ctanh.c: Likewise.
41842         * math/s_ctanhf.c: Likewise.
41843         * math/s_ctanhl.c: Likewise.
41844         * math/libm-test.inc (ctan_test): Add more tests.
41845         (ctanh_test): Likewise.
41846         * sysdeps/i386/fpu/libm-test-ulps: Update.
41847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41849 2012-04-09  Andreas Jaeger  <aj@suse.de>
41851         [BZ #6894]
41852         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41853         is an optional BSD extension.
41855         [BZ #10254]
41856         * manual/stdio.texi (Opening Streams): Document additional fopen
41857         parameters.
41859 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41861         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41862         %eax without telling the compiler.
41864 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41866         [BZ # 13963]
41867         * manual/install.texi: Use sourceware.org.
41869 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41871         [BZ #13873]
41872         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41873         (__ieee754_pow): Generate overflow and underflow using huge*huge
41874         and tiny*tiny rather than just returning constant infinity or zero
41875         for large exponents.
41876         * math/libm-test.inc (pow_test): Require overflow exceptions for
41877         applicable cases of large exponents.
41879         [BZ #706]
41880         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41881         (__ieee754_pow): Use iterative multiplication algorithm only for
41882         integer exponents with absolute value below 1024.  Check for odd
41883         integer exponents when using algorithm for real exponents.
41884         * math/libm-test.inc (pow_test): Add more tests.
41885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41887 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41889         [BZ #13705]
41890         * math/libm-test.inc (exp_test): Do not allow overflow exception
41891         on underflow test.
41893 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41895         [BZ #13705]
41896         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41897         instead of __kernel_standard_f.
41899 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41901         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41902         * sysdeps/x86_64/memset_chk.S: Likewise.
41904 2012-04-08  Andreas Jaeger  <aj@suse.de>
41906         [BZ #10153]
41907         * manual/startup.texi (Environment Access): Describe return value
41908         for putenv and setenv.
41910         [BZ #6895]
41911         * manual/filesys.texi (Directory Entries): Add description for
41912         DT_LNK.
41914         [BZ #6890]
41915         * manual/filesys.texi (Directory Entries): Clarify that it's file
41916         system not operating system in the description of DT_UNKNOWN.
41918         [BZ #6578]
41919         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41921 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41923         [BZ #6649]
41924         * manual/llio.texi (Opening and Closing Files): Add cross
41925         reference to explain mode argument.
41927 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41929         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41930         * sysdeps/x86_64/memset_chk.S: Likewise.
41932 2012-04-07  David S. Miller  <davem@davemloft.net>
41934         * elf/elf.h (R_SPARC_WDISP10): Define.
41935         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41936         R_SPARC_SIZE32.
41937         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41938         R_SPARC_SIZE64 and R_SPARC_H34.
41940 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41942         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41943         conditions and remove no longer applicable assertion.
41945 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41947         * bits/byteswap.h: Include <features.h>.
41948         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41949         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41951 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41953         * bits/byteswap.h (__bswap_16): Removed.
41954         Include <bits/byteswap-16.h> to get __bswap_16.
41955         * sysdeps/i386/bits/byteswap.h: Likewise.
41956         * sysdeps/s390/bits/byteswap.h: Likewise.
41957         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41958         * bits/byteswap-16.h: New file.
41959         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41960         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41961         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41962         * string/Makefile (headers): Add bits/byteswap-16.h.
41964 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41966         [BZ #13895]
41967         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41968         extra indirection.
41969         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41970         * nss/tst-nss-static.c: New.
41972 2012-04-06  Robert Millan  <rmh@gnu.org>
41974         [BZ #6486]
41975         * manual/llio.texi (File Position Primitive): lseek
41976         refers to WHENCE when it really means OFFSET.
41978 2012-04-06  Andreas Jaeger  <aj@suse.de>
41980         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41981         strncmp declarations.
41983         * abilist/libc.abilist: Add __poll and __ppoll.
41985 2012-04-05  David S. Miller  <davem@davemloft.net>
41987         * scripts/check-local-headers.sh: Accept a host triplet in the
41988         path matched by the exclude regexp.
41990         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41991         definition.
41992         * sysdeps/powerpc/powerpc32/dl-machine.h
41993         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41994         * sysdeps/s390/s390-32/dl-machine.h
41995         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41996         * sysdeps/sparc/sparc32/dl-machine.h
41997         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41998         * sysdeps/sparc/sparc64/dl-machine.h
41999         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42001         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42002         lazy binding.
42003         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42004         undefined symbol errors.
42006         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42007         DT_NEEDED entries.
42009 2012-04-05  Michael Matz  <matz@suse.de>
42011         [BZ #13592]
42012         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42014 2012-04-05  Andreas Jaeger  <aj@suse.de>
42016         [BZ #13908]
42017         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42018         comment.
42020 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42022         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42023         which ROUND is no valid rounding mode.
42025 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42027         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42028         read again.
42029         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42031 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42033         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42034         an exception using FPU order intentionally.
42036 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42038         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42039         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42040         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42041         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42043 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42045         [BZ #12340]
42046         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42047         EINVAL when BUFLEN is too smal.
42049 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42051         [BZ #13553]
42052         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42053         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42055 2012-04-03  Andreas Jaeger  <aj@suse.de>
42057         [BZ #13938]
42058         * manual/setjmp.texi (System V contexts): Fix sentence.
42060         [BZ #13926]
42061         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42062         New macro for this case.
42063         [!__GNUC__] (__bswap_64): New inline function for this case.
42064         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42065         * bits/byteswap.h: Likewise.
42066         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42067         ull, guard with __GLIBC_HAVE_LONG_LONG.
42069         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42070         __GLIBC_HAVE_LONG_LONG.
42072         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42073         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42075 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42077         [BZ #13691]
42078         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42079         inptr and inend, rather than using last_ch.
42081 2012-04-02  David S. Miller  <davem@davemloft.net>
42083         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42084         * stdio-common/printf-parse.h (read_int): Change return type to
42085         'int', return -1 on INT_MAX overflow.
42086         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42087         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42088         overflows INT_MAX.  Check for overflow of in-format-string precision
42089         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42090         SIZE_MAX not INT_MAX for integer overflow test.
42091         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42092         skip the construct in the format string but do not record anything.
42093         * stdio-common/bug22.c: Adjust to test both width/prevision
42094         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42095         explicitly for proper errno values.
42097 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42099         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42100         CHAR_MAX.
42101         * string/test-strcmp.c [! WIDE]: Likewise.
42102         * time/tst-mktime2.c: Likewise for INT_MAX.
42103         * string/test-string.h: #include <sys/param.h> for MIN.
42105         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42106         * sysdeps/i386/init-first.c (init): Likewise.
42107         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42108         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42109         * sysdeps/sh/init-first.c (init): Likewise.
42111 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42113         * po/ru.po: Update from translation team.
42114         * po/vi.po: Likewise.
42116 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42118         * resolv/nss_dns/dns-host.c: Merge copyright years.
42120 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42122         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42123         Optimize memcpy with prefetch if
42124         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42125         src, dst pointers have unequal 16 byte alignments.
42127 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42129         [BZ #13928]
42130         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42131         from a CNAME entry and return the minimum ttl for the query.
42132         (gaih_getanswer_slice): Likewise.
42134 2012-03-30  Jeff Law  <law@redhat.com>
42136         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42137         due to long keys.
42138         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42139         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42141         * resolv/nss_dns/dns-host.c: Update copyright year.
42143 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42145         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42146         requests to save a system call.  Fix check that all bytes are sent.
42148         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42149         comments for sendmmsg.
42151 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42153         [BZ #13691]
42154         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42155         with only 1 character between 0x0041 and 0x01b0.
42156         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42157         * wcsmbs/tst-mbsnrtowcs.c: New file.
42159 2012-03-29  David S. Miller  <davem@davemloft.net>
42161         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42162         small copies by hand.
42164 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42166         [BZ #13761]
42167         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42168         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42169         group memberships.
42171 2012-03-28  David S. Miller  <davem@davemloft.net>
42173         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42174         that branches into memcpy.
42175         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42176         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42177         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42178         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42179         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42180         bits.
42181         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42182         implementation too.
42183         * sysdeps/sparc/mempcpy.S: New file.
42185         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42186         the IFUNC routine in the libc case.
42187         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42189         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42190         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42191         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42192         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42193         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42194         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42195         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42196         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42198         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42199         loop to 256 bytes instead of 64 bytes and fix test signedness.
42201         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42202         * sysdeps/sparc/sparc32/Makefile: rather than here...
42203         * sysdeps/sparc/sparc64/Makefile: and here.
42205 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42207         * malloc/mallocbug.c: Avoid warnings about unused variables.
42209 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42211         [BZ #13760]
42212         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42213         in the right place. Discard and retry query if response is
42214         larger than input buffer size.
42216 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42218         [BZ #369]
42219         [BZ #2678]
42220         [BZ #3866]
42221         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42222         x for large integer exponent.
42223         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42224         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42225         sign of result as needed afterwards.
42226         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42227         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42228         result for underflowing pow the same as for overflow.
42229         (__kernel_standard_l): Handle powl overflow and underflow here
42230         rather than calling __kernel_standard.
42231         * math/libm-test.inc (pow_test): Add more tests.
42233         [BZ #3868]
42234         [BZ #13879]
42235         [BZ #13910]
42236         [BZ #13911]
42237         [BZ #13912]
42238         [BZ #13913]
42239         [BZ #13915]
42240         [BZ #13916]
42241         [BZ #13917]
42242         [BZ #13918]
42243         [BZ #13919]
42244         [BZ #13920]
42245         [BZ #13921]
42246         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42247         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42248         (__kernel_standard_l): New function.
42249         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42250         __kernel_standard.
42251         * math/w_acosl.c (__acosl): Likewise.
42252         * math/w_asinl.c (__asinl): Likewise.
42253         * math/w_atan2l.c (__atan2l): Likewise.
42254         * math/w_atanhl.c (__atanhl): Likewise.
42255         * math/w_coshl.c (__coshl): Likewise.
42256         * math/w_exp10l.c (__exp10l): Likewise.
42257         * math/w_exp2l.c (__exp2l): Likewise.
42258         * math/w_fmodl.c (__fmodl): Likewise.
42259         * math/w_hypotl.c (__hypotl): Likewise.
42260         * math/w_j0l.c (__j0l, __y0l): Likewise.
42261         * math/w_j1l.c (__j1l, __y1l): Likewise.
42262         * math/w_jnl.c (__jnl, __ynl): Likewise.
42263         * math/w_lgammal.c (__lgammal): Likewise.
42264         * math/w_log10l.c (__log10l): Likewise.
42265         * math/w_log2l.c (__log2l): Likewise.
42266         * math/w_logl.c (__logl): Likewise.
42267         * math/w_powl.c (__powl): Likewise.
42268         * math/w_remainderl.c (__remainderl): Likewise.
42269         * math/w_scalbl.c (sysv_scalbl): Likewise.
42270         * math/w_sinhl.c (__sinhl): Likewise.
42271         * math/w_sqrtl.c (__sqrtl): Likewise.
42272         * math/w_tgammal.c (__tgammal): Likewise.
42273         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42274         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42275         * math/libm-test.inc (acos_test): Add more tests.
42276         (acosh_test): Likewise.
42277         (asin_test): Likewise.
42278         (atanh_test): Likewise.
42279         (exp_test): Likewise.
42280         (exp10_test): Likewise.
42281         (exp2_test): Likewise.
42282         (expm1_test): Likewise.
42283         (lgamma_test): Likewise.
42284         (log_test): Likewise.
42285         (log10_test): Likewise.
42286         (log1p_test): Likewise.
42287         (log2_test): Likewise.
42288         (pow_test): Do not allow some spurious overflow exceptions.
42289         (sqrt_test): Add more tests.
42290         (tgamma_test): Likewise.
42291         (y0_test): Likewise.
42292         (y1_test): Likewise.
42293         (yn_test): Likewise.
42295 2012-03-27  Anton Blanchard  <anton@samba.org>
42297         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42298         MAP_HUGETLB.
42299         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42300         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42301         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42303 2012-03-27  David S. Miller  <davem@davemloft.net>
42305         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42307         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42308         have-as-vis3 check.
42310 2012-03-27  Andreas Jaeger  <aj@suse.de>
42312         * sysdeps/x86_64/elf/configure.in: Moved to ...
42313         * sysdeps/x86_64/configure.in: ... here.
42314         * sysdeps/x86_64/elf/start.S: Moved to ...
42315         * sysdeps/x86_64/start.S: ... here.
42316         * sysdeps/x86_64/elf/configure: Delete.
42318         * sysdeps/x86_64/configure.in: Merge contents from
42319         sysdeps/i386/configure.in (without i686 check).
42321         * sysdeps/i386/elf/Versions: Merge into ...
42322         * sysdeps/i386/Versions: ... this.
42323         * sysdeps/i386/elf/Versions: Delete file.
42324         * sysdeps/i386/elf/start.S: Moved to ...
42325         * sysdeps/i386/start.S: ...here.
42326         * sysdeps/i386/elf/configure.in: Merge into...
42327         * sysdeps/i386/configure.in: ...here.
42328         * sysdeps/i386/elf/configure.in: Delete file.
42329         * sysdeps/i386/elf/configure: Delete file.
42331         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42332         * debug/backtracesyms.c: ... here.
42333         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42334         * debug/backtracesymsfd.c: ... here.
42335         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42336         * sysdeps/generic/ifunc-sel.h: ... here.
42338         * sysdeps/unix/i386/start.c: Delete file.
42339         * sysdeps/unix/sparc/start.c: Delete file.
42340         * sysdeps/unix/start.c: Delete file.
42342         * sysdeps/sh/elf/configure.in: Moved to ...
42343         * sysdeps/sh/configure.in: ... here.
42344         * sysdeps/sh/elf/start.S: Moved to ...
42345         * sysdeps/sh/start.S: ... here.
42346         * sysdeps/sh/elf/configure: Delete file.
42348         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42349         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42350         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42351         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42352         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42353         * sysdeps/powerpc/powerpc64/start.S: here.
42354         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42355         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42356         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42357         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42358         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42360         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42361         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42362         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42363         * sysdeps/powerpc/powerpc32/start.S: ... here.
42364         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42365         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42366         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42368         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42369         * sysdeps/powerpc/ifunc-sel.h: ... here.
42370         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42371         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42373         * sysdeps/sparc/elf/configure.in: Moved to ...
42374         * sysdeps/sparc/configure.in: ... here.
42375         * sysdeps/sparc/elf/configure: Delete file.
42376         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42377         * sysdeps/sparc/sparc32/start.S: ... here.
42378         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42379         * sysdeps/sparc/sparc64/start.S: ... here.
42380         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42381         * sysdeps/sparc/sparc32/Makefile: ... this.
42382         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42383         * sysdeps/sparc/sparc64/Makefile: ... this.
42385         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42386         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42387         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42388         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42389         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42390         * sysdeps/s390/s390-32/setjmp.S: ... here.
42391         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42392         * sysdeps/s390/s390-32/configure.in: ... here.
42393         * sysdeps/s390/s390-32/elf/configure: Delete file.
42394         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42395         * sysdeps/s390/s390-32/start.S: ... here.
42397         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42398         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42399         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42400         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42401         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42402         * sysdeps/s390/s390-64/setjmp.S: ... here.
42403         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42404         * sysdeps/s390/s390-64/configure.in: ... here
42405         * sysdeps/s390/s390-64/elf/configure: Delete file.
42406         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42407         * sysdeps/s390/s390-64/start.S: ... here.
42408         * sysdeps/s390/s390-64/elf/configure: Delete.
42410         * configure.in: Remove support for elf directories in sysdeps.
42412         * configure: Regenerated.
42413         * sysdeps/i386/configure: Regenerated.
42414         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42415         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42416         * sysdeps/s390/s390-32/configure: Regenerated.
42417         * sysdeps/s390/s390-64/configure: Regenerated.
42418         * sysdeps/sh/configure: Regenerated.
42419         * sysdeps/sparc/configure: Regenerated.
42420         * sysdeps/x86_64/configure: Regenerated.
42422 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42426         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42427         denormal result into account.
42429 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42431         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42432         Reported by Allan McRae <allan@archlinux.org>.
42434 2012-03-23  Jeff Law  <law@redhat.com>
42436         * nss/getnssent.c (__nss_getent): Fix typo.
42438 2012-03-23  David S. Miller  <davem@davemloft.net>
42440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42442 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42444         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42445         to pad to uint64_t for each field.
42446         (dl_tls_index): Replace unsigned long with uint64_t.
42448 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42449         Paul Pluzhnikov  <ppluzhnikov@google.com>
42451         [BZ #6528]
42452         * grp/Makefile (otherlibs): Don't set it.
42453         * inet/Makefile (otherlibs): Likewise.
42454         * login/Makefile (otherlibs): Likewise.
42455         * nscd/Makefile (otherlibs): Likewise.
42456         * posix/Makefile (otherlibs): Likewise.
42457         * pwd/Makefile (otherlibs): Likewise.
42458         * rt/Makefile (otherlibs): Likewise.
42459         * sunrpc/Makefile (otherlibs): Likewise.
42460         * nss/Makefile (otherlibs): Likewise.
42461         Add libnss_files to routines and static-only-routines.
42462         ($(objpfx)getent): Remove rule.
42463         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42464         static-only-routines.
42466 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42468         [BZ #13892]
42469         * math/s_cexp.c: Include <float.h>.
42470         (__cexp): Handle exp result overflowing not necessarily
42471         overflowing both real and imaginary parts of result.
42472         * math/s_cexpf.c: Likewise.
42473         * math/s_cexpl.c: Likewise.
42474         * math/libm-test.inc (cexp_test): Add more tests.
42475         * sysdeps/i386/fpu/libm-test-ulps: Update.
42476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42478 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42480         * include/link.h (ELFW): New macro.
42481         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42482         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42484 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42486         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42487         with uint64_t.
42489 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42491         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42492         declaration.
42493         (struct La_x32_retval): Likewise.
42495 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42497         * sysdeps/x86_64/preconfigure.in: New file.
42498         * sysdeps/x86_64/preconfigure: New generated file.
42500 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42502         [BZ #13824]
42503         * math/e_exp2l.c: Include <float.h>.
42504         (__ieee754_exp2l): Handle overflow and underflow cases
42505         separately.  Only pass fractional part of argument to
42506         __ieee754_expl.
42507         * math/libm-test.inc (exp2_test): Add more tests.
42509         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42510         negating x to take absolute value.
42511         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42512         Likewise.
42513         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42514         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42515         Likewise.
42516         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42517         computing low part if x was negated.
42518         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42520 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42522         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42523         la_x32_gnu_pltexit.
42524         (pltexit): Cast int_retval to ptrdiff_t.
42525         * elf/tst-auditmod3b.c: Likewise.
42526         * elf/tst-auditmod4b.c: Likewise.
42527         * elf/tst-auditmod5b.c: Likewise.
42528         * elf/tst-auditmod6b.c: Likewise.
42529         * elf/tst-auditmod6c.c: Likewise.
42530         * elf/tst-auditmod7b.c: Likewise.
42532         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42533         and x32_gnu_pltexit.
42535         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42536         __ELF_NATIVE_CLASS.
42537         (La_x32_regs): New macro.
42538         (La_x32_retval): Likewise.
42539         (la_x32_gnu_pltenter): New function prototype.
42540         (la_x32_gnu_pltexit): Likewise.
42542 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42544         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42545         exponent.
42547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42549         * configure.in (libc_cv_cc_nofma): Check for option to disable
42550         generation of FMA instructions.
42551         * configure: Regenerate.
42552         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42553         * sysdeps/ieee754/dbl-64/Makefile: New file.
42554         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42555         Remove brandred-fma4.
42556         (CFLAGS-brandred-fma4.c): Remove.
42557         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42558         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42559         define.
42560         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42561         define.
42563 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42565         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42566         LLONG_MAX != LONG_MAX.
42567         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42568         (_fitoa_word): Likewise.
42569         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42570         LLONG_MAX != LONG_MAX.
42571         * stdio-common/_itowa.h: Include <_itoa.h>.
42572         (_itowa_word): Use _ITOA_WORD_TYPE on value.
42573         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
42574         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
42575         only if not defined.
42576         (_ITOA_WORD_TYPE): Likewise.
42577         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42578         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42580 2012-03-21  David S. Miller  <davem@davemloft.net>
42582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42584 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42586         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42587         of x86_64 when setting libc_cv_slibdir, libdir and
42588         libc_cv_localedir.
42589         * sysdeps/unix/sysv/linux/configure: Regenerated.
42591 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42593         * manual/lang.texi (Old Varargs): Remove section.
42594         (How Variadic): Update menu.
42595         (va_start): Do not mention varargs.h.
42597 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42598             Joseph Myers  <joseph@codesourcery.com>
42600         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42601         link test.
42602         * configure: Regenerated.
42604 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42606         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42607         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42608         conformtest.pl
42610 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42612         * NOTES: Remove.
42613         * Makefile (files-for-dist): Remove NOTES.
42614         (NOTES): Remove rule.
42615         * README: Don't refer to NOTES.
42616         * manual/creature.texi: Don't include macros.texi.
42617         * manual/intro.texi (creature.texi): Remove comment referring to
42618         NOTES.
42620         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42621         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42622         * configure: Regenerated.
42623         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42624         LIBC_TRY_CC_OPTION.
42625         (libc_cv_as_i686): Likewise.
42626         (libc_cv_cc_avx): Likewise.
42627         (libc_cv_cc_sse2avx): Likewise.
42628         (libc_cv_cc_fma4): Likewise.
42629         (libc_cv_cc_novzeroupper): Likewise.
42630         * sysdeps/i386/configure: Regenerated.
42632         [BZ #13883]
42633         * sysdeps/i386/fpu/s_cexp.S: Remove.
42634         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42635         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42636         * math/libm-test.inc (cexp_test): Add more tests.
42637         * sysdeps/i386/fpu/libm-test-ulps: Update.
42638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42640 2012-03-21  Allan McRae  <allan@archlinux.org>
42642         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42644 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42646         [BZ #13871]
42647         * math/w_exp2.c: Do not include <float.h>.
42648         (o_threshold, u_threshold): Remove.
42649         (__exp2): Calculate result before checking finiteness and calling
42650         __kernel_standard.
42651         * math/w_exp2f.c: Likewise.
42652         * math/w_exp2l.c: Likewise.
42653         * math/libm-test.inc (exp2_test): Require overflow exception for
42654         1e6 input.
42656         [BZ #3866]
42657         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42658         range of signed 64-bit integers before using fistpll.  Remove
42659         checks for whether integers fit in mantissa bits.
42660         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42661         the range of signed 32-bit integers before using fistpl.  Remove
42662         checks for whether integers fit in mantissa bits.
42663         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42664         (__ieee754_powl): Test for y outside the range of signed 64-bit
42665         integers before using fistpll.  Reduce 64-bit values to 63-bit
42666         ones as needed.
42667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42668         divide-by-zero is raised for zero to large negative powers.
42669         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42670         (__ieee754_powl): Test for y outside the range of signed 64-bit
42671         integers before using fistpll.  Reduce 64-bit values to 63-bit
42672         ones as needed.
42673         * math/libm-test.inc (pow_test): Add more tests.
42675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42677         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42678         <stdio-common/_itoa.h>.
42679         * debug/segfault.c: Likewise.
42680         * elf/dl-cache.c: Likewise.
42681         * elf/dl-minimal.c: Likewise.
42682         * elf/dl-misc.c: Likewise.
42683         * elf/dl-sysdep.c: Likewise.
42684         * elf/dl-version.c: Likewise.
42685         * elf/rtld.c: Likewise.
42686         * hurd/hurdsock.c: Likewise.
42687         * hurd/lookup-retry.c: Likewise.
42688         * malloc/malloc.c: Likewise.
42689         * malloc/mtrace.c: Likewise.
42690         * nscd/nscd_getgr_r.c: Likewise.
42691         * nscd/nscd_getpw_r.c: Likewise.
42692         * nscd/nscd_getserv_r.c: Likewise.
42693         * posix/getopt_init.c: Likewise.
42694         * posix/wordexp.c: Likewise.
42695         * stdio-common/_itoa.c: Likewise.
42696         * stdio-common/printf_fphex.c: Likewise.
42697         * stdio-common/vfprintf.c: Likewise.
42698         * string/_strerror.c: Likewise.
42699         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42700         * sysdeps/i386/i686/hp-timing.h: Likewise.
42701         * sysdeps/mach/_strerror.c: Likewise.
42702         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42703         * sysdeps/mach/hurd/sethostid.c: Likewise.
42704         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42705         * sysdeps/mach/xpg-strerror.c: Likewise.
42706         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42707         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42708         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42709         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42710         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42711         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42713         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42714         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42715         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42716         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42717         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42718         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42719         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42720         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42721         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42722         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42723         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42724         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42725         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42726         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42728         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42730         * stdio-common/_itoa.h: Moved to ...
42731         * sysdeps/generic/_itoa.h: Here.
42733         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42735         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42736         instead of "_itoa.h" and "_itowa.h".
42737         * stdio-common/vfprintf.: Likewise.
42739 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42741         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42742         <bits/wordsize.h>.
42743         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42744         (__signbit): Likwise.
42745         (llrintf): Likwise.
42746         (llrint): Likwise.
42748 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42750         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42751         __WORDSIZE != 64.
42753 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42755         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42756         OVERFLOW_EXCEPTION_OK.
42757         * math/libm-test.inc ("Philosophy"): Update comment about
42758         exception testing.
42759         (OVERFLOW_EXCEPTION): Define.
42760         (OVERFLOW_EXCEPTION_OK): Likewise.
42761         (INVALID_EXCEPTION_OK): Renumber.
42762         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42763         (IGNORE_ZERO_INF_SIGN): Likewise.
42764         (test_exceptions): Handle FE_OVERFLOW.
42765         (exp10_test): Expect overflow exceptions.
42766         (exp2_test): Likewise.
42767         (expm1_test): Likewise.
42768         (nextafter_test): Likewise.
42769         (pow_test): Likewise.
42770         (scalbn_test): Likewise.
42771         (scalbln_test): Likewise.
42773 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42775         * sysdeps/x86_64/bits/atomic.h
42776         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42777         64bit integer.
42778         (atomic_exchange_acq): Likewise.
42779         (__arch_exchange_and_add_body): Likewise.
42780         (__arch_add_body): Likewise.
42781         (atomic_add_negative): Likewise.
42782         (atomic_add_zero): Likewise.
42784 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42786         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42787         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42791         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42792         Check __x86_64__ instead of __WORDSIZE.
42794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42796         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42798 2012-03-19  David S. Miller  <davem@davemloft.net>
42800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42802         * sysdeps/sparc/fpu/fenv_private.h: New file.
42803         * sysdeps/sparc/fpu/math_private.h: Use it.
42804         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42805         Remove.
42806         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42807         (libc_feholdexcept_setroundl): Remove.
42808         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42809         Remove.
42810         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42811         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42813 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42815         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42816         int64_t instead of long int.
42817         (INSERT_WORDS64): Likwise.
42819 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42821         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42822         _Unwind_GetCFA return to _Unwind_Ptr first.
42824 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42826         [BZ #13629]
42827         * math/s_clog.c: Include <float.h>.
42828         (__clog): Scale large or subnormal inputs.
42829         * math/s_clogf.c: Likewise.
42830         * math/s_clogl.c: Likewise.
42831         * math/s_clog10.c: Include <float.h>.
42832         (M_LOG10_2): Define.
42833         (__clog10): Scale large or subnormal inputs.
42834         * math/s_clog10f.c: Likewise.
42835         * math/s_clog10l.c: Likewise.
42836         * math/libm-test.inc (clog_test): Add more tests.
42837         (clog10_test): Likewise.
42838         * sysdeps/i386/fpu/libm-test-ulps: Update.
42839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42841         [BZ #11451]
42842         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42843         x and y.
42844         * math/libm-test.inc (atan2_test): Add another test.
42846         * Makerules (common-objdir-compile): Remove.
42847         * sysdeps/unix/Makefile (config-generated): Do not add
42848         $(unix-generated) to variable.
42849         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42850         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42851         Remove rule.
42852         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42853         Likewise.
42854         [generic bits/local_lim.h] (before-compile): Do not append to
42855         variable.
42856         [generic bits/local_lim.h] (common-generated): Likewise.
42857         [generic sys/param.h] (before-compile): Do not append to variable.
42858         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42859         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42860         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42861         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42862         include.
42863         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42864         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42865         [generic sys/param.h] ($(addprefix
42866         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42867         [generic sys/param.h] (common-generated): Do not append to
42868         variable.
42869         [generic sys/param.h] (sysdep_headers): Likewise.
42870         [generic bits/errno.h] (before-compile): Do not append to
42871         variable.
42872         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42873         rule.
42874         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42875         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42876         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42877         [generic bits/errno.h] (common-generated): Do not append to
42878         variable.
42879         [generic bits/ioctls.h] (before-compile): Do not append to
42880         variable.
42881         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42882         rule.
42883         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42884         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42885         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42886         rule.
42887         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42888         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42889         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42890         [generic bits/ioctls.h] (common-generated): Do not append to
42891         variable.
42892         [generic sys/syscall.h] (syscall.h): Remove variable.
42893         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42894         rule.
42895         [generic sys/syscall.h] (before-compile): Do not append to
42896         variable.
42897         [generic sys/syscall.h] (common-generated): Likewise.
42898         * sysdeps/unix/errnos-tmpl.c: Remove file.
42899         * sysdeps/unix/errnos.awk: Likewise.
42900         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42901         * sysdeps/unix/ioctls.awk: Likewise.
42902         * sysdeps/unix/mk-local_lim.c: Likewise.
42903         * sysdeps/unix/snarf-ioctls: Likewise.
42905 2012-03-19  Richard Henderson  <rth@twiddle.net>
42907         * sysdeps/i386/fpu/fenv_private.h: New file.
42908         * sysdeps/i386/fpu/math_private.h: Use it.
42909         (math_opt_barrier, math_force_eval): Remove.
42910         (libc_feholdexcept_setround_53bit): Remove.
42911         (libc_feupdateenv_53bit): Remove.
42912         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42913         (math_opt_barrier, math_force_eval): Remove.
42914         (libc_feholdexcept): Remove.
42915         (libc_feholdexcept_setround): Remove.
42916         (libc_fetestexcept, libc_fesetenv): Remove.
42917         (libc_feupdateenv_test): Remove.
42918         (libc_feupdateenv, libc_feholdsetround): Remove.
42919         (libc_feresetround): Remove.
42921         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42922         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42924         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42925         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42926         (libc_feupdateenv_testl): New.
42927         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42928         (libc_feupdateenv_testf): New.
42929         (libc_feupdateenv): Use libc_feupdateenv_test.
42930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42931         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42933         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42934         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42935         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42936         (libc_feresetround_noex): New.
42937         (libc_feresetround_noexf): New.
42938         (libc_feresetround_noexl): New.
42939         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42940         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42941         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42942         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42943         SET_RESTORE_ROUND.
42944         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42946         (__cos): Likewise.
42947         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42948         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42949         SET_RESTORE_ROUND_NOEX.
42950         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42951         SET_RESTORE_ROUND_NOEXF.
42952         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42953         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42954         (libc_feholdsetroundf): New.
42955         (libc_feresetround, libc_feresetroundf): New.
42957         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42958         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42959         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42961         * sysdeps/generic/math_private.h: Include <fenv.h>.
42962         (default_libc_feholdexcept): New.
42963         (default_libc_feholdexcept_setround): New.
42964         (default_libc_fesetenv, default_libc_feupdateenv): New.
42965         (libc_feholdexcept): Only define if undefined.
42966         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42967         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42968         (libc_feholdexcept_setroundl): Likewise.
42969         (libc_feholdexcept_setround_53bit): Likewise.
42970         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42971         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42972         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42973         (libc_feupdateenv_53bit): Likewise.
42974         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42975         (libc_feholdexcept): Convert from macro to inline function.
42976         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42977         (libc_fesetenv, libc_feupdateenv): Likewise.
42979         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42980         not previously defined.
42981         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42982         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42983         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42984         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42985         * sysdeps/ieee754/flt-32/math_private.h: New file.
42986         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42987         math_private.h below SET_FLOAT_WORD.
42988         (__isnan, __isinf_ns, __finite): Remove.
42989         (__isnanf, __isinf_nsf, __finitef): Remove.
42991 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
42993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42995 2012-03-17  David S. Miller  <davem@davemloft.net>
42997         [BZ #6471]
42998         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42999         for 2.16.
43001 2012-03-16  David S. Miller  <davem@davemloft.net>
43003         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43004         warnings.
43006         [BZ #6471]
43007         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43008         properly.
43009         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43010         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43011         sysdep_routines when subdir is sysvipc.
43012         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43013         __getshmlba helper.
43015         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43017 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43019         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43020         [__LP64__].
43022 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43024         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43025         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43026         (__lround): Renamed to ...
43027         (__llround): This.  Replace long int with long long int.
43028         Define lround functions as aliases of llround functions.
43029         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43031 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43033         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43034         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43035         adresses to uintptr_t.  Replace "long int" and "unsigned long
43036         int" with "greg_t" on va_arg.
43038 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43040         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43041         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43043         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43044         Move e_machine check before EI_CLASS check.  Handle x32
43045         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43046         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43047         SKIP_EM_IA_64 and include
43048         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43050         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43051         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43052         (add_system_dir): New macro.
43054         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43055         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43057 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43059         [BZ #2551]
43060         [BZ #2552]
43061         [BZ #2553]
43062         [BZ #2554]
43063         [BZ #2562]
43064         [BZ #2563]
43065         [BZ #2565]
43066         [BZ #2566]
43067         [BZ #2576]
43068         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43069         (y0): Likewise.
43070         * math/w_j0f.c (j0f): Likewise.
43071         (y0f): Likewise.
43072         * math/w_j0l.c (__j0l): Likewise.
43073         (__y0l): Likewise.
43074         * math/w_j1.c (j1): Likewise.
43075         (y1): Likewise.
43076         * math/w_j1f.c (j1f): Likewise.
43077         (y1f): Likewise.
43078         * math/w_j1l.c (__j1l): Likewise.
43079         (__y1l): Likewise.
43080         * math/w_jn.c (jn): Likewise.
43081         (yn): Likewise.
43082         * math/w_jnf.c (jnf): Likewise.
43083         (ynf): Likewise.
43084         * math/w_jnl.c (__jnl): Likewise.
43085         (__ynl): Likewise.
43086         * math/libm-test.inc (j0_test): Add more tests.
43087         (j1_test): Likewise.
43088         (jn_test): Likewise.  Add trailing semicolon to existing test.
43089         (y0_test): Likewise.
43090         (y1_test): Likewise.
43091         * sysdeps/i386/fpu/libm-test-ulps: Update.
43092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43094         [BZ #13851]
43095         [BZ #13854]
43096         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43097         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43098         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43099         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43100         (__tanl): Set errno for infinite argument.
43101         * sysdeps/i386/fpu/mptan.c: Remove.
43102         * sysdeps/i386/fpu/s_tan.S: Likewise.
43103         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43104         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43105         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43106         * math/libm-test.inc (tan_test): Add more tests and enable more
43107         tests for double and long double.
43108         * sysdeps/i386/fpu/libm-test-ulps: Update.
43109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43111 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43113         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43114         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43116 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43118         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43119         * configure.in: Use it for both main tree and add-ons.
43120         * configure: Regenerated.
43122 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43124         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43126 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43128         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43129         in comment.
43131         [BZ #13851]
43132         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43133         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43134         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43135         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43136         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43137         infinite argument.
43138         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43139         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43140         != 0 for prec == 2.
43141         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43142         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43143         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43144         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43145         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43146         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43147         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43148         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43149         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43150         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43151         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43152         * math/libm-test.inc (cos_test): Add more tests and enable more
43153         tests for long double.
43154         (sin_test): Likewise.
43155         (sincos_test): Likewise.
43156         * sysdeps/i386/fpu/libm-test-ulps: Update.
43157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43159 2012-03-16  David S. Miller  <davem@davemloft.net>
43161         * sysdeps/sparc/fpu/math_private.h: New file.
43163 2012-03-15  David S. Miller  <davem@davemloft.net>
43165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43166         file.
43167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43169         file.
43170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43176         sysdep routines.
43177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43179         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43180         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43182         * sysdeps/sparc/sparc-ifunc.h: New file.
43183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43184         sparc-ifunc.h
43185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43187         Likewise.
43188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43189         Likewise.
43190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43194         Likewise.
43195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43200         Likewise.
43201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43202         Likewise.
43203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43209         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43210         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43220         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43221         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43222         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43224         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43225         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43226         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43228 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43230         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43231         scaling.
43232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43234 2012-03-15  Andreas Jaeger  <aj@suse.de>
43236         [BZ #13852]
43237         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43238         ieee754/flt-32 implementation for sin, cos and sincos.
43239         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43240         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43241         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43242         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43243         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43244         ieee754/flt-32 implementation for tan.
43246         * math/libm-test.inc (cos_test): Enable some large input tests for
43247         float as well
43248         (sin_test): Likewise.
43249         (sincos_test): Likewise.
43250         (tan_test): Add tests for large input.
43252         * sysdeps/i386/fpu/libm-test-ulps: Update.
43254 2012-03-15  Andreas Jaeger  <aj@suse.de>
43256         [BZ #13658]
43257         * math/libm-test.inc (cos_test): Add more test cases.
43258         (sin_test): Likewise.
43259         (sincos_test): Likewise.
43261 2012-03-15  Andreas Jaeger  <aj@suse.de>
43263         [BZ #13837]
43264         * math/libm-test.inc (cos_test): Add a test case for large input
43265         value.
43266         (sin_test): Likewise.
43267         (sincos_test): Likewise.
43269 2012-03-15  Andreas Jaeger  <aj@suse.de>
43270             Joseph Myers  <joseph@codesourcery.com>
43272         [BZ #13658]
43273         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43274         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43275         * sysdeps/i386/fpu/branred.c: Likewise.
43276         * sysdeps/i386/fpu/dosincos.c: Likewise.
43277         * sysdeps/i386/fpu/mpa.c: Likewise.
43278         * sysdeps/i386/fpu/s_cos.S: Likewise.
43279         * sysdeps/i386/fpu/s_sin.S: Likewise.
43280         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43281         * sysdeps/i386/fpu/sincos32.c: Likewise.
43283         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43284         Define.
43285         (libc_feupdateenv_53bit): Define.
43286         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43287         Define.
43288         (libc_feupdateenv_53bit): Define.
43290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43291         53 bit (without extend i386 double precision).
43293         * math/libm-test.inc (sincos_test): Add tests for large input.
43294         (sin): Likewise.
43295         (cos): Likewise.
43297         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43299 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43303 2012-03-15  David S. Miller  <davem@davemloft.net>
43305         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43306         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43307         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43308         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43321         file.
43322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43324         file.
43325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43327         file.
43328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43330         file.
43331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43332         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43333         fmin/fmax sysdep routines.
43334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43336 2012-03-14  David S. Miller  <davem@davemloft.net>
43338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43339         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43340         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43341         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43342         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43344         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43345         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43350         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43354         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43358         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43359         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43361         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43364         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43365         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43366         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43367         routines.
43368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43369         file.
43370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43372         file.
43373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43375         file.
43376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43378         file.
43379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43381         file.
43382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43384         file.
43385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43386         file.
43387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43388         file.
43389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43390         file.
43391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43392         New file.
43393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43394         file.
43395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43396         file.
43397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43399         file.
43400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43402         file.
43403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43405         file.
43406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43408         VIS3 routines.
43410         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43411         New file.
43413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43415         * sysdeps/sparc/configure.in: New file.
43416         * sysdeps/sparc/configure: Generate.
43417         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43418         * configure: Regenerate.
43419         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43420         * config.make.in (have-as-vis3): New.
43421         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43422         available use -Av9d instead of -Av9a.
43423         * sysdeps/sparc/sparc64/Makefile: Likewise.
43424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43426         New file.
43427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43428         file.
43429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43430         New file.
43431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43432         file.
43433         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43436         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43437         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43439         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43440         fzeros/fnegs to load 0x80000000 into a float register instead of
43441         using the stack.
43442         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43444 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43447         bits/syscall.h.
43448         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43449         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43450         ($(inst_includedir)/bits/syscall.h): Remove rule.
43451         ($(objpfx)bits/syscall.d): Include instead of
43452         $(objpfx)syscall-list.d.
43453         (generated): Change syscall-list.h and syscall-list.d to
43454         bits/syscall.h and bits/syscall.d.
43456 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43458         [BZ #13846]
43459         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43461 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43463         [BZ #13841]
43464         * math/s_csqrt.c: Include <float.h>.
43465         (__csqrt): Scale large or subnormal inputs.
43466         * math/s_csqrtf.c: Likewise.
43467         * math/s_csqrtl.c: Likewise.
43468         * math/libm-test.inc (csqrt_test): Add more tests.
43469         * sysdeps/i386/fpu/libm-test-ulps: Update.
43470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43472         [BZ #13840]
43473         * math/libm-test.inc (hypot_test): Add more tests.
43475 2012-03-13  David S. Miller  <davem@davemloft.net>
43477         [BZ #13840]
43478         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43479         double-precision for the calculation instead of scaling.
43481 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43483         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43484         manipulate bits before adding and subtracting TWO52[sx].
43485         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43486         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43487         Likewise.
43488         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43490 2012-03-13  David S. Miller  <davem@davemloft.net>
43492         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43493         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43494         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43495         rtld-global-offsets.h
43496         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43498         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43499         large parameters.
43501         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43503         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43504         'err' in the ifdef scope in which it is actually used.
43506         * nss/nss_db/db-init.c: Include string.h
43508 2012-03-12  David S. Miller  <davem@davemloft.net>
43510         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43511         masking out of the most significant byte of random value used.
43512         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43513         Fix coding style in previous change.
43515         * sysdeps/unix/sysv/linux/kernel-features.h
43516         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43517         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43518         expression.
43519         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43520         later.
43522 2012-03-11  David S. Miller  <davem@davemloft.net>
43524         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43525         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43526         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43527         for 'resultvar' otherwise things get truncated on 64-bit.
43529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43530         Fix masking out of the most significant byte of random value used.
43532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43534 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43538 2012-03-09  David S. Miller  <davem@davemloft.net>
43540         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43541         variables with appropriate CPP guards.
43542         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43543         from the frame pointer, not the stack pointer.  Correct layout
43544         comments.  Fix test on resulting framesize and the management of
43545         the outregs buffer for pltexit.  Preserve floating point return
43546         values across _dl_call_pltexit call.
43547         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43548         framesize and the management of the outregs buffer for pltexit.
43549         Preserve floating point return values across _dl_call_pltexit
43550         call.
43551         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43552         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43553         (la_sparc64_gnu_pltexit): New functions.
43554         (print_exit): Fix format string for return register value.
43556 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43558         * sunrpc/Makefile (others): Add rpcgen.
43559         ($(objpfx)rpcgen): Remove special build rule and dependency on
43560         libc.
43561         * sunrpc/rpcgen.c: New file.
43563 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43565         [BZ #13673]
43566         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43567         * stdio-common/bug-vfprintf-nargs.c: Likewise.
43568         * sysdeps/i386/crti.S: Likewise.
43569         * sysdeps/i386/crtn.S: Likewise.
43570         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43571         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43572         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43573         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43574         * sysdeps/sh/crti.S: Likewise.
43575         * sysdeps/sh/crtn.S: Likewise.
43576         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43578         [BZ #13673]
43579         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43580         with URL.
43581         * locale/programs/locfile-kw.gperf: Likewise.
43582         * locale/programs/charmap-kw.h: Regenerated.
43583         * locale/programs/locfile-kw.h: Likewise.
43585         [BZ #13673]
43586         * intl/plural.y: Replace FSF snail mail address with URL.
43587         * intl/plural.c: Regenerated.
43589 2012-03-09  Richard Henderson  <rth@twiddle.net>
43591         * include/math_private.h: Remove file.
43592         * math/math_private.h: Move file ...
43593         * sysdeps/generic/math_private.h: ... here.
43595         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43596         * sysdeps/powerpc/fpu/math_private.h: Likewise.
43597         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43599         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43600         and <math_private.h>.
43601         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43602         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43603         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43604         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43605         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43606         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43607         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43609         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43610         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43611         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43612         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43613         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43614         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43615         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43616         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43617         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43618         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43619         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43620         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43622         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43623         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43624         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43625         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43626         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43645         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43648         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43649         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43654         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43656         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43657         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43658         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43659         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43660         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43661         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43662         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43663         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43664         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43665         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43666         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43667         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43668         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43669         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43670         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43671         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43672         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43673         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43674         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43675         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43677         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43678         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43679         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43680         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43681         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43682         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43683         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43684         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43685         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43686         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43688         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43689         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43690         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43691         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43692         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43693         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43694         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43695         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43696         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43697         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43698         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43699         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43700         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43701         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43702         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43703         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43704         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43705         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43706         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43707         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43708         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43709         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43710         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43711         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43712         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43713         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43714         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43715         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43716         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43717         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43718         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43719         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43720         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43721         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43722         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43723         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43724         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43725         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43726         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43727         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43728         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43729         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43730         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43731         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43732         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43733         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43734         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43735         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43736         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43737         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43738         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43739         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43740         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43741         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43742         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43743         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43744         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43745         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43746         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43747         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43748         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43749         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43750         * sysdeps/ieee754/k_standard.c: Likewise.
43751         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43752         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43753         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43754         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43755         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43756         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43757         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43758         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43759         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43760         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43761         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43762         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43763         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43764         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43765         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43766         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43767         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43768         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43769         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43770         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43771         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43772         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43773         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43774         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43775         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43776         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43777         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43778         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43779         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43780         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43781         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43782         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43783         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43784         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43785         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43786         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43787         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43788         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43789         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43790         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43791         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43795         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43796         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43797         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43799         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43800         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43801         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43802         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43803         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43804         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43805         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43806         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43807         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43808         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43809         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43810         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43811         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43812         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43818         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43819         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43820         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43823         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43824         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43825         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43826         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43827         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43828         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43836         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43854         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43855         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43856         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43859         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43860         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43861         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43862         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43863         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43864         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43865         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43866         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43867         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43868         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43869         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43870         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43871         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43872         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43873         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43874         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43875         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43876         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43877         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43878         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43879         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43881         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43882         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43883         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43884         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43885         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43886         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43887         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43888         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43889         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43890         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43891         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43895         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43899         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43900         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43901         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43903         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43907         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43908         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43909         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43910         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43911         * sysdeps/ieee754/s_lib_version.c: Likewise.
43912         * sysdeps/ieee754/s_matherr.c: Likewise.
43913         * sysdeps/ieee754/s_signgam.c: Likewise.
43914         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43915         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43916         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43917         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43918         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43919         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43920         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43921         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43922         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43923         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43924         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43925         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43926         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43927         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43928         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43929         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43930         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43931         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43932         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43933         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43934         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43936 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43938         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43939         * sunrpc/rpc_main.c: Likewise.
43940         * sunrpc/rpc_svcout.c: Likewise.
43942 2012-03-09  David S. Miller  <davem@davemloft.net>
43944         * include/math_private.h: New file.
43946 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43948         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43949         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43950         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43951         from <bits/socket_type.h>.
43952         (enum __socket_type): Don't define here.
43953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43955         bits/socket_type.h.
43957         [BZ #13566]
43958         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43959         checking __USE_GNU.
43961         * Makerules ($(inst_includedir)/%.h): New rule.
43962         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43963         (install-others): Remove variable setting.
43964         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43966 2012-03-08  Richard Henderson  <rth@twiddle.net>
43968         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43969         from macro to inline function; merge with the
43970         !__LIBC_INTERNAL_MATH_INLINES version.
43971         (__ieee754_sqrtf): Likewise.
43973         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43974         to inline function.
43975         (__rintf, __floor, __floorf): Likewise.
43977         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43978         macro to inline function.
43979         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43981         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43982         not <math/math_private.h>.
43984 2012-03-08  David S. Miller  <davem@davemloft.net>
43986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43987         copyright year.
43988         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43990 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
43992         * resolv/gai_misc.c (handle_requests): Fix struct timespec
43993         normalization.
43994         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43995         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43997 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
43999         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44000         be defined individually, they must be defined as a block.  Define
44001         S for printing a string instead of hidint the different by using a
44002         macro for adding the 'l'.
44003         * stdio-common/tst-fphex-wide.c: Adjust.
44005 2012-03-07  Marek Polacek  <polacek@redhat.com>
44007         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44009 2012-03-08  Marek Polacek  <polacek@redhat.com>
44011         [BZ #13806]
44012         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44013         * stdio-common/tst-fphex.c: Define a few macros to make the
44014         test reusable.  Use them.
44015         * stdio-common/tst-fphex-wide.c: New file.
44017 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44019         [BZ #6911]
44020         * manual/macros.texi (gnusystems): New macro.
44021         (nongnusystems): Likewise.
44022         (gnulinuxhurdsystems): Likewise.
44023         (gnuhurdsystems): Likewise..
44024         (gnulinuxsystems): Likewise.
44025         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44026         variants of the GNU system, not "GNU system".
44027         * manual/conf.texi: Likewise.
44028         * manual/errno.texi: Likewise.  Update example of errno macro
44029         expansion.
44030         * manual/filesys.texi: Likewise.
44031         (getumask): Document as specific to GNU/Hurd.
44032         * manual/install.texi: Likewise.  Reword some references to
44033         GNU/Linux.
44034         * manual/intro.texi: Likewise.
44035         * manual/io.texi: Likewise.
44036         (File Name Portability): Detail which constraints are inapplicable
44037         to all GNU systems and which are only inapplicable to GNU/Hurd.
44038         * manual/job.texi: Likewise.
44039         * manual/llio.texi: Likewise.
44040         (O_NOCTTY): Document as present on GNU/Linux.
44041         * manual/maint.texi: Likewise.
44042         * manual/memory.texi: Likewise.
44043         * manual/pattern.texi: Likewise.
44044         * manual/pipe.texi: Likewise.
44045         * manual/process.texi: Likewise.
44046         * manual/resource.texi: Likewise.
44047         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44048         child on GNU/Hurd.
44049         * manual/setjmp.texi: Likewise.
44050         * manual/signal.texi: Likewise.
44051         * manual/startup.texi: Likewise.
44052         * manual/stdio.texi: Likewise.
44053         * manual/terminal.texi: Likewise.
44054         (ONLCR): Document as POSIX.
44055         (OXTABS): Document availability on GNU/Linux as XTABS.
44056         (ONOEOT): Document availability separately from other bits.
44057         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44058         * manual/time.texi: Likewise.
44059         * manual/users.texi: Likewise.
44060         * INSTALL: Regenerated.
44061         * sysdeps/gnu/errlist.c: Regenerated.
44063         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44064         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44065         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44066         puts.
44067         * configure: Regenerated.
44069 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44071         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44072         default includes instead of AC_HEADER_CHECK.
44073         * sysdeps/i386/configure: Regenerated.
44075         [BZ #10716]
44076         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44077         * math/s_cacoshf.c (__cacoshf): Likewise.
44078         * math/s_cacoshl.c (__cacoshl): Likewise.
44079         * math/s_casinh.c (__casinh): Set signs of result from argument.
44080         * math/s_casinhf.c (__casinhf): Likewise.
44081         * math/s_casinhl.c (__casinhl): Likewise.
44082         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44083         (casinh_test): Add more tests.
44084         * sysdeps/i386/fpu/libm-test-ulps: Update.
44085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44087 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44089         * po/zh_TW.po: Update from translation team.
44091         * login/Makefile (distribute): Remove variable.
44092         * catgets/Makefile: Likewise.
44093         * mach/Makefile: Likewise.
44094         * malloc/Makefile: Likewise.
44095         * misc/Makefile: Likewise.
44096         * iconv/Makefile: Likewise.
44097         * nscd/Makefile: Likewise.
44098         * hurd/Makefile: Likewise.
44099         * manual/Makefile: Likewise.
44100         * locale/Makefile: Likewise.
44101         * intl/Makefile: Likewise.
44102         * conform/Makefile: Likewise.
44103         * nss/Makefile: Likewise.
44104         * time/Makefile: Likewise.
44105         * soft-fp/Makefile: Likewise.
44106         * dirent/Makefile: Likewise.
44107         * gmon/Makefile: Likewise.
44108         * po/Makefile: Likewise.
44109         * rt/Makefile: Likewise.
44110         * socket/Makefile: Likewise.
44111         * math/Makefile: Likewise.
44112         * signal/Makefile: Likewise.
44113         * debug/Makefile: Likewise.
44114         * elf/Makefile: Likewise.
44115         * timezone/Makefile: Likewise.
44116         * stdlib/Makefile: Likewise.
44117         * iconvdata/Makefile: Likewise.
44118         * sunrpc/Makefile: Likewise.
44119         * io/Makefile: Likewise.
44120         * argp/Makefile: Likewise.
44121         * inet/Makefile: Likewise.
44122         * hesiod/Makefile: Likewise.
44123         * grp/Makefile: Likewise.
44124         * csu/Makefile: Likewise.
44125         * wctype/Makefile: Likewise.
44126         * crypt/Makefile: Likewise.
44127         * libio/Makefile: Likewise.
44128         * string/Makefile: Likewise.
44129         * nis/Makefile: Likewise.
44130         * resolv/Makefile: Likewise.
44131         * stdio-common/Makefile: Likewise.
44132         * wcsmbs/Makefile: Likewise.
44133         * dlfcn/Makefile: Likewise.
44134         * posix/Makefile: Likewise.
44136         [BZ #6959]
44137         * timezone/Makefile: Don't install timezone files, just the programs
44138         and scripts.
44140 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44142         * nss/databases.def: Add missing gshadow entry.
44144         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44146 2012-03-06  Marek Polacek  <polacek@redhat.com>
44148         [BZ #13726]
44149         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44150         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44151         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44152         * stdio-common/tst-long-dbl-fphex.c: New file.
44154 2012-03-06  David S. Miller  <davem@davemloft.net>
44156         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44157         (set_obp_int): New function.
44158         (get_obp_int): New function.
44159         (__get_clockfreq_via_dev_openprom): Likewise.
44160         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44161         Avoid unused variable warnings on 'val' and use builtin_expect.
44162         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44163         __builtin_expect.
44164         (INLINE_CLONE_SYSCALL): Likewise.
44166 2012-03-05  David S. Miller  <davem@davemloft.net>
44168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44170 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44174         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44175         only for |x| >= 40.
44176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44178 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44181         Replace gettimeofday with __vdso_gettimeofday.
44183         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44184         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44185         __vdso_clock_gettime and __vdso_getcpu.
44187         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44188         time with __vdso_time.
44190 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44192         * manual/lang.texi (size_t): Note types to which size_t may be
44193         equivalent with the GNU C Library, but do not describe when
44194         differences between them are significant.
44196 2012-03-05  Andreas Jaeger  <aj@suse.de>
44198         * sysdeps/i386/fpu/libm-test-ulps: Update.
44200 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44202         [BZ #3976]
44203         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44204         (__ieee754_pow): Save and restore rounding mode and use
44205         round-to-nearest for main computations.
44206         * math/libm-test.inc (pow_test_tonearest): New function.
44207         (pow_test_towardzero): Likewise.
44208         (pow_test_downward): Likewise.
44209         (pow_test_upward): Likewise.
44210         (main): Call the new functions.
44211         * sysdeps/i386/fpu/libm-test-ulps: Update.
44212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44214         [BZ #3976]
44215         * math/libm-test.inc (cosh_test_tonearest): New function.
44216         (cosh_test_towardzero): Likewise.
44217         (cosh_test_downward): Likewise.
44218         (cosh_test_upward): Likewise.
44219         (sinh_test_tonearest): Likewise.
44220         (sinh_test_towardzero): Likewise.
44221         (sinh_test_downward): Likewise.
44222         (sinh_test_upward): Likewise.
44223         (main): Call the new functions.
44224         * sysdeps/i386/fpu/libm-test-ulps: Update.
44225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44227 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44229         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44230         default stack guard is set in last bytes.
44231         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44233 2012-03-05  Kees Cook  <keescook@chromium.org>
44235         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44237         [BZ #13656]
44238         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44239         possibly allocate from heap instead of stack.
44240         * stdio-common/bug-vfprintf-nargs.c: New file.
44241         * stdio-common/Makefile (tests): Add nargs overflow test.
44243 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44247 2012-03-03  Marek Polacek  <polacek@redhat.com>
44249         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44250         * math/math_private.h: Likewise.
44251         * stdlib/tst-strtod.c: Likewise.
44252         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44253         * sysdeps/x86_64/bits/atomic.h: Likewise.
44255 2012-03-02  David S. Miller  <davem@davemloft.net>
44257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44261         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44262         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44263         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44264         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44266 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44268         [BZ #13792]
44269         * manual/examples/README: New file, says the example source files
44270         can be used under GPL>=2.
44271         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44272         line containing just "*/".
44273         * manual/examples/add.c: Add copyright header (GPL>=2).
44274         * manual/examples/argp-ex1.c: Likewise.
44275         * manual/examples/argp-ex2.c: Likewise.
44276         * manual/examples/argp-ex3.c: Likewise.
44277         * manual/examples/argp-ex4.c: Likewise.
44278         * manual/examples/atexit.c: Likewise.
44279         * manual/examples/db.c: Likewise.
44280         * manual/examples/dir.c: Likewise.
44281         * manual/examples/dir2.c: Likewise.
44282         * manual/examples/execinfo.c: Likewise.
44283         * manual/examples/filecli.c: Likewise.
44284         * manual/examples/filesrv.c: Likewise.
44285         * manual/examples/fmtmsgexpl.c: Likewise.
44286         * manual/examples/genpass.c: Likewise.
44287         * manual/examples/inetcli.c: Likewise.
44288         * manual/examples/inetsrv.c: Likewise.
44289         * manual/examples/isockad.c: Likewise.
44290         * manual/examples/longopt.c: Likewise.
44291         * manual/examples/memopen.c: Likewise.
44292         * manual/examples/memstrm.c: Likewise.
44293         * manual/examples/mkfsock.c: Likewise.
44294         * manual/examples/mkisock.c: Likewise.
44295         * manual/examples/mygetpass.c: Likewise.
44296         * manual/examples/pipe.c: Likewise.
44297         * manual/examples/popen.c: Likewise.
44298         * manual/examples/rprintf.c: Likewise.
44299         * manual/examples/search.c: Likewise.
44300         * manual/examples/select.c: Likewise.
44301         * manual/examples/setjmp.c: Likewise.
44302         * manual/examples/sigh1.c: Likewise.
44303         * manual/examples/sigusr.c: Likewise.
44304         * manual/examples/stpcpy.c: Likewise.
44305         * manual/examples/strdupa.c: Likewise.
44306         * manual/examples/strftim.c: Likewise.
44307         * manual/examples/strncat.c: Likewise.
44308         * manual/examples/subopt.c: Likewise.
44309         * manual/examples/swapcontext.c: Likewise.
44310         * manual/examples/termios.c: Likewise.
44311         * manual/examples/testopt.c: Likewise.
44312         * manual/examples/testpass.c: Likewise.
44313         * manual/examples/timeval_subtract.c: Likewise.
44315         [BZ #13792]
44316         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44317         function to ...
44318         * manual/timeval_subtract.c.texi: ... here, new file.
44320 2012-03-02  David S. Miller  <davem@davemloft.net>
44322         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44324 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44326         [BZ #3976]
44327         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44328         (__sin): Save and restore rounding mode and use round-to-nearest
44329         for all computations.
44330         (__cos): Save and restore rounding mode and use round-to-nearest
44331         for all computations.
44332         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44333         <fenv.h>.
44334         (tan): Save and restore rounding mode and use round-to-nearest for
44335         all computations.
44336         * math/libm-test.inc (cos_test_tonearest): New function.
44337         (cos_test_towardzero): Likewise.
44338         (cos_test_downward): Likewise.
44339         (cos_test_upward): Likewise.
44340         (sin_test_tonearest): Likewise.
44341         (sin_test_towardzero): Likewise.
44342         (sin_test_downward): Likewise.
44343         (sin_test_upward): Likewise.
44344         (tan_test_tonearest): Likewise.
44345         (tan_test_towardzero): Likewise.
44346         (tan_test_downward): Likewise.
44347         (tan_test_upward): Likewise.
44348         (main): Call the new functions.
44349         * sysdeps/i386/fpu/libm-test-ulps: Update.
44350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44352         [BZ #10135]
44353         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44354         small n, then large n, before computing and testing k+n.
44355         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44357         Likewise.
44358         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44359         Likewise.
44360         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44361         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44362         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44363         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44364         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44365         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44366         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44367         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44368         * math/libm-test.inc (scalbn_test): Add more tests.
44369         (scalbln_test): Likewise.
44371         * manual/filesys.texi (mode_t): Describe constraints on size and
44372         signedness, not exact equivalence to a particular type.
44373         (ino_t): Likewise.
44374         (ino64_t): Likewise.
44375         (dev_t): Likewise.
44376         (nlink_t): Likewise.
44377         (blkcnt_t): Likewise.
44378         (blkcnt64_t): Likewise.
44379         * manual/llio.texi (off_t): Likewise.
44381         [BZ #3976]
44382         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44383         (__ieee754_exp): Save and restore rounding mode and use
44384         round-to-nearest for all computations.
44385         * math/libm-test.inc (exp_test_tonearest): New function.
44386         (exp_test_towardzero): Likewise.
44387         (exp_test_downward): Likewise.
44388         (exp_test_upward): Likewise.
44389         (main): Call the new functions.
44390         * sysdeps/i386/fpu/libm-test-ulps: Update.
44391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44393 2012-03-01  Chris Demetriou  <cgd@google.com>
44395         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44396         have predictable order.
44398 2012-03-01  David S. Miller  <davem@davemloft.net>
44400         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44402         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44403         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44404         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44405         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44407         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44408         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44409         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44411         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44412         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44413         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44414         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44415         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44419         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44420         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44421         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44423         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44424         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44425         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44426         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44427         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44428         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44429         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44430         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44431         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44432         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44433         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44434         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44436         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44437         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44439         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44440         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44441         * sysdeps/sparc/elf/configure: Regenerated.
44443 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44445         * configure.in (AS, LD): Require binutils 2.20 or later.
44446         * configure: Regenerated.
44447         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44448         as required minimum version.
44449         * INSTALL: Regenerated.
44451         [BZ #2541]
44452         [BZ #4108]
44453         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44454         before squaring exponent.
44455         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44456         bottom long double and 27 bits of top long double before squaring
44457         exponent.
44458         * math/libm-test.inc (erfc_test): Add more tests.
44459         * sysdeps/i386/fpu/libm-test-ulps: Update.
44460         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44463 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44465         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44466         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44467         containing bit-fields.
44468         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44469         * soft-fp/single.h (_FP_UNION_S): Likewise.
44470         * soft-fp/double.h (_FP_UNION_D): Likewise.
44472 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44474         [BZ #13786]
44475         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44476         not include ../strcmp.S.
44477         [USE_AS_STRNCASECMP_L]: Likewise.
44478         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44479         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44480         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44481         (__strncasecmp_l_ia32): Define as alias to
44482         __strncasecmp_l_nonascii.
44484         [BZ #5794]
44485         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44486         * sysdeps/i386/fpu/libm-test-ulps: Update.
44487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44489         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44492 2012-02-29  Jeff Law  <law@redhat.com>
44494         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44495         out of bounds read.
44497 2012-02-29  Marek Polacek  <polacek@redhat.com>
44499         [BZ #13706]
44500         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44501         * elf/Makefile: Add rules to run tst-unused-dep.out.
44503 2012-02-28  David S. Miller  <davem@davemloft.net>
44505         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44506         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44508         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44509         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44510         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44512 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44514         * math/libm-test.inc (llround_test): Move one test from
44515         lround_test.  Use TEST_f_L in moved test.
44516         (lround_test): Move misplaced test to llround_test.  Add testcase
44517         from bug 2561.
44519 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44521         * sysdeps/x86_64/fpu/e_expf.S: New file.
44522         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44524 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44526         [BZ #13637]
44527         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44528         of remain_len that may cause incomplete multi-byte character and
44529         false match.
44530         * posix/bug-regex33.c: New file.
44531         * posix/Makefile (tests): Add bug-regex33.
44533 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44535         * manual/macros.texi: New file.
44536         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44537         * manual/libc.texinfo: Include macros.texi.
44538         * manual/creatute.texi: Likewise.
44539         * manual/install.texi: Likewise.
44540         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44541         @glibcadj{} in references to the GNU C Library.
44542         * manual/charset.texi: Likewise.
44543         * manual/conf.texi: Likewise.
44544         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44545         when not using those macros.
44546         * manual/creature.texi: Likewise.
44547         * manual/crypt.texi: Likewise.
44548         * manual/errno.texi: Likewise.
44549         * manual/filesys.texi: Likewise.
44550         * manual/header.texi: Likewise.
44551         * manual/install.texi: Likewise.
44552         * manual/intro.texi: Likewise.
44553         * manual/io.texi: Likewise.
44554         * manual/job.texi: Likewise.
44555         * manual/lang.texi: Likewise.
44556         * manual/libc.texiinfo: Likewise.
44557         * manual/llio.texi: Likewise.
44558         * manual/locale.texi: Likewise.
44559         * manual/maint.texi: Likewise.
44560         * manual/math.texi: Likewise.
44561         * manual/memory.texi: Likewise.
44562         * manual/message.texi: Likewise.
44563         * manual/nss.texi: Likewise.
44564         * manual/pattern.texi: Likewise.
44565         * manual/process.texi: Likewise.
44566         * manual/resource.texi: Likewise.
44567         * manual/search.texi: Likewise.
44568         * manual/setjmp.texi: Likewise.
44569         * manual/signal.texi: Likewise.
44570         * manual/socket.texi: Likewise.
44571         * manual/startup.texi: Likewise.
44572         * manual/stdio.texi: Likewise.
44573         * manual/string.texi: Likewise.
44574         * manual/sysinfo.texi: Likewise.
44575         * manual/syslog.texi: Likewise.
44576         * manual/terminal.texi: Likewise.
44577         * manual/time.texi: Likewise.
44578         * manual/users.texi: Likewise.
44579         * INSTALL: Regenerated.
44580         * NOTES: Regenerated.
44581         * sysdeps/gnu/errlist.c: Regenerated.
44583 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
44585         * include/dirent.h: Include <dirstream.h> before
44586         <dirent/dirent.h>.
44588 2012-02-28  David S. Miller  <davem@davemloft.net>
44590         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44591         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44592         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44593         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44595 2012-02-27  David S. Miller  <davem@davemloft.net>
44597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44599         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44600         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44603         frame pointer instead of stack pointer relative arg slot.
44604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44605         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44606         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44608 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
44610         [BZ #3992]
44611         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44613 2012-02-27  David S. Miller  <davem@davemloft.net>
44615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44619         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44620         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44621         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44622         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44624 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44626         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44627         later.  Allow versions 5-9.
44628         * configure: Regenerated.
44629         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44630         required minimum version and 4.6 as recommended version.  Do not
44631         mention bugs in GCC 2.7 and 2.8.
44632         * INSTALL: Regenerated.
44634 2012-02-27  David S. Miller  <davem@davemloft.net>
44636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44640         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44641         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44642         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44643         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44645         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44646         manipulate bits before adding and subtracting TWO112[sx].
44647         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44649 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44651         [BZ #13775]
44652         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44653         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44654         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44655         being in POSIX, because they are in 1003.1-2008.
44657         * rt/tst-aio.c: Include <fcntl.h>.
44658         * rt/tst-aio7.c: Likewise.
44659         * rt/tst-aio64.c: Likewise.
44661         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44663 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44665         * manual/install.texi (--with-headers): Describe headers as
44666         interface headers, not private headers.
44667         (Specific advice for GNU/Linux systems): Describe use of headers
44668         from "make headers_install", not private headers from older
44669         kernels.
44670         * INSTALL: Regenerated.
44671         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44672         Change to 2.6.19.
44673         * sysdeps/unix/sysv/linux/configure: Regenerated.
44675         * manual/llio.texi (fclean): Remove documentation.
44677         * manual/Makefile (libc-texi-generated): New variable.  Include
44678         version.texi.
44679         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44680         $(libc-texi-generated), not duplicated list of files.
44681         (version.texi, stamp-version): New rules.
44682         (realclean): Remove $(libc-texi-generated), not individual files
44683         from that list.  Do not remove dir-add.texinfo.
44684         * manual/libc.texinfo: Comment out uses of edition numbers and
44685         references to printed manual.  Remove last-updated dates.
44686         (EDITION): Comment out.
44687         (ISBN): Likewise.
44688         (VERSION, UPDATED): Remove.
44689         (version.texi): Include.
44691 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44693         * sysdeps/posix/spawni.c: Include <signal.h>.
44694         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44695         * sysdeps/pthread/aio_fsync.c: Likewise.
44697 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44699         * conform/Makefile (tests): Run only when not cross-compiling and
44700         when fast-check is not defined.
44702         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44703         * conform/data/limits.h-data: Fixes for POSIX2008.
44704         * conform/run-conformtest.sh: Run all tests.
44705         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44706         headers.
44707         * include/bits/dlfcn.h: Likewise.
44708         * include/langinfo.h: Likewise.
44709         * include/monetary.h: Likewise.
44710         * include/sys/poll.h: Likewise.
44712         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44713         for __USE_GNU.
44714         * posix/spawn.h: Define __need_sigset_t.
44715         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44716         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44717         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44718         to get sigevent_t only.
44719         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44720         only for __USE_GNU.
44721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44722         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44723         process_vm_writev only for __USE_GNU.
44724         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44726         * conform/Makefile: For now ignore errors from run-conformtest.
44727         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44728         POSIX to avoid namespace pollution.  Don't prepend headers.
44729         * conform/data/aio.h-data: Fixes for POSIX testing.
44730         * conform/data/fcntl.h-data: Likewise.
44731         * conform/data/glob.h-data: Likewise.
44732         * conform/data/grp.h-data: Likewise.
44733         * conform/data/pthread.h-data: Likewise.
44734         * conform/data/pwd.h-data: Likewise.
44735         * conform/data/signal.h-data: Likewise.
44736         * conform/data/spawn.h-data: Likewise.
44737         * conform/data/stdio.h-data: Likewise.
44738         * conform/data/stdlib.h-data: Likewise.
44739         * conform/data/stropts.h-data: Likewise.
44740         * conform/data/sys/mman.h-data: Likewise.
44741         * conform/data/sys/stat.h-data: Likewise.
44742         * conform/data/sys/types.h-data: Likewise.
44743         * conform/data/sys/wait.h-data: Likewise.
44744         * conform/data/time.h-data: Likewise.
44745         * conform/data/unistd.h-data: Likewise.
44746         * conform/data/utime.h-data: Likewise.
44748         * io/sys/stat.h: fchmod was always in POSIX.
44749         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44750         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44751         * rt/aio.h: Define __need_timespec before including <time.h>.
44752         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44753         struct.  Add forward declaration of pthread_attr_t and use it in
44754         sigevent.
44755         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44756         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44757         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44758         always remove CLK_TCK definition.
44760 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44762         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44764 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44766         * conform/run-conformtest.sh: New file.
44767         * conform/Makefile: Run run-conformtest for tests.
44768         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44769         support.
44771         * conform/data/uchar.h-data: New file.
44772         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44773         * conform/data/arpa/inet.h-data: Likewise.
44774         * conform/data/assert.h-data: Likewise.
44775         * conform/data/complex.h-data: Likewise.
44776         * conform/data/cpio.h-data: Likewise.
44777         * conform/data/ctype.h-data: Likewise.
44778         * conform/data/dirent.h-data: Likewise.
44779         * conform/data/dlfcn.h-data: Likewise.
44780         * conform/data/errno.h-data: Likewise.
44781         * conform/data/fcntl.h-data: Likewise.
44782         * conform/data/float.h-data: Likewise.
44783         * conform/data/fmtmsg.h-data: Likewise.
44784         * conform/data/fnmatch.h-data: Likewise.
44785         * conform/data/ftw.h-data: Likewise.
44786         * conform/data/glob.h-data: Likewise.
44787         * conform/data/grp.h-data: Likewise.
44788         * conform/data/iconv.h-data: Likewise.
44789         * conform/data/inttypes.h-data: Likewise.
44790         * conform/data/langinfo.h-data: Likewise.
44791         * conform/data/libgen.h-data: Likewise.
44792         * conform/data/limits.h-data: Likewise.
44793         * conform/data/locale.h-data: Likewise.
44794         * conform/data/math.h-data: Likewise.
44795         * conform/data/monetary.h-data: Likewise.
44796         * conform/data/mqueue.h-data: Likewise.
44797         * conform/data/ndbm.h-data: Likewise.
44798         * conform/data/net/if.h-data: Likewise.
44799         * conform/data/netdb.h-data: Likewise.
44800         * conform/data/netinet/in.h-data: Likewise.
44801         * conform/data/nl_types.h-data: Likewise.
44802         * conform/data/poll.h-data: Likewise.
44803         * conform/data/pthread.h-data: Likewise.
44804         * conform/data/pwd.h-data: Likewise.
44805         * conform/data/regex.h-data: Likewise.
44806         * conform/data/sched.h-data: Likewise.
44807         * conform/data/search.h-data: Likewise.
44808         * conform/data/semaphore.h-data: Likewise.
44809         * conform/data/setjmp.h-data: Likewise.
44810         * conform/data/signal.h-data: Likewise.
44811         * conform/data/spawn.h-data: Likewise.
44812         * conform/data/stdarg.h-data: Likewise.
44813         * conform/data/stdio.h-data: Likewise.
44814         * conform/data/stdlib.h-data: Likewise.
44815         * conform/data/string.h-data: Likewise.
44816         * conform/data/strings.h-data: Likewise.
44817         * conform/data/stropts.h-data: Likewise.
44818         * conform/data/sys/ipc.h-data: Likewise.
44819         * conform/data/sys/mman.h-data: Likewise.
44820         * conform/data/sys/msg.h-data: Likewise.
44821         * conform/data/sys/resource.h-data: Likewise.
44822         * conform/data/sys/select.h-data: Likewise.
44823         * conform/data/sys/sem.h-data: Likewise.
44824         * conform/data/sys/shm.h-data: Likewise.
44825         * conform/data/sys/socket.h-data: Likewise.
44826         * conform/data/sys/stat.h-data: Likewise.
44827         * conform/data/sys/statvfs.h-data: Likewise.
44828         * conform/data/sys/time.h-data: Likewise.
44829         * conform/data/sys/timeb.h-data: Likewise.
44830         * conform/data/sys/times.h-data: Likewise.
44831         * conform/data/sys/types.h-data: Likewise.
44832         * conform/data/sys/uio.h-data: Likewise.
44833         * conform/data/sys/un.h-data: Likewise.
44834         * conform/data/sys/utsname.h-data: Likewise.
44835         * conform/data/sys/wait.h-data: Likewise.
44836         * conform/data/syslog.h-data: Likewise.
44837         * conform/data/tar.h-data: Likewise.
44838         * conform/data/termios.h-data: Likewise.
44839         * conform/data/utime.h-data: Likewise.
44840         * conform/data/utmpx.h-data: Likewise.
44841         * conform/data/varargs.h-data: Likewise.
44842         * conform/data/wchar.h-data: Likewise.
44843         * conform/data/wctype.h-data: Likewise.
44844         * conform/data/wordexp.h-data: Likewise.
44846         * include/stropts.h: New file.
44847         * include/uchar.h: New file.
44848         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44849         * include/assert.h: Likewise.
44850         * include/ctype.h: Likewise.
44851         * include/dirent.h: Likewise.
44852         * include/dlfcn.h: Likewise.
44853         * include/fcntl.h: Likewise.
44854         * include/fnmatch.h: Likewise.
44855         * include/glob.h: Likewise.
44856         * include/grp.h: Likewise.
44857         * include/libio.h: Likewise.
44858         * include/locale.h: Likewise.
44859         * include/math.h: Likewise.
44860         * include/net/if.h: Likewise.
44861         * include/netdb.h: Likewise.
44862         * include/netinet/in.h: Likewise.
44863         * include/pthread.h: Likewise.
44864         * include/pwd.h: Likewise.
44865         * include/regex.h: Likewise.
44866         * include/sched.h: Likewise.
44867         * include/search.h: Likewise.
44868         * include/setjmp.h: Likewise.
44869         * include/signal.h: Likewise.
44870         * include/stdio.h: Likewise.
44871         * include/stdlib.h: Likewise.
44872         * include/string.h: Likewise.
44873         * include/sys/cdefs.h: Likewise.
44874         * include/sys/mman.h: Likewise.
44875         * include/sys/msg.h: Likewise.
44876         * include/sys/resource.h: Likewise.
44877         * include/sys/select.h: Likewise.
44878         * include/sys/socket.h: Likewise.
44879         * include/sys/stat.h: Likewise.
44880         * include/sys/statvfs.h: Likewise.
44881         * include/sys/time.h: Likewise.
44882         * include/sys/times.h: Likewise.
44883         * include/sys/uio.h: Likewise.
44884         * include/sys/utsname.h: Likewise.
44885         * include/sys/wait.h: Likewise.
44886         * include/termios.h: Likewise.
44887         * include/time.h: Likewise.
44888         * include/ulimit.h: Likewise.
44889         * include/unistd.h: Likewise.
44890         * include/utime.h: Likewise.
44891         * include/wchar.h: Likewise.
44892         * include/wctype.h: Likewise.
44893         * include/wordexp.h: Likewise.
44895         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44897         * time/time.h: TIME_UTC must be a macro.
44898         Make timespec_get available for ISO C11 only as well.
44900 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44902         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44903         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44905 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44907         * configure.in: Use -o not -a in test for unsupported multi-arch.
44909 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44911         * manual/texinfo.tex: Update to version 2012-01-19.16.
44913 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44915         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44917 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44919         [BZ #13738]
44920         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44921         * manual/fdl-1.3.texi: New file.
44922         * manual/fdl-1.1.texi: File removed.
44924         [BZ #13738]
44925         * manual/libc.texinfo (FDL_VERSION): New @set.
44926         Use it for mention of FDL in cover text.
44927         (Documentation License): Use it in @include file name.
44929 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44930             Roland McGrath  <roland@hack.frob.com>
44932         [BZ #5461]
44933         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44934         (not LONG_LONG_MAX and LONG_LONG_MIN.
44935         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44936         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44937         name.
44938         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44940 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44942         [BZ #2547]
44943         [BZ #11365]
44944         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44945         manipulate bits before adding and subtracting TWO23[sx].
44946         * math/libm-test.inc (nearbyint_test): Add more tests.
44948 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44950         [BZ #2548]
44951         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44952         bits before adding and subtracting TWO23[sx].
44953         * math/libm-test.inc (rint_test): Add more tests.
44954         (rint_test_tonearest): Likewise.
44955         (rint_test_towardzero): Likewise.
44956         (rint_test_downward): Likewise.
44957         (rint_test_upward: Likewise.
44959 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44961         [BZ #10110]
44962         * include/stdc-predef.h: New file.  Extracted from features.h.
44963         * include/features.h: Include stdc-predef.h.
44964         * Makefile (headers): Add stdc-predef.h.
44965         * CONFORMANCE (Compiler limitations): Update.
44967 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44969         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44971 2012-02-21  David S. Miller  <davem@davemloft.net>
44973         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44974         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44976 2012-02-20  David S. Miller  <davem@davemloft.net>
44978         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44979         using a normal save/restore sequence, rather than allocating a
44980         dummy stack frame just to store a frame pointer and restore.
44981         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44983 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
44985         * manual/install.texi: Fix stray word in line-wrapped comment.
44987 2012-02-20  David S. Miller  <davem@davemloft.net>
44989         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44990         both binutils and gcc support GOTDATA.
44992         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44993         "rd %pc" in the PIC register setup sequences.
44995         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44996         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44997         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44998         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44999         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45001         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45002         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45003         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45004         (SYSCALL_ERROR_HANDLER): Likewise.
45005         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45006         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45008         (SYSCALL_ERROR_HANDLER): Likewise.
45010         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45011         (HAVE_GCC_GOTDATA): New.
45012         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45013         relocation support in both binutils and gcc.
45014         * sysdeps/sparc/elf/configure: Regenerate.
45016         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45017         * sysdeps/sparc/sparc32/elf/configure: Delete.
45018         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45019         * sysdeps/sparc/sparc64/elf/configure: Delete.
45020         * sysdeps/sparc/elf/configure.in: New file.
45021         * sysdeps/sparc/elf/configure: Generate.
45023         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45024         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45025         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45026         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45027         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45029 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45031         * manual/install.texi: Do not mention specific glibc version
45032         numbers.
45033         * manual/libc.texinfo (VERSION, UPDATED): Update.
45034         (@copying): Use @copyright{} and range of years.
45036 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45038         [BZ #13695]
45039         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45040         [crti.S not in sysdirs] (generated): Do not append.
45041         [crti.S not in sysdirs] (omit-deps): Likewise.
45042         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45043         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45044         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45045         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45046         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45047         Likewise.
45048         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45049         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45050         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45051         * csu/defs.awk: Remove file.
45052         * sysdeps/generic/initfini.c: Likewise.
45053         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45054         variable.
45055         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45056         Likewise.
45058 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45060         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45061         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45062         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45063         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45065         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45066         <bits/epoll.h>.
45067         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45068         (__EPOLL_PACKED): Define to empty if not defined by
45069         <bits/epoll.h>.
45070         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45072         bits/epoll.h.
45074 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45076         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45077         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45078         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45079         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45080         <bits/timerfd.h>.
45081         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45083         bits/timerfd.h.
45085 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45087         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45088         in C locale.
45089         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45090         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45091         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45094 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45096         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45097         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45099 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45101         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45102         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45103         defined.
45104         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45105         Likewise.
45106         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45107         entry for 2.16.
45109 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45111         * math/w_acos.c: Use non-signaling floating-point comparisons.
45112         * math/w_acosf.c: Likewise.
45113         * math/w_acosh.c: Likewise.
45114         * math/w_acoshf.c: Likewise.
45115         * math/w_acoshl.c: Likewise.
45116         * math/w_acosl.c: Likewise.
45117         * math/w_asin.c: Likewise.
45118         * math/w_asinf.c: Likewise.
45119         * math/w_asinl.c: Likewise.
45120         * math/w_atanh.c: Likewise.
45121         * math/w_atanhf.c: Likewise.
45122         * math/w_atanhl.c: Likewise.
45123         * math/w_exp2.c: Likewise.
45124         * math/w_exp2f.c: Likewise.
45125         * math/w_exp2l.c: Likewise.
45126         * math/w_j0.c: Likewise.
45127         * math/w_j0f.c: Likewise.
45128         * math/w_j0l.c: Likewise.
45129         * math/w_j1.c: Likewise.
45130         * math/w_j1f.c: Likewise.
45131         * math/w_j1l.c: Likewise.
45132         * math/w_jn.c: Likewise.
45133         * math/w_jnf.c: Likewise.
45134         * math/w_log.c: Likewise.
45135         * math/w_log10.c: Likewise.
45136         * math/w_log10f.c: Likewise.
45137         * math/w_log10l.c: Likewise.
45138         * math/w_log2.c: Likewise.
45139         * math/w_log2f.c: Likewise.
45140         * math/w_log2l.c: Likewise.
45141         * math/w_logf.c: Likewise.
45142         * math/w_logl.c: Likewise.
45143         * math/w_sqrt.c: Likewise.
45144         * math/w_sqrtf.c: Likewise.
45145         * math/w_sqrtl.c: Likewise.
45146         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45147         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45148         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45149         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45150         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45152 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45154         [BZ #9739]
45155         * manual/string.texi (strnlen): Use correct parameter name in
45156         equivalent expression.
45158 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45160         [BZ #11174]
45161         * manual/users.texi (seteuid): Consistently use neweuid for
45162         argument name.
45164 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45166         [BZ #13704]
45167         * manual/nss.texi (Services in the NSS configuration): Correct
45168         list of services in example configuration file.
45170 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45172         [BZ #11322]
45173         * manual/arith.texi: Remove statements about negative zero
45174         behaving identically to zero.
45176 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45178         [BZ #5993]
45179         * manual/install.texi: Do not document upgrading from libc5.
45181 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45183         [BZ #4596]
45184         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45186 2012-02-18  David S. Miller  <davem@davemloft.net>
45188         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45189         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45190         %o7 across the call.
45191         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45192         instead.
45193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45194         SETUP_PIC_REG_LEAF.
45195         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45196         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45197         * sysdeps/sparc/crtn.S: Likewise.
45199 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45201         * aout/Makefile: Remove.
45203 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45205         [BZ #13058]
45206         * manual/examples/argp-ex1.c (main): Format definition in GNU
45207         style.
45208         * manual/examples/argp-ex2.c (main): Likewise.
45209         * manual/examples/argp-ex3.c (main): Likewise.
45210         * manual/examples/argp-ex4.c (main): Likewise.
45211         * manual/examples/longopt.c (main): Use new-style prototype
45212         definition.
45213         * manual/examples/strncat.c (main): Specify return type and use
45214         (void) for arguments.
45215         * manual/examples/subopt.c (main): Use char **argv argument.
45217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45219         [BZ #5077]
45220         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45221         rounding modes.
45223 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45225         [BZ #6907]
45226         * manual/string.texi (strchr): Change when strchrnul is
45227         recommended.
45229 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45231         [BZ #174]
45232         * manual/locale.texi (setlocale): Document LOCPATH.
45234 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45236         [BZ #10210]
45237         * manual/process.texi (execle): Move @dots{} before last argument.
45239 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45241         [BZ #12047]
45242         * manual/charset.texi (Generic Charset Conversion): Fix typo
45243         (LC_TYPE -> LC_CTYPE).
45245 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45247         [BZ #5805]
45248         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45249         (scalbnf): Likewise.
45250         (scalbnl): Likewise.
45251         (scalbln): Likewise.
45252         (scalblnf): Likewise.
45253         (scalblnl): Likewise.
45254         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45255         (vwarnx): Likewise.
45256         (verr): Likewise.
45257         (verrx): Likewise.
45258         * manual/filesys.texi (telldir): Use braces around return type.
45259         * manual/llio.texi (mmap): Add space after comma.
45260         (mmap64): Likewise.
45261         * manual/math.texi (jn): Use @var{} on parameter names.
45262         (jnf): Likewise.
45263         (jnl): Likewise.
45264         (yn): Likewise.
45265         (ynf): Likewise.
45266         (ynl): Likewise.
45267         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45268         line.
45269         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45270         "...".
45271         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45272         (sched_get_priority_max): Likewise.
45273         * manual/signal.texi (sigvec): Add space after comma.
45274         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45275         names.
45276         (if_indextoname): Likewise.
45277         (if_freenameindex): Likewise.
45278         (sendto): Use ',' instead of '.' in prototype.
45279         * manual/startup.texi (syscall): Use @dots{} instead of literal
45280         "...".
45281         * manual/stdio.texi (__fpending): Separate initial words of
45282         paragraph from @deftypefun line.
45283         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45284         "...".
45285         (vsyslog): Use @var{} on parameter names.
45286         * manual/terminal.texi (stty): Use @var{} on parameter names.
45287         * manual/users.texi (getutmp): Use @var{} on parameter names.
45288         (getutmpx): Likewise.
45290 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45292         [BZ #6884]
45293         * manual/stdio.texi (fopen): Fix typos in description of
45294         ",ccs=STRING".
45296 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45298         [BZ #4026]
45299         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45300         get clock_id definition.
45302 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45304         [BZ #4822]
45305         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45306         (madvise): Cast every argument to void on its own.
45308 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45310         [BZ #9902]
45311         * manual/startup.texi (Exit Status): Fix typo.
45313 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45315         [BZ #10140]
45316         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45317         * manual/examples/argp-ex2.c: Likewise.
45318         * manual/examples/argp-ex3.c: Likewise.
45320 2012-02-16  Richard Henderson  <rth@redhat.com>
45322         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45323         * sysdeps/s390/s390-32/initfini.c: Remove.
45324         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45325         * sysdeps/s390/s390-64/initfini.c: Remove.
45327 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45329         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45330         compiler output for sysdeps/generic/initfini.c.
45331         * sysdeps/sh/elf/initfini.c: Remove file.
45333 2012-02-16  David S. Miller  <davem@davemloft.net>
45335         [BZ #11494]
45336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45338         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45339         * sysdeps/sparc/crti.S: New file.
45340         * sysdeps/sparc/crtn.S: New file.
45341         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45342         * sysdeps/sparc/sparc64/Makefile: Likewise.
45344 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45346         [BZ #3335]
45347         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45349 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45351         [BZ #4822]
45352         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45354         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45355         (write, read, close): Likewise.
45356         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45358 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45360         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45361         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45362         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45363         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45364         <bits/signalfd.h>.
45365         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45367         bits/signalfd.h.
45369 2012-02-14  Marek Polacek  <polacek@redhat.com>
45371         * sysdeps/x86_64/crti.S: New file.
45372         * sysdeps/x86_64/crtn.S: New file.
45373         * sysdeps/x86_64/elf/initfini.c: Remove file.
45375 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45377         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45378         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45379         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45380         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45381         <bits/inotify.h>.
45382         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45384         bits/inotify.h.
45386 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45388         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45389         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45390         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45391         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45392         <bits/eventfd.h>.
45393         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45395         bits/eventfd.h.
45397 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45399         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45400         __feraiseexcept instead of feraiseexcept.
45402         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45403         nanosleep invocations.
45404         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45405         strings, and add error checking for a nanosleep invocations.
45407 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45409         Replace FSF snail mail address with URLs, as per GNU coding standards.
45410         Most of the snail mail addresses were wrong anyway, and omitting
45411         them makes the source code easier to maintain.  Almost all of the
45412         changes are to license notices and to locale LC_IDENTIFICATION
45413         addresses, except for this one:
45414         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45415         not its snail mail address.
45417 2012-02-09  Richard Henderson  <rth@twiddle.net>
45419         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45420         of kernel-features.h.
45422         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45424 2012-02-08  Marek Polacek  <polacek@redhat.com>
45426         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45427         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45428         * sysdeps/gnu/_G_config.h: Likewise.
45429         * sysdeps/generic/_G_config.h: Likewise.
45431 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45433         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45434         tests.
45435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45437         * sysdeps/powerpc/powerpc32/crti.S: New file.
45438         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45439         * sysdeps/powerpc/powerpc64/crti.S: New file.
45440         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45442         * Makeconfig (have-initfini): Don't set.
45443         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45444         * configure.in (nopic_initfini): Don't substitute.
45445         * config.h.in (HAVE_INITFINI): Don't #undef.
45446         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45447         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45449 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45451         Support crti.S and crtn.S provided directly by architectures.
45452         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45453         [crti.S in sysdirs] (omit-deps): Likewise.
45454         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45455         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45456         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45457         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45458         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45459         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45460         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45461         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45462         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45463         compiler output for sysdeps/generic/initfini.c.
45464         * sysdeps/i386/elf/Makefile: Remove file.
45465         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45467 2012-02-07  Marek Polacek  <polacek@redhat.com>
45469         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45470         * sysdeps/gnu/_G_config.h: Likewise.
45471         * sysdeps/mach/hurd/_G_config.h: Likewise.
45473 2012-02-07  Marek Polacek  <polacek@redhat.com>
45475         * math/Makefile (tests): Add tst-CMPLX2.
45476         * math/tst-CMPLX2.c: New file.
45478 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45480         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45482         * math/libm-test.inc (jn_test): Add missing L suffix.
45484 2012-02-06  Marek Polacek  <polacek@redhat.com>
45486         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45487         * sysdeps/i386/fpu/e_powf.S: Likewise.
45488         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45489         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45490         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45491         * sysdeps/i386/fpu/e_pow.S: Likewise.
45492         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45493         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45494         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45495         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45496         * sysdeps/i386/fpu/e_log2.S: Likewise.
45497         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45498         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45499         * sysdeps/i386/fpu/e_powl.S: Likewise.
45500         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45501         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45502         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45503         * sysdeps/i386/fpu/e_logl.S: Likewise.
45504         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45505         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45506         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45507         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45508         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45509         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45510         * sysdeps/i386/fpu/e_log.S: Likewise.
45511         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45512         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45513         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45514         * sysdeps/i386/fpu/e_logf.S: Likewise.
45515         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45516         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45517         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45518         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45519         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45520         * sysdeps/i386/fpu/e_log10.S: Likewise.
45521         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45522         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45523         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45524         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45525         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45526         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45527         * sysdeps/i386/asm-syntax.h: Likewise.
45528         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45529         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45530         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45531         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45532         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45533         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45534         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45535         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45536         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45537         * sysdeps/powerpc/sysdep.h: Likewise.
45538         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45539         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45541 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45543         [BZ #411]
45544         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45546 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45548         * sysdeps/i386/sysdep.h: Include <features.h>.
45549         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45550         version.
45552 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45554         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45555         Define.
45556         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45557         LOAD_PIC_REG_STR.
45559 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45561         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45562         (SETUP_PIC_REG): Use GET_PC_THUNK.
45563         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45564         macro.
45566 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45568         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45569         for non-PIC compilation.
45570         (SETUP_PIC_REG): Add .p2align directive.
45571         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45572         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45573         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45574         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45575         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45576         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45577         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45578         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45579         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45580         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45581         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45582         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45583         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45584         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45585         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45586         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45587         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45588         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45589         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45590         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45591         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45592         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45593         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45594         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45595         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45596         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45597         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45598         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45599         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45600         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45601         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45602         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45603         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45604         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45605         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45606         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45607         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45608         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45609         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45610         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45611         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45613 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45615         * math/tst-CMPLX.c: Include <stdio.h>.
45617 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
45619         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45620         float.
45621         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45622         * sysdeps/sparc/bits/mathdef.h: Likewise.
45624 2012-01-31  Marek Polacek  <polacek@redhat.com>
45626         * libio/libio.h: Don't define _PARAMS.
45627         * locale/programs/config.h: Don't define PARAMS.
45628         * stdlib/strtol_l.c: Likewise.
45629         (__strtol_l): Remove PARAMS from the prototype.
45631 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
45633         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
45634         names.  Just use the correct names.  Remove unnecessary wrapper
45635         functions.
45636         * malloc/arena.c: Likewise.
45637         * malloc/hooks.c: Likewise.
45639         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45640         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45641         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45643 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45645         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45646         into tail calls.
45647         (update_get_addr): New function.
45648         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45649         GET_ADDR_MODULE parameter.
45651 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45653         * crypt/cert.c: Remove __STDC__ conditionals.
45654         * crypt/crypt-entry.c: Likewise.
45655         * crypt/crypt_util.c: Likewise.
45656         * libio/filedoalloc.c: Likewise.
45657         * libio/fileops.c: Likewise.
45658         * libio/genops.c: Likewise.
45659         * libio/iofclose.c: Likewise.
45660         * libio/iofdopen.c: Likewise.
45661         * libio/iofopen.c: Likewise.
45662         * libio/iofopen64.c: Likewise.
45663         * libio/iogetdelim.c: Likewise.
45664         * libio/iopopen.c: Likewise.
45665         * libio/obprintf.c: Likewise.
45666         * libio/oldfileops.c: Likewise.
45667         * libio/oldiofclose.c: Likewise.
45668         * libio/oldiofdopen.c: Likewise.
45669         * libio/oldiofopen.c: Likewise.
45670         * libio/oldiopopen.c: Likewise.
45671         * libio/wfiledoalloc.c: Likewise.
45672         * libio/wgenops.c: Likewise.
45673         * locale/programs/xmalloc.c: Likewise.
45674         * misc/syslog.c: Likewise.
45675         * stdio-common/xbug.c: Likewise.
45676         * string/memchr.c: Likewise.
45677         * string/memcmp.c: Likewise.
45678         * string/memrchr.c: Likewise.
45679         * string/rawmemchr.c: Likewise.
45680         * sysdeps/posix/getcwd.c: Likewise.
45681         * time/strftime_l.c: Likewise.
45683 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45685         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45686         * config.make.in (config-cflags-sse2avx): Define.
45687         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45688         Fix typo.
45690 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45692         * scripts/config.guess: Update from upstream config git repository.
45693         * scripts/config.sub: Likewise.
45695 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45697         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45698         (EM_NUM): Update.
45699         (R_TILEPRO_*, R_TILEGX_*): New macros.
45701         * scripts/firstversions.awk: Fix bug in version range handling.
45703         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45705         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45707         * include/sys/epoll.h: New file.
45708         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45709         libc_hidden_def.
45711 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45713         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45714         Avoid unnecessary __WORDSIZE == 64 test.
45715         (fmaxf): Use VEX format if possible.
45716         (fmax): Likewise.
45717         (fminf): Likewise.
45718         (fmin): Likewise.
45720         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45721         * math/math_private.h: Remove libc_fegetround* and
45722         libc_fesetround*.
45723         * sysdeps/i386/configure.in: Check for -msse2avx.
45724         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45725         also if SSE2AVX is defined.
45726         Remove libc_fegetround* and libc_fesetround*.
45727         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45728         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45729         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45730         of HAS_YMM_USABLE.
45731         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45732         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45733         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45734         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45735         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45737         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45739 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45741         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45742         size is not set.
45743         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45745 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45747         [BZ #13618]
45748         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45749         relocation.
45750         * Makeconfig (libm): Define.
45751         * elf/Makefile: Add rules to build and run tst-relsort1.
45752         * elf/tst-relsort1.c: New file.
45753         * elf/tst-relsort1mod1.c: New file.
45754         * elf/tst-relsort1mod2.c: New file.
45756 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45758         * math/s_ldexp.c: Remove __STDC__ conditionals.
45759         * math/s_ldexpf.c: Likewise.
45760         * math/s_ldexpl.c: Likewise.
45761         * math/s_nextafter.c: Likewise.
45762         * math/s_nexttowardf.c: Likewise.
45763         * math/s_significand.c: Likewise.
45764         * math/s_significandf.c: Likewise.
45765         * math/s_significandl.c: Likewise.
45766         * math/w_jnl.c: Likewise.
45767         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45768         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45769         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45770         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45771         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45773         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45774         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45775         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45776         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45777         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45778         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45779         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45780         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45781         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45782         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45783         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45784         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45785         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45786         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45787         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45788         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45789         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45791         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45792         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45793         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45794         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45795         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45796         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45797         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45798         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45799         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45800         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45801         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45802         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45803         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45804         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45805         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45806         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45807         * sysdeps/ieee754/k_standard.c: Likewise.
45808         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45809         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45810         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45811         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45812         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45813         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45814         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45815         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45816         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45817         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45818         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45819         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45820         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45821         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45822         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45823         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45824         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45825         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45826         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45827         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45830         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45833         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45834         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45835         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45837         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45838         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45839         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45840         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45841         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45842         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45843         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45844         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45845         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45846         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45847         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45848         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45850         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45851         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45852         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45853         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45854         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45855         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45856         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45857         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45858         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45859         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45860         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45862         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45863         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45864         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45865         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45866         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45867         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45868         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45869         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45872         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45873         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45874         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45875         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45876         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45878         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45879         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45880         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45881         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45882         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45883         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45884         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45885         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45886         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45887         * sysdeps/ieee754/s_matherr.c: Likewise.
45888         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45889         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45890         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45891         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45893 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45895         * crypt/md5.h: Remove __STDC__ conditionals.
45896         * libio/libioP.h: Likewise.
45897         * locale/programs/config.h: Likewise.
45898         * sysdeps/generic/sysdep.h: Likewise.
45899         * sysdeps/i386/asm-syntax.h: Likewise.
45900         * sysdeps/s390/asm-syntax.h: Likewise.
45901         * sysdeps/unix/sysdep.h: Likewise.
45902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45905 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45907         * libio/libio.h: Remove __STDC__ conditionals.
45908         * malloc/obstack.h: Likewise.
45909         * math/complex.h: Likewise.
45910         * math/math.h: Likewise.
45911         * sysdeps/generic/_G_config.h: Likewise.
45912         * sysdeps/gnu/_G_config.h: Likewise.
45913         * sysdeps/mach/hurd/_G_config.h: Likewise.
45914         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45915         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45916         * sysdeps/sparc/bits/mathdef.h: Likewise.
45918 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45920         [BZ #13583]
45921         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45922         Clean up HAS_* macros.
45923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45924         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45925         possible.
45926         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45927         HAS_AVX.
45928         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45929         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45930         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45931         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45932         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45934 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45936         * elf/tst-unique3.cc (gets): Remove declaration.
45937         * elf/tst-unique3lib.cc (gets): Likewise.
45938         * elf/tst-unique3lib2.cc (gets): Likewise.
45939         * elf/tst-unique4.cc (gets): Likewise.
45941 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45943         * include/stdio.h: Add C++ protection.  Add gets declarations and
45944         definitions.
45945         * debug/tst-chk1.c: Don't declare gets here.
45946         * stdio-common/tst-gets.c: Likewise.
45948 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45950         * posix/glob: Remove directory.
45952 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45954         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45956 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45958         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45959         of the non-standard EPFNOSUPPORT.
45961 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45963         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45964         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45965         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45967 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45969         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45971 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45973         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45974         transient errors.
45975         * nscd/grpcache.c (cache_addgr): Likewise.
45976         * nscd/hstcache.c (cache_addhst): Likewise.
45977         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45978         * nscd/pwdcache.c (cache_addpw): Likewise.
45979         * nscd/servicescache.c (cache_addserv): Likewise.
45981 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
45983         * malloc/malloc.c: Various cleanups.
45984         * malloc/hooks.c: Likewise.
45986         * stdlib/Makefile (tests): Add bug-fmtmsg1.
45987         * stdlib/bug-fmtmsg1.c: New file.
45989         * stdlib/fmtmsg.c (init): Add missing unlock.
45990         Patch by Peng Haitao <penght@cn.fujitsu.com>.
45992 2012-01-12  Marek Polacek  <polacek@redhat.com>
45994         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45995         and _GNU_SOURCE.
45997 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45999         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46000         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46001         macro to ensure uniqueness of label name.
46002         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46003         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46005 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46007         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46009         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46010         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46011         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46012         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46014 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46016         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46018         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46019         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46020         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46022         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46024         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46025         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46026         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46027         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46029         * math/bits/math-finite.h: Add ldexp support.
46031 2012-01-10  Marek Polacek  <polacek@redhat.com>
46033         * locale/programs/localedef.h (show_archive_content): Add noreturn
46034         attribute.
46036 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46038         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46040 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46042         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46044         * io/Makefile (headers): Add bits/poll2.h.
46046 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46049         typo #include statement.
46051 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46053         * include/sys/cdefs.h: Define __attribute_alloc_size.
46054         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46055         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46056         * elf/pldd.c: Likewise.
46057         * iconv/iconv_charmap.c: Likewise.
46058         * iconv/iconvconfig.c: Likewise.
46059         * iconv/strtab.c: Likewise.
46060         * locale/programs/locale.c: Likewise.
46061         * locale/programs/localedef.h: Likewise.
46062         * locale/programs/simple-hash.c: Likewise.
46063         * nscd/nscd.h: Likewise.
46064         * nss/makedb.c: Likewise.
46065         * sysdeps/generic/ldconfig.h: Likewise.
46066         * locale/programs/localedef.c: Remove xmalloc prototype.
46067         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46069 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46071         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46072         appropriate.
46074 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46076         * math/Makefile (tests): Add tst-CMPLX.
46077         * math/tst-CMPLX.c: New file.
46079         * math/complex.h (CMPLXL): Fix typo.
46081         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46082         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46083         GLIBC_2.16.
46084         * debug/tst-chk1.c: Add poll and ppoll tests.
46085         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46086         * include/sys/poll.h: Add hidden proto for ppoll.
46087         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46088         * sysdeps/mach/hurd/ppoll.c: Likewise.
46089         * io/ppoll.c: Likewise.
46090         * debug/poll_chk.c: New file.
46091         * debug/ppoll_chk.c: New file.
46092         * include/bits/poll2.h: New file.
46093         * io/bits/poll2.h: New file.
46095         [BZ #1350]
46096         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46098         * configure.in: static is always set to yes.  Remove.
46099         * config.make.in: Don't set build-static.
46100         * Makeconfig: Remove use of build-static.
46101         * dlfcn/Makefile: Likewise.
46102         * elf/Makefile: Likewise.
46103         * math/Makefile: Likewise.
46104         * misc/Makefile: Likewise.
46105         * nptl/Makefile: Likewise.
46106         * sysdeps/mach/hurd/Makefile: Likewise.
46108         * configure.in: PWD_P is not used anymore.
46109         * config.make.in: Remove PWD_P entry.
46111         * configure.in: Remove last remnants of RANLIB.
46112         No need to check for signed size_t anymore.
46113         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46114         and IA-64.
46115         Remove __builtin_expect test because we require at least gcc 3.4.
46116         * aclocal.m4: Likewise.
46118         * wcsmbs/mbrtoc16.c: Implement using towc function.
46119         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46120         * wcsmbs/wcsmbsload.c: Likewise.
46121         * iconv/gconv_simple.c: Likewise.
46122         * iconv/gconv_int.h: Likewise.
46123         * iconv/gconv_builtin.h: Likewise.
46124         * iconv/iconv_prog.c: Remove CHAR16 handling.
46126         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46128         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46130         * configure.in: Remove --with-elf and --enable-bounded options.
46131         Dont set base_machine for ia64.  More non-ELF conditions removed.
46132         Remove testing and setting of leading underscore information.
46133         * config.make.in (build-bounded): Set to no.
46134         * config.h.in: Remove NO_UNDERSCORES entry.
46135         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46136         them.
46137         * csu/start.c: Remove !NO_UNDERSCORE code.
46138         * locale/localeinfo.h: Likewise.
46139         * sysdeps/generic/machine-gmon.h: Likewise.
46140         * sysdeps/generic/sysdep.h: Likewise.
46141         * sysdeps/i386/sysdep.h: Likewise.
46142         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46143         * sysdeps/mach/sysdep.h: Likewise.
46144         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46145         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46146         * sysdeps/sh/sysdep.h: Likewise.
46147         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46148         * sysdeps/unix/i386/sysdep.S: Likewise.
46149         * sysdeps/unix/sparc/start.c: Likewise.
46150         * sysdeps/unix/sparc/sysdep.S: Likewise.
46151         * sysdeps/unix/sparc/sysdep.h: Likewise.
46152         * sysdeps/unix/start.c: Likewise.
46153         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46154         * sysdeps/x86_64/sysdep.h: Likewise.
46156 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46158         [BZ #13553]
46159         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46160         for non-gcc.
46161         * argp/argp-fmtstream.h: Use const instead __const.
46162         * argp/argp.h: Likewise.
46163         * assert/assert.h: Likewise.
46164         * bits/fenv.h: Likewise.
46165         * bits/sched.h: Likewise.
46166         * bits/sigset.h: Likewise.
46167         * bits/sigthread.h: Likewise.
46168         * catgets/nl_types.h: Likewise.
46169         * conform/data/pthread.h-data: Likewise.
46170         * crypt/crypt-private.h: Likewise.
46171         * crypt/crypt.h: Likewise.
46172         * crypt/crypt_util.c: Likewise.
46173         * ctype/ctype.h: Likewise.
46174         * debug/execinfo.h: Likewise.
46175         * debug/mbsnrtowcs_chk.c: Likewise.
46176         * debug/mbsrtowcs_chk.c: Likewise.
46177         * debug/wcsnrtombs_chk.c: Likewise.
46178         * debug/wcsrtombs_chk.c: Likewise.
46179         * debug/wcstombs_chk.c: Likewise.
46180         * dirent/dirent.h: Likewise.
46181         * dlfcn/dlfcn.h: Likewise.
46182         * elf/neededtest4.c: Likewise.
46183         * grp/grp.h: Likewise.
46184         * gshadow/gshadow.h: Likewise.
46185         * iconv/gconv.h: Likewise.
46186         * iconv/gconv_int.h: Likewise.
46187         * iconv/gconv_simple.c: Likewise.
46188         * iconv/iconv.h: Likewise.
46189         * iconv/loop.c: Likewise.
46190         * iconv/skeleton.c: Likewise.
46191         * include/aio.h: Likewise.
46192         * include/aliases.h: Likewise.
46193         * include/argz.h: Likewise.
46194         * include/arpa/inet.h: Likewise.
46195         * include/assert.h: Likewise.
46196         * include/dirent.h: Likewise.
46197         * include/dlfcn.h: Likewise.
46198         * include/execinfo.h: Likewise.
46199         * include/fcntl.h: Likewise.
46200         * include/fenv.h: Likewise.
46201         * include/glob.h: Likewise.
46202         * include/grp.h: Likewise.
46203         * include/libintl.h: Likewise.
46204         * include/mntent.h: Likewise.
46205         * include/netdb.h: Likewise.
46206         * include/pwd.h: Likewise.
46207         * include/rpc/netdb.h: Likewise.
46208         * include/sched.h: Likewise.
46209         * include/search.h: Likewise.
46210         * include/shadow.h: Likewise.
46211         * include/signal.h: Likewise.
46212         * include/stdio.h: Likewise.
46213         * include/stdlib.h: Likewise.
46214         * include/string.h: Likewise.
46215         * include/sys/socket.h: Likewise.
46216         * include/sys/stat.h: Likewise.
46217         * include/sys/statfs.h: Likewise.
46218         * include/sys/statvfs.h: Likewise.
46219         * include/sys/syslog.h: Likewise.
46220         * include/sys/time.h: Likewise.
46221         * include/sys/uio.h: Likewise.
46222         * include/time.h: Likewise.
46223         * include/unistd.h: Likewise.
46224         * include/utmp.h: Likewise.
46225         * include/wchar.h: Likewise.
46226         * include/wctype.h: Likewise.
46227         * inet/aliases.h: Likewise.
46228         * inet/arpa/inet.h: Likewise.
46229         * inet/netinet/ether.h: Likewise.
46230         * inet/netinet/in.h: Likewise.
46231         * intl/libintl.h: Likewise.
46232         * io/bits/fcntl2.h: Likewise.
46233         * io/fcntl.h: Likewise.
46234         * io/ftw.h: Likewise.
46235         * io/sys/poll.h: Likewise.
46236         * io/sys/stat.h: Likewise.
46237         * io/sys/statfs.h: Likewise.
46238         * io/sys/statvfs.h: Likewise.
46239         * io/utime.h: Likewise.
46240         * libio/bits/stdio.h: Likewise.
46241         * libio/bits/stdio2.h: Likewise.
46242         * libio/libio.h: Likewise.
46243         * libio/libioP.h: Likewise.
46244         * libio/stdio.h: Likewise.
46245         * locale/lc-ctype.c: Likewise.
46246         * locale/locale.h: Likewise.
46247         * login/utmp.h: Likewise.
46248         * malloc/arena.c: Likewise.
46249         * malloc/malloc.c: Likewise.
46250         * malloc/malloc.h: Likewise.
46251         * malloc/mcheck.c: Likewise.
46252         * malloc/mtrace.c: Likewise.
46253         * math/bits/mathcalls.h: Likewise.
46254         * math/fenv.h: Likewise.
46255         * math/math_private.h: Likewise.
46256         * misc/bits/error.h: Likewise.
46257         * misc/bits/syslog.h: Likewise.
46258         * misc/err.h: Likewise.
46259         * misc/error.h: Likewise.
46260         * misc/fstab.h: Likewise.
46261         * misc/mntent.h: Likewise.
46262         * misc/regexp.h: Likewise.
46263         * misc/search.h: Likewise.
46264         * misc/sgtty.h: Likewise.
46265         * misc/sys/mman.h: Likewise.
46266         * misc/sys/syslog.h: Likewise.
46267         * misc/sys/uio.h: Likewise.
46268         * misc/sys/xattr.h: Likewise.
46269         * misc/ttyent.h: Likewise.
46270         * nis/rpcsvc/ypclnt.h: Likewise.
46271         * nss/nss.h: Likewise.
46272         * posix/bits/unistd.h: Likewise.
46273         * posix/fnmatch.h: Likewise.
46274         * posix/glob.h: Likewise.
46275         * posix/sched.h: Likewise.
46276         * posix/spawn.h: Likewise.
46277         * posix/sys/wait.h: Likewise.
46278         * posix/unistd.h: Likewise.
46279         * posix/wordexp.h: Likewise.
46280         * pwd/pwd.h: Likewise.
46281         * resolv/netdb.h: Likewise.
46282         * resource/sys/resource.h: Likewise.
46283         * rt/aio.h: Likewise.
46284         * rt/bits/mqueue2.h: Likewise.
46285         * rt/mqueue.h: Likewise.
46286         * shadow/shadow.h: Likewise.
46287         * signal/signal.h: Likewise.
46288         * socket/send.c: Likewise.
46289         * socket/sendto.c: Likewise.
46290         * socket/sys/socket.h: Likewise.
46291         * stdio-common/printf.h: Likewise.
46292         * stdlib/bits/stdlib.h: Likewise.
46293         * stdlib/fmtmsg.h: Likewise.
46294         * stdlib/monetary.h: Likewise.
46295         * stdlib/stdlib.h: Likewise.
46296         * stdlib/ucontext.h: Likewise.
46297         * streams/stropts.h: Likewise.
46298         * string/argz.h: Likewise.
46299         * string/bits/string2.h: Likewise.
46300         * string/string.h: Likewise.
46301         * string/strings.h: Likewise.
46302         * sunrpc/rpc/auth.h: Likewise.
46303         * sunrpc/rpc/auth_des.h: Likewise.
46304         * sunrpc/rpc/clnt.h: Likewise.
46305         * sunrpc/rpc/netdb.h: Likewise.
46306         * sunrpc/rpc/pmap_clnt.h: Likewise.
46307         * sunrpc/rpc/xdr.h: Likewise.
46308         * sysdeps/generic/inttypes.h: Likewise.
46309         * sysdeps/generic/net/if.h: Likewise.
46310         * sysdeps/generic/sys/swap.h: Likewise.
46311         * sysdeps/gnu/net/if.h: Likewise.
46312         * sysdeps/gnu/utmpx.h: Likewise.
46313         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46314         * sysdeps/i386/i486/bits/string.h: Likewise.
46315         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46316         * sysdeps/s390/bits/string.h: Likewise.
46317         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46318         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46319         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46320         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46321         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46322         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46323         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46324         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46325         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46326         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46327         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46328         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46329         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46330         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46331         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46332         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46333         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46334         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46336         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46337         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46338         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46339         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46340         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46341         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46342         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46343         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46344         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46345         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46346         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46347         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46348         * sysvipc/sys/ipc.h: Likewise.
46349         * sysvipc/sys/msg.h: Likewise.
46350         * sysvipc/sys/sem.h: Likewise.
46351         * sysvipc/sys/shm.h: Likewise.
46352         * termios/termios.h: Likewise.
46353         * time/sys/time.h: Likewise.
46354         * time/time.h: Likewise.
46355         * wcsmbs/bits/wchar2.h: Likewise.
46356         * wcsmbs/uchar.h: Likewise.
46357         * wcsmbs/wchar.h: Likewise.
46358         * wctype/wctype.h: Likewise.
46360         [BZ #13551]
46361         * Makeconfig: Remove all but ELF support including AIX support.
46362         * Makerules: Likewise.
46363         * config.h.in: Likewise.
46364         * config.make.in: Likewise.
46365         * configure: Likewise.
46366         * configure.in: Likewise.
46367         * csu/Makefile: Likewise.
46368         * csu/version.c: Likewise.
46369         * debug/Makefile: Likewise.
46370         * dlfcn/Makefile: Likewise.
46371         * elf/Makefile: Likewise.
46372         * extra-lib.mk: Likewise.
46373         * iconv/Makefile: Likewise.
46374         * include/libc-symbols.h: Likewise.
46375         * include/shlib-compat.h: Likewise.
46376         * resolv/Makefile: Likewise.
46377         * resolv/res_libc.c: Likewise.
46378         * rt/Makefile: Likewise.
46379         * sysdeps/i386/asm-syntax.h: Likewise.
46380         * sysdeps/i386/sysdep.h: Likewise.
46381         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46382         * sysdeps/mach/sysdep.h: Likewise.
46383         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46384         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46385         * sysdeps/s390/asm-syntax.h: Likewise.
46386         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46387         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46388         * sysdeps/sh/sysdep.h: Likewise.
46389         * sysdeps/unix/sparc/sysdep.h: Likewise.
46390         * sysdeps/wordsize-32/divdi3.c: Likewise.
46391         * sysdeps/x86_64/sysdep.h: Likewise.
46393         * argp/Versions: Remove _argp_unlock_xxx.
46395         [BZ #13559]
46396         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46397         * abilist/libBrokenLocale.abilist: Likewise.
46398         * abilist/libanl.abilist: Likewise.
46399         * abilist/libc.abilist: Likewise.
46400         * abilist/libcrypt.abilist: Likewise.
46401         * abilist/libdl.abilist: Likewise.
46402         * abilist/libm.abilist: Likewise.
46403         * abilist/libnsl.abilist: Likewise.
46404         * abilist/libpthread.abilist: Likewise.
46405         * abilist/libresolv.abilist: Likewise.
46406         * abilist/librt.abilist: Likewise.
46407         * abilist/libthread_db.abilist: Likewise.
46408         * abilist/libutil.abilist: Likewise.
46409         * abilist/libnss_db.abilist: New file.
46411         * scripts/abilist.awk: Add support for indirect functions.
46413         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46415         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46417         * shlib-versions: Remove entries for ports architectures.
46419         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46420         files in ports.
46421         * elf/stackguard-macros.h: Remove support for IA-64.
46422         * elf/tst-auditmod1.c: Likewise.
46423         * sysdeps/generic/ldsodefs.h: Likewise.
46425         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46426         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46427         configure files.
46429         [BZ #13552]
46430         * configure.in: Remove --enable-omitfp support.
46431         * FAQ.in: Adjust.
46432         * config.make.in: Likewise.
46433         * Makeconfig: Likewise.
46434         * manual/install.texi: Likewise.
46436         In case anyone cares, the IA-64 architecture could move to ports.
46437         * sysdeps/ia64/*: Removed.
46438         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46439         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46441         [BZ #13555]
46442         * configure.in: Remove entries for unsupported architectures.
46444         [BZ #13533]
46445         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46446         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46447         routines.
46448         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46449         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46450         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46451         fall back to using wcrtomb.
46452         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46453         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46454         renaming.
46455         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46456         * wcsmbs/tst-c16c32-1.c: New file.
46458         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46459         local variable.
46461         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46463         * elf/tst-unique3.cc: Add explicit declaration of gets.
46464         * elf/tst-unique3lib.cc: Likewise.
46465         * elf/tst-unique3lib2.cc: Likewise.
46466         * elf/tst-unique4.cc: Likewise.
46468         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46470 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46472         [BZ #13566]
46473         * assert/assert.h (static_assert): Don't define for C++.
46474         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46475         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46477 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46479         * iconv/loop.c (single loop): Fix assertion in storing of
46480         remaining bytes.
46482         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46484 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46486         * posix/getconf.c: Update copyright year.
46487         * nss/getent.c: Likewise.
46488         * nss/makedb.c: Likewise.
46489         * iconv/iconvconfig.c: Likewise.
46490         * iconv/iconv_prog.c: Likewise.
46491         * elf/ldconfig.c: Likewise.
46492         * elf/pldd.c: Likewise.
46493         * elf/sotruss.ksh: Likewise.
46494         * catgets/gencat.c: Likewise.
46495         * csu/version.c: Likewise.
46496         * elf/ldd.bash.in: Likewise.
46497         * elf/sprof.c (print_version): Likewise.
46498         * locale/programs/locale.c: Likewise.
46499         * locale/programs/localedef.c: Likewise.
46500         * login/programs/pt_chown.c: Likewise.
46501         * nscd/nscd.c (print_version): Likewise.
46502         * debug/xtrace.sh: Likewise.
46503         * malloc/memusage.sh: Likewise.
46504         * malloc/mtrace.pl: Likewise.
46505         * debug/catchsegv.sh: Likewise.
46507 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46509         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46510         pure attribute.
46512 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46514         [BZ #13533]
46515         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46516         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46517         transformations.
46518         * iconv/gconv_int.h: Likewise.
46519         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46520         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46521         from libc for GLIBC_2.16.
46522         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46523         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46524         * wcsmbs/uchar.h: Really define mbstate_t.
46525         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46526         * wcsmbs/c16rtomb.c: New file.
46527         * wcsmbs/mbrtoc16.c: New file.
46528         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46529         for C/POSIX locale.
46530         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46531         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46533         * wcsmbs/wchar.h: Add missing __restrict.
46535 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46537         [BZ #13532]
46538         * time/Makefile (routines): Add timespec_get.
46539         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46540         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46541         timespec for ISO C11.
46542         * time/timespec_get.c: New file.
46543         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46544         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46546         [BZ #13531]
46547         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46548         * stdlib/stdlib.h: Declare aligned_alloc.
46549         * Versions.def: Add GLIBC_2.16 for libc.
46550         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46552         [BZ 13527]
46553         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46554         ISO C11.
46556         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46557         code.
46559         [BZ #13528]
46560         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46562         [BZ #13529]
46563         * assert/assert.h (static_assert): Define.
46565         * version.h: Update for 2.16 development version.
46567         [BZ #13526]
46568         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46569         _ISOC11_SOURCE.
46571         * version.h (RELEASE): Bump for 2.15 release.
46572         * include/features.h (__GLIBC_MINOR__): Bump to 15.
46574         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46575         Patch by Marek Polacek <mpolacek@redhat.com>.
46577         * bits/byteswap.h: Protect long long constants with __extension__.
46578         * sysdeps/i386/bits/byteswap.h: Likewise.
46579         * sysdeps/ia64/bits/byteswap.h: Likewise.
46580         * sysdeps/s390/bits/byteswap.h: Likewise.
46581         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46583 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46585         [BZ #13540]
46586         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46587         destination buffer.
46588         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46590 2011-12-23  Marek Polacek  <polacek@redhat.com>
46592         * elf/dl-addr.c (determine_info): Add inline keyword.
46593         * elf/tst-auditmod4b.c (check_avx): Likewise.
46594         * elf/tst-auditmod6b.c (check_avx): Likewise.
46595         * elf/tst-auditmod6c.c (check_avx): Likewise.
46596         * elf/tst-auditmod7b.c (check_avx): Likewise.
46598 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46600         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46601         !__SSE_MATH__.
46603 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46605         [BZ #13540]
46606         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46607         processing for last bytes.
46609 2011-08-06  Bruno Haible  <bruno@clisp.org>
46611         [BZ #13061]
46612         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46613         U+0385, not to U+1FEE.
46615         [BZ #13062]
46616         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46617         entry for U+00A5 U+0301.
46619 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46621         [BZ #13166]
46622         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46623         buffer for the output is too small.
46625         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46626         optimization.
46628         [BZ #13185]
46629         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46630         SSE flags if possible.
46632 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46634         [BZ #13540]
46635         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46636         processing for last bytes.
46638 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46640         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46641         (syscall-list-default-options, syscall-list-default-condition)
46642         (syscall-list-includes): Define.
46643         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46644         list of ABIs and options and #if conditions for each ABI.  Do not
46645         handle common syscalls between ABIs specially.
46646         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46647         Remove.
46648         (syscall-list-variants, syscall-list-32bit-options)
46649         (syscall-list-32bit-condition, syscall-list-64bit-options)
46650         (syscall-list-64bit-condition): Define.
46651         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46652         (syscall-list-variants, syscall-list-32bit-options)
46653         (syscall-list-32bit-condition, syscall-list-64bit-options)
46654         (syscall-list-64bit-condition): Define.
46655         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46656         Remove.
46657         (syscall-list-variants, syscall-list-32bit-options)
46658         (syscall-list-32bit-condition, syscall-list-64bit-options)
46659         (syscall-list-64bit-condition): Define.
46660         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46661         Remove.
46662         (syscall-list-variants, syscall-list-32bit-options)
46663         (syscall-list-32bit-condition, syscall-list-64bit-options)
46664         (syscall-list-64bit-condition): Define.
46666 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46668         * locale/iso-639.def: Add brx entry.
46670         [BZ #13328]
46671         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46672         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46674         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46675         __feraiseexcept_renamed.
46677 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46679         [BZ #13538]
46680         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46681         EPOLLET with unsigned values.
46682         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46683         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46685         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46686         to large cancellation.
46687         * math/s_cacoshf.c: Likewise.
46688         * math/s_cacoshl.c: Likewise.
46690 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46692         [BZ #13305]
46693         [BZ #12786]
46694         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46695         * math/s_cacoshf.c: Likewise.
46696         * math/s_cacoshl.c: Likewise.
46698 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46700         [BZ #13439]
46701         * iconv/gconv.h: Define __GCONV_SWAP.
46702         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46703         * iconvdata/utf-16.c: Likewise.
46704         * iconvdata/utf-32.c: Likewise.
46706 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46708         [BZ #13524]
46709         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46710         numerator after shifting it by one limb.
46712 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46714         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46715         under [__USE_EXTERN_INLINES].
46717 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46719         [BZ #13446]
46720         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46722 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46724         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46725         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46726         optimized code.
46727         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46728         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46729         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46730         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46731         for strncasecmp/strncasecmp_l compilation.
46732         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46733         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46735 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46737         [BZ #13484]
46738         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46739         of __asm__.
46741 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46743         [BZ #13506]
46744         * time/tzfile.c (__tzfile_read): Check values from file header.
46746 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46748         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46749         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46750         * powerpc/powerpc32/dl-start.S: Likewise.
46751         * powerpc/powerpc32/elf/start.S: Likewise.
46752         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46753         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46754         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46755         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46756         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46757         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46758         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46759         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46760         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46761         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46762         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46763         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46764         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46765         * powerpc/powerpc32/memset.S: Likewise.
46766         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46767         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46768         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46769         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46770         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46771         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46772         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46773         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46774         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46775         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46776         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46777         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46778         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46780 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46782         * math/libm-test.inc: Added more nearbyint tests.
46783         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46784         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46785         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46786         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46788 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46790         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46791         FD_CLOEXEC.
46793 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46795         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46796         Add wcscpy-ssse3 wcscpy-c.
46797         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46798         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46799         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46800         * sysdeps/x86_64/wcschr.S: New file.
46801         * sysdeps/x86_64/wcsrchr.S: New file.
46802         * string/test-strcmp.c: Remove checking of wcscmp function for
46803         wrong alignments.
46804         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46805         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46806         wcsrchr-sse2 wcsrchr-c.
46807         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46808         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46809         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46810         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46811         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46812         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46813         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46814         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46815         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46816         * wcsmbc/wcschr.c (WCSCHR): New macro.
46818 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46820         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46821         * wcsmbs/test-wcsrchr.c: New file.
46822         * string/test-strrchr.c: Add wcsrchr support.
46823         (WIDE): New macro.
46824         * wcsmbs/test-wcscpy.c: New file.
46825         * string/test-strcpy.c: Add wcscpy support.
46826         (WIDE): New macro.
46828 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46830         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46831         the inner loop.
46833 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46835         [BZ #13472]
46836         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46838 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46840         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46841         Minor optimizations.
46843         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46844         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46845         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46847 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46849         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46850         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46851         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46852         for gcc to avoid warnings.
46853         * inet/Makefile (tests): Add tst-checks.
46854         * inet/tst-checks.c: New file.
46856         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46857         warning.
46859         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46860         __wmemcmp_sse2.
46862         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46863         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46865         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46867 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46869         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46870         problem.
46872         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46874 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46876         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46877         conditional on GCC version.
46878         (__arch_compare_and_exchange_val_8_acq)
46879         (__arch_compare_and_exchange_val_16_acq)
46880         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46881         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46882         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46884 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46886         * sysdeps/sh/backtrace.c: New file.
46888 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46890         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46891         parenthesis.
46893 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46895         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46896         falling back to utime.
46898 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46900         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46901         expectations for float.
46903 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46905         * locale/weight.h (findidx): Add parameter len.
46906         * locale/weightwc.h (findidx): Likewise.
46907         * posix/fnmatch_loop.c (FCT): Adjust caller.
46908         * posix/regcomp.c (build_equiv_class): Likewise.
46909         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46910         * posix/regexec.c (check_node_accept_bytes): Likewise.
46911         * string/strcoll_l.c (STRCOLL): Likewise.
46912         * string/strxfrm_l.c (STRXFRM): Likewise.
46914 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46916         * Makefile.in: Remove CVSOPT handling.
46917         * configure.in: Remove use of AC_REVISION.
46918         * iconvdata/Makefile (distribute): No need to filter out CVS.
46919         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46920         handling.
46922 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46925         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46926         [USE_AS_STRNCASECMP_L]: Likewise.
46927         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46928         NO_TLS_DIRECT_SEG_REFS.
46929         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46930         Fix argument offsets for non-PIC.
46931         [USE_AS_STRNCASECMP_L]: Likewise.
46932         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46933         NO_TLS_DIRECT_SEG_REFS.
46935 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46937         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46938         O_CLOEXEC.
46939         * locale/loadlocale.c (_nl_load_locale): Likewise.
46941 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46943         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46944         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46945         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46946         (SYSCALL_GETTIME): Set errno on error.
46948         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46949         count references to noai6ai_cached.
46951 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46953         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46955         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46956         FD_CLOEXEC for /proc/self/maps.
46958         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46959         FD_CLOEXEC for /proc/meminfo.
46961         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46962         gai.conf.
46964         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46965         FD_CLOEXEC for given file.
46967         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46969         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46970         FD_CLOEXEC for /etc/hosts.
46971         (_gethtent): Likewise.
46973         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46975         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46976         cancellation and set FD_CLOEXEC for /etc/netgroup.
46978         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46979         reading /etc/publickey.
46981         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46982         allow cancellation when reading /etc/group.
46984         * nss/nss_files/files-alias.c (internal_setent): Don't allow
46985         cancellation.
46986         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
46988         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46989         when using data file.
46991         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46993         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46994         (write_nis_obj): Use "c" and "e" in fopen.
46996         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46998         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47000         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47002         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47004         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47005         locale.alias.
47007         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47009         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47011         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47013         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47014         file parsing and set FD_CLOEXEC.
47016 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47018         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47020 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47022         * malloc/arena.c (arena_get2): Don't call reused_arena when
47023         _int_new_arena failed.
47025 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47027         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47028         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47030         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47031         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47032         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47033         to compile strcasecmp and strncasecmp.
47034         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47035         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47037         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47039 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47041         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47042         locale-defines.sym to gen-as-const-headers.
47043         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47044         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47045         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47046         to compile strcasecmp and strncasecmp.
47047         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47048         strcasecmp_l and strncasecmp_l.
47049         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47050         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47051         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47052         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47053         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47054         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47055         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47056         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47057         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47058         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47059         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47061 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47063         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47064         result of SYSDEP_GETTIME_CPU to retval.
47065         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47066         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47068         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47069         variable.
47071         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47072         mantissa words.
47073         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47075         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47076         from unused variable.
47078         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47079         DWARF definitions.
47080         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47081         for assembling.
47083         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47084         over namespaces.
47086         * sunrpc/rpc_prot.c (rejected): Fix case value.
47088         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47089         unsigned long long int to avoid warnings in shift.
47091         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47092         of use of trans.
47093         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47094         variable tmp.
47096         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47097         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47098         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47100         * nis/nis_table.c (nis_list): Use variable of correct type for
47101         result of __follow_path call.
47103 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47105         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47106         of math functions ceil, trunc, floor, round, and sqrt, when
47107         avaliable on the platform.
47108         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47109         name clash.
47110         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47111         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47112         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47114 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47116         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47117         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47119 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47121         * include/unistd.h: Fix __readlink return type.
47122         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47124 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47126         * stdlib/ucontext.h: Undo last change for makecontext.
47128 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47130         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47132         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47133         * setjmp/setjmp.h: Mark functions as non-leaf.
47134         * setjmp/bits/setjmp2.h: Likewise.
47135         * stdlib/ucontext.h: Likewise.
47137 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47139         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47140         (reused_arena): Don't check arena limit.
47141         (arena_get2): Atomically check arena limit.
47143 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47145         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47146         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47149         instructions.
47151 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47153         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47154         handler when locking.
47156         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47157         Fix size of allocated buffer.
47159 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47161         [BZ #10103]
47162         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47163         declarations for long double functions.
47164         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47166         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47168 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47170         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47171         installed.
47173         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47174         is disabled.
47176 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47178         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47180 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47182         * include/alloca.h (stackinfo_alloca_round): Define.
47183         (extend_alloca): Use it.
47184         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47185         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47186         here.
47188         * scripts/check-local-headers.sh: Ignore libaudit.h.
47190         * nscd/Makefile (extra-objs): Make recursively expanded.
47192 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47194         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47195         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47197         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47198         * posix/tst-rfc3484-2.c: Likewise.
47199         * posix/tst-rfc3484-3.c: Likewise.
47201         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47202         process_vm_writev.
47203         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47204         process_vm_writev.
47205         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47206         process_vm_writev from libc using GLIBC_2.15 version.
47208         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47210 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47212         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47213         stack usage.
47215 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47217         [BZ #13367]
47218         * nss/getent.c (initgroups_keys): Show error message in case no group
47219         names are given.
47221         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47222         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47223         __bump_nl_timestamp.
47224         * nscd/connections (nscd_init): When host database is served open
47225         netlink socket and request notification about configuration changes.
47226         (main_loop_poll): Track netlink file descriptor and bump timestamp
47227         in case data becomes available.
47228         (main_loop_epoll): Likewise.
47229         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47230         (database_pers_head): Add extra_data fileds.
47231         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47232         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47233         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47234         Adjust caller.
47235         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47236         in6ai data, call __free_in6ai.
47237         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47238         Add -DHAVE_NETLINK.
47239         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47240         interface information.  Reuse previous data if netlink timestamp
47241         is not changed.
47242         (__bump_nl_timestamp): New function.
47243         (__free_in6ai): New function.
47245 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47247         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47248         close_not_cancel_no_status here.
47249         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47251 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47253         [BZ #13276]
47254         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47255         return value.
47257         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47258         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47259         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47261 2011-07-03  Andreas Jaeger  <aj@suse.de>
47263         [BZ #10709]
47264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47265         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47266         * math/libm-test.inc (sin_test): Add test case.
47268 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47270         [BZ #13337]
47271         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47272         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47274         * elf/chroot_canon.c (chroot_canon): Cleanups.
47276         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47278         [BZ #13335]
47279         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47280         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47282         * string/test-strchr.c: Make usable for strchrnul testing.
47283         * string/test-strchrnul.c: New file.
47284         * string/Makefile (strop-tests): Add strchrnul.
47286         * po/it.po: Update from translation team.
47287         * po/es.po: Likewise.
47289 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47291         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47292         the three constants needed as parameters.  Drop the others.
47293         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47294         __m128i_strloadu_tolower.
47295         Create and initialize variable zero and use it in all the places
47296         where _mm_setzero_si128 was used.
47298         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47299         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47300         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47301         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47302         anymore.
47303         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47304         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47305         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47306         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47307         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47308         __mpranred, __mptan.
47309         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47310         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47311         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47312         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47313         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47314         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47315         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47316         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47317         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47319 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47321         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47322         redefine if SHARED.
47323         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47325         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47326         wide char related routines to wcsmbs subdir.
47328 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47330         [BZ #13344]
47331         * misc/sys/cdefs.h (__THROWNL): Define.
47332         * posix/unistd.h: Use __THREADNL instead of __THREAD
47333         for memory synchronization functions.
47335 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47337         [BZ #13349]
47338         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47339         doesn't exist.
47340         * manual/stdio.texi (Obstack Streams): Node removed.
47342 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47344         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47345         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47346         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47348         * math/math_private.h (math_force_eval): Allow non-addressable
47349         arguments.
47350         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47352 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47354         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47355         file is not needed.
47357         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47358         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47359         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47360         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47361         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47362         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47363         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47364         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47365         Add AVX variants.
47366         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47367         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47368         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47369         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47370         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47371         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47372         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47373         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47374         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47375         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47376         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47377         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47378         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47379         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47380         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47381         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47382         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47383         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47384         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47386         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47387         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47390         place.  Use VEX encoding when compiling for AVX.
47392 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47394         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47395         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47397         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47399 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47401         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47402         useless if() expression.
47403         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47404         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47405         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47406         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47407         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47408         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47409         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47410         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47411         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47412         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47413         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47414         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47415         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47416         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47417         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47418         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47419         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47420         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47421         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47423         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47425 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47427         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47428         condition.
47429         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47431 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47433         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47434         .text section.  Avoid duplicate constants.
47435         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47436         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47437         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47439         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47443         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47444         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47445         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47446         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47447         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47448         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47449         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47450         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47451         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47452         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47453         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47455         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47456         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47457         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47458         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47459         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47460         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47461         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47462         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47463         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47464         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47465         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47466         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47467         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47468         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47469         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47470         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47471         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47472         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47473         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47474         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47475         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47476         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47477         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47478         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47479         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47481 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47483         * sysdeps/x86_64/dla.h: Move to ...
47484         * sysdeps/x86_64/fpu/dla.h: ...here.
47485         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47486         situations.  Use __builtin_fma only for gcc 4.6 and up.
47488         * config.make.in: Add have-mfma4 entry.
47489         * configure.in: Substitute libc_cv_cc_fma4.
47490         * math/Makefile (dbl-only-routines): Add sincostab.
47491         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47492         Use __sincostab not sincos.
47493         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47494         name is a macro.
47495         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47496         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47497         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47498         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47499         using __copysign.
47500         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47501         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47502         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47503         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47504         and __inv.
47505         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47506         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47507         __copysign.
47508         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47509         define aliases when function name is a macro.
47510         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47511         sysdeps/ieee754/dbl-64/sincos.tbl.
47512         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47513         fma4-enabled routines.
47514         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47515         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47516         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47517         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47518         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47519         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47521         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47522         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47523         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47524         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47525         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47526         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47527         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47528         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47529         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47530         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47531         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47532         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47533         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47534         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47535         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47536         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47537         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47538         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47539         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47540         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47541         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47542         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47543         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47545         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47546         rename.
47547         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47548         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47549         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47552         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47553         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47556 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47558         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47560 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47562         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47564         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47565         prediction.
47566         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47568         * string/strnlen.c: Don't define STRNLEN, reverse logic.
47569         Remove unused variable magic_bits.
47570         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47572         * string/strnlen.c: Define and use STRNLEN macro.
47573         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47574         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47575         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47576         * wcsmbs/wcslen.c: Define and use WCSLEN.
47577         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47578         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47579         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47580         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47581         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47582         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47583         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47585 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47588         strnlen-sse2-no-bsf.
47589         Rename strlen-no-bsf to strlen-sse2-no-bsf.
47590         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47591         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47592         Add strnlen support.
47593         (USE_AS_STRNLEN): New macro.
47594         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47595         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47596         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47597         * sysdeps/x86_64/wcslen.S: New file.
47599 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
47601         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47602         XMM-moves are used for copying on small sizes.
47604 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47606         * wcsmbs/Makefile (strop-tests): Add wcschr.
47607         * wcsmbs/test-wcschr.c: New file.
47608         * string/test-strchr.c: Update.
47609         Add wcschr support.
47610         (WIDE): New macro.
47612 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47614         * wcsmbs/Makefile (strop-tests): Add wcslen.
47615         * wcsmbs/test-wcslen.c: New file.
47616         * string/test-strlen.c: Update.
47617         Add wcslen support.
47618         (WIDE): New macro.
47620 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47622         * po/it.po: Update from translation team.
47624 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47626         * sysdeps/x86_64/wcscmp.S: Update.
47627         Fix wrong comparison semantics.
47628         wcscmp shall use signed comparison not unsigned.
47629         Don't use substraction to avoid overflow bug.
47630         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47631         * wcsmbc/wcscmp.c: Likewise.
47632         * string/test-strcmp.c: Likewise.
47633         Add new tests to check cases with negative values.
47635 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47637         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47638         * sysdeps/x86_64/dla.h: ...here.  New file.
47639         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47644         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47645         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47646         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47647         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47649 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47651         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47652         __ynl_finite aliases.
47654 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47658         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47659         define DLA_FMA.
47660         [DLA_FMA] (EMULV): Use DLA_FMA.
47661         [DLA_FMA] (MUL12): Use EMULV.
47662         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47663         that are not needed.
47664         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47666         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47667         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47668         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47669         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47670         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47672 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47674         * math/s_nan.c: Undef __nan.
47675         * math/s_nanf.c: Undef __nanf.
47676         * math/s_nanl.c: Undef __nanl.
47677         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47678         "math_private.h".
47680 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47682         * math/s_catan.c: Add branch predictions.
47683         * math/s_catanf.c: Likewise.
47684         * math/s_catanh.c: Likewise.
47685         * math/s_catanhf.c: Likewise.
47686         * math/s_catanhl.c: Likewise.
47687         * math/s_catanl.c: Likewise.
47688         * math/s_cexp.c: Likewise.
47689         * math/s_cexpf.c: Likewise.
47690         * math/s_cexpl.c: Likewise.
47691         * math/s_clog.c: Likewise.
47692         * math/s_clog10.c: Likewise.
47693         * math/s_clog10f.c: Likewise.
47694         * math/s_clog10l.c: Likewise.
47695         * math/s_clogf.c: Likewise.
47696         * math/s_clogl.c: Likewise.
47697         * math/s_csqrt.c: Likewise.
47698         * math/s_csqrtf.c: Likewise.
47699         * math/s_csqrtl.c: Likewise.
47700         * math/s_ctanf.c: Likewise.
47701         * math/s_ctanh.c: Likewise.
47702         * math/s_ctanhf.c: Likewise.
47703         * math/s_ctanhl.c: Likewise.
47704         * math/s_ctanl.c: Likewise.
47706         * math/math_private.h: Define __nan, __nanf, __nanl.
47707         * math/s_cacosh.c: Include <math_private.h>.
47708         * math/s_cacoshl.c: Likewise.
47709         * math/s_casinh.c: Likewise.
47710         * math/s_casinhf.c: Likewise.
47711         * math/s_casinhl.c: Likewise.
47712         * math/s_ccos.c: Rely entire on ccosh.
47713         * math/s_ccosf.c: Rely entire on ccoshf.
47714         * math/s_ccosl.c: Rely entirely on ccoshl.
47715         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47716         Remove tests for FE_INVALID.
47717         * math/s_ccoshf.c: Likewise.
47718         * math/s_ccoshl.c: Likewise.
47719         * math/s_csin.c: Likewise.
47720         * math/s_csinf.c: Likewise.
47721         * math/s_csinh.c Likewise.
47722         * math/s_csinhf.c: Likewise.
47723         * math/s_csinhl.c: Likewise.
47724         * math/s_csinl.c: Likewise.
47725         * math/s_ctan.c: Likewise.
47726         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47727         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47728         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47730 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47733         compilation problems.
47735         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47736         __builtin_expect.
47738 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47740         * sysdeps/i386/configure.in: Test for -mfma4 option.
47741         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47742         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47743         COMMON_CPUID_INDEX_80000001.
47744         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47745         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47746         use it if FMA3 is not supported.
47747         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47749         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47750         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47752 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47754         [BZ #12892]
47755         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47756         it would create a cycle with a link time dependency.
47758 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47760         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47761         instruction.
47762         * string/Makefile (strop-tests): Add rawmemchr.
47763         * string/test-rawmemchr.c: New file.
47765         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47766         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47767         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47768         when compiling str{,n}casecmp and when AVX is available.  Hook up
47769         new optimized code in initializers.
47771 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47773         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47774         __feraiseexcept instead of feraiseexcept.
47776 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47778         * math/math_private.h: Define defaults for libc_fetestexcept and
47779         libc_feupdateenv.
47780         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47781         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47782         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47783         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47784         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47785         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47786         libc_fetestexcept and libc_feupdateenv.
47788         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47789         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47790         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47791         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47792         libc_feholdexcept_setround.
47794         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47795         Add s_nearbyint-c and s_nearbyintf-c.
47796         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47797         nearbyintf inlines.
47798         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47799         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47800         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47801         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47803         * math/math_private.h: Define defaults for libc_fegetround,
47804         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47805         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47806         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47807         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47808         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47809         standard functions.
47810         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47811         Remove comments and hacks for old compiler versions.
47812         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47813         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47814         libc_feholdexceptl.
47816 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47818         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47819         (__feraiseexcept_renamed): Add __NTH.
47820         (feraiseexcept): Add __NTH.  Rename local variables to fix
47821         namespace violations.
47823 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47825         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47827         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47829         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47830         recently added interfaces.
47831         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47833         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47834         about macro parameter expansion.
47836         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47837         __NO_MATH_INLINES is defined.  Cleanups.
47839         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47840         and __floorf is target has SSE4.1.
47841         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47842         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47843         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47844         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47846         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47847         name.
47848         (floorf): Likewise.
47850         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47852 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47854         * misc/sys/cdefs.h: Fix last change.
47856         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47857         database lookup.
47859 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47861         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47863         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47864         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47865         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47866         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47867         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47868         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47869         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47870         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47871         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47872         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47873         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47874         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47875         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47876         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47877         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47878         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47879         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47880         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47881         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47882         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47883         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47884         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47886         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47887         ceil, ceilf, floor, floorf.
47889         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47890         Perform IRELATIVE relocations last.
47892         * elf/do-rel.h: Add another parameter nrelative, replacing the
47893         local variable with the same name.  Change name of the function
47894         to end in Rel or Rela (uppercase).
47895         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47896         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47897         elf_dynamic_do_##reloc function.
47899 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47901         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47902         is sufficient, at least on modern CPUs.
47904         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47906         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47907         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47909         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47910         __expl_finite.
47911         * math/bits/math-finite.h: Add entries for exp.
47912         * math/e_expl.c: Add __*_finite alias.
47913         * sysdeps/i386/fpu/e_exp.S: Likewise.
47914         * sysdeps/i386/fpu/e_expf.S: Likewise.
47915         * sysdeps/i386/fpu/e_expl.c: Likewise.
47916         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47917         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47918         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47919         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47920         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47921         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47922         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47924         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47925         is sufficient, at least on modern CPUs.
47927         * ctype/ctype-info.c (__ctype_init): Define.
47928         * include/ctype.h (__ctype_init): Declare.
47929         (__ctype_b_loc): The variable is always initialized.
47930         (__ctype_toupper_loc): Likewise.
47931         (__ctype_tolower_loc): Likewise.
47932         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47933         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47935 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47937         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47939         * configure.in: Also look in $cxxmachine/include for C++ system
47940         headers.
47942 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47944         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47945         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47946         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47947         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47948         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47949         (USE_AS_WMEMCMP): New macro.
47950         Fixing indents.
47951         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47952         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47953         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47954         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47956         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47957         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47958         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47959         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47960         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47961         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47962         (USE_AS_WMEMCMP): New macro.
47963         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47964         * sysdeps/string/test-memcmp.c: Update.
47965         Fix simple_wmemcmp.
47966         Add new tests.
47967         * wcsmbs/wmemcmp.c: Update.
47968         (WMEMCMP): New macro.
47969         Fix overflow bug.
47971 2011-10-12  Andreas Jaeger  <aj@suse.de>
47973         [BZ #13268]
47974         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47976 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47978         * libio/iofwide.c (do_length): Avoid warning.
47980         * ctype/ctype.h (__isctype_f): Add missing __THROW.
47982 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
47984         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47986         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47987         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47988         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47989         * sysdeps/i386/i686/fpu/e_log.S: New file.
47990         * sysdeps/i386/i686/fpu/e_logf.S: New file.
47991         * sysdeps/i386/i686/fpu/e_logl.S: New file.
47993         * ctype/ctype.h: Add support for inlined isXXX functions when
47994         compiling C++ code.
47996 2011-10-14  Andreas Schwab  <schwab@redhat.com>
47998         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48000         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48002 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48004         [BZ #13291]
48005         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48007 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48009         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48010         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48011         feraiseexcept.
48013         * sysdeps/x86_64/memrchr.S: Check for zero size.
48015         * string/stratcliff.c: Add memrchr tests.
48017 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48019         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48020         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48021         rawmemchr-sse2 rawmemchr-sse2-bsf.
48022         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48023         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48024         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48025         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48026         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48027         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48028         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48029         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48030         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48031         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48032         * string/memrchr.c (MEMRCHR): New macro.
48034 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48036         Add integration with gcc's -ffinite-math-only and optimize wrapper
48037         functions in libm.
48038         * Versions.def: Define GLIBC_2.15 version for libm.
48039         * math/Makefile (headers): Add bits/math-finite.h.
48040         * math/bits/math-finite.h: New file.
48041         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48042         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48043         * math/e_acoshl.c: Add __*_finite alias.
48044         * math/e_acosl.c: Likewise.
48045         * math/e_asinl.c: Likewise.
48046         * math/e_atan2l.c: Likewise.
48047         * math/e_atanhl.c: Likewise.
48048         * math/e_coshl.c: Likewise.
48049         * math/e_exp10.c: Likewise.
48050         * math/e_exp10f.c: Likewise.
48051         * math/e_exp10l.c: Likewise.
48052         * math/e_exp2l.c: Likewise.
48053         * math/e_fmodl.c: Likewise.
48054         * math/e_gammal_r.c: Likewise.
48055         * math/e_hypotl.c: Likewise.
48056         * math/e_j0l.c: Likewise.
48057         * math/e_j1l.c: Likewise.
48058         * math/e_jnl.c: Likewise.
48059         * math/e_lgammal_r.c: Likewise.
48060         * math/e_log10l.c: Likewise.
48061         * math/e_log2l.c: Likewise.
48062         * math/e_logl.c: Likewise.
48063         * math/e_powl.c: Likewise.
48064         * math/e_sinhl.c: Likewise.
48065         * math/e_sqrtl.c: Likewise.
48066         * math/e_scalb.c: Completely rewritten and optimized.
48067         * math/e_scalbf.c: Likewise.
48068         * math/e_scalbl.c: Likewise.
48069         * math/w_acos.c: Likewise.
48070         * math/w_acosf.c: Likewise.
48071         * math/w_acosl.c: Likewise.
48072         * math/w_acosh.c: Likewise.
48073         * math/w_acoshf.c: Likewise.
48074         * math/w_acoshl.c: Likewise.
48075         * math/w_asin.c: Likewise.
48076         * math/w_asinf.c: Likewise.
48077         * math/w_asinl.c: Likewise.
48078         * math/w_atan2.c: Likewise.
48079         * math/w_atan2f.c: Likewise.
48080         * math/w_atan2l.c: Likewise.
48081         * math/w_atanh.c: Likewise.
48082         * math/w_atanhf.c: Likewise.
48083         * math/w_atanhl.c: Likewise.
48084         * math/w_exp10.c: Likewise.
48085         * math/w_exp10f.c: Likewise.
48086         * math/w_exp10l.c: Likewise.
48087         * math/w_fmod.c: Likewise.
48088         * math/w_fmodf.c: Likewise.
48089         * math/w_fmodl.c: Likewise.
48090         * math/w_j0.c: Likewise.
48091         * math/w_j0f.c: Likewise.
48092         * math/w_j0l.c: Likewise.
48093         * math/w_j1.c: Likewise.
48094         * math/w_j1f.c: Likewise.
48095         * math/w_j1l.c: Likewise.
48096         * math/w_jn.c: Likewise.
48097         * math/w_jnf.c: Likewise.
48098         * math/w_log.c: Likewise.
48099         * math/w_logf.c: Likewise.
48100         * math/w_logl.c: Likewise.
48101         * math/w_log10.c: Likewise.
48102         * math/w_log10f.c: Likewise.
48103         * math/w_log10l.c: Likewise.
48104         * math/w_log2.c: Likewise.
48105         * math/w_log2f.c: Likewise.
48106         * math/w_log2l.c: Likewise.
48107         * math/w_pow.c: Likewise.
48108         * math/w_powf.c: Likewise.
48109         * math/w_powl.c: Likewise.
48110         * math/w_remainder.c: Likewise.
48111         * math/w_remainderf.c: Likewise.
48112         * math/w_remainderl.c: Likewise.
48113         * math/w_scalb.c: Likewise.
48114         * math/w_scalbf.c: Likewise.
48115         * math/w_scalbl.c: Likewise.
48116         * math/w_sqrt.c: Likewise.
48117         * math/w_sqrtf.c: Likewise.
48118         * math/w_sqrtl.c: Likewise.
48119         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48120         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48121         used.
48122         * math/math_private.h: Declare __kernel_standard_f.
48123         * math/w_cosh.c: Remove cruft and optimize a bit.
48124         * math/w_coshf.c: Likewise.
48125         * math/w_coshl.c: Likewise.
48126         * math/w_exp2.c: Likewise.
48127         * math/w_exp2f.c: Likewise.
48128         * math/w_exp2l.c: Likewise.
48129         * math/w_hypot.c: Likewise.
48130         * math/w_hypotf.c: Likewise.
48131         * math/w_hypotl.c: Likewise.
48132         * math/w_lgamma.c: Likewise.
48133         * math/w_lgamma_r.c: Likewise.
48134         * math/w_lgammaf.c: Likewise.
48135         * math/w_lgammaf_r.c: Likewise.
48136         * math/w_lgammal.c: Likewise.
48137         * math/w_lgammal_r.c: Likewise.
48138         * math/w_sinh.c: Likewise.
48139         * math/w_sinhf.c: Likewise.
48140         * math/w_sinhl.c: Likewise.
48141         * math/w_tgamma.c: Likewise.
48142         * math/w_tgammaf.c: Likewise.
48143         * math/w_tgammal.c: Likewise.
48144         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48145         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48146         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48147         Minor optimizations.  Pretty printing.  Remove cruft.
48148         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48149         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48150         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48151         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48152         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48153         * sysdeps/i386/fpu/e_asin.S: Likewise.
48154         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48155         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48156         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48157         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48158         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48159         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48160         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48161         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48162         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48163         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48164         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48165         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48166         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48167         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48168         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48169         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48170         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48171         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48172         * sysdeps/i386/fpu/e_log.S: Likewise.
48173         * sysdeps/i386/fpu/e_log10.S: Likewise.
48174         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48175         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48176         * sysdeps/i386/fpu/e_log2.S: Likewise.
48177         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48178         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48179         * sysdeps/i386/fpu/e_logf.S: Likewise.
48180         * sysdeps/i386/fpu/e_logl.S: Likewise.
48181         * sysdeps/i386/fpu/e_pow.S: Likewise.
48182         * sysdeps/i386/fpu/e_powf.S: Likewise.
48183         * sysdeps/i386/fpu/e_powl.S: Likewise.
48184         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48185         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48186         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48187         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48188         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48189         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48190         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48191         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48192         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48193         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48194         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48195         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48196         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48197         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48198         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48199         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48200         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48201         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48202         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48203         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48204         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48206         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48207         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48209         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48210         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48211         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48212         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48213         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48214         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48215         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48216         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48217         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48218         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48219         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48220         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48221         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48222         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48223         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48224         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48225         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48226         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48227         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48228         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48229         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48230         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48231         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48232         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48233         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48234         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48235         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48236         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48237         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48238         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48239         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48240         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48241         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48242         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48243         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48244         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48245         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48246         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48247         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48248         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48249         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48250         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48251         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48252         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48253         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48254         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48255         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48256         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48257         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48258         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48259         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48260         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48261         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48262         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48263         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48264         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48265         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48267         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48268         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48269         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48270         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48271         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48272         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48273         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48274         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48275         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48276         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48277         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48278         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48279         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48280         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48281         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48282         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48283         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48284         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48285         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48286         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48287         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48288         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48289         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48290         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48291         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48292         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48293         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48294         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48295         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48296         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48297         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48298         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48299         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48300         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48301         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48302         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48303         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48304         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48305         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48306         (__isnanf): Likewise.
48307         (__isinf_ns): Likewise.
48308         (__isinf_nsf): Likewise.
48309         (__finite): Likewise.
48310         (__finitef): Likewise.
48311         (__ieee754_sqrt): Define as macro.
48312         (__ieee754_sqrtf): Define as macro.
48313         (__ieee754_sqrtl): Define as macro.
48314         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48315         inlined copy.
48316         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48317         __FINITE_MATH_ONLY__ consistent.
48318         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48320 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48322         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48323         of rawmemchr.
48325         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48327 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48329         * po/ja.po: Update from translation team.
48331 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48333         * locale/programs/locarchive.c (prepare_address_space): New function.
48334         (create_archive, enlarge_archive, open_archive): Use it.
48336         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48337         inside [SHARED], where it is used.
48339         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48341         * nss/getent.c (netgroup_keys): Remove unused variable.
48342         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48344 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48346         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48347         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48349         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48350         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48351         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48352         * math/Makefile (libm-calls): Add s_isinf_ns.
48353         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48354         * math/multc3.c: Likewise.
48355         * math/s_casin.c: Likewise.
48356         * math/s_casinf.c: Likewise.
48357         * math/s_casinl.c: Likewise.
48358         * math/s_ccos.c: Likewise.
48359         * math/s_ccosf.c: Likewise.
48360         * math/s_ccosl.c: Likewise.
48361         * math/s_ctan.c: Likewise.
48362         * math/s_ctanf.c: Likewise.
48363         * math/s_ctanh.c: Likewise.
48364         * math/s_ctanhf.c: Likewise.
48365         * math/s_ctanhl.c: Likewise.
48366         * math/s_ctanl.c: Likewise.
48367         * math/w_fmod.c: Likewise.
48368         * math/w_fmodf.c: Likewise.
48369         * math/w_fmodl.c: Likewise.
48370         * math/w_remainder.c: Likewise.
48371         * math/w_remainderf.c: Likewise.
48372         * math/w_remainderl.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48374         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48375         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48376         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48377         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48378         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48379         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48380         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48382         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48383         of the number.
48384         * stdio-common/printf_fphex.c: Likewise.
48385         * stdio-common/printf_size.c: Likewise.
48387         * math/e_exp10.c: Include math_private.h using <...> not "...".
48388         * math/e_exp10f.c: Likewise.
48389         * math/e_exp10l.c: Likewise.
48390         * math/e_exp2l.c: Likewise.
48391         * math/e_j0l.c: Likewise.
48392         * math/e_j1l.c: Likewise.
48393         * math/e_jnl.c: Likewise.
48394         * math/e_lgammal_r.c: Likewise.
48395         * math/e_rem_pio2l.c: Likewise.
48396         * math/e_scalb.c: Likewise.
48397         * math/e_scalbf.c: Likewise.
48398         * math/e_scalbl.c: Likewise.
48399         * math/k_cosl.c: Likewise.
48400         * math/k_sinl.c: Likewise.
48401         * math/k_tanl.c: Likewise.
48402         * math/s_cacoshf.c: Likewise.
48403         * math/s_catan.c: Likewise.
48404         * math/s_catanf.c: Likewise.
48405         * math/s_catanh.c: Likewise.
48406         * math/s_catanhf.c: Likewise.
48407         * math/s_catanhl.c: Likewise.
48408         * math/s_catanl.c: Likewise.
48409         * math/s_ccosh.c: Likewise.
48410         * math/s_ccoshf.c: Likewise.
48411         * math/s_ccoshl.c: Likewise.
48412         * math/s_cexp.c: Likewise.
48413         * math/s_cexpf.c: Likewise.
48414         * math/s_cexpl.c: Likewise.
48415         * math/s_clog.c: Likewise.
48416         * math/s_clog10.c: Likewise.
48417         * math/s_clog10f.c: Likewise.
48418         * math/s_clog10l.c: Likewise.
48419         * math/s_clogf.c: Likewise.
48420         * math/s_clogl.c: Likewise.
48421         * math/s_csin.c: Likewise.
48422         * math/s_csinf.c: Likewise.
48423         * math/s_csinh.c: Likewise.
48424         * math/s_csinhf.c: Likewise.
48425         * math/s_csinhl.c: Likewise.
48426         * math/s_csinl.c: Likewise.
48427         * math/s_csqrt.c: Likewise.
48428         * math/s_csqrtf.c: Likewise.
48429         * math/s_csqrtl.c: Likewise.
48430         * math/s_ctan.c: Likewise.
48431         * math/s_ctanf.c: Likewise.
48432         * math/s_ctanh.c: Likewise.
48433         * math/s_ctanhf.c: Likewise.
48434         * math/s_ctanhl.c: Likewise.
48435         * math/s_ctanl.c: Likewise.
48436         * math/s_ldexp.c: Likewise.
48437         * math/s_ldexpf.c: Likewise.
48438         * math/s_ldexpl.c: Likewise.
48439         * math/s_significand.c: Likewise.
48440         * math/s_significandf.c: Likewise.
48441         * math/s_significandl.c: Likewise.
48442         * math/w_acos.c: Likewise.
48443         * math/w_acosf.c: Likewise.
48444         * math/w_acosh.c: Likewise.
48445         * math/w_acoshf.c: Likewise.
48446         * math/w_acoshl.c: Likewise.
48447         * math/w_acosl.c: Likewise.
48448         * math/w_asin.c: Likewise.
48449         * math/w_asinf.c: Likewise.
48450         * math/w_asinl.c: Likewise.
48451         * math/w_atan2.c: Likewise.
48452         * math/w_atan2f.c: Likewise.
48453         * math/w_atan2l.c: Likewise.
48454         * math/w_atanh.c: Likewise.
48455         * math/w_atanhf.c: Likewise.
48456         * math/w_atanhl.c: Likewise.
48457         * math/w_cosh.c: Likewise.
48458         * math/w_coshf.c: Likewise.
48459         * math/w_coshl.c: Likewise.
48460         * math/w_dremf.c: Likewise.
48461         * math/w_exp10.c: Likewise.
48462         * math/w_exp10f.c: Likewise.
48463         * math/w_exp10l.c: Likewise.
48464         * math/w_exp2.c: Likewise.
48465         * math/w_exp2f.c: Likewise.
48466         * math/w_fmod.c: Likewise.
48467         * math/w_fmodf.c: Likewise.
48468         * math/w_fmodl.c: Likewise.
48469         * math/w_hypot.c: Likewise.
48470         * math/w_hypotf.c: Likewise.
48471         * math/w_hypotl.c: Likewise.
48472         * math/w_j0.c: Likewise.
48473         * math/w_j0f.c: Likewise.
48474         * math/w_j0l.c: Likewise.
48475         * math/w_j1.c: Likewise.
48476         * math/w_j1f.c: Likewise.
48477         * math/w_j1l.c: Likewise.
48478         * math/w_jn.c: Likewise.
48479         * math/w_jnf.c: Likewise.
48480         * math/w_jnl.c: Likewise.
48481         * math/w_lgamma.c: Likewise.
48482         * math/w_lgamma_r.c: Likewise.
48483         * math/w_lgammaf.c: Likewise.
48484         * math/w_lgammaf_r.c: Likewise.
48485         * math/w_lgammal.c: Likewise.
48486         * math/w_lgammal_r.c: Likewise.
48487         * math/w_log.c: Likewise.
48488         * math/w_log10.c: Likewise.
48489         * math/w_log10f.c: Likewise.
48490         * math/w_log10l.c: Likewise.
48491         * math/w_log2.c: Likewise.
48492         * math/w_log2f.c: Likewise.
48493         * math/w_log2l.c: Likewise.
48494         * math/w_logf.c: Likewise.
48495         * math/w_logl.c: Likewise.
48496         * math/w_pow.c: Likewise.
48497         * math/w_powf.c: Likewise.
48498         * math/w_powl.c: Likewise.
48499         * math/w_remainder.c: Likewise.
48500         * math/w_remainderf.c: Likewise.
48501         * math/w_remainderl.c: Likewise.
48502         * math/w_scalb.c: Likewise.
48503         * math/w_scalbf.c: Likewise.
48504         * math/w_scalbl.c: Likewise.
48505         * math/w_sinh.c: Likewise.
48506         * math/w_sinhf.c: Likewise.
48507         * math/w_sinhl.c: Likewise.
48508         * math/w_sqrt.c: Likewise.
48509         * math/w_sqrtf.c: Likewise.
48510         * math/w_sqrtl.c: Likewise.
48511         * math/w_tgamma.c: Likewise.
48512         * math/w_tgammaf.c: Likewise.
48513         * math/w_tgammal.c: Likewise.
48515         * po/ja.po: Update from translation team.
48517 2011-09-29  Andreas Jaeger  <aj@suse.de>
48519         [BZ #13179]
48520         * sunrpc/netname.c (netname2host): Fix logic.
48522         [BZ #6779]
48523         [BZ #6783]
48524         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48525         correctly.
48526         * math/w_remainder.c (__remainder): Likewise.
48527         * math/w_remainderf.c (__remainderf): Likewise.
48528         * math/libm-test.inc (remainder_test): Add test cases.
48530 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48532         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48533         sdiv_qrnnd.
48535 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48537         * string/test-memcmp.c: Avoid unncessary #defines.
48538         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48540 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48542         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48543         Use new sse2 version for core i3 - i7 as it's faster
48544         than sse42 version.
48545         (bit_Prefer_PMINUB_for_stringop): New.
48546         * sysdeps/x86_64/rawmemchr.S: Update.
48547         Replace with faster SSE2 version.
48548         * sysdeps/x86_64/memrchr.S: New file.
48549         * sysdeps/x86_64/memchr.S: Update.
48550         Replace with faster SSE2 version.
48552 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48554         * elf/dl-load.c (lose): Add cast to avoid warning.
48556 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48558         * po/ca.po: Update from translation team.
48560         * inet/getnetgrent_r.c: Hook up nscd.
48561         * nscd/Makefile (routines): Add nscd_netgroup.
48562         (nscd-modules): Add netgroupcache.
48563         (CFLAGS-netgroupcache.c): Define.
48564         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48565         (cache_search): Add const to second parameter.
48566         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48567         INNETGR.
48568         (dbs): Add netgrdb entry.
48569         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48570         (verify_persistent_db): Handle netgrdb.
48571         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48572         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48573         GETFDNETGR.
48574         (netgroup_response_header): Define.
48575         (innetgroup_response_header): Define.
48576         (datahead): Add netgroup_response_header and innetgroup_response_header
48577         elements.
48578         * nscd/nscd.conf: Add entries for netgroup cache.
48579         * nscd/nscd.h (dbtype): Add netgrdb.
48580         (_PATH_NSCD_NETGROUP_DB): Define.
48581         (netgroup_iov_disabled): Declare.
48582         (xmalloc, xcalloc, xrealloc): Move declarations here.
48583         (cache_search): Adjust prototype.
48584         Add netgroup-related prototypes.
48585         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48586         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48587         (__nscd_innetgr): Declare.
48588         * nscd/selinux.c (perms): Use access_vector_t as element type and
48589         add netgroup-related initializers.
48590         * nscd/netgroupcache.c: New file.
48591         * nscd/nscd_netgroup.c: New file.
48592         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48593         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48594         For four parameters use innetgr.
48595         * nss/nss_files/files-init.c: Add definition and callback for netgr.
48596         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48597         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48598         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48600         * nscd/connections.c (register_traced_file): Don't register file
48601         for disabled databases.
48603 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
48605         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48607         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48608         from tree and freeing node.
48610 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
48612         * nss/nsswitch.c (__nss_database_lookup): Handle
48613         nss_parse_service_list out of memory case.
48615 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
48617         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48618         out of memory case.
48620 2011-10-04  Andreas Schwab  <schwab@redhat.com>
48622         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48623         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48624         pass it down.
48625         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48626         elf_machine_rela, elf_machine_lazy_rel.
48627         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48628         (ELF_DYNAMIC_DO_REL): Likewise.
48629         (ELF_DYNAMIC_DO_RELA): Likewise.
48630         (ELF_DYNAMIC_RELOCATE): Likewise.
48631         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48632         to ELF_DYNAMIC_DO_REL.
48633         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48634         (dl_main): In trace mode always set __RTLD_NOIFUNC.
48635         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48636         elf_machine_rela.
48637         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48638         skip_ifunc, don't call ifunc function if non-zero.
48639         (elf_machine_rela): Likewise.
48640         (elf_machine_lazy_rel): Likewise.
48641         (elf_machine_lazy_rela): Likewise.
48642         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48643         (elf_machine_lazy_rel): Likewise.
48644         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48645         Likewise.
48646         (elf_machine_lazy_rel): Likewise.
48647         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48648         Likewise.
48649         (elf_machine_lazy_rel): Likewise.
48650         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48651         (elf_machine_lazy_rel): Likewise.
48652         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48653         (elf_machine_lazy_rel): Likewise.
48654         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48655         (elf_machine_lazy_rel): Likewise.
48656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48657         (elf_machine_lazy_rel): Likewise.
48658         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48659         (elf_machine_lazy_rel): Likewise.
48660         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48661         (elf_machine_lazy_rel): Likewise.
48663 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48665         * nss/nss_files/files-init.c (_nss_files_init): Use static
48666         initialization for all the *_traced_file variables.
48668 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48670         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48672 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48674         [BZ #13226]
48675         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48677 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48679         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48680         Reread the line before reparsing it.
48682 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48684         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48686 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48687             Maxim Kuvyrkov  <maxim@codesourcery.com>
48688             Joseph Myers  <joseph@codesourcery.com>
48690         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48691         if needed for __stack_chk_guard.
48693 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48695         * sysdeps/posix/spawni.c (script_execute): Always define it.
48696         It will be optimized away if unused.
48697         (maybe_script_execute): New function.
48698         (__spawni): Call it.
48700         * Makerules: Don't include tls.make.
48701         (config-tls): Always set to thread.
48702         * tls.make.c: File removed.
48704 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48706         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48707         * config.make.in (CPPFLAGS-config): New substituted variable.
48709 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48711         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48713         [BZ #13192]
48714         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48715         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48717 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48719         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48720         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48721         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48722         (CALL_FAIL): Likewise.
48723         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48724         (CALL_FAIL): Macro removed.
48725         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48727 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48729         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48730         for __FINITE_MATH_ONLY__ == 1.
48732 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48734         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48735         __ieee754_sqrt instead of sqrt.
48736         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48737         __ieee754_sqrtf instead of sqrtf.
48738         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48739         __floorf instead of floorf.
48740         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48741         __floorf, __truncf instead of floorf, truncf.
48743 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48745         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48747         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48748         __extern_always_inline.
48749         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48750         32-bit.
48752 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48754         * elf/rtld.c (dl_main): Also relocate in dependency order when
48755         doing symbol dependency testing.
48757 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48760         Always define `refsym'.
48762 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48764         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48765         (__FD_ELT): Renamed from __FDELT.
48766         * misc/bits/select2.h (__FD_ELT): Likewise.
48767         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48768         __FD_MASK instead of __FDELT, __FDMASK.
48769         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48770         Likewise.
48771         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48772         Likewise.
48774         * elf/Makefile (gen-ldd): Fix pattern.
48776         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48777         (init_tls): Likewise.
48779 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48781         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48783 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48785         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48786         `struct cmsghdr *' instead of `void *'.
48787         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48788         Likewise.
48790 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48792         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48793         if non-absolute.
48794         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48795         ldd_rewrite_script.
48797 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48799         * configure.in: Remove --with-tls option.
48800         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48801         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48802         out in case it is missing.
48803         * sysdeps/ia64/elf/configure.in: Likewise.
48804         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48805         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48806         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48807         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48808         * sysdeps/sh/elf/configure.in: Likewise.
48809         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48810         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48811         * sysdeps/x86_64/elf/configure.in: Likewise.
48812         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48813         * sysdeps/mach/hurd/tls.h: Likewise.
48815         [BZ #13067]
48816         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48818         [BZ #13090]
48819         * configure.in: Fix use of AC_INIT.
48821         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48823 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48825         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48826         __set_errno.
48827         * malloc/hooks.c: Likewise.
48829         [BZ #11929]
48830         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48831         variables statically.
48832         (narenas): Initialize.
48833         (list_lock): Initialize.
48834         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48835         initializtion of main_arena and list_lock.  Small cleanups.
48836         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48837         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48838         Add initializers to main_arena and mp_.
48839         (malloc_state): Remove pagesize member.  Change all users to use
48840         GLRO(dl_pagesize).
48842         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48843         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48844         is always initialized.
48846         * malloc/malloc.c: Removed unused configurations and dead code.
48847         * malloc/arena.c: Likewise.
48848         * malloc/hooks.c: Likewise.
48849         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48851         * include/tls.h: Removed.  USE___THREAD must always be defined.
48852         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48853         * elf/dl-libc.c: Likewise.
48854         * elf/dl-tsd.c: Likewise.
48855         * include/errno.h: Likewise.
48856         * include/netdb.h: Likewise.
48857         * include/resolv.h: Likewise.
48858         * inet/herrno-loc.c: Likewise.
48859         * inet/herrno.c: Likewise.
48860         * malloc/arena.c: Likewise.
48861         * malloc/hooks.c: Likewise.
48862         * malloc/malloc.c: Likewise.
48863         * resolv/res-state.c: Likewise.
48864         * resolv/res_libc.c: Likewise.
48865         * sysdeps/i386/dl-machine.h: Likewise.
48866         * sysdeps/ia64/dl-machine.h: Likewise.
48867         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48868         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48869         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48870         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48871         * sysdeps/sh/dl-machine.h: Likewise.
48872         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48873         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48874         * sysdeps/unix/i386/sysdep.S: Likewise.
48875         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48876         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48877         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48881         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48883         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48885         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48886         * sysdeps/x86_64/dl-machine.h: Likewise.
48887         * tls.make.c: Likewise.
48889         * configure.in: Remove --with-__thread option.  Make tests for
48890         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48891         tls_model attribute fail if no support is available.  Remove
48892         USE_IN_LIBIO.
48893         * Makeconfig: Adjust for dropped configure option.  All features are
48894         now mandatory.
48895         * Makerules: Likewise.
48896         * Versions.def: Likewise.
48897         * argp/argp-fmtstream.c: Likewise.
48898         * argp/argp-fmtstream.h: Likewise.
48899         * argp/argp-help.c: Likewise.
48900         * assert/assert.c: Likewise.
48901         * config.h.in: Likewise.
48902         * config.make.in: Likewise.
48903         * configure: Likewise.
48904         * configure.in: Likewise.
48905         * csu/Versions: Likewise.
48906         * csu/init.c: Likewise.
48907         * elf/tst-audit2.c: Likewise.
48908         * elf/tst-tls10.c: Likewise.
48909         * elf/tst-tls10.h: Likewise.
48910         * elf/tst-tls11.c: Likewise.
48911         * elf/tst-tls12.c: Likewise.
48912         * elf/tst-tls14.c: Likewise.
48913         * elf/tst-tlsmod11.c: Likewise.
48914         * elf/tst-tlsmod12.c: Likewise.
48915         * elf/tst-tlsmod13.c: Likewise.
48916         * elf/tst-tlsmod13a.c: Likewise.
48917         * elf/tst-tlsmod14a.c: Likewise.
48918         * elf/tst-tlsmod15b.c: Likewise.
48919         * elf/tst-tlsmod16a.c: Likewise.
48920         * elf/tst-tlsmod16b.c: Likewise.
48921         * elf/tst-tlsmod7.c: Likewise.
48922         * elf/tst-tlsmod8.c: Likewise.
48923         * elf/tst-tlsmod9.c: Likewise.
48924         * gmon/gmon.c: Likewise.
48925         * grp/fgetgrent_r.c: Likewise.
48926         * grp/putgrent.c: Likewise.
48927         * hurd/fopenport.c: Likewise.
48928         * include/libc-symbols.h: Likewise.
48929         * include/tls.h: Likewise.
48930         * intl/gettextP.h: Likewise.
48931         * intl/loadinfo.h: Likewise.
48932         * locale/global-locale.c: Likewise.
48933         * locale/localeinfo.h: Likewise.
48934         * mach/devstream.c: Likewise.
48935         * malloc/arena.c: Likewise.
48936         * malloc/set-freeres.c: Likewise.
48937         * misc/err.c: Likewise.
48938         * misc/getttyent.c: Likewise.
48939         * misc/mntent_r.c: Likewise.
48940         * posix/getopt.c: Likewise.
48941         * posix/wordexp.c: Likewise.
48942         * pwd/fgetpwent_r.c: Likewise.
48943         * resolv/Versions: Likewise.
48944         * resolv/res_hconf.c: Likewise.
48945         * shadow/fgetspent_r.c: Likewise.
48946         * shadow/putspent.c: Likewise.
48947         * stdio-common/printf_fphex.c: Likewise.
48948         * stdio-common/tmpfile.c: Likewise.
48949         * stdlib/abort.c: Likewise.
48950         * stdlib/fmtmsg.c: Likewise.
48951         * sunrpc/auth_unix.c: Likewise.
48952         * sunrpc/clnt_perr.c: Likewise.
48953         * sunrpc/clnt_tcp.c: Likewise.
48954         * sunrpc/clnt_udp.c: Likewise.
48955         * sunrpc/clnt_unix.c: Likewise.
48956         * sunrpc/openchild.c: Likewise.
48957         * sunrpc/svc_simple.c: Likewise.
48958         * sunrpc/svc_tcp.c: Likewise.
48959         * sunrpc/svc_udp.c: Likewise.
48960         * sunrpc/svc_unix.c: Likewise.
48961         * sunrpc/xdr.c: Likewise.
48962         * sunrpc/xdr_array.c: Likewise.
48963         * sunrpc/xdr_rec.c: Likewise.
48964         * sunrpc/xdr_ref.c: Likewise.
48965         * sunrpc/xdr_stdio.c: Likewise.
48967 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48969         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48971 2011-07-03  Andreas Jaeger  <aj@suse.de>
48973         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48974         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48975         regenerate with gen-libm-tests.pl.
48977 2010-05-12  Petr Baudis  <pasky@suse.cz>
48979         [BZ #11589]
48980         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48981         around j0() zero points by switching to j1().
48982         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48983         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48985         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48987 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48989         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48990         instead of 0.
48991         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48992         instead of 0.
48993         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48994         Patch in part by Pavel Roskin <proski@gnu.org>.
48996         [BZ #13138]
48997         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48998         realloc.
48999         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49000         Free memory block if necessary.
49002         [BZ #12847]
49003         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49004         be NULL.  Don't lock in this case.
49006 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49008         * elf/elf.h (ELFOSABI_GNU): New macro.
49009         (ELFOSABI_LINUX): Define to that.
49011 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49013         * string/strncat.c (strncat): Undef the symbol in case it has been
49014         defined in bits/string.h.
49016 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49018         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49020         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49021         link map.
49023 2011-08-17  Andreas Jaeger  <aj@suse.de>
49025         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49027 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49028             Ian Lance Taylor  <iant@google.com>
49030         * math/libm-test.inc (lround_test): New testcase.
49031         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49033 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49035         * Makefile: Remove support for automatic cvs check-ins.
49036         * Makerules: Likewise.
49037         * config.make.in: Likewise.
49038         * configure.in: Likewise.
49039         * intl/Makefile: Likewise.
49040         * locale/Makefile: Likewise.
49041         * po/Makefile: Likewise.
49042         * posix/Makefile: Likewise.
49043         * sysdeps/gnu/Makefile: Likewise.
49044         * sysdeps/mach/hurd/Makefile: Likewise.
49045         * sysdeps/sparc/sparc32/Makefile: Likewise.
49047         [BZ #13118]
49048         * posix/Makefile (bug-regex32-ENV): Define.
49049         Patch by John Stanley <jpsinthemix@verizon.net>.
49051         * misc/Makefile (headers): Add bits/select2.h.
49052         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49053         * misc/bits/select2.h: New file.
49054         * include/bits/select2.h: New file.
49055         * debug/Makefile (routines): Add fdelt_chk.
49056         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49057         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49058         FD_ISSET.
49059         * debug/fdelt_chk.c: New file.
49061         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49062         * wcsmbs/test-wmemcmp.c: Likewise.
49063         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49064         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49066 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49068         * string/Makefile (strop-tests): Add memcmp.
49069         * string/test-wmemcmp.c: New file.
49070         * string/test-memcmp.c: Add wmemcmp support.
49072 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49074         [BZ #13153]
49075         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49076         2011-07-19 change.
49078         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49079         garbage value in a __mach_port_mod_refs call in the cases of the
49080         task-self and thread-self ports.
49082 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49084         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49086 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49088         * elf/dl-load.c (lose): Check for non-null L.
49090 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49092         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49094         * elf/dl-libc.c (dlerror_run): Pass back error code from
49095         dl_catch_error.
49097         [BZ #13123]
49098         * elf/dl-load.c (lose): Free l_origin if it is valid.
49100         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49101         names.
49102         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49103         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49104         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49105         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49106         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49107         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49109 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49111         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49112         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49113         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49114         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49115         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49116         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49117         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49118         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49119         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49120         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49122 2011-08-15  Alan Modra  <amodra@gmail.com>
49124         [BZ #13092]
49125         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49126         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49127         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49128         ppc_mcount to static-only-routines.
49129         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49130         __mcount_internal.
49131         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49132         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49134 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49136         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49137         for finite and infinity parameters.
49139 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49141         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49142         and add nop instructions for throughput optimization.
49143         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49145 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49147         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49148         aligned copy for power7 with vector-scalar instructions.
49149         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49151 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49154         AVX check.
49156 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49158         [BZ #13144]
49159         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49160         last change.
49162 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49164         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49165         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49166         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49167         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49168         clock_gettime.
49170 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49172         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49173         Forgot to demangle the pointer.
49175         * sysdeps/i386/sysdep.h: Define atom_text_section.
49176         * sysdeps/x86_64/sysdep.h: Likewise.
49177         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49178         section with atom_text_section.
49179         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49180         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49181         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49182         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49183         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49185         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49186         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49187         already be defined.  Change to take two parameters and don't assign
49188         result to variable.  Adjust all users.
49189         Define INTERNAL_GETTIME if not already defined.
49190         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49191         call.
49192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49193         HAVE_CLOCK_GETTIME_VSYSCALL.
49194         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49197         gettimeofday vsyscall, just use time.
49199 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49201         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49202         <errno.h>.
49204 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49206         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49207         syscall on x86-64.
49208         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49209         syscall.
49210         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49211         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49212         syscall if possible.
49214 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49216         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49217         e_ident.  Don't pass to find_mapsXX.
49218         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49220 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49223         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49224         * sysdeps/x86_64/multiarch/strchr.S: Update.
49225         Check bit_slow_BSF bit.
49226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49227         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49228         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49230 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49232         [BZ #13134]
49233         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49234         before glibc 2.15.
49235         (tryshell): Define.
49236         (__spawni): Change last parameter to be flag.  Test
49237         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49238         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49239         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49240         * posix/spawni.c: Likewise.
49241         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49242         * posix/spawnp.c: Likewise.  Change normal version to use
49243         SPAWN_XFLAGS_USE_PATH.
49244         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49245         SPAWN_XFLAGS_TRY_SHELL.
49247         [BZ #13150]
49248         * posix/glob.h: Remove gcc 1.x support.
49250         [BZ #13068]
49251         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49253 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49256         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49257         strrchr-sse2-bsf
49258         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49259         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49260         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49261         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49262         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49263         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49265 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49267         * sysdeps/x86_64/wcscmp.S: New file.
49269         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49270         wcscmp-c wcscmp-sse2
49271         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49272         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49273         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49274         * wcsmbs/wcscmp.c: Allow renaming.
49276 2011-09-05  David S. Miller  <davem@davemloft.net>
49278         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49279         stack slot, rather than the struct return pointer slot.
49280         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49281         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49283         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49285 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49287         * po/ja.po: Update from translation team.
49289         [BZ #13144]
49290         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49291         kernel in 64-bit binaries.
49293 2011-09-01  David S. Miller  <davem@davemloft.net>
49295         * elf/elf.h (HWCAP_SPARC_*): Move to..
49296         * sysdeps/sparc/sysdep.h: this new file and add new values.
49297         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49298         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49299         _DL_HWCAP_COUNT to 24.
49300         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49301         entries.
49302         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49303         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49304         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49306         instead of magic constants.
49307         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49309 2011-08-31  David S. Miller  <davem@davemloft.net>
49311         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49313         Reimplement to do errno handling inline.
49314         (SYSCALL_ERROR_HANDLER): New macro.
49315         (__SYSCALL_STRING): Do not do errno handling in asm.
49316         (__CLONE_SYSCALL_STRING): Delete.
49317         (__INTERNAL_SYSCALL_STRING): Delete.
49318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49319         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49320         (PSEUDO): Reimplement to do errno handling inline.
49321         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49322         (SYSCALL_ERROR_HANDLER): New macro.
49323         (__SYSCALL_STRING): Do not do errno handling in asm.
49324         (__CLONE_SYSCALL_STRING): Delete.
49325         (__INTERNAL_SYSCALL_STRING): Delete.
49326         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49327         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49328         i386.
49329         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49330         (inline_syscall*): Add 'err' argument.
49331         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49332         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49333         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49334         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49336         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49337         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49339 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49341         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49343 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49345         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49346         directive.
49348 2011-08-24  David S. Miller  <davem@davemloft.net>
49350         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49352 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49354         * elf/Makefile: Add rules to build and run unload8 test.
49355         * elf/unload8.c: New file.
49356         * elf/unload8mod1.c: New file.
49357         * elf/unload8mod1x.c: New file.
49358         * elf/unload8mod2.c: New file.
49359         * elf/unload8mod3.c: New file.
49361         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49362         it wasn't used.
49364 2011-08-23  David S. Miller  <davem@davemloft.net>
49366         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49367         subtract stack bias.
49368         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49369         %sp not %fp in calculations.
49370         (_JMPBUF_UNWINDS_ADJ): Likewise.
49372         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49373         (aio_suspend): Call it to force an exception region around the
49374         AIO_MISC_WAIT() invocation.
49376 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49378         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49379         backslash.
49381 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49383         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49384         protection macro.
49385         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49386         and <dl-machine.h>.
49387         (Elf64_FuncDesc): Remove.
49389 2011-08-22  David S. Miller  <davem@davemloft.net>
49391         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49392         sigaltstack check, add missing cfi directives.
49393         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49394         missing cfi directives, and sigaltstack handling.
49396 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49398         [BZ #11724]
49399         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49400         object is seen twice.
49401         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49403         * elf/Makefile (distribute): Add tst-initorder2.c.
49404         (tests): Add tst-initorder2.
49405         (modules-names): Add tst-initorder2a tst-initorder2b
49406         tst-initorder2c tst-initorder2d.  Add rules to build them.
49407         ($(objpfx)tst-initorder2.out): New rule.
49408         * elf/tst-initorder2.c: New file.
49409         * elf/tst-initorder2.exp: New file.
49411 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49413         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49415         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49416         dependencies back to end of function.
49418         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49419         $(elfobjdir)/ld.so.
49421 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49424         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49425         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49426         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49427         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49428         of __vdso_gettimeofday.
49429         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49430         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49431         attribute_hidden.
49432         (_libc_vdso_platform_setup): Remove initialization of
49433         __vdso_gettimeofday and __vdso_time.
49435 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49437         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49438         and fgetc_unlocked.
49439         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49440         getc_unlocked.
49442         * elf/dl-open.c (add_to_global): Report additions to the global scope
49443         for LD_DEBUG=scopes.
49444         (dl_open_worker): Also print scope of newly loaded dependencies.
49445         (_dl_show_scope): Indicate if there is no scope.
49447         [BZ #13114]
49448         * stdio-common/Makefile (tests): Add bug24.
49449         * stdio-common/bug24.c: New file.
49451 2011-08-19  Andreas Jaeger  <aj@suse.de>
49453         [BZ #13114]
49454         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49455         non-existant file when using close-on-exec mode.
49457 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49460         the very first instruction.
49462         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49463         the CFI state in the end.
49464         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49465         inclusion of dl-trampoline.h.
49466         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49468 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49470         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49471         expectations for long double.
49473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49474         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49476 2011-08-14  David S. Miller  <davem@davemloft.net>
49478         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49479         artificual limit depends upon the system page size.
49481 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49483         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49484         * resolv/Makefile: Define CFLAGS-libresolv.
49486 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49488         * nss/makedb.c (compute_tables): Make variables used in nested
49489         function static.
49491 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49493         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49494         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49495         if buffer was too small.
49497         * elf/pldd.c (main): Attach to all threads in the process.
49498         Rewrite /proc handling to use *at functions.
49500 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49502         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49503         specifies first scope to show.
49504         (dl_open_worker): Update callers.  Move printing scope of new
49505         object to before the relocation.
49506         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49507         * sysdeps/generic/ldsodefs.h: Update declaration.
49509         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49510         string for the scope number.
49512 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49514         * nscd/servicescache.c (cache_addserv): Make sure written is always
49515         initialized.
49517 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49519         * sysdeps/i386/i486/bits/atomic.h
49520         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49521         statement expression, so as to suppress "set but not used" warning.
49522         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49524         * string/strncat.c (STRNCAT): Use prototype definition.
49526         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49527         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49528         -Iprograms here.
49529         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49530         (localedef-modules): Add localedef.
49531         (locale-modules): Add locale.
49533         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49534         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49535         to avoid a warning.
49537 2011-08-14  David S. Miller  <davem@davemloft.net>
49539         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49540         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49542 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49544         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49545         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49546         * elf/rtld.c (dl_main): Set l_name of vDSO.
49547         Call _dl_show_scope when DL_DEBUG_SCOPES.
49548         (process_dl_debug): Recognize scopes flag and also set it for all.
49549         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49550         Declare _dl_show_scope.
49552         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49553         (do_dlopen): Pass caller_dlopen to dl_open.
49554         (__libc_dlopen_mode): Initialize caller_dlopen.
49556         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49557         of libc.  Make tolower call locale-independent.  Optimize a bit by
49558         using isdigit instead of isalnum.
49559         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49561 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49563         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49564         was a dependency or dynamically loaded.
49566 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
49568         * intl/l10nflist.c: Allow architecture-specific pop function.
49569         * sysdeps/x86_64/l10nflist.c: New file.
49571         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49572         classification.
49574 2011-08-10  Andreas Schwab  <schwab@redhat.com>
49576         * include/dirent.h: Add libc_hidden_proto for scandirat and
49577         scandirat64.  Don't declare __scandirat64.
49578         * dirent/scandirat.c: Add libc_hidden_def.
49579         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49580         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49582 2011-08-10  David S. Miller  <davem@davemloft.net>
49584         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49585         enum.
49586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49587         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49588         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49590 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
49592         * Versions.def [libc]: Add GLIBC_2.15.
49593         * dirent/Makefile (routines): Add scandirat and scandirat64.
49594         * dirent/Versions [libc]: Export scandirat and scandirat64 for
49595         GLIBC_2.15.
49596         * dirent/dirent.h: Declare scandirat and scandirat64.
49597         * dirent/scandirat.c: New file.
49598         * dirent/scandirat64.c: New file.
49599         * sysdeps/wordsize-64/scandirat.c: New file.
49600         * sysdeps/wordsize-64/scandirat64.c: New file.
49601         * dirent/opendir.c: Define opendirat.
49602         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
49603         using scandirat.
49604         * dirent/scandir64.c: Adjust for scandir.c change.
49605         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
49606         __scandirat64, and __scandir_cancel_handler.
49607         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
49608         additional parameter and use openat instead of open (outside of ld.so).
49609         Add new __opendir as wrapper around __opendirat.
49610         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49611         here without requiring old scandirat implementation.
49613 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
49615         * dirent/scandir.c (cancel_handler): Renamed to
49616         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
49617         defined.  Adjust users.
49618         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49619         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49621 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
49623         * string/test-string.h (IMPL): Use __STRING to expand name and then
49624         stringify it.
49626         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
49627         of cleanups.
49629 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49631         * string/Makefile: Update.
49632         (strop-tests): Append strncat.
49633         * string/test-wcscmp.c: New file.
49634         New comprehensive test for wcscmp.
49635         * string/test-strcmp.c: Update.
49636         (WIDE): New define.
49638 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49640         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49641         line.
49643 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49646         encoding to ACE if AI_IDN.
49648 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49650         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49651         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49653 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49655         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49656         Fix overflow bug in strncat.
49657         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49659         * string/test-strncat.c: Update.
49660         Add new tests for checking overflow bugs.
49662 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49664         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49665         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49666         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49667         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49668         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49669         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49670         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49671         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49672         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49675         (USE_AS_STRCAT): Define.
49676         Add strcat and strncat support.
49677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49679 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49681         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49682         __n bigger than INT_MAX+1.
49683         (__strncmp_g): Likewise.
49685 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49687         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49688         * libio/stido.h: Likewise.
49690         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49691         (AF_NFC): Define.
49692         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49693         (AF_NFC): Define.
49695         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49697         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49698         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49699         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49701         [BZ #13021]
49702         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49703         installed.
49705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49706         typo.
49707         (_dl_x86_64_save_sse): Likewise.
49709 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49711         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49712         OSXSAVE.
49713         (_dl_x86_64_save_sse): Likewise.
49715         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49717         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49719 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49722         change.
49723         (_dl_x86_64_save_sse): Use correct AVX check.
49725 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49727         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49728         bug in strncpy/strncat.
49729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49731 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49733         * string/tester.c (test_strcat): Add tests for different alignments
49734         of source and destination.
49735         (test_strncat): Likewise.
49737 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49739         [BZ #12852]
49740         * posix/glob.c (glob): Check passed in values before using them in
49741         expressions to avoid some overflows.
49742         (glob_in_dir): Likewise.
49744         [BZ #13007]
49745         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49746         check for AVX enablement so that we don't crash with old kernels and
49747         new hardware.
49748         * elf/tst-audit4.c: Add same checks here.
49749         * elf/tst-audit6.c: Likewise.
49751         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49753 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49755         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49757 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49759         * po/cs.po: Update from translation team.
49760         * po/bg.po: Likewise.
49762 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49764         * misc/sys/cdefs.h: Add support for const attribute.
49765         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49766         to gnu_dev_{major,minor,makedev} functions.
49768 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49770         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49772 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49774         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49775         strlen results.
49777 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49779         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49780         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49781         register in order to avoid conflicts with the soft frame pointer
49782         being held in r11 when necessary.
49783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49784         (INTERNAL_VSYSCALL_NCS): Likewise.
49786 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49788         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49789         * elf/dl-fini.c (_dl_fini): Adjust caller.
49790         * elf/dl-close.c (_dl_close_worker): Likewise.
49791         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49793 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49795         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49796         "aux_cache->nlibs < 0".
49798         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49799         in the reload-count case.
49801 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49804         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49805         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49806         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49807         * sysdeps/x86_64/multiarch/strcat.S: New file.
49808         * sysdeps/x86_64/multiarch/strncat.S: New file.
49809         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49810         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49811         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49812         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49813         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49814         (USE_AS_STRCAT): Define.
49815         Add strcat and strncat support.
49816         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49817         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49818         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49819         * string/strncat.c: Update.
49820         (USE_AS_STRNCAT): Define.
49821         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49822         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49823         and i7.
49824         * sysdeps/x86_64/multiarch/init-arch.h
49825         (bit_Prefer_PMINUB_for_stringop): New.
49826         (index_Prefer_PMINUB_for_stringop): Likewise.
49827         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49828         bit_Prefer_PMINUB_for_stringop.
49830 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49832         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49833         buffer64.
49834         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49835         of casting of buffer.
49836         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49837         buffer32 and buffer64.
49838         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49839         writes instead of casting of buffer.
49840         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49841         buffer32.
49842         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49843         casting of buffer.
49845 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49847         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49849 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49851         * nscd/nscd.c (termination_handler): Don't do anything for a database
49852         if it has not yet been initialized.
49854 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49856         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49858 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49860         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49862 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49864         * po/nl.po: Update from translation team.
49865         * po/sv.po: Likewise.
49867 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49869         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49870         now disallowed by GCC.
49872         * configure.in (use-default-link): Default to yes if a test -shared
49873         link meets our qualifications.
49874         * configure: Regenerated.
49876         * config.make.in (output-format): New variable.
49877         * configure.in: Check for ld --print-output-format support.
49878         * configure: Regenerated.
49879         * Makerules ($(common-objpfx)format.lds)
49880         [$(output-format) != unknown]: Just use $(output-format),
49881         instead of the linker-script munging.
49883 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49885         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49886         of $(common-objpfx)shlib.lds.
49887         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49889         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49890         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49892         * configure.in (-z relro check): Adjust test code to add a large
49893         writable data section after it.
49894         * configure: Regenerated.
49896 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49898         * configure.in (-z relro check): Fix test code to make the variable
49899         truly const.
49900         * configure: Regenerated.
49902 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49904         * nscd/nscd.h (struct traced_file): Define.
49905         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49906         elements.  Add traced_files.
49907         (inotify_fd): Declare.
49908         (register_traced_file): Declare.
49909         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49910         (inotify_fd): Export.
49911         (resolv_conf_descr): Remove.
49912         (nscd_init): Move inotify descriptor creation to main.
49913         Don't register files for notification here.
49914         (register_traced_file): New function.
49915         (invalidate_cache): Don't use reset_res to determine whether to call
49916         res_init, go through the list of registered files.
49917         (main_loop_poll): The inotify descriptors are now stored in the
49918         structures for the traced files.
49919         (main_loop_epoll): Likewise
49920         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49921         to __nss_disable_nscd.
49922         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49923         for a database anymore.  Check the records for all the registered
49924         files instead.
49925         * nss/Makefile (libnss_files-routines): Add files-init.
49926         (libnss_db-routines): Add db-init.
49927         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49928         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49929         * nss/nss_db/db-init.c: New file.
49930         * nss/nss_files/files-init.c: New file.
49931         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49932         __nss_lookup_function.
49933         (__nss_lookup_function): Call nss_load_library.
49934         (nss_load_all_libraries): New function.
49935         (__nss_disable_nscd): Take parameter with callback function for files
49936         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49937         used for the cached services.
49938         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49939         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49940         options for features to all the files in nscd.
49942         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49944 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49946         * csu/elf-init.c (__libc_csu_init): Comment typo.
49948 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49950         * po/pl.po: Update from translation team.
49951         * po/ja.po: Likewise.
49952         * po/ru.po: Likewise.
49953         * po/ko.po: Likewise.
49954         * po/fr.po: Likewise.
49956 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49958         * configure.in (.ctors/.dtors header and trailer check):
49959         Use an empirical test on a built program.
49960         * configure: Regenerated.
49962         * configure.in (-z relro check): Use an empirical test on a built DSO.
49963         Detect, but do not require, on ia64.
49964         * configure: Regenerated.
49966         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49967         Update tests that use readelf to use $READELF instead.
49968         * configure: Regenerated.
49970 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49972         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49973         if the result is not used.
49975 2011-07-05  Andreas Jaeger  <aj@suse.de>
49977         [BZ#9696]
49978         * stdlib/tst-strtod.c: Add testcase.
49980 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
49982         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49983         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49984         The latter has a higher limit.  Take additional parameter to pass to
49985         the new function.
49986         (__pathconf): Pass file to __statfs_link_max.
49987         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49988         __statfs_link_max.
49989         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49990         __statfs_link_max.
49992         [BZ #12868]
49993         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49994         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49995         Handle Lustre.
49996         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49997         (__statfs_filesize_max): Likewise.
49998         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50000 2011-07-05  Andreas Jaeger  <aj@suse.de>
50002         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50004 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50006         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50007         `status' variable.
50008         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50009         Likewise.
50011 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50013         * Makefile (strop-tests): Add strncat.
50014         * string/test-strncat.c: New file.
50016 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50018         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50020 2011-06-21  Andreas Jaeger  <aj@suse.de>
50022         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50023         Copy rule from iconvdata/Makefile.
50025 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50027         [BZ #12922]
50028         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50029         but no long options are defined, just return 'W'.
50031 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50033         [BZ #9696]
50034         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50036 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50038         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50039         netgroups to read.
50040         (innetgr): Likewise.
50042 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50044         * config.make.in (install_root): Default to $(DESTDIR).
50046 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50048         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50050 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50052         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50054         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50055         containing directory rather than embedding absolute directory names.
50057         * scripts/check-local-headers.sh: Rewritten using awk.
50058         Match by word, not by line.  Print error messages for matches.
50059         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50061         * Makerules [shlib-lds-flags empty]:
50062         ($(common-objpfx)libc_pic.opts): New target.
50063         ($(common-objpfx)libc_pic.os.clean): New target.
50064         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50066         * config.make.in (OBJCOPY): New variable.
50067         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50068         * configure: Regenerated.
50070         * config.make.in (use-default-link): New variable.
50071         * configure.in (use_default_link): Grok --with-default-link to set it.
50072         * configure: Regenerated.
50073         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50074         (shlib-lds, shlib-lds-flags): Define to empty.
50076         * Makerules (shlib-lds): New variable.
50077         (shlib-lds-flags): New variable.
50078         (build-shlib, build-moduile, build-module-asneeded): Use it.
50079         ($(common-objpfx)libc.so): Use $(shlib-lds).
50080         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50081         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50083         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50084         DT_FLAGS/DT_FLAGS_1 with zero flags.
50086         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50087         linker script munging.
50089 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50091         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50092         as 128-bit value.
50093         * crypt/sha512.c (sha512_process_block): Perform total addition using
50094         128-bit if possible.
50095         (__sha512_finish_ctx): Likewise.
50096         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50097         as 64-bit value.
50098         * crypt/sha256.c (SWAP64): Define.
50099         (sha256_process_block): Perform total addition using 64-bit if
50100         possible.
50101         (__sha256_finish_ctx): Likewise.
50103 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50105         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50107         * nscd/hstcache.c (cache_addhst): Likewise.
50108         * nscd/grpcache.c (cache_addgr): Likewise.
50109         * nscd/aicache.c (addhstaiX): Likewise
50110         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50112 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50114         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50115         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50116         * nscd/hstcache.c (cache_addhst): Likewise.
50117         * nscd/grpcache.c (cache_addgr): Likewise.
50118         * nscd/aicache.c (addhstaiX): Likewise
50120 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50122         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50123         domain only when needed.
50125 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50128         is always restored.
50130 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50132         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50133         are re-adding the entry.
50134         * nscd/servicescache.c (cache_addserv): Likewise.
50136 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50138         * sysdeps/generic/dl-irel.h: fix protection against multiple
50139         inclusions.
50140         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50142 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50144         [BZ #12935]
50145         * malloc/memusage.sh: Fix quoting in message.
50146         * debug/xtrace.sh: Likewise.
50148         * configure.in: Remove support for --experimental-malloc option, make
50149         it the default.
50150         * config.make.in: Likewise.
50151         * malloc/Makefile: Likewise.
50153 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50155         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50156         two-byte characters.
50158 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50160         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50161         AC_CACHE_CHECK invocation.
50162         * configure: Regenerated.
50164         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50166 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50168         [BZ #12350]
50169         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50170         bit from old_res_options.
50172         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50174         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50175         value type for setfct.
50177 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50180         __gettimeofday instead of gettimeofday.
50182 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50184         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50186 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50188         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50190         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50191         info.
50193 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50196         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50197         strcpy-sse2-unaligned strncpy-sse2-unaligned
50198         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50199         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50200         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50201         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50202         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50203         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50204         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50205         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50206         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50207         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50208         (STRCPY): Support SSE2 and SSSE3 versions.
50210 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50212         [BZ #12874]
50213         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50214         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50215         kernels which artificially limit size of requests.
50217 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50219         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50220         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50221         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50222         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50223         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50224         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50225         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50226         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50227         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50228         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50229         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50230         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50231         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50232         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50233         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50235         Enable unaligned load optimization for Intel Core i3, i5 and i7
50236         processors.
50237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50238         Define.
50239         (index_Fast_Unaligned_Load): Define.
50240         (HAS_FAST_UNALIGNED_LOAD): Define.
50242 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50244         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50246 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50248         [BZ #12907]
50249         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50250         until it is clear that the information is realy needed.
50251         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50253 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50257 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50259         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50260         /sys/devices/system/cpu/online if it is usable.
50262         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50263         reading the information from the /proc filesystem to once a second.
50265 2011-06-21  Andreas Jaeger  <aj@suse.de>
50267         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50268         NULL after inclusion of kernel headers.
50270 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50272         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50273         calls to internal_setent.
50275         [BZ #12885]
50276         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50277         addresses using gethostbyname4_r ignore IPv4 addresses.
50279         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50280         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50282         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50284 2011-06-20  David S. Miller  <davem@davemloft.net>
50286         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50287         inclusions.
50288         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50290         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50291         (elf_irel): Use it.
50292         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50293         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50294         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50295         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50296         * sysdeps/x86_64/dl-irel.h: Likewise.
50298         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50299         * elf/dl-sym.c: Likewise.
50301 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50303         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50304         need to dereference resplen2.
50306 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50308         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50310 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50312         * Makeconfig: Define vardbdir and inst_vardbdir.
50313         * nss/Makefile: Add rules to install db-Makefile.
50315         * nss/nss_db/db-XXX.c: Cleanup.
50317         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50318         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50319         GLIBC_PRIVATE.
50320         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50321         * nss/makedb.c: Implement -g option to specify that value strings
50322         are generated and should not be added to table iterated over for
50323         get*ent calls.
50324         * nss/nss_db/db-initgroups.c: New file.
50326         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50327         interface.
50329         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50330         (internal_getgrouplist): Adjust to name change.
50331         Update use_initgroups_entry if this is not the first call.
50332         * nss/databases.def: Add initgroups entry.
50334         * nss/makedb.c (compute_tables): Check result of multiple hash table
50335         sizes to minimize maximum chain length.
50337 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50339         * Versions.def: Add entry for libnss_db.
50340         * shlib-versions: Likewise.
50341         * nss/Makefile: Add rules to build libnss_db.
50342         * nss/Versions: Add libnss_db information.  Organize libnss_files
50343         entries better.
50344         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50345         makedb progra.  Some minor improvements to generate smaller files.
50346         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50347         here from...
50348         * nss/makedb.c: ...here.
50349         Improve database format to be smaller and require less memory at
50350         runtime.
50351         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50352         db anymore.
50353         * nss/nss_db/db-netgrp.c: Likewise.
50354         * nss/nss_db/db-open.c: Likewise.
50355         * nss/nss_files/flies-XXX.x: Adjust comments.
50356         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50357         * nss/nss_files/files-grp.c: Likewise.
50358         * nss/nss_files/files-hosts.c: Likewise.
50359         * nss/nss_files/files-network.c: Likewise.
50360         * nss/nss_files/files-proto.c: Likewise.
50361         * nss/nss_files/files-pwd.c: Likewise.
50362         * nss/nss_files/files-rpc.c: Likewise.
50363         * nss/nss_files/files-service.c: Likewise.
50364         * nss/nss_files/files-sgrp.c: Likewise.
50365         * nss/nss_files/files-spwd.c: Likewise.
50366         * nss/nss_db/db-alias.c: Removed.
50367         * nss/nss_db/dummy-db.h: Removed.
50369 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50371         * nss/makedb.c: Rewritten to not use database library.
50372         * nss/Makefile: Update to build new makedb program.
50374 2011-06-14  Andreas Jaeger  <aj@suse.de>
50376         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50377         memset declaration.
50379 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50382         tmpbuf.
50384 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50386         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50387         * elf/Makefile ($(objpfx)ld.so): Likewise.
50389         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50390         Don't list ld.so twice in dependencies.
50392         * posix/bug-regex31.c: Include <stdlib.h>.
50394         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50396         * nis/nss_compat/compat-spwd.c
50397         (getspent_next_nss_netgr): Remove unused variable.
50398         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50400         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50401         nonmembers" output to use the right array.
50403         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50405         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50407         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50408         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50409         * catgets/gencat.c (read_input_file): Likewise.
50410         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50412         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50413         variable definition inside #if's controlling its use.
50415         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50417         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50419         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50421         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50422         unreachable code.
50424         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50426         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50427         * configure: Regenerated.
50429         * Makerules: Revert last change.
50430         * elf/Makefile: Likewise.
50432 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50434         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50435         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50436         (reloc-link): Likewise.
50438 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50440         * elf/Makefile: Add rules to build pldd.
50441         * elf/pldd.c: New file.
50442         * elf/pldd-xx.c: New file.
50444 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50446         * version.h: Update for 2.15 development version.
50448 2011-06-07  David S. Miller  <davem@davemloft.net>
50450         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50451         ifuncs.
50452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50453         elf_machine_lazy_rel): Likewise.
50454         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50455         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50456         elf_machine_lazy_rel): Likewise.
50457         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50458         dl_hwcap via passed in argument.
50459         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50460         Likewise.
50462 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50464         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50466 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50468         [BZ #12849]
50469         * manual/fdl-1.1.texi: New file, verbatim from:
50470         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50471         * manual/lgpl-2.1.texi: New file, verbatim from:
50472         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50473         * manual/Makefile (licenses): New variable, list those new file names.
50474         (texis): Use it.
50475         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50477         * manual/fdl.texi: File removed.
50478         * manual/lesser.texi: File removed.
50479         * manual/libc.texinfo (Copying, Documentation License):
50480         Use new @include file names, put @appendix directive before @include.
50482 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50484         [BZ #12841]
50485         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50486         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50487         (mq_open): Add __NTH.
50489 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50492         Assume Intel Core i3/i5/i7 processor if AVX is available.
50494 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50497         typo.
50499 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50501         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50502         memory.  Use alloca_account.  Fix memory leak when retrying.
50504 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50506         * version.h (RELEASE): Bump for 2.14 release.
50507         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50509         * config.make.in (RANLIB): Remove entry.
50511 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50513         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50514         (libc.pot): Work around missing support for .ksh extension in xgettext.
50516         [BZ #12684]
50517         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50518         if both request failed.
50519         (send_dg): In case of server errors clear resplen or *resplen2.
50521         [BZ #12454]
50522         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50523         when there are multiple maps.
50524         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50525         (_dl_fini): Remove test here.
50527         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50529 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50531         [BZ #12350]
50532         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50533         bit from old_res_options.
50534         (gaih_inet): Likewise.
50536         [BZ #11099]
50537         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50538         as signed.
50540         * resolv/res_init.c (res_setoptions): Make the code more compact.
50542         [BZ #11558]
50543         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50544         set RES_USEVC.
50546         [BZ #11634]
50547         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50549         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50551         [BZ #11781]
50552         * malloc/malloc.h: Declare malloc hook variables as volatile.
50554         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50555         in last patch.
50557         [BZ #11799]
50558         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50559         raise in the comment.
50560         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50561         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50562         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50564 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50566         [BZ #12811]
50567         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50568         grow the buffers more if it already has to be sufficient.
50569         (build_wcs_upper_buffer): Likewise.
50570         * posix/regexec.c (check_matching): Likewise.
50571         (clean_state_log_if_needed): Likewise.
50572         (extend_buffers): Don't enlarge buffers beyond size of the input
50573         buffer.
50574         Patches mostly by Emil Wojak <emil@wojak.eu>.
50575         * posix/bug-regex32.c: New file.
50576         * posix/Makefile (tests): Add bug-regex32.
50578         * locale/findlocale.c (_nl_find_locale): Return right away if
50579         _nl_explode_name failed.
50580         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50582         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50584         * debug/xtrace.sh: Unify messages.
50585         * malloc/memusage.sh: Likewise.
50587         [BZ #12813]
50588         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50589         time symbol from vDSO.  Substitute with vsyscall if not available.
50590         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50591         __vdso_time.
50593         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50594         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50595         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50596         Add sendmmsg and internal_sendmmsg.
50597         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50598         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50599         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50601         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50602         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50603         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50605 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
50607         [BZ #12813]
50608         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50609         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
50610         available.
50611         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50612         __vdso_getcpu.
50614         [BZ #12814]
50615         * iconvdata/Makefile (tests): Add bug-iconv9.
50616         * iconvdata/bug-iconv9.c: New file.
50618 2011-05-27  Andreas Schwab  <schwab@redhat.com>
50620         [BZ #12814]
50621         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50623 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
50625         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50626         (struct user_regs_struct): Change intcs field back to cs.
50628 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
50630         * po/ja.po: Update from translation team.
50632 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
50634         [BZ #12795]
50635         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50636         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50638 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50640         * stdlib/longlong.h: Update from GCC.
50642 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50644         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50645         parameter name.
50646         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50647         Add parameter name.
50648         (__sysconf): Pass it down.
50650 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50652         [BZ #12671]
50653         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50654         some situations.
50655         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50656         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50657         add in in __libc_use_alloca calls.  Adjust callers.
50658         (glob): Use malloc in some situations.
50660         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50661         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50662         pltexit.
50664 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50666         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50667         and CLOCK_BOOTTIME_ALARM.
50669         [BZ #12782]
50670         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50671         is returned.
50673         * string/_strerror.c (__strerror_r): Print negative errors as signed
50674         numbers.
50676         [BZ #12777]
50677         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50678         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50679         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50681         * configure.in: Fix typo in redirection and correct removal of test
50682         files in two cases.
50684         [BZ #12788]
50685         * locale/setlocale.c (new_composite_name): Fix test to check for
50686         identical name of all categories.
50688         [BZ #12792]
50689         * libio/filedoalloc.c (local_isatty): New function.
50690         (_IO_file_doallocate): Use local_isatty.
50691         * stdio-common/perror.c (perror): In case a new stream is used
50692         forward the stream error.
50693         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50694         error flag.
50696 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50698         [BZ #11869]
50699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50700         alloca.
50701         * include/alloca.h (extend_alloca_account): Define.
50703         [BZ #11857]
50704         * posix/regex.h: Fix comments with documentation of user-accessible
50705         fields after compilation and describe correct free'ing of pattern
50706         after re_compile_pattern.
50707         Patch by Reuben Thomas <rrt@sc3d.org>.
50709 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50711         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50712         and -mno-altivec to prevent the compiler from using Altivec and/or
50713         VSX instructions when the corresponding registers are not available.
50715 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50717         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50719 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50721         * libio/freopen.c (freopen): Use __dup2, not dup2.
50722         * libio/freopen64.c (freopen64): Likewise.
50724 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50726         [BZ #12775]
50727         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50728         * math/Makefile (tests): Add test-powl.
50729         (CFLAGS-test-powl.c): Define.
50730         * math/test-powl.c: New file.
50732 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50734         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50736 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50738         [BZ #11837]
50739         * iconvdata/gb18030.c: Update to GB18020-2005.
50741 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50743         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50744         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50745         Patch by Aharon Robbins <arnold@skeeve.com>.
50747         [BZ #11892]
50748         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50749         on the stack.
50751         [BZ #11895]
50752         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50753         through underflows.
50755         [BZ #12766]
50756         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50757         point to strings before performing equality test for error_one_per_line
50758         mode.
50760         [BZ #11697]
50761         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50763         [BZ #11820]
50764         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50765         (struct user_fpregs_struct): Avoid __uint*_t types.
50767         [BZ #6420]
50768         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50769         symbol info.  Use it instead of calling _dl_addr locally.
50770         (lock_and_info): New function.
50771         (tr_freehook): Call lock_and_info and pass symbol info as additional
50772         parameter to tr_where.
50773         (tr_mallochook): Likewise.
50774         (tr_reallochook): Likewise.
50775         (tr_memalignhook): Likewise.
50777         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50778         used and couldn't be at all thread-safe.
50780 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50782         * libio/freopen.c (freopen): Don't close old file descriptor
50783         before the new one is opened.  Instead dup the new file descriptor
50784         to the old one after the new stream is created.
50785         * libio/freopen64.c (freopen64): Likewise.
50786         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50787         * libio/fileops.c (_IO_new_file_close_it): Handle new
50788         _IO_FLAGS2_NOCLOSE flag.
50789         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50790         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50791         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50792         _IO_FLAGS2_NOCLOSE flag.
50793         * include/unistd.h: Add hidden_proto for dup3.
50794         Define __have_dup3.
50795         * io/dup3.c: Define hidden symbol.
50796         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50798         [BZ #7101]
50799         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50800         when an incomplete long option is used.
50801         * posix/tst-getopt_long1.c: New file.
50802         * posix/Makefile (tests): Add tst-getopt_long1.
50804         [BZ #10138]
50805         * scripts/config.guess: Update from autoconf-2.68.
50806         * scripts/config.sub: Likewise.
50808         [BZ #10157]
50809         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50810         tests into ...
50811         (has_cpuclock): ...this.  New function.
50812         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50813         macro here based on has_cpuclock code.
50815         [BZ #10149]
50816         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50817         First byte (not low byte) is now always NUL.
50818         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50821         Use non-cancelable interfaces.
50823         [BZ #9809]
50824         * locale/iso-639.def: Add entry for Sorani.
50826         [BZ #11901]
50827         * include/stdlib.h: Move include protection to the right place.
50828         Define abort_msg_s.  Declare __abort_msg with it.
50829         * stdlib/abort.c (__abort_msg): Adjust type.
50830         * assert/assert.c (__assert_fail_base): New function.  Majority
50831         of code from __assert_fail.  Allocate memory for __abort_msg with
50832         mmap.
50833         (__assert_fail): Now call __assert_fail_base.
50834         * assert/assert-perr.c: Remove bulk of implementation.  Use
50835         __assert_fail_base.
50836         * include/assert.hL Declare __assert_fail_base.
50837         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50838         mmap.
50839         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50841 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50843         [BZ #11952]
50844         [BZ #12453]
50845         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50846         until all modules are registered in the DTV.
50847         * elf/Makefile: Add rules to build and run tst-tls19.
50848         * elf/tst-tls19.c: New file.
50849         * elf/tst-tls19mod1.c: New file.
50850         * elf/tst-tls19mod2.c: New file.
50851         * elf/tst-tls19mod3.c: New file.
50852         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50854         [BZ #12083]
50855         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50856         correctly.
50858         [BZ #12601]
50859         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50860         two-byte sequence errors.
50861         * iconvdata/Makefile (tests): Add bug-iconv8.
50862         * iconvdata/bug-iconv8.c: New file.
50864         [BZ #12626]
50865         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50866         buf2 definition.
50868         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50870         [BZ #12432]
50871         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50872         (dummy_getcfa): New function.
50873         (init): Get _Unwind_GetCFA address, use dummy if not found.
50874         (backtrace_helper): In recursion check, also check whether CFA changes.
50875         (__backtrace): Completely initialize arg.
50877         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50878         storing incomplete byte sequence in state object.  Avoid testing for
50879         guaranteed too small input if we know there is enough data available.
50881 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50883         * Makeconfig (+link-pie): Indent.
50884         * Rules (binaries-pie): Define if $(have-fpie) and
50885         $(build-shared).
50886         (binaries-shared): Also filter out $(binaries-pie).
50887         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50888         * nscd/Makefile (others-pie): Add nscd.
50889         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50890         ($(objpfx)nscd): Remove command override.
50891         * login/Makefile (others-pie): Add pt_chown.
50892         ($(objpfx)pt_chown): Remove command override.
50893         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50894         remove command overrides.
50896 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50898         * libio/tst_putwc.c: Fix error messages.
50900         [BZ #12724]
50901         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50902         currently writing and seek to current position when not.
50903         * libio/Makefile (tests): Add bug-fclose1.
50904         * libio/bug-fclose1.c: New file.
50906 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50908         [BZ #12511]
50909         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50910         don't set DF_1_NODELETE here.
50911         (do_lookup_x): When entering new entry test for copy relocation
50912         and if necessary set DF_1_NODELETE flag.
50913         * elf/tst-unique4.cc: New file.
50914         * elf/tst-unique4.h: New file.
50915         * elf/tst-unique4lib.cc: New file.
50916         * elf/Makefile: Add rules to build and run tst-unique4.
50917         Patch by Piotr Bury <pbury@goahead.com>.
50919 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50921         [BZ #12052]
50922         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50924         [BZ #12625]
50925         * misc/mntent_r.c (addmntent): Flush the stream after the output
50927         [BZ #12393]
50928         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50929         (is_trusted_path_normalize): Skip initial colon.  Append slash
50930         to empty buffer.  Duplicate is_trusted_path code but allow
50931         constructed patch to be prefix.
50932         (is_dst): Allow $ORIGIN followed by /.
50933         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50934         Correct testing of result of is_trusted_path_normalize
50935         (decompose_rpath): Fix warning.
50937 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50939         [BZ #11257]
50940         * grp/initgroups.c (internal_getgrouplist): When we found the service
50941         list through the initgroups entry in nsswitch.conf do not always
50942         continue on a successful lookup.  Don't always use the
50943         __nss_group_database value if it is set.
50944         * nss/nsswitch.conf (initgroups): Change action for successful db
50945         lookup to continue for compatibility.
50947 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50949         [BZ #11532]
50950         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50951         and CP774 modules.
50952         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50953         and CP774 modules.
50954         * iconvdata/tst-tables.sh: Likewise.
50955         * iconvdata/cp770.c: New file.
50956         * iconvdata/cp771.c: New file.
50957         * iconvdata/cp772.c: New file.
50958         * iconvdata/cp773.c: New file.
50959         * iconvdata/cp774.c: New file.
50960         * iconvdata/testdata/CP770: New file.
50961         * iconvdata/testdata/CP770..UTF8: New file.
50962         * iconvdata/testdata/CP771: New file.
50963         * iconvdata/testdata/CP771..UTF8: New file.
50964         * iconvdata/testdata/CP772: New file.
50965         * iconvdata/testdata/CP772..UTF8: New file.
50966         * iconvdata/testdata/CP773: New file.
50967         * iconvdata/testdata/CP773..UTF8: New file.
50968         * iconvdata/testdata/CP774: New file.
50969         * iconvdata/testdata/CP774..UTF8: New file.
50971         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50972         END CHARMAP line.
50973         * iconvdata/gen-8bit-gap.sh: Likewise.
50974         * iconvdata/gen-8bit.sh: Likewise.
50976         * locale/iso-639.def: Add ary entry.
50978         [BZ #11258]
50979         * locale/C-translit.h.in: Add U20A1 transliteration.
50981         [BZ #12178]
50982         * locale/iso-639.def: Add wae entry.
50983         Patch by Kevin Bortis <bortis@translate-wae.ch>.
50985         [BZ #12545]
50986         * locale/programs/localedef.c (construct_output_path): Use ssize_t
50987         for n.
50989         [BZ #12711]
50990         * locale/C-translit.h.in: Add entry for U20B9.
50991         Patch by pravin.d.s@gmail.com.
50993 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
50995         [BZ #12713]
50996         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50997         ENAMETOOLONG use generic getcwd.
50998         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
50999         in rtld.  Use *stat64.
51000         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51001         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51002         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51003         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51004         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51005         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51006         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51007         __fstatat64 macros.
51008         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51009         * dirent/rewinddir.c: Add libc_hidden_def.
51010         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51011         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51013         * include/dirent.h (__alloc_dir): Add flags parameter.
51014         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51015         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51016         __alloc_dir.
51017         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51018         from fdopendir if O_CLOEXEC is already set.
51020 2011-03-15  Alan Modra  <amodra@gmail.com>
51022         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51023         l_tls_firstbyte_offset non-zero.  Save padding offset in
51024         l_tls_firstbyte_offset for later use.
51025         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51026         freeing static tls block.
51028 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51030         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51031         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51032         being defined by the kernel headers.
51034 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51036         [BZ #12734]
51037         * resolv/resolv.h: Define RES_NOTLDQUERY.
51038         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51039         no-tld-query and set RES_NOTLDQUERY.
51040         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51041         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51042         modern BIND to search name as TLD unless forbidden.
51044 2011-05-07  Petr Baudis  <pasky@suse.cz>
51045             Ulrich Drepper  <drepper@gmail.com>
51047         [BZ #12393]
51048         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51049         (is_trusted_path): ...to here.
51050         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51051         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51052         using is_trusted_path_normalize() in setuid scripts.
51054 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51056         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51057         __BEGIN/__END_DECLS.
51059 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51061         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51062         NSS_STATUS_NOTFOUND if no record was found.
51064 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51066         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51067         (headers-not-in-tirpc): Remove rpc/netdb.h
51068         * resolv/netdb.h: Revert last change.
51070 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51072         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51073         circular dependency between libgcc.a and libc.a.
51075 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51077         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51078         * nis/Makefile: Don't install rpcsvc/*.
51079         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51080         instead of <rpc/types.h>.
51081         (MAXHOSTNAMELEN): Define.
51083 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51085         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51087 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51089         [BZ #12714]
51090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51091         gethostbyname4_r when IPv6 results are possible.
51093 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51095         [BZ #12723]
51096         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51097         _PC_PIPE_BUF handling.
51099 2011-04-30  Bruno Haible  <bruno@clisp.org>
51101         [BZ #12717]
51102         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51103         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51104         to 'int'.
51105         * inet/getnameinfo.c (getnameinfo): Likewise.
51107 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51109         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51110         to groups setting in database lookup.
51111         * nss/nsswitch.conf: Add initgroups entry.
51113 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51115         [BZ #12685]
51116         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51117         mode string.
51118         Patch by Eric Blake <eblake@redhat.com>.
51120 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51122         * sunrpc/Makefile (need-export-routines): Add svc_run.
51123         (routines): Remove svc_run.
51124         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51125         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51126         * sunrpc/svc_run.c (svc_run): Likewise.
51127         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51129 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51131         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51132         problem in reallocation in last patch.
51134 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51136         * sunrpc/Makefile: Move inclusion of Rules.
51138 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51140         * nss/nss_files/files-initgroups.c: New file.
51141         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51142         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51143         _nss_files_initgroups_dyn.
51145 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51147         * elf/elf.h (R_ARM_IRELATIVE): Define.
51149 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51151         * po/ru.po: Update from translation team.
51153 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51155         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51156         dependencies.
51158 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51160         [BZ #12653]
51161         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51162         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51163         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51164         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51165         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51167 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51169         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51170         differing bytes.
51171         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51175 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51177         [BZ #12420]
51178         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51179         storing it.
51180         * stdlib/bug-getcontext.c: New file.
51181         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51183 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51185         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51186         instructions into .machine "z9-109".
51187         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51188         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51190 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51192         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51193         between environment variables and auxiliary vector.
51195 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51197         * Makefile: Add rules to build linkobj/libc.so.
51198         * include/libc-symbols.h: Define libc_hidden_nolink.
51199         * include/rpc/auth.h: Mark functions which are to be hidden.
51200         * include/rpc/auth_des.h: Likewise.
51201         * include/rpc/auth_unix.h: Likewise.
51202         * include/rpc/clnt.h: Likewise.
51203         * include/rpc/des_crypt.h: Likewise.
51204         * include/rpc/key_prot.h: Likewise.
51205         * include/rpc/pmap_clnt.h: Likewise.
51206         * include/rpc/pmap_prot.h: Likewise.
51207         * include/rpc/pmap_rmt.h: Likewise.
51208         * include/rpc/rpc_msg.h: Likewise.
51209         * include/rpc/svc.h: Likewise.
51210         * include/rpc/svc_auth.h: Likewise.
51211         * include/rpc/xdr.h: Likewise.
51212         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51213         * nss/Makefile: Likewise.
51214         * sunrpc/Makefile: Don't install headers.  Build library with normal
51215         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51216         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51217         for the compat linking library.  Remove use of INTDEF/INTUSE.
51218         * sunrpc/auth_none.c: Likewise.
51219         * sunrpc/auth_unix.c: Likewise.
51220         * sunrpc/authdes_prot.c: Likewise.
51221         * sunrpc/authuxprot.c: Likewise.
51222         * sunrpc/clnt_gen.c: Likewise.
51223         * sunrpc/clnt_perr.c: Likewise.
51224         * sunrpc/clnt_raw.c: Likewise.
51225         * sunrpc/clnt_simp.c: Likewise.
51226         * sunrpc/clnt_tcp.c: Likewise.
51227         * sunrpc/clnt_udp.c: Likewise.
51228         * sunrpc/clnt_unix.c: Likewise.
51229         * sunrpc/des_crypt.c: Likewise.
51230         * sunrpc/des_soft.c: Likewise.
51231         * sunrpc/get_myaddr.c: Likewise.
51232         * sunrpc/key_call.c: Likewise.
51233         * sunrpc/key_prot.c: Likewise.
51234         * sunrpc/netname.c: Likewise.
51235         * sunrpc/pm_getmaps.c: Likewise.
51236         * sunrpc/pm_getport.c: Likewise.
51237         * sunrpc/pmap_clnt.c: Likewise.
51238         * sunrpc/pmap_prot.c: Likewise.
51239         * sunrpc/pmap_prot2.c: Likewise.
51240         * sunrpc/pmap_rmt.c: Likewise.
51241         * sunrpc/publickey.c: Likewise.
51242         * sunrpc/rpc_cmsg.c: Likewise.
51243         * sunrpc/rpc_common.c: Likewise.
51244         * sunrpc/rpc_dtable.c: Likewise.
51245         * sunrpc/rpc_prot.c: Likewise.
51246         * sunrpc/rpc_thread.c: Likewise.
51247         * sunrpc/rtime.c: Likewise.
51248         * sunrpc/svc.c: Likewise.
51249         * sunrpc/svc_auth.c: Likewise.
51250         * sunrpc/svc_authux.c: Likewise.
51251         * sunrpc/svc_raw.c: Likewise.
51252         * sunrpc/svc_run.c: Likewise.
51253         * sunrpc/svc_simple.c: Likewise.
51254         * sunrpc/svc_tcp.c: Likewise.
51255         * sunrpc/svc_udp.c: Likewise.
51256         * sunrpc/svc_unix.c: Likewise.
51257         * sunrpc/svcauth_des.c: Likewise.
51258         * sunrpc/xcrypt.c: Likewise.
51259         * sunrpc/xdr.c: Likewise.
51260         * sunrpc/xdr_array.c: Likewise.
51261         * sunrpc/xdr_float.c: Likewise.
51262         * sunrpc/xdr_intXX_t.c: Likewise.
51263         * sunrpc/xdr_mem.c: Likewise.
51264         * sunrpc/xdr_rec.c: Likewise.
51265         * sunrpc/xdr_ref.c: Likewise.
51266         * sunrpc/xdr_sizeof.c: Likewise.
51267         * sunrpc/xdr_stdio.c: Likewise.
51269 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51271         [BZ #12650]
51272         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51273         * sysdeps/ia64/dl-tls.h: Likewise.
51274         * sysdeps/powerpc/dl-tls.h: Likewise.
51275         * sysdeps/s390/dl-tls.h: Likewise.
51276         * sysdeps/sh/dl-tls.h: Likewise.
51277         * sysdeps/sparc/dl-tls.h: Likewise.
51278         * sysdeps/x86_64/dl-tls.h: Likewise.
51279         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51281 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51283         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51284         rpath element also skip the following colon.
51285         (expand_dynamic_string_token): Add is_path parameter and pass
51286         down to DL_DST_REQUIRED and _dl_dst_substitute.
51287         (decompose_rpath): Call expand_dynamic_string_token with
51288         non-zero is_path.  Ignore empty rpaths.
51289         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51290         with zero is_path.
51292 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51295         Make cancelable.
51297 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51299         [BZ #12655]
51300         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51301         Patch by Filipe David Manana <fdmanana@apache.org>.
51303 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51305         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51306         Maintain aligned stack.
51307         (CHECK_RSP): Remove unused macro.
51309 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51311         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51312         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51314 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51316         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51318         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51320 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51322         [BZ #12518]
51323         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51324         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51325         * sysdeps/x86_64/memmove.c: New file.
51326         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51327         (memcpy): Renamed to ...
51328         (__new_memcpy): This.
51329         (memcpy): Provide GLIBC_2_14 memcpy.
51330         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51331         (memcpy): Provide GLIBC_2_2_5 memcpy.
51333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51335         [BZ #12631]
51336         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51338 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51340         * misc/syncfs.c: New file.
51341         * misc/Makefile (routines): Add syncfs.
51342         * posix/unistd.h: Declare syncfs.
51343         * sysdeps/unix/syscalls.list: Add syncfs.
51345 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51347         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51348         open_by_handle_at.
51349         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51350         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51351         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51352         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51354         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51355         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51357 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51359         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51360         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51361         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51365         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51367         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51368         sync_file_range.c with -fexceptions.
51369         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51370         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51371         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51372         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51373         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51374         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51376         sync_file_range as cancellation point
51377         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51378         now a wrapper around __call_sync_file_range with cancellation handling.
51379         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51380         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51381         function name to __call_sync_file_range.
51382         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51383         Add call_sync_file_range.
51385 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51388         bits/timex.h.
51390 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51392         * iconv/iconv.h: Fix typo in comment.
51393         * io/fcntl.h: Likewise.
51394         * libio/stdio.h: Likewise.
51395         * posix/spawn.h: Likewise.
51396         * posix/unistd.h: Likewise.
51397         * stdlib/stdlib.h: Likewise.
51398         * time/time.h: Likewise.
51399         * wcsmbs/wchar.h: Likewise.
51401         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51402         open_by_handle): Add.
51403         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51404         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51405         Augment a few comments.
51406         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51408         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51410         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51411         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51412         open_by_handle.
51414         * io/fcntl.h (AT_EMPTY_PATH): Define.
51416 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51418         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51419         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51420         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51421         to...
51422         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51423         * Versions.def: Add GLIBC_2.14.
51424         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51425         Export.
51427 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51429         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51430         round counter.
51431         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51433 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51435         [BZ #12597]
51436         * string/test-strncmp.c (do_page_test): New function.
51437         (check2): Likewise.
51438         (test_main): Call check2.
51439         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51441 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51443         [BZ #12587]
51444         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51445         Handle cache information in CPU leaf 4.
51446         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51448 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51450         [BZ #12583]
51451         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51452         character representation.
51453         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51455 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51457         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51458         END(__isnan) to END(__isnanf) to match function entry point/label
51459         EALIGN(__isnanf,...).
51461 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51463         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51465 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51467         [BZ #12510]
51468         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51469         copy from the symbol referenced in the relocation to initialize the
51470         used variable.
51471         Patch by Piotr Bury <pbury@goahead.com>.
51472         * elf/Makefile: Add rules to build and tst-unique3.
51473         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51474         * elf/tst-unique3.cc: New file.
51475         * elf/tst-unique3.h: New file.
51476         * elf/tst-unique3lib.cc: New file.
51477         * elf/tst-unique3lib2.cc: New file.
51479         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51481 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51483         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51484         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51485         to _start.
51487 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51489         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51490         to-be-loaded object along a path to loader is ld.so.
51492 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51493             Ulrich Drepper  <drepper@gmail.com>
51495         * sysdeps/x86_64/memset.S: After aligning destination, code
51496         branches to different locations depending on the value of
51497         misalignment, when multiarch is enabled. Fix this.
51499 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51501         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51502         Set _x86_64_preferred_memory_instruction for AMD processsors.
51503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51504         Set bit_Prefer_SSE_for_memop for AMD processors.
51506 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51508         * libio/fmemopen.c (fmemopen): Optimize a bit.
51510 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51512         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51514 2011-03-03  Roland McGrath  <roland@redhat.com>
51516         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51518 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51520         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51521         __bzero_ultra1 instead of __memset_ultra1.
51523 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51524             Ulrich Drepper  <drepper@gmail.com>
51526         [BZ #12509]
51527         * include/link.h (struct link_map): Add l_orig_initfini.
51528         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51529         returning unsuccessfully.
51530         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51531         close of a file loaded at startup, restore the original l_initfini
51532         list.
51533         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51534         list, store the pointer.
51535         * elf/Makefile ($(objpfx)noload-mem): New rule.
51536         (noload-ENV): Define.
51537         (tests): Add $(objpfx)noload-mem.
51538         * elf/noload.c: Include <memcheck.h>.
51539         (main): Call mtrace.  Close all opened handles.
51541 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51543         [BZ #12454]
51544         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51545         dependencies are missing.
51547 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51549         Fix __if_freereq crash: Unlike the generic version which uses free,
51550         Hurd needs munmap.
51551         * sysdeps/mach/hurd/ifreq.h: New file.
51553 2011-01-27  Petr Baudis  <pasky@suse.cz>
51554             Ulrich Drepper  <drepper@gmail.com>
51556         [BZ 12445]#
51557         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51558         to extend_alloca().
51559         * stdio-common/bug23.c: New file.
51560         * stdio-common/Makefile (tests): Add bug23.
51562 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51563             Ulrich Drepper  <drepper@gmail.com>
51565         [BZ #12489]
51566         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51567         before performing relro protection.  At old place add assertion
51568         to make sure nothing changed.
51570 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
51571             Glauber de Oliveira Costa  <glommer@gmail.com>
51573         * elf/elf.h: Add new ARM TLS relocs.
51575 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
51577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51578         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51579         cast from r3.
51580         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
51581         'tests' variable.
51582         * sysdeps/wordsize-64/tst-writev.c: New file.
51584 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
51586         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51587         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51588         insns in _dl_start to prevent a TOC reference before relocs are
51589         resolved.
51591 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
51593         [BZ #12469]
51594         * Makeconfig: Remove RANLIB definition.
51595         * Makerules: Don't use RANLIB.
51596         * aclocal.m4: Remove ranlib test.
51597         * configure.in: No need to check for ranlib.
51598         * elf/rtld-Rules: Don't use RANLIB.
51600 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51602         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51603         protection macro.
51604         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51605         inclusion protection macro.
51607         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51608         SIGRTMIN and SIGRTMAX and print information in that case only when
51609         SIGRTMIN is defined.
51611 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
51613         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51614         arginfo fn returning -1.
51616         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51617         and thousands string is zero terminated.
51619 2011-02-03  Andreas Schwab  <schwab@redhat.com>
51621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51622         sysdeps/unix/sysv/linux/bits/socket.h.
51624 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51626         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51627         (__CPU_COUNT): Remove old macros.
51628         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51629         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51630         (__CPU_ALLOC, __CPU_FREE): Add macros.
51631         (__sched_cpualloc, __sched_cpufree): Add declarations.
51633 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
51635         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51636         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51637         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51638         (readdhstai): Return value of addhstaiX call.
51639         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51640         (addgrbyX): Return value returned by cache_addgr.
51641         (readdgrbyname): Return value returned by addgrbyX.
51642         (readdgrbygid): Likewise.
51643         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51644         (addpwbyX): Return value returned by cache_addpw.
51645         (readdpwbyname): Return value returned by addhstbyX.
51646         (readdpwbyuid): Likewise.
51647         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51648         (addservbyX): Return value returned by cache_addserv.
51649         (readdservbyname): Return value returned by addservbyX:
51650         (readdservbyport): Likewise.
51651         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51652         (addhstbyX): Return value returned by cache_addhst.
51653         (readdhstbyname): Return value returned by addhstbyX.
51654         (readdhstbyaddr): Likewise.
51655         (readdhstbynamev6): Likewise.
51656         (readdhstbyaddrv6): Likewise.
51657         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51658         (readdinitgroups): Return value returned by addinitgroupsX.
51659         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51660         (prune_cache): Keep track of timeout value of re-added entries.
51661         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51662         * nscd/nscd.h: Adjust prototypes of readd* functions.
51664 2011-02-04  Roland McGrath  <roland@redhat.com>
51666         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51667         (nis_stats): Likewise.
51668         * nis/nis_modify.c (nis_modify): Likewise.
51669         * nis/nis_remove.c (nis_remove): Likewise.
51670         * nis/nis_add.c (nis_add): Likewise.
51672         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51674         * posix/fnmatch_loop.c: Add some consts.
51676         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51678 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51680         [BZ #12460]
51681         * config.make.in (config-cflags-novzeroupper): Define.
51682         * configure.in: Substitute libc_cv_cc_novzeroupper.
51683         * elf/Makefile (AVX-CFLAGS): Define.
51684         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51685         (CFLAGS-tst-auditmod4a.c): Likewise.
51686         (CFLAGS-tst-auditmod4b.c): Likewise.
51687         (CFLAGS-tst-auditmod6b.c): Likewise.
51688         (CFLAGS-tst-auditmod6c.c): Likewise.
51689         (CFLAGS-tst-auditmod7b.c): Likewise.
51690         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51692 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51694         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51695         function to the callback.
51696         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51698 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51700         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51701         of errno.
51703 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51705         [BZ #11724]
51706         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51707         of constructors.
51708         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51709         of destructors.
51710         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51712         [BZ #11724]
51713         * elf/Makefile: Add rules to build and run new test.
51714         * elf/tst-initorder.c: New file.
51715         * elf/tst-initorder.exp: New file.
51716         * elf/tst-initordera1.c: New file.
51717         * elf/tst-initordera2.c: New file.
51718         * elf/tst-initordera3.c: New file.
51719         * elf/tst-initordera4.c: New file.
51720         * elf/tst-initorderb1.c: New file.
51721         * elf/tst-initorderb2.c: New file.
51722         * elf/tst-order-a1.c: New file.
51723         * elf/tst-order-a2.c: New file.
51724         * elf/tst-order-a3.c: New file.
51725         * elf/tst-order-a4.c: New file.
51726         * elf/tst-order-b1.c: New file.
51727         * elf/tst-order-b2.c: New file.
51728         * elf/tst-order-main.c: New file.
51729         New test case by George Gensure <werkt0@gmail.com>.
51731 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51734         decoding ACE if AI_CANONIDN.
51736 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51738         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51740 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51742         * version.h (RELEASE): Bump for 2.13 release.
51743         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51745         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51747         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51748         MADV_NOHUGEPAGE.
51749         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51750         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51751         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51752         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51753         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51754         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51756         * posix/getconf.c: Update copyright year.
51757         * catgets/gencat.c: Likewise.
51758         * csu/version.c: Likewise.
51759         * debug/catchsegv.sh: Likewise.
51760         * debug/xtrace.sh: Likewise.
51761         * elf/ldconfig.c: Likewise.
51762         * elf/ldd.bash.in: Likewise.
51763         * elf/sprof.c (print_version): Likewise.
51764         * iconv/iconv_prog.c: Likewise.
51765         * iconv/iconvconfig.c: Likewise.
51766         * locale/programs/locale.c: Likewise.
51767         * locale/programs/localedef.c: Likewise.
51768         * malloc/memusage.sh: Likewise.
51769         * malloc/mtrace.pl: Likewise.
51770         * nscd/nscd.c (print_version): Likewise.
51771         * nss/getent.c: Likewise.
51773         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51774         PF_CAIF, and PF_ALG.
51775         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51777 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51779         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51780         (modules-names): Use them.
51781         (ifunc-test-modules, ifunc-pie-tests): Define.
51782         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51783         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51784         (test-extras): Likewise.
51785         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51786         $(compile-command.c).
51787         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51788         (all-built-dso): Define.
51789         (check-textrel.out, check-execstack.out): Depend on it.
51791         * configure.in: Don't override --enable-multi-arch.
51793 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51795         [BZ #6812]
51796         * nscd/hstcache.c (tryagain): Define.
51797         (cache_addhst): Return tryagain not notfound for temporary errors.
51798         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51799         failed.
51801 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51803         [BZ #10563]
51804         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51805         to make the syscall.
51806         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51808         [BZ #12378]
51809         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51810         and fall back to matching as normal character if the string ends before
51811         the matching ']' is found.  This is what POSIX requires.
51812         * posix/testfnm.c: Adjust test result.
51813         * posix/globtest.sh: Adjust test result.  Add new test.
51814         * posix/tst-fnmatch.input: Likewise.
51815         * posix/tst-fnmatch2.c: Add new test.
51817 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51819         * elf/Makefile (check-execstack): Revert last change.  Depend on
51820         check-execstack.h.
51821         (check-execstack.h): New target.
51822         (generated): Add check-execstack.h.
51823         * elf/check-execstack.c: Include "check-execstack.h".
51824         (main): Revert last change.
51825         (handle_file): Return zero if GNU_STACK is absent and
51826         DEFAULT_STACK_PERMS doesn't include PF_X.
51828 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51830         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51831         in child fails because the descriptor is already closed.
51832         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51833         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51834         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51836         [BZ #12397]
51837         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51838         syscall.
51840         [BZ #10484]
51841         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51842         temporary buffer used to handle multi lookups locally.
51843         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51845 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51847         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51848         loader is ld.so.
51850 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51852         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51853         alignment for SSE2.
51855 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51857         [BZ #12394]
51858         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51859         characters.  When rounding increased number of integer digits recompute
51860         number of groups.
51861         * stdio-common/tst-grouping.c: New file.
51862         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51864 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51866         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51867         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51869         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51870         void.
51871         * bits/select.h: Likewise.
51873 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51875         * po/ja.po: Update from translation team.
51877 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51879         [BZ #11155]
51880         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51881         implementation just like for lxstat, fxstatat, et al.
51883 2010-12-27  Jim Meyering  <meyering@redhat.com>
51885         [BZ #12348]
51886         * posix/regexec.c (build_trtable): Return failure indication upon
51887         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51889 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51891         [BZ #12201]
51892         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51893         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51894         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51895         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51897         [BZ #12207]
51898         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51900         [BZ #12204]
51901         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51902         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51904 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51906         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51907         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51908         script has SORT_BY_INIT_PRIORITY.
51909         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51910         NO_CTORS_DTORS_SECTIONS is defined.
51911         * elf/soinit.c: Likewise.
51912         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51913         NO_CTORS_DTORS_SECTIONS is defined.
51914         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51915         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51916         * sysdeps/sh/init-first.c: Likewise.
51917         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51919 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51921         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51922         always use the slow path.
51924 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51926         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51927         similar rule which adds the sysdep directories to the header search in
51928         order to pick up the correct platform stackinfo.h.
51929         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51930         perform test if it is, otherwise return successfully without testing.
51931         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51932         DEFAULT_STACK_PERMS define in stackinfo.h.
51933         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51934         defined in stackinfo.h.
51935         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51936         DEFAULT_STACK_PERMS defined in stackinfo.h.
51937         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51938         * sysdeps/ia64/stackinfo.h: Likewise.
51939         * sysdeps/s390/stackinfo.h: Likewise.
51940         * sysdeps/sh/stackinfo.h: Likewise.
51941         * sysdeps/sparc/stackinfo.h: Likewise.
51942         * sysdeps/x86_64/stackinfo.h: Likewise.
51943         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51944         PF_X for powerpc64.  Retain PF_X for powerpc32.
51946 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51948         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51949         accurately.
51950         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51951         GETDENTS_64BIT_ALIGNED.
51953 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51955         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51957 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51959         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51960         _GNU_SOURCE.
51962         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51963         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51964         Remove __restrict.
51965         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51966         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51968 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51970         [BZ #11655]
51971         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51972         are initialized.
51974 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51976         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51978 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51980         * po/it.po: Update from translation team.
51982 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
51984         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51985         unused codes.
51987 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
51989         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51991 2010-11-24  Andreas Schwab  <schwab@redhat.com>
51993         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51994         specially.
51995         (gaih_getanswer_slice): Likewise.
51997 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
51999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52001 2010-05-31  Petr Baudis  <pasky@suse.cz>
52003         [BZ #11149]
52004         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52005         silently even in the chroot mode.
52007 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52009         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52010         last patch a bit.  Pretty printing
52012 2010-05-31  Petr Baudis <pasky@suse.cz>
52014         [BZ #10085]
52015         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52016         initialization of skip_initgroups_dyn.
52018 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52020         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52021         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52023 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52025         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52027 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52029         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52030         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52031         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52032         ($(objpfx)tst-fnmatch-mem): New rule.
52033         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52034         * posix/tst-fnmatch.c (main): Call mtrace.
52036 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52039         Support Intel processor model 6 and model 0x2c.
52041 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52043         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52044           signed comparison.
52046 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52048         [BZ #12205]
52049         * string/test-strncasecmp.c (check_result): New function.
52050         (do_one_test): Use it.
52051         (check1): New function.
52052         (test_main): Use it.
52053         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52054         Support strcasecmp and strncasecmp.
52056 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52058         [BZ #12194]
52059         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52060         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52062 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52064         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52065         IFUNC support.
52066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52067         memset-x86-64.
52068         * sysdeps/x86_64/multiarch/bzero.S: New file.
52069         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52070         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52071         * sysdeps/x86_64/multiarch/memset.S: New file.
52072         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52074         Set bit_Prefer_SSE_for_memop for Intel processors.
52075         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52076         Define.
52077         (index_Prefer_SSE_for_memop): Define.
52078         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52080 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52082         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52083         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52085 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52087         [BZ #12191]
52088         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52089         (__x86_64_raw_data_cache_size_half): Likewise.
52090         (__x86_64_raw_shared_cache_size): Likewise.
52091         (__x86_64_raw_shared_cache_size_half): Likewise.
52093         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52094         (__x86_64_raw_data_cache_size_half): Likewise.
52095         (__x86_64_raw_shared_cache_size): Likewise.
52096         (__x86_64_raw_shared_cache_size_half): Likewise.
52097         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52098         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52099         and __x86_64_raw_shared_cache_size_half.  Round
52100         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52101         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52102         to multiple of 256 bytes.
52104 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52106         [BZ #12167]
52107         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52108         of inacessible symlinks.  Verify result of symlink before returning it.
52109         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52110         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52112 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52114         * math/math.h (isinf): Fix typo in comment.
52116 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52118         * po/da.po: Update from translation team.
52120 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52122         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52123         is added to the list.
52125 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52126             Ulrich Drepper  <drepper@gmail.com>
52128         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52129         the global list here.  Move code to...
52130         (_dl_add_to_namespace_list): ...here.  New function.
52131         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52132         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52133         * elf/dl-load.c (lose): Don't remove the element from the list.
52134         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52135         (_dl_map_object): Likewise.
52137 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52139         [BZ #12159]
52140         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52141         into all bytes of SSE register.
52142         Patch by Richard Li <richardpku@gmail.com>.
52144 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52146         [BZ #12140]
52147         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52148         perturbing.
52150 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52152         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52153         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52154         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52155         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52157         submachine.
52158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52160 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52162         * include/dlfcn.h (__RTLD_SECURE): Define.
52163         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52164         mode & __RTLD_SECURE instead.
52165         (open_path): Rename preloaded parameter to secure.
52166         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52167         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52168         * elf/dl-deps.c (openaux): Likewise.
52169         * elf/rtld.c (struct map_args): Remove is_preloaded.
52170         (map_doit): Don't use it.
52171         (dl_main): Likewise.
52172         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52173         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52175 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52177         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52178         (sysd-rules-targets): Remove duplicates.
52179         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52180         rtld-%.$o dependency.
52182 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52184         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52185         _dl_map_object do it.
52187 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52189         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52190         fast fma builtins, define the macros in the C99 standard.
52191         (FP_FAST_FMAF): Likewise.
52192         (FP_FAST_FMAL): Likewise.
52193         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52195         * bits/mathdef.h: Update copyright year.
52196         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52198 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52200         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52201         builtins, define the macros in the C99 standard.
52202         (FP_FAST_FMAF): Likewise.
52203         (FP_FAST_FMAL): Likewise.
52204         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52205         multiply/add.
52206         (FP_FAST_FMAF): Likewise.
52208 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52210         [BZ #3268]
52211         * math/libm-test.inc (fma_test): Some new testcases.
52212         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52214         y and infinite z.  Do multiplication by C already in long double.
52215         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52217         y and infinite z.  Do bitwise or of inexact bit into u.d.
52218         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52219         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52220         * sysdeps/i386/fpu/s_fma.S: Removed.
52221         * sysdeps/i386/fpu/s_fmal.S: Removed.
52223 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52225         [BZ #3268]
52226         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52228         computation is not scheduled after fetestexcept.  Fix value
52229         of minimum denormal long double.
52231 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52233         [BZ #3268]
52234         * math/libm-test.inc (fma_test): Add some more tests.
52235         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52236         correctly.
52238 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52240         * scripts/data/localplt-s390-linux-gnu.data: New file.
52241         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52243 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52245         [BZ #3268]
52246         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52247         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52248         instead of dbl-64.
52249         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52250         inlines.
52251         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52253         if one of x and y is very large and the other is subnormal.
52254         * sysdeps/s390/fpu/s_fmaf.c: New file.
52255         * sysdeps/s390/fpu/s_fma.c: New file.
52256         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52257         * sysdeps/powerpc/fpu/s_fma.S: New file.
52258         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52259         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52260         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52262 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52264         [BZ #3268]
52265         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52266         fma tests.
52267         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52268         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52269         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52270         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52271         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52272         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52273         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52275 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52277         [BZ #12078]
52278         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52279         * posix/bug-regex31.input: Add test case.
52281 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52283         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52284         * posix/bug-regex31.input: New file.
52286         [BZ #12078]
52287         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52288         (parse_sub_exp): Fix last change, use postorder.
52290         * posix/bug-regex31.c: New file.
52291         * posix/Makefile: Add rules to build and run bug-regex31.
52293         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52295         [BZ #12078]
52296         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52298         [BZ #12108]
52299         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52300         to have entries in sys_siglist.
52302         [BZ #12093]
52303         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52304         be NULL.
52306 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52308         [BZ #3268]
52309         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52310         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52311         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52312         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52313         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52314         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52315         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52316         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52317         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52318         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52319         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52320         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52321         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52322         * math/ftestexcept.c (fetestexcept): Likewise.
52323         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52324         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52325         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52326         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52327         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52328         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52329         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52331 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52333         [BZ #12107]
52334         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52335         newline.
52337 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52339         * string/bug-strstr1.c: New file.
52340         * string/Makefile: Add rules to build and run bug-strstr1.
52342 2010-10-05  Eric Blake  <eblake@redhat.com>
52344         [BZ #12092]
52345         * string/str-two-way.h (two_way_long_needle): Always clear memory
52346         when skipping input due to the shift table.
52348 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52350         [BZ #12005]
52351         * malloc/mcheck.c: Handle large requests.
52353         [BZ #12077]
52354         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52355         for strncmp and strncasecmp.
52356         * string/stratcliff.c: Add tests for strcmp and strncmp.
52357         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52359 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52361         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52362         __set_fpscr.
52364 2010-09-30  Andreas Jaeger  <aj@suse.de>
52366         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52367         (CGROUP_SUPER_MAGIC): Define.
52368         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52369         Handle btrfs and cgroup file systems.
52370         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52371         Likewise.
52373 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52375         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52376         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52378 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52380         [BZ #12067]
52381         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52382         trying to locate the ELF header.
52384 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52386         [BZ #11611]
52387         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52388         Mask out sign-bit copies when constructing f_fsid.
52390 2010-09-24  Petr Baudis <pasky@suse.cz>
52392         * debug/stack_chk_fail_local.c: Add missing licence exception.
52393         * debug/warning-nop.c: Likewise.
52395 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52397         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52398         implementing getdents64 using getdents syscall, set d_type if
52399         __ASSUME_GETDENTS32_D_TYPE.
52401 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52403         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52404         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52406 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52408         [BZ #12037]
52409         * posix/unistd.h: Undo change of feature selection for ftruncate from
52410         2010-01-11.
52412 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52414         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52415         detection.
52417 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52419         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52420         fanotify_mark.
52421         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52423 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52425         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52426         variables after CHECK_SP call.
52427         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52429 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52430             Ulrich Drepper  <drepper@redhat.com>
52432         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52433         re-relocationg ld.so.
52434         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52435         _dl_init_paths call.
52436         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52437         here anymore.
52439 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52441         * resolv/res_init.c (__res_vinit): Count the default server we added.
52443 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52444             Ulrich Drepper  <drepper@redhat.com>
52446         [BZ #11968]
52447         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52448         (____longjmp_chk): Use %ebx for saving value across system call.
52449         Add unwind info.
52451 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52453         * manual/Makefile: Don't mix pattern rules with normal rules.
52455 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52457         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52458         operation.
52459         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52460         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52461         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52462         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52464         Likewise.
52466 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52468         [BZ #11979]
52469         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52470         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52472 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52474         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52475         * sysdeps/x86_64/addmul_1.S: Likewise.
52476         * sysdeps/x86_64/lshift.S: Likewise.
52477         * sysdeps/x86_64/mul_1.S: Likewise.
52478         * sysdeps/x86_64/rshift.S: Likewise.
52479         * sysdeps/x86_64/sub_n.S: Likewise.
52480         * sysdeps/x86_64/submul_1.S: Likewise.
52482 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52484         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52485         Define __sched_param instead of SCHED_* and sched_param when
52486         <bits/sched.h> is included with __need_schedparam defined.
52487         * bits/sched.h [__need_schedparam]
52488         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52489         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52490         (__defined_schedparam): Define to 1.
52491         (__sched_param): New structure, identical to sched_param.
52492         (__need_schedparam): Undefine.
52494 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52496         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52497         (epoll_create1): Declare.
52499         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52501 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52503         [BZ #7066]
52504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52505         shifting retval into place.
52507 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52509         * nis/rpcsvc/nis.h: Update copyright notice.
52510         * nis/rpcsvc/nis.x: Likewise.
52511         * nis/rpcsvc/nis_callback.h: Likewise.
52512         * nis/rpcsvc/nis_callback.x: Likewise.
52513         * nis/rpcsvc/nis_object.x: Likewise.
52514         * nis/rpcsvc/nis_tags.h: Likewise.
52515         * nis/rpcsvc/yp.h: Likewise.
52516         * nis/rpcsvc/yp.x: Likewise.
52517         * nis/rpcsvc/ypupd.h: Likewise.
52518         * nis/yp_xdr.c: Likewise.
52519         * nis/ypupdate_xdr.c: Likewise.
52521         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52522         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52523         (pmap_getport): Use __libc_rpc_getport.
52524         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52525         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52526         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52528 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52531         fanotify_mark.
52533 2010-08-27  Roland McGrath  <roland@redhat.com>
52535         * sysdeps/i386/i686/multiarch/Makefile
52536         (CFLAGS-varshift.c): New variable.
52538 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52540         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52541         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52543         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52545         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52547 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52549         * sysdeps/x86_64/strlen.S: Unroll the loop.
52550         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52551         strlen-sse2 strlen-sse2-bsf.
52552         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52553         __strlen_no_bsf if bit_Slow_BSF is set.
52554         (__strlen_sse42): Removed.
52555         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52556         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52558 2010-08-25  Roland McGrath  <roland@redhat.com>
52560         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52561         * sysdeps/x86_64/multiarch/varshift.c: New file.
52562         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52563         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52564         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52565         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52567 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
52569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52570         strlen-sse2 strlen-sse2-bsf.
52571         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52572         __strlen_sse2_bsf if bit_Slow_BSF is unset.
52573         (__strlen_sse2): Removed.
52574         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52575         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52577         bit_Slow_BSF for Atom.
52578         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52579         (index_Slow_BSF): Define.
52580         (HAS_SLOW_BSF): Define.
52582 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
52584         [BZ #10851]
52585         * resolv/res_init.c (__res_vinit): When no server address at all
52586         is given default to loopback.
52588 2010-08-24  Roland McGrath  <roland@redhat.com>
52590         * configure.in: Remove config-name.h generation.
52591         * configure: Regenerated.
52592         * config-name.in: File removed.
52593         * scripts/config-uname.sh: New file.
52594         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52595         ($(objdir)config-name.h): New target.
52597         * sunrpc/rpc_parse.h: Avoid nested comment.
52599 2010-08-24  Richard Henderson  <rth@redhat.com>
52600             Ulrich Drepper  <drepper@redhat.com>
52601             H.J. Lu  <hongjiu.lu@intel.com>
52603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52605         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52606         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
52607         _mm_alignr_epi8 with _mm_loadu_si128.
52608         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52609         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52610         (__m128i_shift_right): Removed.
52611         * sysdeps/i386/i686/multiarch/varshift.h: New file.
52612         * sysdeps/i386/i686/multiarch/varshift.S: New file.
52613         * sysdeps/x86_64/multiarch/varshift.h: New file.
52614         * sysdeps/x86_64/multiarch/varshift.S: New file.
52616 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
52618         * configure.in: Move assembler checks to before sysdep dir checking.
52620 2010-08-20  Petr Baudis  <pasky@suse.cz>
52622         * LICENSES: Sync the sunrpc license.
52624 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
52626         * sunrpc/auth_des.c: Update copyright notice once again.
52627         * sunrpc/auth_none.c: Likewise.
52628         * sunrpc/auth_unix.c: Likewise.
52629         * sunrpc/authdes_prot.c: Likewise.
52630         * sunrpc/authuxprot.c: Likewise.
52631         * sunrpc/bindrsvprt.c: Likewise.
52632         * sunrpc/clnt_gen.c: Likewise.
52633         * sunrpc/clnt_perr.c: Likewise.
52634         * sunrpc/clnt_raw.c: Likewise.
52635         * sunrpc/clnt_simp.c: Likewise.
52636         * sunrpc/clnt_tcp.c: Likewise.
52637         * sunrpc/clnt_udp.c: Likewise.
52638         * sunrpc/clnt_unix.c: Likewise.
52639         * sunrpc/des_crypt.c: Likewise.
52640         * sunrpc/des_soft.c: Likewise.
52641         * sunrpc/get_myaddr.c: Likewise.
52642         * sunrpc/getrpcport.c: Likewise.
52643         * sunrpc/key_call.c: Likewise.
52644         * sunrpc/key_prot.c: Likewise.
52645         * sunrpc/openchild.c: Likewise.
52646         * sunrpc/pm_getmaps.c: Likewise.
52647         * sunrpc/pm_getport.c: Likewise.
52648         * sunrpc/pmap_clnt.c: Likewise.
52649         * sunrpc/pmap_prot.c: Likewise.
52650         * sunrpc/pmap_prot2.c: Likewise.
52651         * sunrpc/pmap_rmt.c: Likewise.
52652         * sunrpc/rpc/auth.h: Likewise.
52653         * sunrpc/rpc/auth_unix.h: Likewise.
52654         * sunrpc/rpc/clnt.h: Likewise.
52655         * sunrpc/rpc/des_crypt.h: Likewise.
52656         * sunrpc/rpc/key_prot.h: Likewise.
52657         * sunrpc/rpc/netdb.h: Likewise.
52658         * sunrpc/rpc/pmap_clnt.h: Likewise.
52659         * sunrpc/rpc/pmap_prot.h: Likewise.
52660         * sunrpc/rpc/pmap_rmt.h: Likewise.
52661         * sunrpc/rpc/rpc.h: Likewise.
52662         * sunrpc/rpc/rpc_des.h: Likewise.
52663         * sunrpc/rpc/rpc_msg.h: Likewise.
52664         * sunrpc/rpc/svc.h: Likewise.
52665         * sunrpc/rpc/svc_auth.h: Likewise.
52666         * sunrpc/rpc/types.h: Likewise.
52667         * sunrpc/rpc/xdr.h: Likewise.
52668         * sunrpc/rpc_clntout.c: Likewise.
52669         * sunrpc/rpc_cmsg.c: Likewise.
52670         * sunrpc/rpc_common.c: Likewise.
52671         * sunrpc/rpc_cout.c: Likewise.
52672         * sunrpc/rpc_dtable.c: Likewise.
52673         * sunrpc/rpc_hout.c: Likewise.
52674         * sunrpc/rpc_main.c: Likewise.
52675         * sunrpc/rpc_parse.c: Likewise.
52676         * sunrpc/rpc_parse.h: Likewise.
52677         * sunrpc/rpc_prot.c: Likewise.
52678         * sunrpc/rpc_sample.c: Likewise.
52679         * sunrpc/rpc_scan.c: Likewise.
52680         * sunrpc/rpc_scan.h: Likewise.
52681         * sunrpc/rpc_svcout.c: Likewise.
52682         * sunrpc/rpc_tblout.c: Likewise.
52683         * sunrpc/rpc_util.c: Likewise.
52684         * sunrpc/rpc_util.h: Likewise.
52685         * sunrpc/rpcinfo.c: Likewise.
52686         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52687         * sunrpc/rpcsvc/key_prot.x: Likewise.
52688         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52689         * sunrpc/rpcsvc/mount.x: Likewise.
52690         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52691         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52692         * sunrpc/rpcsvc/rex.x: Likewise.
52693         * sunrpc/rpcsvc/rstat.x: Likewise.
52694         * sunrpc/rpcsvc/rusers.x: Likewise.
52695         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52696         * sunrpc/rpcsvc/spray.x: Likewise.
52697         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52698         * sunrpc/rtime.c: Likewise.
52699         * sunrpc/svc.c: Likewise.
52700         * sunrpc/svc_auth.c: Likewise.
52701         * sunrpc/svc_authux.c: Likewise.
52702         * sunrpc/svc_raw.c: Likewise.
52703         * sunrpc/svc_run.c: Likewise.
52704         * sunrpc/svc_simple.c: Likewise.
52705         * sunrpc/svc_tcp.c: Likewise.
52706         * sunrpc/svc_udp.c: Likewise.
52707         * sunrpc/svc_unix.c: Likewise.
52708         * sunrpc/svcauth_des.c: Likewise.
52709         * sunrpc/xcrypt.c: Likewise.
52710         * sunrpc/xdr.c: Likewise.
52711         * sunrpc/xdr_array.c: Likewise.
52712         * sunrpc/xdr_float.c: Likewise.
52713         * sunrpc/xdr_mem.c: Likewise.
52714         * sunrpc/xdr_rec.c: Likewise.
52715         * sunrpc/xdr_ref.c: Likewise.
52716         * sunrpc/xdr_sizeof.c: Likewise.
52717         * sunrpc/xdr_stdio.c: Likewise.
52719         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52720         handling.
52722 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52724         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52726 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52728         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52729         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52730         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52731         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52732         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52733         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52734         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52735         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52736         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52737         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52738         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52739         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52740         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52741         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52743 2010-07-26  Anton Blanchard  <anton@samba.org>
52745         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52746         * malloc/arena.c (heap_trim): Likewise.
52748 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52750         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52751         here.  Not...
52752         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52753         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52755 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52757         * sysdeps/i386/elf/Makefile: New file.
52759 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52761         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52762         from fanotify_init.
52763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52766 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52768         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52769         of strncasecmp_l.
52770         * sysdeps/multiarch/strcmp.S: Likewise.
52772 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52774         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52775         strncase_l-nonascii.
52776         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52777         Add strncase_l-ssse3.
52778         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52779         * sysdeps/x86_64/strcmp.S: Likewise.
52780         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52781         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52782         * sysdeps/x86_64/strncase.S: New file.
52783         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52784         * sysdeps/x86_64/strncase_l.S: New file.
52785         * string/Makefile (strop-tests): Add strncasecmp.
52786         * string/test-strncasecmp.c: New file.
52788         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52789         warning.
52791         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52792         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52794 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52796         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52798 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52800         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52801         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52802         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52804 2010-05-01  Alan Modra  <amodra@gmail.com>
52806         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52807         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52808         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52809         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52810         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52811         tidying.  Don't tail-call __sigjmp_save for static lib.
52812         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52813         save location.
52814         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52815         (CALL_MCOUNT): Add eh info, and nop after bl.
52816         (TAIL_CALL_SYSCALL_ERROR): New macro.
52817         (PSEUDO_RET): Use it.
52818         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52819         Correct save location of integer regs and cr.
52820         (_dl_profile_resolve): Correct cr save location.  Delete nops
52821         after bl when SHARED.  Reduce cfi size a little by better
52822         placement of cfi directives.
52823         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52824         make a stack frame.  Instead use parm save area as a temp.
52825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52826         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52828         Don't make a stack frame for parent, use parm save area.
52829         Increase child stack frame to 112 bytes.  Don't save unused reg,
52830         and adjust reg usage.  Set up cfi on error recovery and
52831         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52833         (__makecontext): Add dummy nop after jump to exit.
52834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52835         Use correct parm save area and cr save, reduce stack frame.
52836         Correct cfi for possible PSEUDO_RET frame setup.
52837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52838         Branch to local label emitted by PSEUDO_RET rather than
52839         __syscall_error.
52841 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52843         [BZ #11904]
52844         * locale/programs/locale.c (print_assignment): New function.
52845         (show_locale_vars): Use it.
52847 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52849         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52850         field.
52851         (struct statfs64): Likewise.
52852         (_STATFS_F_FLAGS): Define.
52853         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52854         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52855         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52856         (ST_VALID): Define locally.
52857         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52858         __statvfs_getflags, use the provided value.
52859         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52860         __ASSUME_STATFS_F_FLAGS.
52862         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52864         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52865         Add sys/fanotify.h.
52866         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52867         fanotify_mask for GLIBC_2.13.
52868         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52869         fanotify_init and fanotify_mark.
52870         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52871         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52873         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52874         Add prlimit.
52875         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52876         prlimit64 for GLIBC_2.13.
52877         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52878         prlimit64.
52879         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52880         syscall.
52881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52882         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52883         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52884         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52885         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52886         add prlimit alias.
52887         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52889         [BZ #11903]
52890         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52891         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52893         * nss/Makefile: Add rules to build and run tst-nss-test1.
52894         * shlib-versions: Add entry for libnss_test1.
52895         * nss/nss_test1.c: New file.
52896         * nss/tst-nss-test1.c: New file.
52898         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52899         (__nss_configure_lookup): Set appropriate entry in
52900         __nss_configure_lookup to true.
52901         * nss/nsswitch.h: Define enum with indeces of databases in
52902         databases and __nss_database_custom arrays.  Declare
52903         __nss_database_custom.
52904         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52905         to avoid using nscd when custom rules are installed.
52906         * nss/getXXbyYY_r.c: Likewise.
52907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52909         * nss/nss_files/files-parse.c: Whitespace fixes.
52911 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52913         [BZ #11883]
52914         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52915         * posix/fnmatch_loop.c: Likewise.
52917 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52919         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52920         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52921         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52922         * Versions.def [GLIBC_2.13]: Add.
52924 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52926         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52927         Also fail if tpwd after pwuid call is NULL.
52929 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52931         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52932         when converting to ms.
52934 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52936         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52937         EOPNOTSUPP errors with ENOTTY.
52938         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52939         EOPNOTSUPP errors with ENOTTY.
52941 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52943         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52944         Add strcasecmp_l-ssse3.
52945         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52946         strcasecmp.
52947         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52948         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52949         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52951 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52953         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52955         * string/Makefile (strop-tests): Add strcasecmp.
52956         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52957         strcasecmp_l-nonascii.
52958         (gen-as-const-headers): Add locale-defines.sym.
52959         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52960         * sysdeps/x86_64/strcasecmp.S: New file.
52961         * sysdeps/x86_64/strcasecmp_l.S: New file.
52962         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52963         * sysdeps/x86_64/locale-defines.sym: New file.
52964         * string/test-strcasecmp.c: New file.
52966         * string/test-strcasestr.c: Test both ends of the range of characters.
52967         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52969 2010-07-29  Roland McGrath  <roland@redhat.com>
52971         [BZ #11856]
52972         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52974 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52976         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52977         for ld.so.
52979 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52981         * manual/memory.texi (Malloc Tunable Parameters): Document
52982         M_PERTURB.
52984 2010-07-26  Roland McGrath  <roland@redhat.com>
52986         [BZ #11840]
52987         * configure.in (-fgnu89-inline check): Set and substitute
52988         gnu89_inline, not libc_cv_gnu89_inline.
52989         * configure: Regenerated.
52990         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52992 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
52994         * string/test-strnlen.c: New file.
52995         * string/Makefile (strop-tests): Add strnlen.
52996         * string/tester.c (test_strnlen): Add a few more test cases.
52997         * string/tst-strlen.c: Better error reporting.
52999         * sysdeps/x86_64/strnlen.S: New file.
53001 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53003         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53004         lower-latency instructions.
53006 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53008         * string/test-strcasestr.c: New file.
53009         * string/test-strstr.c: New file.
53010         * string/Makefile (strop-tests): Add strstr and strcasestr.
53011         * string/str-two-way.h: Don't undefine MAX.
53012         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53014 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53017         strcasestr-nonascii.
53018         (CFLAGS-strcasestr-nonascii.c): Define.
53019         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53020         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53021         Remove unused attribute.
53023 2010-07-20  Roland McGrath  <roland@redhat.com>
53025         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53026         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53027         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53028         like LD_HWCAP_MASK can disable hwcaps.
53030 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53032         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53034 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53036         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53037         call in strcasestr.
53038         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53039         __strcasestr_sse42_nonascii.
53040         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53041         strcasestr-nonascii.c.
53042         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53044 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53046         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53047         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53048         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53049         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53051 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53053         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53054         fcntl.
53056 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53058         [BZ #11577]
53059         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53060         dl_signal_cerror.
53062 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53064         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53065         _PC_PIPE_BUF using F_GETPIPE_SZ.
53067 2010-07-05  Roland McGrath  <roland@redhat.com>
53069         * manual/arith.texi (Rounding Functions): Fix rint description
53070         implicit in round description.
53072 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53074         * elf/Makefile: Fix linking for a few tests to make recent linker
53075         happy.
53077 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53079         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53080         $(common-objpfx)libc_nonshared.a.
53082 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53084         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53085         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53086         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53087         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53088         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53089         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53090         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53091         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53106         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53107         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53108         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53109         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53110         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53111         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53112         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53113         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53114         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53115         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53116         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53117         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53133 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53135         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53136         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53137         * string/memmove.c (memmove): Renamed to ...
53138         (MEMMOVE): ...this.  Default to memmove.
53139         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53140         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53141         (END_CHK): Define.
53142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53143         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53144         mempcpy-ssse3-back memmove-ssse3-back.
53145         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53147         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53148         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53149         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53150         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53151         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53152         * sysdeps/x86_64/multiarch/memmove.c: New file.
53153         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53154         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53155         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53156         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53157         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53158         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53159         Define.
53160         (index_Fast_Copy_Backward): Define.
53161         (HAS_ARCH_FEATURE): Define.
53162         (HAS_FAST_REP_STRING): Define.
53163         (HAS_FAST_COPY_BACKWARD): Define.
53165 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53167         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53168         Restore proper fallback handling.
53170 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53172         [BZ #11701]
53173         * posix/group_member.c (__group_member): Correct checking loop.
53175         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53176         OOM in getpwuid_r correctly.  Return error number when the caller
53177         should return, otherwise -1.
53178         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53179         call returning > 0 value.
53180         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53182 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53184         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53185         libc_nonshared.a from targets in modules-names.
53187 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53189         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53190         requires it.
53192 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53194         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53195         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53196         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53197         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53199 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53201         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53203 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53205         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53206         and F_GETPIPE_SZ.
53207         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53209         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53211         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53212         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53214 2010-06-14  Roland McGrath  <roland@redhat.com>
53216         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53218 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53220         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53221         __REDIRECT followed by __THROW.
53222         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53223         * posix/getopt.h (getopt): Likewise.
53225 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53227         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53228         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53229         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53230         in AT_FLAGS.
53231         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53232         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53234 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53236         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53238 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53240         [BZ #11640]
53241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53242         Properly check family and model.
53244 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53246         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53248 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53250         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53252 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53254         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53255         symbol reference.
53257 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53259         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53260         symbol reference.
53262 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53264         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53265         and internal_recvmmsg.
53266         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53267         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53268         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53269         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53271         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53272         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53273         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53275 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53277         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53279 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53281         POWER7 optimizations.
53282         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53283         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53285 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53287         * version.h: Update for 2.13 development version.
53289 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53291         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53292         exceptions.  Return 0.
53294 2010-05-07  Roland McGrath  <roland@redhat.com>
53296         * elf/ldconfig.c (main): Add a const.
53298 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53300         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53301         (args_options): Add no-idn option.
53302         (ahosts_keys_int): Add idn_flags to ai_flags.
53303         (parse_option): Handle 'i' option to clear idn_flags.
53305         * malloc/malloc.c (_int_free): Possible race in the most recently
53306         added check.  Only act on the data if no current modification
53307         happened.
53309 See ChangeLog.17 for earlier changes.